Skip to content

Commit 9319019

Browse files
Shuotian Chengtaoyl-ms
Shuotian Cheng
authored andcommitted
[bgp]: Fix the deployment_id with DEVICE_METADATA (#962)
1 parent 369f578 commit 9319019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dockers/docker-fpm-quagga/bgpd.conf.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ router bgp {{ DEVICE_METADATA['localhost']['bgp_asn'] }}
9494
{% for bgp_peer in BGP_PEER_RANGE.values() %}
9595
neighbor {{ bgp_peer['name'] }} peer-group
9696
neighbor {{ bgp_peer['name'] }} passive
97-
neighbor {{ bgp_peer['name'] }} remote-as {{deployment_id_asn_map[deployment_id] }}
97+
neighbor {{ bgp_peer['name'] }} remote-as {{ deployment_id_asn_map[DEVICE_METADATA['localhost']['deployment_id']] }}
9898
neighbor {{ bgp_peer['name'] }} ebgp-multihop 255
9999
neighbor {{ bgp_peer['name'] }} soft-reconfiguration inbound
100100
neighbor {{ bgp_peer['name'] }} update-source Loopback0

0 commit comments

Comments
 (0)