Skip to content

Commit

Permalink
Add speed nonegotiate attribute to interface ethernet resource
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Jan 11, 2024
1 parent 41ed80e commit 03b53fa
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 0.5.5 (unreleased)

- Add `bandwidth` attribute to `iosxe_interface_ethernet` resource and data source
- Add `speed_nonegotiate` attribute to `iosxe_interface_ethernet` resource and data source

## 0.5.4

Expand Down
1 change: 1 addition & 0 deletions docs/data-sources/interface_ethernet.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ data "iosxe_interface_ethernet" "example" {
- `speed_25000` (Boolean) 25000 Mbps operation
- `speed_40000` (Boolean) 40000 Mbps operation
- `speed_5000` (Boolean) 5000 Mbps operation
- `speed_nonegotiate` (Boolean)
- `switchport` (Boolean)
- `trust_device` (String) trusted device class
- `unnumbered` (String) Enable IP processing without an explicit address
Expand Down
1 change: 1 addition & 0 deletions docs/guides/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ description: |-
## 0.5.5 (unreleased)

- Add `bandwidth` attribute to `iosxe_interface_ethernet` resource and data source
- Add `speed_nonegotiate` attribute to `iosxe_interface_ethernet` resource and data source

## 0.5.4

Expand Down
1 change: 1 addition & 0 deletions docs/resources/interface_ethernet.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ resource "iosxe_interface_ethernet" "example" {
- `speed_25000` (Boolean) 25000 Mbps operation
- `speed_40000` (Boolean) 40000 Mbps operation
- `speed_5000` (Boolean) 5000 Mbps operation
- `speed_nonegotiate` (Boolean)
- `switchport` (Boolean)
- `trust_device` (String) trusted device class
- Choices: `cisco-phone`, `cts`, `ip-camera`, `media-player`
Expand Down
5 changes: 5 additions & 0 deletions gen/definitions/interface_ethernet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,11 @@ attributes:
tf_name: speed_100000
example: true
exclude_test: true
- yang_name: Cisco-IOS-XE-ethernet:speed/speed-choice/nonegotiate/nonegotiate
xpath: Cisco-IOS-XE-ethernet:speed/nonegotiate
tf_name: speed_nonegotiate
example: true
exclude_test: true
- yang_name: Cisco-IOS-XE-sanet:authentication/host-mode
example: multi-auth
exclude_test: true
Expand Down
4 changes: 4 additions & 0 deletions internal/provider/data_source_iosxe_interface_ethernet.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions internal/provider/model_iosxe_interface_ethernet.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions internal/provider/resource_iosxe_interface_ethernet.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions templates/guides/changelog.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ description: |-
## 0.5.5 (unreleased)

- Add `bandwidth` attribute to `iosxe_interface_ethernet` resource and data source
- Add `speed_nonegotiate` attribute to `iosxe_interface_ethernet` resource and data source

## 0.5.4

Expand Down

0 comments on commit 03b53fa

Please sign in to comment.