Skip to content

Commit

Permalink
Add force attribute to port channel member resource
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Mar 24, 2024
1 parent 72fa271 commit 4524b8c
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- Add `nxos_vpc_keepalive` resource and data source
- Add `nxos_vpc_peerlink` resource and data source
- Fix `bandwidth_reference_unit` of `nxos_ospf_vrf` resource and data source
- Add `force` attribute to `nxos_port_channel_interface_member` resource and data source

## 0.5.1

Expand Down
1 change: 1 addition & 0 deletions docs/data-sources/port_channel_interface_member.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ data "nxos_port_channel_interface_member" "example" {

### Read-Only

- `force` (Boolean) Channel group force
- `id` (String) The distinguished name of the object.
1 change: 1 addition & 0 deletions docs/guides/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ description: |-
- Add `nxos_vpc_keepalive` resource and data source
- Add `nxos_vpc_peerlink` resource and data source
- Fix `bandwidth_reference_unit` of `nxos_ospf_vrf` resource and data source
- Add `force` attribute to `nxos_port_channel_interface_member` resource and data source

## 0.5.1

Expand Down
2 changes: 2 additions & 0 deletions docs/resources/port_channel_interface_member.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ This resource can manage a port-channel interface member.
resource "nxos_port_channel_interface_member" "example" {
interface_id = "po1"
interface_dn = "sys/intf/phys-[eth1/11]"
force = false
}
```

Expand All @@ -45,6 +46,7 @@ resource "nxos_port_channel_interface_member" "example" {
### Optional

- `device` (String) A device name from the provider configuration.
- `force` (Boolean) Channel group force

### Read-Only

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
resource "nxos_port_channel_interface_member" "example" {
interface_id = "po1"
interface_dn = "sys/intf/phys-[eth1/11]"
force = false
}
5 changes: 5 additions & 0 deletions gen/definitions/port_channel_interface_member.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ attributes:
id: true
description: "DN of interface. For example: `sys/intf/phys-[eth1/1]`."
example: sys/intf/phys-[eth1/11]
- nxos_name: isMbrForce
tf_name: force
type: Bool
description: Channel group force
example: false
test_prerequisites:
- dn: sys/intf/aggr-[po1]
class_name: pcAggrIf
Expand Down

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

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

11 changes: 11 additions & 0 deletions internal/provider/model_nxos_port_channel_interface_member.go

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

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

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 @@ -12,6 +12,7 @@ description: |-
- Add `nxos_vpc_keepalive` resource and data source
- Add `nxos_vpc_peerlink` resource and data source
- Fix `bandwidth_reference_unit` of `nxos_ospf_vrf` resource and data source
- Add `force` attribute to `nxos_port_channel_interface_member` resource and data source

## 0.5.1

Expand Down

0 comments on commit 4524b8c

Please sign in to comment.