diff options
| author | rathorepo <rathorepo@vmware.com> | 2024-04-03 10:54:46 +0000 |
|---|---|---|
| committer | rathorepo <rathorepo@vmware.com> | 2024-04-27 16:44:26 +0000 |
| commit | 48faeafe16bb6fe1f35b810ebb0f66299b3050eb (patch) | |
| tree | 1a2b888e342a5290b71aba8b6ba554c7f3ff2198 /ospfd/ospf_interface.c | |
| parent | 27cc9ae508ad11107a3d9c446838870433d1f503 (diff) | |
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>
Diffstat (limited to 'ospfd/ospf_interface.c')
0 files changed, 0 insertions, 0 deletions
