Commit 19264c7
authored
[bgp]: Don't flush link-local addr during teardown (#11779)
What is the motivation for this PR?
During the teardown for bgp/test_bgp_dual_asn.py::test_bgp_dual_asn_v4, the PTF interface used for the test is flushed of all IPv4 and IPv6 addresses, including the IPv6 link local address. As a result, NDP and other IPv6 functionality is broken for the flushed interface.
How did you do it?
Specify 'global' scope when flushing the PTF interface to avoid removing IPv6 link local addresses.
How did you verify/test it?
Run the test, verify that all PTF addresses still have an IPv6 link local address after the test is finished.1 parent c8c7a4e commit 19264c7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
| 285 | + | |
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| |||
0 commit comments