fix: update bgp peer port logic
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
2 files changed
+2
-6
No files matched your search
@@ -16,9 +16,7 @@ spec:
|
||||
#% for item in bootstrap_bgp.peers %#
|
||||
- peerAddress: "#{ item }#/32"
|
||||
peerASN: #{ bootstrap_bgp.peer_asn }#
|
||||
#% if bootstrap_bgp.peer_port %#
|
||||
peerPort: #{ bootstrap_bgp.peer_port }#
|
||||
#% endif %#
|
||||
peerPort: #{ bootstrap_bgp.peer_port | default(179) }#
|
||||
#% endfor %#
|
||||
#% else %#
|
||||
#% if bootstrap_node_default_gateway %#
|
||||
|
||||
+1
-3
@@ -85,9 +85,7 @@ bootstrap_bgp:
|
||||
# If these match, iBGP will be used. If not, eBGP will be used.
|
||||
peer_asn: "" # Router(s) AS
|
||||
local_asn: "" # Node(s) AS
|
||||
# (Optional) If using a non-default BGP port.
|
||||
# Default is 179 (tcp).
|
||||
# peer_port: "" # BGP Port
|
||||
peer_port: 179 # BGP Port - default is TCP port 179
|
||||
# (Required) The advertised CIDR for the cluster, this must NOT overlap with any
|
||||
# existing networks and is usually a /16 (64K IPs).
|
||||
# If you want to use IPv6 check the advanced flags below
|
||||
|
||||
Reference in new issue
Block a user