Skip to content

Commit 7209a96

Browse files
Merge branch 'main' into feature/implement-support-ip-ssh-bulk-mode-in-terraform-provider
2 parents 6a7157d + 9f03003 commit 7209a96

30 files changed

+1439
-19
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
- Add `iosxe_evpn_ethernet_segment` resource and data source for managing L2VPN EVPN Ethernet Segment configuration
66
- Add `evpn_ethernet_segments` attribute to `iosxe_interface_ethernet` and `iosxe_interface_port_channel` resources and data sources
77
- Add `ip_ssh_bulk_mode` and `ip_ssh_bulk_mode_window_size` attributes to `iosxe_system` resource and data source
8+
- Add `set_ip_next_hop_unchanged` attribute to `iosxe_route_map` resource and data source
9+
- 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)
810

911
## 0.9.3
1012

docs/data-sources/bgp_neighbor.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ data "iosxe_bgp_neighbor" "example" {
4747
- `fall_over_default_route_map` (String)
4848
- `fall_over_maximum_metric_route_map` (String)
4949
- `id` (String) The path of the retrieved object.
50+
- `inherit_peer_session` (String) Inherit a peer-session template
5051
- `local_as` (String)
5152
- `local_as_dual_as` (Boolean) Accept either real AS or local AS from the ebgp peer
5253
- `local_as_no_prepend` (Boolean) Do not prepend local-as to updates from ebgp peers
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "iosxe_bgp_peer_session_template Data Source - terraform-provider-iosxe"
4+
subcategory: "BGP"
5+
description: |-
6+
This data source can read the BGP Peer Session Template configuration.
7+
---
8+
9+
# iosxe_bgp_peer_session_template (Data Source)
10+
11+
This data source can read the BGP Peer Session Template configuration.
12+
13+
## Example Usage
14+
15+
```terraform
16+
data "iosxe_bgp_peer_session_template" "example" {
17+
asn = "65000"
18+
template_name = "PEER_SESSION_TEMPLATE_1"
19+
}
20+
```
21+
22+
<!-- schema generated by tfplugindocs -->
23+
## Schema
24+
25+
### Required
26+
27+
- `asn` (String)
28+
- `template_name` (String)
29+
30+
### Optional
31+
32+
- `device` (String) A device name from the provider configuration.
33+
34+
### Read-Only
35+
36+
- `description` (String) Neighbor specific description
37+
- `disable_connected_check` (Boolean) one-hop away EBGP peer using loopback address
38+
- `ebgp_multihop` (Boolean) Allow EBGP neighbors not on directly connected networks. For single-hop ebgp peers, delete ebgp-multihop directly.
39+
- `ebgp_multihop_max_hop` (Number)
40+
- `id` (String) The path of the retrieved object.
41+
- `inherit_peer_session` (String) Inherit a peer-session template
42+
- `remote_as` (String) Specify a BGP neighbor remote-as
43+
- `update_source_interface_loopback` (Number) Loopback interface

docs/data-sources/route_map.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Read-Only:
8989
- `set_as_path_replace_as` (Attributes List) (see [below for nested schema](#nestedatt--entries--set_as_path_replace_as))
9090
- `set_as_path_tag` (Boolean) Set the tag as an AS-path attribute
9191
- `set_as_path_tag_legacy` (Boolean) Set the tag as an AS-path attribute (OBSOLETE - please use route-map configuration in Cisco-IOS-XE-bgp.yang)
92-
- `set_communities` (List of String)
92+
- `set_communities` (List of String) BGP community value - can be a number (AA:NN format) or well-known value (internet, local-AS, no-advertise, no-export, gshut)
9393
- `set_communities_additive` (Boolean)
9494
- `set_communities_additive_legacy` (Boolean)
9595
- `set_communities_legacy` (List of String)
@@ -119,6 +119,7 @@ Read-Only:
119119
- `set_ip_global_next_hop_address` (List of String)
120120
- `set_ip_next_hop_address` (List of String) IP address of next hop
121121
- `set_ip_next_hop_self` (Boolean) Use self address (for BGP only)
122+
- `set_ip_next_hop_unchanged` (Boolean) Propagate next hop unchanged
122123
- `set_ip_qos_group` (Number)
123124
- `set_ipv6_address` (List of String) IPv6 prefix-list
124125
- `set_ipv6_default_global_next_hop` (String) Next hop along path

docs/guides/changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ description: |-
1414
- Add `iosxe_evpn_ethernet_segment` resource and data source for managing L2VPN EVPN Ethernet Segment configuration
1515
- Add `evpn_ethernet_segments` attribute to `iosxe_interface_ethernet` and `iosxe_interface_port_channel` resources and data sources
1616
- Add `ip_ssh_bulk_mode` and `ip_ssh_bulk_mode_window_size` attributes to `iosxe_system` resource and data source
17+
- Add `set_ip_next_hop_unchanged` attribute to `iosxe_route_map` resource and data source
18+
- 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)
1719

1820
## 0.9.3
1921

docs/resources/bgp_neighbor.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ resource "iosxe_bgp_neighbor" "example" {
6565
- `fall_over_default_enable` (Boolean)
6666
- `fall_over_default_route_map` (String)
6767
- `fall_over_maximum_metric_route_map` (String)
68+
- `inherit_peer_session` (String) Inherit a peer-session template
6869
- `local_as` (String)
6970
- `local_as_dual_as` (Boolean) Accept either real AS or local AS from the ebgp peer
7071
- `local_as_no_prepend` (Boolean) Do not prepend local-as to updates from ebgp peers
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "iosxe_bgp_peer_session_template Resource - terraform-provider-iosxe"
4+
subcategory: "BGP"
5+
description: |-
6+
This resource can manage the BGP Peer Session Template configuration.
7+
---
8+
9+
# iosxe_bgp_peer_session_template (Resource)
10+
11+
This resource can manage the BGP Peer Session Template configuration.
12+
13+
## Example Usage
14+
15+
```terraform
16+
resource "iosxe_bgp_peer_session_template" "example" {
17+
asn = "65000"
18+
template_name = "PEER_SESSION_TEMPLATE_1"
19+
remote_as = "65001"
20+
description = "Peer Session Template Description"
21+
disable_connected_check = true
22+
ebgp_multihop = true
23+
ebgp_multihop_max_hop = 10
24+
update_source_interface_loopback = 100
25+
}
26+
```
27+
28+
<!-- schema generated by tfplugindocs -->
29+
## Schema
30+
31+
### Required
32+
33+
- `asn` (String)
34+
- `template_name` (String)
35+
36+
### Optional
37+
38+
- `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`.
39+
- Choices: `all`, `attributes`
40+
- `description` (String) Neighbor specific description
41+
- `device` (String) A device name from the provider configuration.
42+
- `disable_connected_check` (Boolean) one-hop away EBGP peer using loopback address
43+
- `ebgp_multihop` (Boolean) Allow EBGP neighbors not on directly connected networks. For single-hop ebgp peers, delete ebgp-multihop directly.
44+
- `ebgp_multihop_max_hop` (Number) - Range: `2`-`255`
45+
- `inherit_peer_session` (String) Inherit a peer-session template
46+
- `remote_as` (String) Specify a BGP neighbor remote-as
47+
- `update_source_interface_loopback` (Number) Loopback interface
48+
49+
### Read-Only
50+
51+
- `id` (String) The path of the object.
52+
53+
## Import
54+
55+
Import is supported using the following syntax:
56+
57+
The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:
58+
59+
```shell
60+
terraform import iosxe_bgp_peer_session_template.example "<asn>,<template_name>"
61+
```

docs/resources/route_map.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ resource "iosxe_route_map" "example" {
7070
set_tag = 100
7171
set_as_path_prepend_as = "65001 65001"
7272
set_as_path_prepend_last_as = 5
73+
set_communities = ["no-export"]
7374
set_extcomunity_rt = ["10:10"]
7475
set_extcomunity_soo = "10:10"
7576
set_extcomunity_vpn_distinguisher = "10:10"
@@ -157,7 +158,7 @@ Optional:
157158
- `set_as_path_replace_as` (Attributes List) (see [below for nested schema](#nestedatt--entries--set_as_path_replace_as))
158159
- `set_as_path_tag` (Boolean) Set the tag as an AS-path attribute
159160
- `set_as_path_tag_legacy` (Boolean) Set the tag as an AS-path attribute (OBSOLETE - please use route-map configuration in Cisco-IOS-XE-bgp.yang)
160-
- `set_communities` (List of String)
161+
- `set_communities` (List of String) BGP community value - can be a number (AA:NN format) or well-known value (internet, local-AS, no-advertise, no-export, gshut)
161162
- `set_communities_additive` (Boolean)
162163
- `set_communities_additive_legacy` (Boolean)
163164
- `set_communities_legacy` (List of String)
@@ -187,6 +188,7 @@ Optional:
187188
- `set_ip_global_next_hop_address` (List of String)
188189
- `set_ip_next_hop_address` (List of String) IP address of next hop
189190
- `set_ip_next_hop_self` (Boolean) Use self address (for BGP only)
191+
- `set_ip_next_hop_unchanged` (Boolean) Propagate next hop unchanged
190192
- `set_ip_qos_group` (Number) - Range: `0`-`99`
191193
- `set_ipv6_address` (List of String) IPv6 prefix-list
192194
- `set_ipv6_default_global_next_hop` (String) Next hop along path
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
data "iosxe_bgp_peer_session_template" "example" {
2+
asn = "65000"
3+
template_name = "PEER_SESSION_TEMPLATE_1"
4+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
terraform import iosxe_bgp_peer_session_template.example "<asn>,<template_name>"

0 commit comments

Comments
 (0)