Skip to content

Commit 43200bd

Browse files
committed
Attribute clarification and generator updates
1 parent 1c5ea99 commit 43200bd

File tree

12 files changed

+29
-27
lines changed

12 files changed

+29
-27
lines changed

docs/data-sources/vrf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ data "iosxe_vrf" "example" {
5555
Read-Only:
5656

5757
- `name` (String) Source VRF name or 'global'
58-
- `route_map` (String) Route map reference
5958
- `unicast_all` (Boolean) All routes
59+
- `unicast_all_route_map` (String) Route map reference
6060

6161

6262
<a id="nestedatt--ipv4_route_target_export"></a>

docs/guides/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,3 +355,4 @@ description: |-
355355
## 0.1.0
356356

357357
- Initial release
358+

docs/resources/vrf.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ resource "iosxe_vrf" "example" {
5454
]
5555
ipv4_route_replicate = [
5656
{
57-
name = "VRF1"
58-
unicast_all = true
59-
route_map = "RM1"
57+
name = "VRF1"
58+
unicast_all = true
59+
unicast_all_route_map = "RM1"
6060
}
6161
]
6262
ipv6_route_target_import = [
@@ -124,8 +124,8 @@ Required:
124124

125125
Optional:
126126

127-
- `route_map` (String) Route map reference
128127
- `unicast_all` (Boolean) All routes
128+
- `unicast_all_route_map` (String) Route map reference
129129

130130

131131
<a id="nestedatt--ipv4_route_target_export"></a>

examples/resources/iosxe_vrf/resource.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ resource "iosxe_vrf" "example" {
3939
]
4040
ipv4_route_replicate = [
4141
{
42-
name = "VRF1"
43-
unicast_all = true
44-
route_map = "RM1"
42+
name = "VRF1"
43+
unicast_all = true
44+
unicast_all_route_map = "RM1"
4545
}
4646
]
4747
ipv6_route_target_import = [

gen/definitions/bgp_address_family_ipv4_vrf.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ attributes:
3131
tf_name: ipv4_unicast_router_id_ip
3232
exclude_test: true
3333
example: 10.1.1.1
34-
exclude_test: true
3534
- yang_name: ipv4-unicast/aggregate-address
3635
tf_name: ipv4_unicast_aggregate_addresses
3736
type: List

gen/definitions/vrf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ attributes:
9292
tf_name: unicast_all
9393
example: true
9494
- yang_name: unicast/source-proto-config/all/route-map
95-
tf_name: route_map
95+
tf_name: unicast_all_route_map
9696
description: Route map reference
9797
example: RM1
9898
- yang_name: address-family/ipv6/route-target/import-route-target/without-stitching

internal/provider/data_source_iosxe_vrf.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/provider/data_source_iosxe_vrf_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.

internal/provider/model_iosxe_interface_ethernet.go

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

internal/provider/model_iosxe_vrf.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)