Skip to content

Commit 13cf17f

Browse files
author
Jeremy Spencer
committed
fix: changed resource attribute names per suggestions
1 parent 2f9e937 commit 13cf17f

File tree

11 files changed

+79
-72
lines changed

11 files changed

+79
-72
lines changed

docs/data-sources/bgp_l2vpn_evpn_neighbor.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ data "iosxe_bgp_l2vpn_evpn_neighbor" "example" {
3535

3636
- `activate` (Boolean) Enable the address family for this neighbor
3737
- `id` (String) The path of the retrieved object.
38-
- `route_map` (Attributes List) Apply route map to neighbor (see [below for nested schema](#nestedatt--route_map))
38+
- `route_maps` (Attributes List) Apply route map to neighbor (see [below for nested schema](#nestedatt--route_maps))
3939
- `route_reflector_client` (Boolean) Configure a neighbor as Route Reflector client
4040
- `send_community` (String)
4141
- `soft_reconfiguration` (String) Per neighbor soft reconfiguration
4242

43-
<a id="nestedatt--route_map"></a>
44-
### Nested Schema for `route_map`
43+
<a id="nestedatt--route_maps"></a>
44+
### Nested Schema for `route_maps`
4545

4646
Read-Only:
4747

48-
- `inout` (String)
48+
- `in_out` (String)
4949
- `route_map_name` (String)

docs/guides/changelog.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ description: |-
5050
- Add `router_id_ip`, `bgp_graceful_restart`, and `bgp_update_delay` to `iosxe_bgp` resource and data source
5151
- Add `multi_area_ids` attribute to `iosxe_interface_ospf` resource and data source
5252
- Add `log_adjacency_changes`, `log_adjacency_changes_detail`, `nsf_cisco`, `nsf_cisco_enforce_global`, `nsf_ietf`, `nsf_ietf_restart_interval`, `max_metric_router_lsa_*`, `fast_reroute_per_prefix_enable_prefix_priority`, `redistribute_static_subnets` and `redistribute_connected_subnets` attributes to `iosxe_ospf` and `iosxe_ospf_vrf` resources and data sources
53+
- Enhance `set_communities` attribute documentation in `iosxe_route_map` to clarify support for well-known BGP community values (internet, local-AS, no-advertise, no-export, gshut)
54+
- Add `route_map` attribute with required subattributes to `iosxe_bgp_l2vpn_evpn_neighbor` resource and data source
55+
- Add `import_path_selection_all` and `ipv4_unicast_aggregate_addresses.summary_only` attributes to `iosxe_bgp_address_family_ipv4_vrf` resoutces and data sources
5356

5457
## 0.9.3
5558

@@ -385,4 +388,3 @@ description: |-
385388
## 0.1.0
386389

387390
- Initial release
388-

docs/resources/bgp_l2vpn_evpn_neighbor.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ resource "iosxe_bgp_l2vpn_evpn_neighbor" "example" {
2020
send_community = "both"
2121
route_reflector_client = false
2222
soft_reconfiguration = "inbound"
23-
route_map = [
23+
route_maps = [
2424
{
25-
inout = "in"
25+
in_out = "in"
2626
route_map_name = "RM1"
2727
}
2828
]
@@ -44,7 +44,7 @@ resource "iosxe_bgp_l2vpn_evpn_neighbor" "example" {
4444
- `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`.
4545
- Choices: `all`, `attributes`
4646
- `device` (String) A device name from the provider configuration.
47-
- `route_map` (Attributes List) Apply route map to neighbor (see [below for nested schema](#nestedatt--route_map))
47+
- `route_maps` (Attributes List) Apply route map to neighbor (see [below for nested schema](#nestedatt--route_maps))
4848
- `route_reflector_client` (Boolean) Configure a neighbor as Route Reflector client
4949
- `send_community` (String) - Choices: `both`, `extended`, `standard`
5050
- `soft_reconfiguration` (String) Per neighbor soft reconfiguration
@@ -54,12 +54,12 @@ resource "iosxe_bgp_l2vpn_evpn_neighbor" "example" {
5454

5555
- `id` (String) The path of the object.
5656

57-
<a id="nestedatt--route_map"></a>
58-
### Nested Schema for `route_map`
57+
<a id="nestedatt--route_maps"></a>
58+
### Nested Schema for `route_maps`
5959

6060
Required:
6161

62-
- `inout` (String) - Choices: `in`, `out`
62+
- `in_out` (String) - Choices: `in`, `out`
6363
- `route_map_name` (String)
6464

6565
## Import

examples/resources/iosxe_bgp_l2vpn_evpn_neighbor/resource.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ resource "iosxe_bgp_l2vpn_evpn_neighbor" "example" {
55
send_community = "both"
66
route_reflector_client = false
77
soft_reconfiguration = "inbound"
8-
route_map = [
8+
route_maps = [
99
{
10-
inout = "in"
10+
in_out = "in"
1111
route_map_name = "RM1"
1212
}
1313
]

gen/definitions/bgp_l2vpn_evpn_neighbor.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ attributes:
2424
- yang_name: soft-reconfiguration
2525
example: inbound
2626
- yang_name: route-map
27+
tf_name: route_maps
2728
type: List
2829
attributes:
2930
- yang_name: inout
31+
tf_name: in_out
3032
id: true
3133
example: in
3234
- yang_name: route-map-name

internal/provider/data_source_iosxe_bgp_l2vpn_evpn_neighbor.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/data_source_iosxe_bgp_l2vpn_evpn_neighbor_test.go

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

internal/provider/model_iosxe_bgp_l2vpn_evpn_neighbor.go

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

internal/provider/resource_iosxe_bgp_l2vpn_evpn_neighbor.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/resource_iosxe_bgp_l2vpn_evpn_neighbor_test.go

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

0 commit comments

Comments
 (0)