Skip to content

Commit 516e2b9

Browse files
committed
Rename mpls attributes
1 parent 07de433 commit 516e2b9

File tree

11 files changed

+400
-398
lines changed

11 files changed

+400
-398
lines changed

docs/data-sources/mpls.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ data "iosxe_mpls" "example" {
2727
### Read-Only
2828

2929
- `id` (String) The path of the retrieved object.
30-
- `label_mode_all_vrfs_protocol_all_afs_per_ce` (Boolean) Per CE label
31-
- `label_mode_all_vrfs_protocol_all_afs_per_prefix` (Boolean) Per prefix label (default)
32-
- `label_mode_all_vrfs_protocol_all_afs_per_vrf` (Boolean) Per VRF label for entire VRF
33-
- `label_mode_all_vrfs_protocol_all_afs_vrf_conn_aggr` (Boolean) Per VRF label for connected and BGP aggregates in VRF
34-
- `label_mode_all_vrfs_protocol_bgp_vpnv4_per_ce` (Boolean) Per CE label
35-
- `label_mode_all_vrfs_protocol_bgp_vpnv4_per_prefix` (Boolean) Per prefix label (default)
36-
- `label_mode_all_vrfs_protocol_bgp_vpnv4_per_vrf` (Boolean) Per VRF label for entire VRF
37-
- `label_mode_all_vrfs_protocol_bgp_vpnv4_vrf_conn_aggr` (Boolean) Per VRF label for connected and BGP aggregates in VRF
38-
- `label_mode_all_vrfs_protocol_bgp_vpnv6_per_ce` (Boolean) Per CE label
39-
- `label_mode_all_vrfs_protocol_bgp_vpnv6_per_prefix` (Boolean) Per prefix label (default)
40-
- `label_mode_all_vrfs_protocol_bgp_vpnv6_per_vrf` (Boolean) Per VRF label for entire VRF
41-
- `label_mode_all_vrfs_protocol_bgp_vpnv6_vrf_conn_aggr` (Boolean) Per VRF label for connected and BGP aggregates in VRF
30+
- `label_mode_all_vrfs_all_afs_per_ce` (Boolean) Per CE label
31+
- `label_mode_all_vrfs_all_afs_per_prefix` (Boolean) Per prefix label (default)
32+
- `label_mode_all_vrfs_all_afs_per_vrf` (Boolean) Per VRF label for entire VRF
33+
- `label_mode_all_vrfs_all_afs_vrf_conn_aggr` (Boolean) Per VRF label for connected and BGP aggregates in VRF
34+
- `label_mode_all_vrfs_bgp_vpnv4_per_ce` (Boolean) Per CE label
35+
- `label_mode_all_vrfs_bgp_vpnv4_per_prefix` (Boolean) Per prefix label (default)
36+
- `label_mode_all_vrfs_bgp_vpnv4_per_vrf` (Boolean) Per VRF label for entire VRF
37+
- `label_mode_all_vrfs_bgp_vpnv4_vrf_conn_aggr` (Boolean) Per VRF label for connected and BGP aggregates in VRF
38+
- `label_mode_all_vrfs_bgp_vpnv6_per_ce` (Boolean) Per CE label
39+
- `label_mode_all_vrfs_bgp_vpnv6_per_prefix` (Boolean) Per prefix label (default)
40+
- `label_mode_all_vrfs_bgp_vpnv6_per_vrf` (Boolean) Per VRF label for entire VRF
41+
- `label_mode_all_vrfs_bgp_vpnv6_vrf_conn_aggr` (Boolean) Per VRF label for connected and BGP aggregates in VRF
4242
- `label_protocol` (String) Set platform default label distribution protocol

docs/guides/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ description: |-
1111

1212
- Add `ip_local_proxy_arp` attribute to `iosxe_interface_vlan` resource and data sources
1313
- Add `iosxe_crypto` resource and data source
14+
- Add `rd_auto` attribute to `iosxe_vrf` resource and data source
1415

1516
## 0.11.0
1617

docs/resources/mpls.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This resource can manage the MPLS configuration.
1414

1515
```terraform
1616
resource "iosxe_mpls" "example" {
17-
label_mode_all_vrfs_protocol_all_afs_per_vrf = true
17+
label_mode_all_vrfs_all_afs_per_vrf = true
1818
}
1919
```
2020

@@ -26,18 +26,18 @@ resource "iosxe_mpls" "example" {
2626
- `delete_mode` (String) Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is `all`.
2727
- Choices: `all`, `attributes`
2828
- `device` (String) A device name from the provider configuration.
29-
- `label_mode_all_vrfs_protocol_all_afs_per_ce` (Boolean) Per CE label
30-
- `label_mode_all_vrfs_protocol_all_afs_per_prefix` (Boolean) Per prefix label (default)
31-
- `label_mode_all_vrfs_protocol_all_afs_per_vrf` (Boolean) Per VRF label for entire VRF
32-
- `label_mode_all_vrfs_protocol_all_afs_vrf_conn_aggr` (Boolean) Per VRF label for connected and BGP aggregates in VRF
33-
- `label_mode_all_vrfs_protocol_bgp_vpnv4_per_ce` (Boolean) Per CE label
34-
- `label_mode_all_vrfs_protocol_bgp_vpnv4_per_prefix` (Boolean) Per prefix label (default)
35-
- `label_mode_all_vrfs_protocol_bgp_vpnv4_per_vrf` (Boolean) Per VRF label for entire VRF
36-
- `label_mode_all_vrfs_protocol_bgp_vpnv4_vrf_conn_aggr` (Boolean) Per VRF label for connected and BGP aggregates in VRF
37-
- `label_mode_all_vrfs_protocol_bgp_vpnv6_per_ce` (Boolean) Per CE label
38-
- `label_mode_all_vrfs_protocol_bgp_vpnv6_per_prefix` (Boolean) Per prefix label (default)
39-
- `label_mode_all_vrfs_protocol_bgp_vpnv6_per_vrf` (Boolean) Per VRF label for entire VRF
40-
- `label_mode_all_vrfs_protocol_bgp_vpnv6_vrf_conn_aggr` (Boolean) Per VRF label for connected and BGP aggregates in VRF
29+
- `label_mode_all_vrfs_all_afs_per_ce` (Boolean) Per CE label
30+
- `label_mode_all_vrfs_all_afs_per_prefix` (Boolean) Per prefix label (default)
31+
- `label_mode_all_vrfs_all_afs_per_vrf` (Boolean) Per VRF label for entire VRF
32+
- `label_mode_all_vrfs_all_afs_vrf_conn_aggr` (Boolean) Per VRF label for connected and BGP aggregates in VRF
33+
- `label_mode_all_vrfs_bgp_vpnv4_per_ce` (Boolean) Per CE label
34+
- `label_mode_all_vrfs_bgp_vpnv4_per_prefix` (Boolean) Per prefix label (default)
35+
- `label_mode_all_vrfs_bgp_vpnv4_per_vrf` (Boolean) Per VRF label for entire VRF
36+
- `label_mode_all_vrfs_bgp_vpnv4_vrf_conn_aggr` (Boolean) Per VRF label for connected and BGP aggregates in VRF
37+
- `label_mode_all_vrfs_bgp_vpnv6_per_ce` (Boolean) Per CE label
38+
- `label_mode_all_vrfs_bgp_vpnv6_per_prefix` (Boolean) Per prefix label (default)
39+
- `label_mode_all_vrfs_bgp_vpnv6_per_vrf` (Boolean) Per VRF label for entire VRF
40+
- `label_mode_all_vrfs_bgp_vpnv6_vrf_conn_aggr` (Boolean) Per VRF label for connected and BGP aggregates in VRF
4141
- `label_protocol` (String) Set platform default label distribution protocol
4242
- Choices: `ldp`, `tdp`
4343

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
resource "iosxe_mpls" "example" {
2-
label_mode_all_vrfs_protocol_all_afs_per_vrf = true
2+
label_mode_all_vrfs_all_afs_per_vrf = true
33
}

gen/definitions/mpls.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,60 +9,60 @@ attributes:
99
exclude_test: true
1010
- yang_name: Cisco-IOS-XE-mpls:label/mode/mode-choice/all-vrfs/all-vrfs/protocol/all-afs/label-mode-choice/per-vrf/per-vrf
1111
xpath: Cisco-IOS-XE-mpls:label/mode/all-vrfs/protocol/all-afs/per-vrf
12-
tf_name: label_mode_all_vrfs_protocol_all_afs_per_vrf
12+
tf_name: label_mode_all_vrfs_all_afs_per_vrf
1313
example: true
1414
- yang_name: Cisco-IOS-XE-mpls:label/mode/mode-choice/all-vrfs/all-vrfs/protocol/all-afs/label-mode-choice/per-prefix/per-prefix
1515
xpath: Cisco-IOS-XE-mpls:label/mode/all-vrfs/protocol/all-afs/per-prefix
16-
tf_name: label_mode_all_vrfs_protocol_all_afs_per_prefix
16+
tf_name: label_mode_all_vrfs_all_afs_per_prefix
1717
example: true
1818
exclude_test: true
1919
- yang_name: Cisco-IOS-XE-mpls:label/mode/mode-choice/all-vrfs/all-vrfs/protocol/all-afs/label-mode-choice/per-ce/per-ce
2020
xpath: Cisco-IOS-XE-mpls:label/mode/all-vrfs/protocol/all-afs/per-ce
21-
tf_name: label_mode_all_vrfs_protocol_all_afs_per_ce
21+
tf_name: label_mode_all_vrfs_all_afs_per_ce
2222
example: true
2323
exclude_test: true
2424
- yang_name: Cisco-IOS-XE-mpls:label/mode/mode-choice/all-vrfs/all-vrfs/protocol/all-afs/label-mode-choice/vrf-conn-aggr/vrf-conn-aggr
2525
xpath: Cisco-IOS-XE-mpls:label/mode/all-vrfs/protocol/all-afs/vrf-conn-aggr
26-
tf_name: label_mode_all_vrfs_protocol_all_afs_vrf_conn_aggr
26+
tf_name: label_mode_all_vrfs_all_afs_vrf_conn_aggr
2727
example: true
2828
exclude_test: true
2929
- yang_name: Cisco-IOS-XE-mpls:label/mode/mode-choice/all-vrfs/all-vrfs/protocol/bgp-vpnv4/label-mode-choice/per-vrf/per-vrf
3030
xpath: Cisco-IOS-XE-mpls:label/mode/all-vrfs/protocol/bgp-vpnv4/per-vrf
31-
tf_name: label_mode_all_vrfs_protocol_bgp_vpnv4_per_vrf
31+
tf_name: label_mode_all_vrfs_bgp_vpnv4_per_vrf
3232
example: true
3333
exclude_test: true
3434
- yang_name: Cisco-IOS-XE-mpls:label/mode/mode-choice/all-vrfs/all-vrfs/protocol/bgp-vpnv4/label-mode-choice/per-prefix/per-prefix
3535
xpath: Cisco-IOS-XE-mpls:label/mode/all-vrfs/protocol/bgp-vpnv4/per-prefix
36-
tf_name: label_mode_all_vrfs_protocol_bgp_vpnv4_per_prefix
36+
tf_name: label_mode_all_vrfs_bgp_vpnv4_per_prefix
3737
example: true
3838
exclude_test: true
3939
- yang_name: Cisco-IOS-XE-mpls:label/mode/mode-choice/all-vrfs/all-vrfs/protocol/bgp-vpnv4/label-mode-choice/per-ce/per-ce
4040
xpath: Cisco-IOS-XE-mpls:label/mode/all-vrfs/protocol/bgp-vpnv4/per-ce
41-
tf_name: label_mode_all_vrfs_protocol_bgp_vpnv4_per_ce
41+
tf_name: label_mode_all_vrfs_bgp_vpnv4_per_ce
4242
example: true
4343
exclude_test: true
4444
- yang_name: Cisco-IOS-XE-mpls:label/mode/mode-choice/all-vrfs/all-vrfs/protocol/bgp-vpnv4/label-mode-choice/vrf-conn-aggr/vrf-conn-aggr
4545
xpath: Cisco-IOS-XE-mpls:label/mode/all-vrfs/protocol/bgp-vpnv4/vrf-conn-aggr
46-
tf_name: label_mode_all_vrfs_protocol_bgp_vpnv4_vrf_conn_aggr
46+
tf_name: label_mode_all_vrfs_bgp_vpnv4_vrf_conn_aggr
4747
example: true
4848
exclude_test: true
4949
- yang_name: Cisco-IOS-XE-mpls:label/mode/mode-choice/all-vrfs/all-vrfs/protocol/bgp-vpnv6/label-mode-choice/per-vrf/per-vrf
5050
xpath: Cisco-IOS-XE-mpls:label/mode/all-vrfs/protocol/bgp-vpnv6/per-vrf
51-
tf_name: label_mode_all_vrfs_protocol_bgp_vpnv6_per_vrf
51+
tf_name: label_mode_all_vrfs_bgp_vpnv6_per_vrf
5252
example: true
5353
exclude_test: true
5454
- yang_name: Cisco-IOS-XE-mpls:label/mode/mode-choice/all-vrfs/all-vrfs/protocol/bgp-vpnv6/label-mode-choice/per-prefix/per-prefix
5555
xpath: Cisco-IOS-XE-mpls:label/mode/all-vrfs/protocol/bgp-vpnv6/per-prefix
56-
tf_name: label_mode_all_vrfs_protocol_bgp_vpnv6_per_prefix
56+
tf_name: label_mode_all_vrfs_bgp_vpnv6_per_prefix
5757
example: true
5858
exclude_test: true
5959
- yang_name: Cisco-IOS-XE-mpls:label/mode/mode-choice/all-vrfs/all-vrfs/protocol/bgp-vpnv6/label-mode-choice/per-ce/per-ce
6060
xpath: Cisco-IOS-XE-mpls:label/mode/all-vrfs/protocol/bgp-vpnv6/per-ce
61-
tf_name: label_mode_all_vrfs_protocol_bgp_vpnv6_per_ce
61+
tf_name: label_mode_all_vrfs_bgp_vpnv6_per_ce
6262
example: true
6363
exclude_test: true
6464
- yang_name: Cisco-IOS-XE-mpls:label/mode/mode-choice/all-vrfs/all-vrfs/protocol/bgp-vpnv6/label-mode-choice/vrf-conn-aggr/vrf-conn-aggr
6565
xpath: Cisco-IOS-XE-mpls:label/mode/all-vrfs/protocol/bgp-vpnv6/vrf-conn-aggr
66-
tf_name: label_mode_all_vrfs_protocol_bgp_vpnv6_vrf_conn_aggr
66+
tf_name: label_mode_all_vrfs_bgp_vpnv6_vrf_conn_aggr
6767
example: true
6868
exclude_test: true

internal/provider/data_source_iosxe_mpls.go

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

internal/provider/data_source_iosxe_mpls_test.go

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

0 commit comments

Comments
 (0)