You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an operator I would like createBgpPeer and updateBgpPeer to check that the AS number is a valid 2-byte (1-65535) or 4-byte (65536-4294967295) AS number, and refuse the ones that can't be used by a peer:
23456, AS_TRANS (RFC 6793)
65535 and 4294967295, reserved (RFC 7300)
Private AS numbers would still be accepted.
There's no check today. createBgpPeer accepts 0, but FRR 8.4.4 rejects the neighbour line with "Unknown command", so the peer exists in CloudStack but isn't configured on the VR.
This is very minor. Only root admins can create or update BGP peers by default, so the chance of this being encountered is low.
Activity