Skip to content

Commit

Permalink
Add next hop trigger delay attributes to router bgp address family re…
Browse files Browse the repository at this point in the history
…source
  • Loading branch information
danischm committed Jul 31, 2023
1 parent 1798149 commit fc1dafb
Show file tree
Hide file tree
Showing 12 changed files with 79 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 `record_ipv4`, `record_ipv6`, `record_mpls` and `sflow_options` attributes to `iosxr_flow_monitor_map` resource and data source
- Add `set_overload_bit` attributes to `iosxr_router_isis` resource and data source
- Add `metric` attributes to `iosxr_router_isis_interface_address_family` resource and data source
- Add `nexthop_trigger_delay_critical` and `nexthop_trigger_delay_non_critical` attributes to `iosxr_router_bgp_address_family` resource and data source

## 0.2.3

Expand Down
2 changes: 2 additions & 0 deletions docs/data-sources/router_bgp_address_family.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ data "iosxr_router_bgp_address_family" "example" {
- `maximum_paths_eibgp_multipath` (Number) eiBGP-multipath
- `maximum_paths_ibgp_multipath` (Number) iBGP-multipath
- `networks` (Attributes List) IPv6 network and mask or masklength (see [below for nested schema](#nestedatt--networks))
- `nexthop_trigger_delay_critical` (Number) For critical notification
- `nexthop_trigger_delay_non_critical` (Number) For non-critical notification
- `redistribute_connected` (Boolean) Connected routes
- `redistribute_connected_metric` (Number) Metric for redistributed routes
- `redistribute_isis` (Attributes List) ISO IS-IS (see [below for nested schema](#nestedatt--redistribute_isis))
Expand Down
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 `record_ipv4`, `record_ipv6`, `record_mpls` and `sflow_options` attributes to `iosxr_flow_monitor_map` resource and data source
- Add `set_overload_bit` attributes to `iosxr_router_isis` resource and data source
- Add `metric` attributes to `iosxr_router_isis_interface_address_family` resource and data source
- Add `nexthop_trigger_delay_critical` and `nexthop_trigger_delay_non_critical` attributes to `iosxr_router_bgp_address_family` resource and data source

## 0.2.3

Expand Down
6 changes: 6 additions & 0 deletions docs/resources/router_bgp_address_family.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ resource "iosxr_router_bgp_address_family" "example" {
additional_paths_selection_route_policy = "ROUTE_POLICY_1"
advertise_best_external = true
allocate_label_all = true
nexthop_trigger_delay_critical = 10
nexthop_trigger_delay_non_critical = 20
label_mode_per_ce = false
label_mode_per_vrf = false
redistribute_connected = true
Expand Down Expand Up @@ -100,6 +102,10 @@ resource "iosxr_router_bgp_address_family" "example" {
- `maximum_paths_ibgp_multipath` (Number) iBGP-multipath
- Range: `2`-`1024`
- `networks` (Attributes List) IPv6 network and mask or masklength (see [below for nested schema](#nestedatt--networks))
- `nexthop_trigger_delay_critical` (Number) For critical notification
- Range: `0`-`4294967295`
- `nexthop_trigger_delay_non_critical` (Number) For non-critical notification
- Range: `0`-`4294967295`
- `redistribute_connected` (Boolean) Connected routes
- `redistribute_connected_metric` (Number) Metric for redistributed routes
- Range: `0`-`4294967295`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ resource "iosxr_router_bgp_address_family" "example" {
additional_paths_selection_route_policy = "ROUTE_POLICY_1"
advertise_best_external = true
allocate_label_all = true
nexthop_trigger_delay_critical = 10
nexthop_trigger_delay_non_critical = 20
label_mode_per_ce = false
label_mode_per_vrf = false
redistribute_connected = true
Expand Down
4 changes: 4 additions & 0 deletions gen/definitions/router_bgp_address_family.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ attributes:
optional: true
example: 10
exclude_test: true
- yang_name: nexthop/trigger-delay/critical
example: 10
- yang_name: nexthop/trigger-delay/non-critical
example: 20
- yang_name: label/mode/per-ce
example: false
- yang_name: label/mode/per-vrf
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.

32 changes: 32 additions & 0 deletions internal/provider/model_iosxr_router_bgp_address_family.go

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

14 changes: 14 additions & 0 deletions internal/provider/resource_iosxr_router_bgp_address_family.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.

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 `record_ipv4`, `record_ipv6`, `record_mpls` and `sflow_options` attributes to `iosxr_flow_monitor_map` resource and data source
- Add `set_overload_bit` attributes to `iosxr_router_isis` resource and data source
- Add `metric` attributes to `iosxr_router_isis_interface_address_family` resource and data source
- Add `nexthop_trigger_delay_critical` and `nexthop_trigger_delay_non_critical` attributes to `iosxr_router_bgp_address_family` resource and data source

## 0.2.3

Expand Down

0 comments on commit fc1dafb

Please sign in to comment.