summaryrefslogtreecommitdiff
path: root/tests/topotests/ospf_basic_functionality/test_ospf_single_area.py
AgeCommit message (Collapse)Author
2024-06-17tests: Avoid importing unused modulesY Bharath
Signed-off-by: y-bharath14 <y.bharath@samsung.com>
2024-05-29Merge pull request #15082 from louis-6wind/fix-iff-lower-upIgor Ryzhov
lib: take into account the Linux IFF_LOWER_UP flag
2024-04-27tests: Apply black formatting for all tests/topotestsDonatas Abraitis
It's just annoying when the linter tells to apply the formatting for the code you didn't touch. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-04-26topotests: add lower_up to expected interface flagsLouis Scalbert
Add lower_up to expected interface flags. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2023-03-29Merge pull request #12645 from gpnaveen/ospf_error_msg_enhancementsRuss White
tests: [topojson] Update assert/error messages for ospf scripts
2023-03-26tests: [topojson] Update assert/error messagesnguggarigoud
Few assert/error messages are updated for test scripts for better debugging. Signed-off-by: nguggarigoud <nguggarigoud@vmware.com>
2023-02-09*: auto-convert to SPDX License IDsDavid Lamparter
Done with a combination of regex'ing and banging my head against a wall. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2022-12-13tests: Cleaning up daemon param used in start_topology()Kuldeep Kashyap
Earlier daemon parameter was passed to start_topology(), which is not needed now, as new code is implemented to start feature specific daemons. Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
2022-06-21tests: Removing invalid step from ospf tests.nguggarigoud
1. Removed the step from hello test case with hello timer of 65535. This test works in some platforms and does not work in others, affecting stability. Signed-off-by: nguggarigoud <nguggarigoud@vmware.com>
2022-04-01tests: Fix spelling of daemonsDonald Sharp
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2021-09-04tests: cleanup - remove unused importsChristian Hopps
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-04tests: remove legacy Topo class (fixes many pylint errors)Christian Hopps
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-04tests: micronet: adapt testsChristian Hopps
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-08-23tests: use correct key for deleting entry.Christian Hopps
OSPF mixes uses of "delete" and "del_action" depending on which library function is called. It's a bug-prone mess that needs fixing; however, for now we fix the one obvious incorrect use in this test. Signed-off-by: Christian Hopps <chopps@labn.net>
2021-08-21tests: uniq vrf names when using netnsChristian Hopps
- In order to run tests in parallel the netns-based vrfs need to have unique names primarily bc they are all tracked/looked-up in `/run/netns` which is not network namespace nesting friendly - use ip(8) exclusively rather than a mix of `ip` and `ifconfig` and `vconfig`, reducing required pkg count by a couple. Signed-off-by: Christian Hopps <chopps@labn.net>
2021-07-28tests: Add pytest.mark.ospfd on tests missing this markDonald Sharp
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2021-05-17tests: adding ospf basic 2 testcases.nguggarigoud
Test cases included are 1 ospf cost, 1 ospf mtu. Signed-off-by: nguggarigoud <nguggarigoud@vmware.com>
2020-12-23Merge pull request #7759 from qlyoung/reformat-tests-againMark Stapp
Reformat tests again
2020-12-17tests: please follow the style guidewhitespace
thanks Signed-off-by: Quentin Young <qlyoung@nvidia.com>
2020-12-17tests: unicode to frr_unicodeDonald Sharp
Let's standardize on the internal to frr unicode function. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2020-11-25tests : Adding 3 base ospf testcases.nguggarigoud
Test suite execution time is 90 Secs. Signed-off-by: nguggarigoud <nguggarigoud@vmware.com>
2020-10-07*: reformat python fileswhitespace
We are now using black. Signed-off-by: Quentin Young <qlyoung@nvidia.com>
2020-09-18tests: removing initial wait time in ospf.pynguggarigoud
1. Removed initial_wait in ospf library. 2. Removed one test case which was random failure, will add back after traiging. Signed-off-by: naveen <nguggarigoud@vmware.com>
2020-09-18tests: Adding daemon check for ospfd in common_config.pynguggarigoud
start ospfd only when ospf config is used. Signed-off-by: nguggarigoud <nguggarigoud@vmware.com>
2020-09-18tests: ospf basic functionality topojson testcases.naveen
1. Removed static sleeps. Signed-off-by: naveen <nguggarigoud@vmware.com>
2020-09-18tests: ospf_basic_functionality topojson testcases.naveen
1. Adding 18 ospf testcases to topojson. 2. Adding ospf.py library. Test suite execution time is ~18 minutes. Signed-off-by: naveen <nguggarigoud@vmware.com>