Skip to content

Commit

Permalink
Add ha mode graceful restart to bgp vrf neighbor
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Jan 3, 2024
1 parent d0bbb75 commit 95b241a
Show file tree
Hide file tree
Showing 12 changed files with 51 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.3 (unreleased)

- Add `ipv4_unicast_router_id_loopback` attribute to `iosxe_bgp_address_family_ipv4_vrf` resource and data source
- Add `ha_mode_graceful_restart` attribute to `iosxe_bgp_ipv4_unicast_vrf_neighbor` resource and data source

## 0.5.2

Expand Down
1 change: 1 addition & 0 deletions docs/data-sources/bgp_ipv4_unicast_vrf_neighbor.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ data "iosxe_bgp_ipv4_unicast_vrf_neighbor" "example" {
- `fall_over_bfd_strict_mode` (Boolean) Enable BFD strict-mode
- `fall_over_default_route_map` (String)
- `fall_over_maximum_metric_route_map` (String)
- `ha_mode_graceful_restart` (Boolean) graceful-restart for this peer
- `id` (String) The path of the retrieved object.
- `local_as` (String)
- `local_as_dual_as` (Boolean) Accept either real AS or local AS from the ebgp peer
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.3 (unreleased)

- Add `ipv4_unicast_router_id_loopback` attribute to `iosxe_bgp_address_family_ipv4_vrf` resource and data source
- Add `ha_mode_graceful_restart` attribute to `iosxe_bgp_ipv4_unicast_vrf_neighbor` resource and data source

## 0.5.2

Expand Down
2 changes: 2 additions & 0 deletions docs/resources/bgp_ipv4_unicast_vrf_neighbor.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ resource "iosxe_bgp_ipv4_unicast_vrf_neighbor" "example" {
route_map_name = "RM1"
}
]
ha_mode_graceful_restart = true
}
```

Expand Down Expand Up @@ -80,6 +81,7 @@ resource "iosxe_bgp_ipv4_unicast_vrf_neighbor" "example" {
- `fall_over_bfd_strict_mode` (Boolean) Enable BFD strict-mode
- `fall_over_default_route_map` (String)
- `fall_over_maximum_metric_route_map` (String)
- `ha_mode_graceful_restart` (Boolean) graceful-restart for this peer
- `local_as` (String)
- `local_as_dual_as` (Boolean) Accept either real AS or local AS from the ebgp peer
- `local_as_no_prepend` (Boolean) Do not prepend local-as to updates from ebgp peers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ resource "iosxe_bgp_ipv4_unicast_vrf_neighbor" "example" {
route_map_name = "RM1"
}
]
ha_mode_graceful_restart = true
}
2 changes: 2 additions & 0 deletions gen/definitions/bgp_ipv4_unicast_vrf_neighbor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ attributes:
- yang_name: ebgp-multihop/max-hop
example: 10
exclude_test: true
- yang_name: ha-mode/graceful-restart
example: true
test_prerequisites:
- path: Cisco-IOS-XE-native:native/vrf/definition=VRF1
no_delete: true
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.

30 changes: 30 additions & 0 deletions internal/provider/model_iosxe_bgp_ipv4_unicast_vrf_neighbor.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 @@ -10,6 +10,7 @@ description: |-
## 0.5.3 (unreleased)

- Add `ipv4_unicast_router_id_loopback` attribute to `iosxe_bgp_address_family_ipv4_vrf` resource and data source
- Add `ha_mode_graceful_restart` attribute to `iosxe_bgp_ipv4_unicast_vrf_neighbor` resource and data source

## 0.5.2

Expand Down

0 comments on commit 95b241a

Please sign in to comment.