summaryrefslogtreecommitdiffstats
path: root/src/plugins/gbp/test/test_gbp.py
diff options
context:
space:
mode:
authorMatthew Smith <mgsmith@netgate.com>2019-08-07 11:46:30 -0500
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-09-18 21:53:10 +0000
commitda900b25c8fa47c70b4dcba7f2cb68716dcfad46 (patch)
tree343eb581de97718e26ba64926ef1fe95e5c56a42 /src/plugins/gbp/test/test_gbp.py
parentf4dcae4164f93dac80d4af19af0ee20e712ec673 (diff)
ip: allow addrs from the same prefix on intf
Type: feature Adding a prefix to an interface was not permitted if it overlapped with another prefix on an interface which used the same FIB. Loosen the restriction. Allow 2 or more addresses from the same prefix on a single interface. Reference count the prefix to figure out when a glean/connected route for the prefix needs to be added or removed. Added unit tests to check that the route is only removed when all addresses in the prefix are removed from the interface. Change-Id: I1a962ecb5e1ee65fc6d41f98a4cc097a51a55321 Signed-off-by: Matthew Smith <mgsmith@netgate.com> (cherry picked from commit 6c92f5babdc3c52cf343509fc9cf9d8a9a3df390)
Diffstat (limited to 'src/plugins/gbp/test/test_gbp.py')
0 files changed, 0 insertions, 0 deletions