Exa-Networks / exabgp

The BGP swiss army knife of networking
Other
2.09k stars 448 forks source link

Allow API operations to be executed against a peer group #1106

Open enag11 opened 2 years ago

enag11 commented 2 years ago

Exabgp api allows route requests on the API to target individual neighbors using a syntax like:

,Tue, 12 Jul 2022 20:32:21 | INFO | 1 | processes | Command from process api-inject-routes : neighbor 198.18.21.62 announce flow route anonymous { match { source beef:f00d::/64; destination 2a02:29b8:1925::2b69/128; } then { extended-community [0x8006000000000000]; } }

This request is to allow API operations to be executed against a peer group, so that it would not have to be repeated for each member of the group. Tried substituting the IP address of the neighbor in API requests for the peer template and it resulted in an error.

thomas-mangin commented 2 years ago

There is currently no concept of peer-group. I can see how it would be useful and will consider this feature request.

enag11 commented 2 years ago

Thanks for considering