summaryrefslogtreecommitdiff
path: root/tests/topotests/ospf_basic_functionality/test_ospf_ecmp_lan.py
AgeCommit message (Collapse)Author
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-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-07-28tests: Add pytest.mark.ospfd on tests missing this markDonald Sharp
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2021-06-25tests: apply KISS to retry fixtureChristian Hopps
This python fixture was way too complex for what is needed. Eliminate gratuitous options/over-engineering: - Change from non-deterministic `wait` and `attempts` to a single `retry_timeout` value. This is both more deterministic, as well as what the user should actually be thinking about. - Use a fixed 2 second pause between executing the wrapped function rather than a bunch of arbitrary choices of 2, 3 and 4 seconds spread all over the test code. - Get rid of the multiple variables for determining what "Positive" and "Negative" results are. Instead just implement what all the user code already wants, i.e., boolean False or a str (errormsg) means "Negative" result otherwise it's a "Positive" result. - As part of the above the inversion logic is much more comprehensible in the fixture code (and more correct to boot). Signed-off-by: Christian Hopps <chopps@labn.net>
2021-04-09tests: More black fixupsDonald Sharp
Just another round of fixups found by running black on the code Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2021-03-06tests: Improve error/assert message loggingKuldeep Kashyap
1. Improved error meesage logging. 2. No functionality changes only put some meaningfull error messages. Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
2021-01-12tests: move redistribute function into libckishimo
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
2021-01-12tests: remove old def for redistribution in ospfckishimo
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
2021-01-12tests: use new def for redistribution in ospfckishimo
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
2021-01-12tests: add new def for redistribution in ospfckishimo
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
2020-10-07*: reformat python fileswhitespace
We are now using black. Signed-off-by: Quentin Young <qlyoung@nvidia.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>