Open
Description
Describe what you are trying to solve
-
Add confederation identifier in
antctl get bgppolicy
-
Add new command for bgp confederations member ASNs
antctl get bgpconfederations
Describe the solution you have in mind
$ antctl get bgppolicy
NAME ROUTER-ID LOCAL-ASN LISTEN-PORT CONFEDERATION-IDENTIFIER
example-bgp-policy 172.18.0.2 64512 179 65000
If BGP Confederation is not configured, then confederation identifier can be 0
or NONE
.
$ antctl get bgppolicy
NAME ROUTER-ID LOCAL-ASN LISTEN-PORT CONFEDERATION-IDENTIFIER
example-bgp-policy 172.18.0.2 64512 179 <NONE>
$ antctl get bgpconfederationmembers
MEMBER-ASN
64513
64514
Should MEMBER-ASN
include LOCAL-ASN 64512 as well ? because 64512 is also a member of the confederation 65000. Assuming that a bgp policy is applied with local asn 64512, bgp confederation identifier 65000 and member asn 64513 and 64514.
Describe how your solution impacts user flows
N/A
Describe the main design/architecture of your solution
N/A
Alternative solutions that you considered
N/A
Test plan
N/A
Additional context