]> git.puffer.fish Git - mirror/frr.git/commit
tests: Add clear event to creation of router for v4 and v6 ospf
authorDonald Sharp <sharpd@nvidia.com>
Tue, 23 Nov 2021 12:47:33 +0000 (07:47 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 24 Nov 2021 12:05:19 +0000 (07:05 -0500)
commitbceb50e4aa3a6b65bf828c5abca5c6ac241993dc
tree47473dbc045f3e2ed16277f490fa774cef25a873
parenta335c38bc02372ca78eae18c0747791f618da186
tests: Add clear event to creation of router for v4 and v6 ospf

When using build_config_from_json there exists a timing
window where neighbors can come up before the router-id
is applied.  As a precaution, quickly clear the neighbors
to ensure that we get neighbors with the expected router-id.
This can especially happen under high system load.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/lib/topojson.py