Exa-Networks / exabgp

The BGP swiss army knife of networking
Other
2.06k stars 441 forks source link

Support for the 'ipv4' and 'ipv6' options in the Announce statement to exabgp-cli. #1144

Closed takehaya closed 1 year ago

takehaya commented 1 year ago

This enables support for statements related to IPv4 and IPv6. Examples of supported IPv4 statements include unicast and mup.

# unicast case
exabgpcli announce ipv4 unicast 10.0.0.0/24 next-hop 10.0.1.254 local-preference 200;

# mup case
exabgpcli announce ipv4 "mup mup-isd 10.0.1.1/24 rd 100:100 next-hop 2001::1 extended-community [ target:10:10 ] bgp-prefix-sid-srv6 ( l3-service 2001:db8:1:1:: 0x48 [64,24,16,0,0,0] );"
thomas-mangin commented 1 year ago

Fantastic - thank you, merging. Could you add another test with a configuration using the API?

takehaya commented 1 year ago

working just now. Coming soon :ok_man: