Skip to content

Commit fe8e672

Browse files
committed
Addressing all requests
1 parent 084348f commit fe8e672

File tree

9 files changed

+216
-216
lines changed

9 files changed

+216
-216
lines changed

docs/data-sources/bgp_address_family.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,21 @@ data "nxos_bgp_address_family" "example" {
3838

3939
### Read-Only
4040

41-
- `adv_l2vpn_evpn` (String) Enable or disable the advertisement of L2VPN EVPN routes.
42-
- `adv_only_act_routes` (String) Advertise only active routes to peers
43-
- `adv_phyip_for_type5_routes` (String) Advertise physical IP for type-5 routes
41+
- `advertise_l2vpn_evpn` (String) Enable or disable the advertisement of L2VPN EVPN routes.
42+
- `advertise_only_active_routes` (String) Advertise only active routes to peers
43+
- `advertise_physical_ip_for_type5_routes` (String) Advertise physical IP for type-5 routes
4444
- `critical_nexthop_timeout` (String) The next-hop address tracking delay timer for critical next-hop reachability routes.
45-
- `def_inf_originate` (String) Enable or disable the default-information originate.
45+
- `default_information_originate` (String) Enable or disable the default-information originate.
4646
- `id` (String) The distinguished name of the object.
4747
- `max_ecmp_paths` (Number) Maximum number of ECMP paths.
48-
- `max_eqcost_ecmp_paths` (Number) Maximum number of equal-cost multipath for local paths ECMP paths.
49-
- `max_ext_ecmp_paths` (Number) Maximum number of external ECMP paths.
50-
- `max_ext_int_ecmp_paths` (Number) Maximum number of external/internal ECMP paths.
51-
- `max_mixcost_ecmp_paths` (Number) Maximum mixed equal-cost multipath for local and remote ECMP paths.
48+
- `max_external_ecmp_paths` (Number) Maximum number of external ECMP paths.
49+
- `max_external_internal_ecmp_paths` (Number) Maximum number of external/internal ECMP paths.
50+
- `max_local_ecmp_paths` (Number) Maximum number of equal-cost multipath for local paths ECMP paths.
51+
- `max_mixed_ecmp_paths` (Number) Maximum mixed equal-cost multipath for local and remote ECMP paths.
5252
- `next_hop_route_map_name` (String) Next hope route map name
5353
- `non_critical_nexthop_timeout` (String) The next-hop address tracking delay timer for non-critical next-hop reachability routes.
5454
- `prefix_priority` (String) Enable prefix priority for AF
5555
- `retain_rt_all` (String) Retain Route Target All
56-
- `route_map_name` (String) Route Map name
57-
- `vni_ethtag` (String) Allow VNI in Ethernet Tag field in EVPN route
58-
- `wait_igp_conv` (String) Delay initial bestpath until redistributed IGPs have converged
56+
- `table_map_route_map_name` (String) Route Map name
57+
- `vni_ethernet_tag` (String) Allow VNI in Ethernet Tag field in EVPN route
58+
- `wait_igp_converged` (String) Delay initial bestpath until redistributed IGPs have converged

docs/resources/bgp_address_family.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -30,26 +30,26 @@ This resource can manage the BGP (VRF) address family configuration.
3030

3131
```terraform
3232
resource "nxos_bgp_address_family" "example" {
33-
asn = "65001"
34-
vrf = "default"
35-
address_family = "ipv4-ucast"
36-
critical_nexthop_timeout = "2500"
37-
non_critical_nexthop_timeout = "8000"
38-
adv_l2vpn_evpn = "disabled"
39-
adv_phyip_for_type5_routes = "disabled"
40-
max_ecmp_paths = 2
41-
max_ext_ecmp_paths = 1
42-
max_ext_int_ecmp_paths = 1
43-
max_eqcost_ecmp_paths = 1
44-
max_mixcost_ecmp_paths = 1
45-
def_inf_originate = "disabled"
46-
next_hop_route_map_name = "ROUTEMAP1"
47-
prefix_priority = "none"
48-
retain_rt_all = "disabled"
49-
adv_only_act_routes = "disabled"
50-
route_map_name = "ROUTE_MAP1"
51-
vni_ethtag = "disabled"
52-
wait_igp_conv = "disabled"
33+
asn = "65001"
34+
vrf = "default"
35+
address_family = "ipv4-ucast"
36+
critical_nexthop_timeout = "2500"
37+
non_critical_nexthop_timeout = "8000"
38+
advertise_l2vpn_evpn = "disabled"
39+
advertise_physical_ip_for_type5_routes = "disabled"
40+
max_ecmp_paths = 2
41+
max_external_ecmp_paths = 1
42+
max_external_internal_ecmp_paths = 1
43+
max_local_ecmp_paths = 1
44+
max_mixed_ecmp_paths = 1
45+
default_information_originate = "disabled"
46+
next_hop_route_map_name = "ROUTEMAP1"
47+
prefix_priority = "none"
48+
retain_rt_all = "disabled"
49+
advertise_only_active_routes = "disabled"
50+
table_map_route_map_name = "ROUTE_MAP1"
51+
vni_ethernet_tag = "disabled"
52+
wait_igp_converged = "disabled"
5353
}
5454
```
5555

@@ -66,34 +66,34 @@ resource "nxos_bgp_address_family" "example" {
6666

6767
### Optional
6868

69-
- `adv_l2vpn_evpn` (String) Enable or disable the advertisement of L2VPN EVPN routes.
69+
- `advertise_l2vpn_evpn` (String) Enable or disable the advertisement of L2VPN EVPN routes.
7070
- Choices: `enabled`, `disabled`
7171
- Default value: `disabled`
72-
- `adv_only_act_routes` (String) Advertise only active routes to peers
72+
- `advertise_only_active_routes` (String) Advertise only active routes to peers
7373
- Choices: `enabled`, `disabled`
7474
- Default value: `disabled`
75-
- `adv_phyip_for_type5_routes` (String) Advertise physical IP for type-5 routes
75+
- `advertise_physical_ip_for_type5_routes` (String) Advertise physical IP for type-5 routes
7676
- Choices: `enabled`, `disabled`
7777
- Default value: `disabled`
7878
- `critical_nexthop_timeout` (String) The next-hop address tracking delay timer for critical next-hop reachability routes.
7979
- Default value: `crit`
80-
- `def_inf_originate` (String) Enable or disable the default-information originate.
80+
- `default_information_originate` (String) Enable or disable the default-information originate.
8181
- Choices: `enabled`, `disabled`
8282
- Default value: `disabled`
8383
- `device` (String) A device name from the provider configuration.
8484
- `max_ecmp_paths` (Number) Maximum number of ECMP paths.
8585
- Range: `1`-`128`
8686
- Default value: `1`
87-
- `max_eqcost_ecmp_paths` (Number) Maximum number of equal-cost multipath for local paths ECMP paths.
87+
- `max_external_ecmp_paths` (Number) Maximum number of external ECMP paths.
8888
- Range: `1`-`128`
8989
- Default value: `1`
90-
- `max_ext_ecmp_paths` (Number) Maximum number of external ECMP paths.
90+
- `max_external_internal_ecmp_paths` (Number) Maximum number of external/internal ECMP paths.
9191
- Range: `1`-`128`
9292
- Default value: `1`
93-
- `max_ext_int_ecmp_paths` (Number) Maximum number of external/internal ECMP paths.
93+
- `max_local_ecmp_paths` (Number) Maximum number of equal-cost multipath for local paths ECMP paths.
9494
- Range: `1`-`128`
9595
- Default value: `1`
96-
- `max_mixcost_ecmp_paths` (Number) Maximum mixed equal-cost multipath for local and remote ECMP paths.
96+
- `max_mixed_ecmp_paths` (Number) Maximum mixed equal-cost multipath for local and remote ECMP paths.
9797
- Range: `1`-`128`
9898
- Default value: `1`
9999
- `next_hop_route_map_name` (String) Next hope route map name
@@ -105,11 +105,11 @@ resource "nxos_bgp_address_family" "example" {
105105
- `retain_rt_all` (String) Retain Route Target All
106106
- Choices: `enabled`, `disabled`
107107
- Default value: `disabled`
108-
- `route_map_name` (String) Route Map name
109-
- `vni_ethtag` (String) Allow VNI in Ethernet Tag field in EVPN route
108+
- `table_map_route_map_name` (String) Route Map name
109+
- `vni_ethernet_tag` (String) Allow VNI in Ethernet Tag field in EVPN route
110110
- Choices: `enabled`, `disabled`
111111
- Default value: `disabled`
112-
- `wait_igp_conv` (String) Delay initial bestpath until redistributed IGPs have converged
112+
- `wait_igp_converged` (String) Delay initial bestpath until redistributed IGPs have converged
113113
- Choices: `enabled`, `disabled`
114114
- Default value: `disabled`
115115

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
resource "nxos_bgp_address_family" "example" {
2-
asn = "65001"
3-
vrf = "default"
4-
address_family = "ipv4-ucast"
5-
critical_nexthop_timeout = "2500"
6-
non_critical_nexthop_timeout = "8000"
7-
adv_l2vpn_evpn = "disabled"
8-
adv_phyip_for_type5_routes = "disabled"
9-
max_ecmp_paths = 2
10-
max_ext_ecmp_paths = 1
11-
max_ext_int_ecmp_paths = 1
12-
max_eqcost_ecmp_paths = 1
13-
max_mixcost_ecmp_paths = 1
14-
def_inf_originate = "disabled"
15-
next_hop_route_map_name = "ROUTEMAP1"
16-
prefix_priority = "none"
17-
retain_rt_all = "disabled"
18-
adv_only_act_routes = "disabled"
19-
route_map_name = "ROUTE_MAP1"
20-
vni_ethtag = "disabled"
21-
wait_igp_conv = "disabled"
2+
asn = "65001"
3+
vrf = "default"
4+
address_family = "ipv4-ucast"
5+
critical_nexthop_timeout = "2500"
6+
non_critical_nexthop_timeout = "8000"
7+
advertise_l2vpn_evpn = "disabled"
8+
advertise_physical_ip_for_type5_routes = "disabled"
9+
max_ecmp_paths = 2
10+
max_external_ecmp_paths = 1
11+
max_external_internal_ecmp_paths = 1
12+
max_local_ecmp_paths = 1
13+
max_mixed_ecmp_paths = 1
14+
default_information_originate = "disabled"
15+
next_hop_route_map_name = "ROUTEMAP1"
16+
prefix_priority = "none"
17+
retain_rt_all = "disabled"
18+
advertise_only_active_routes = "disabled"
19+
table_map_route_map_name = "ROUTE_MAP1"
20+
vni_ethernet_tag = "disabled"
21+
wait_igp_converged = "disabled"
2222
}

gen/definitions/bgp_address_family.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ attributes:
6161
default_value: "noncrit"
6262
example: 8000
6363
- nxos_name: advertL2vpnEvpn
64-
tf_name: adv_l2vpn_evpn
64+
tf_name: advertise_l2vpn_evpn
6565
type: String
6666
description: "Enable or disable the advertisement of L2VPN EVPN routes."
6767
enum_values:
@@ -70,7 +70,7 @@ attributes:
7070
default_value: disabled
7171
example: disabled
7272
- nxos_name: advPip
73-
tf_name: adv_phyip_for_type5_routes
73+
tf_name: advertise_physical_ip_for_type5_routes
7474
type: String
7575
description: "Advertise physical IP for type-5 routes"
7676
enum_values:
@@ -87,39 +87,39 @@ attributes:
8787
default_value: 1
8888
example: 2
8989
- nxos_name: maxExtEcmp
90-
tf_name: max_ext_ecmp_paths
90+
tf_name: max_external_ecmp_paths
9191
type: Int64
9292
description: "Maximum number of external ECMP paths."
9393
min_int: 1
9494
max_int: 128
9595
default_value: 1
9696
example: 1
9797
- nxos_name: maxExtIntEcmp
98-
tf_name: max_ext_int_ecmp_paths
98+
tf_name: max_external_internal_ecmp_paths
9999
type: Int64
100100
description: "Maximum number of external/internal ECMP paths."
101101
min_int: 1
102102
max_int: 128
103103
default_value: 1
104104
example: 1
105105
- nxos_name: maxLclEcmp
106-
tf_name: max_eqcost_ecmp_paths
106+
tf_name: max_local_ecmp_paths
107107
type: Int64
108108
description: "Maximum number of equal-cost multipath for local paths ECMP paths."
109109
min_int: 1
110110
max_int: 128
111111
default_value: 1
112112
example: 1
113113
- nxos_name: maxMxdEcmp
114-
tf_name: max_mixcost_ecmp_paths
114+
tf_name: max_mixed_ecmp_paths
115115
type: Int64
116116
description: "Maximum mixed equal-cost multipath for local and remote ECMP paths."
117117
min_int: 1
118118
max_int: 128
119119
default_value: 1
120120
example: 1
121121
- nxos_name: defInfOriginate
122-
tf_name: def_inf_originate
122+
tf_name: default_information_originate
123123
type: String
124124
description: "Enable or disable the default-information originate."
125125
enum_values:
@@ -152,7 +152,7 @@ attributes:
152152
default_value: disabled
153153
example: disabled
154154
- nxos_name: supprInactive
155-
tf_name: adv_only_act_routes
155+
tf_name: advertise_only_active_routes
156156
type: String
157157
description: "Advertise only active routes to peers"
158158
enum_values:
@@ -161,13 +161,13 @@ attributes:
161161
default_value: disabled
162162
example: disabled
163163
- nxos_name: tblMap
164-
tf_name: route_map_name
164+
tf_name: table_map_route_map_name
165165
type: String
166166
description: "Route Map name"
167167
example: ROUTE_MAP1
168168
default_value: ""
169169
- nxos_name: vniEthTag
170-
tf_name: vni_ethtag
170+
tf_name: vni_ethernet_tag
171171
type: String
172172
description: "Allow VNI in Ethernet Tag field in EVPN route"
173173
enum_values:
@@ -176,7 +176,7 @@ attributes:
176176
default_value: disabled
177177
example: disabled
178178
- nxos_name: waitIgpConv
179-
tf_name: wait_igp_conv
179+
tf_name: wait_igp_converged
180180
type: String
181181
description: "Delay initial bestpath until redistributed IGPs have converged"
182182
enum_values:

internal/provider/data_source_nxos_bgp_address_family.go

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)