Skip to content

Commit

Permalink
Resolve issues #234 and #236 (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
seconroy authored May 7, 2024
1 parent f7a20f6 commit b7a1d5d
Show file tree
Hide file tree
Showing 11 changed files with 126 additions and 4 deletions.
4 changes: 4 additions & 0 deletions docs/data-sources/transport_routing_bgp_profile_parcel.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ Read-Only:
- `hold_time_variable` (String) Variable name
- `keepalive_time` (Number) Set how often to advertise keepalive messages to BGP peer
- `keepalive_time_variable` (String) Variable name
- `local_as` (Number) Set local autonomous number,Local-AS cannot have the local BGP protocol AS number or the AS number of the remote peer.The local-as is valid only if the peer is a true eBGP peer. It does not work for two peers in different sub-ASs in a confederation.
- `local_as_variable` (String) Variable name
- `next_hop_self` (Boolean) Set router to be next hop for routes advertised to neighbor
- `next_hop_self_variable` (String) Variable name
- `password` (String) Set MD5 password on TCP connection with BGP peer
Expand Down Expand Up @@ -209,6 +211,8 @@ Read-Only:
- `hold_time_variable` (String) Variable name
- `keepalive_time` (Number) Interval (seconds) of keepalive messages sent to its BGP peer
- `keepalive_time_variable` (String) Variable name
- `local_as` (Number) Set local autonomous system number,Local-AS cannot have the local BGP protocol AS number or the AS number of the remote peer.The local-as is valid only if the peer is a true eBGP peer. It does not work for two peers in different sub-ASs in a confederation.
- `local_as_variable` (String) Variable name
- `next_hop_self` (Boolean) Set router to be next hop for routes advertised to neighbor
- `next_hop_self_variable` (String) Variable name
- `password` (String) Set MD5 password on TCP connection with BGP peer
Expand Down
6 changes: 6 additions & 0 deletions docs/resources/transport_routing_bgp_profile_parcel.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ resource "sdwan_transport_routing_bgp_profile_parcel" "example" {
description = "neighbor1"
shutdown = false
remote_as = 200
local_as = 200
keepalive_time = 40
hold_time = 200
update_source_interface = "GigabitEthernet0"
Expand Down Expand Up @@ -68,6 +69,7 @@ resource "sdwan_transport_routing_bgp_profile_parcel" "example" {
description = "neighbor2"
shutdown = false
remote_as = 200
local_as = 200
keepalive_time = 180
hold_time = 60
update_source_interface = "Loopback1"
Expand Down Expand Up @@ -268,6 +270,8 @@ Optional:
- Range: `0`-`65535`
- Default value: `60`
- `keepalive_time_variable` (String) Variable name
- `local_as` (Number) Set local autonomous number,Local-AS cannot have the local BGP protocol AS number or the AS number of the remote peer.The local-as is valid only if the peer is a true eBGP peer. It does not work for two peers in different sub-ASs in a confederation.
- `local_as_variable` (String) Variable name
- `next_hop_self` (Boolean) Set router to be next hop for routes advertised to neighbor
- Default value: `false`
- `next_hop_self_variable` (String) Variable name
Expand Down Expand Up @@ -376,6 +380,8 @@ Optional:
- Range: `0`-`65535`
- Default value: `60`
- `keepalive_time_variable` (String) Variable name
- `local_as` (Number) Set local autonomous system number,Local-AS cannot have the local BGP protocol AS number or the AS number of the remote peer.The local-as is valid only if the peer is a true eBGP peer. It does not work for two peers in different sub-ASs in a confederation.
- `local_as_variable` (String) Variable name
- `next_hop_self` (Boolean) Set router to be next hop for routes advertised to neighbor
- Default value: `false`
- `next_hop_self_variable` (String) Variable name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ resource "sdwan_transport_routing_bgp_profile_parcel" "example" {
description = "neighbor1"
shutdown = false
remote_as = 200
local_as = 200
keepalive_time = 40
hold_time = 200
update_source_interface = "GigabitEthernet0"
Expand Down Expand Up @@ -51,6 +52,7 @@ resource "sdwan_transport_routing_bgp_profile_parcel" "example" {
description = "neighbor2"
shutdown = false
remote_as = 200
local_as = 200
keepalive_time = 180
hold_time = 60
update_source_interface = "Loopback1"
Expand Down
2 changes: 1 addition & 1 deletion gen/definitions/profile_parcels/system_ntp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ attributes:
attributes:
- model_name: name
tf_name: hostname_ip_address
id: true
example: "1.1.1.1"
- model_name: key
tf_name: authentication_key
id: true
example: 41673
- model_name: vpn
example: 1
Expand Down
4 changes: 4 additions & 0 deletions gen/definitions/profile_parcels/transport_routing_bgp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ attributes:
example: false
- model_name: remoteAs
example: 200
- model_name: localAs
example: 200
- model_name: keepalive
tf_name: keepalive_time
example: 40
Expand Down Expand Up @@ -139,6 +141,8 @@ attributes:
example: false
- model_name: remoteAs
example: 200
- model_name: localAs
example: 200
- model_name: keepalive
tf_name: keepalive_time
example: 180
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions internal/provider/model_sdwan_system_ntp_profile_parcel.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b7a1d5d

Please sign in to comment.