Skip to content

Commit

Permalink
Dynamic: fix frr config for ipv6 routing
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhouapache committed Aug 30, 2024
1 parent d6f5018 commit 618fa03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion systemvm/debian/opt/cloud/bin/cs/CsBgpPeers.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def _process_peers(self):
self.frr_conf.add("router bgp {}".format(as_number))
self.frr_conf.add(" bgp router-id {}".format(self.public_ip))
if self.peers[as_number]['ip6_peers']:
self.frr_conf.add(" no bgp default ipv4-unicast")
self.frr_conf.add(" bgp default ipv6-unicast")
for ip4_peer in self.peers[as_number]['ip4_peers']:
self.frr_conf.add(" neighbor {} remote-as {}".format(ip4_peer['ip4_address'], ip4_peer['peer_as_number']))
if 'peer_password' in ip4_peer:
Expand Down

0 comments on commit 618fa03

Please sign in to comment.