Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bgpd : Prevent deletion of BGP peer groups associated to listen range #15670

Merged

Commits on Apr 27, 2024

  1. bgpd : Prevent deletion of BGP peer groups associated to listen range

    Description:
    -----
    Deleting a peer group also deletes its associated BGP listen range.
    This behaviour is undesired as it could cause unintended configuration changes.
    
    Fix :
    -----
    -Do not allow peer group deletion until they are no longer associated with any listen range.
    -Check the count of listen ranges attached to the group.
    If any listen ranges are found, returns a configuration warning, preventing the deletion.
    
    Signed-off-by: Pooja Rathore <rathorepo@vmware.com>
    rathorepo committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    48faeaf View commit details
    Browse the repository at this point in the history