Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-03-31 | smoketest: bfd: only evaluate individual profile section | Christian Poessinger | |
When validating FRR profiles, only load the configuration for each individual profile instead of all profiles. This is done by a new argument to getFRRconfig() named endsection='^!' which tells what is the delimiter when a config section of FRR ends, this is usually "^!", but for BFD profiles this is "^ !", as this is a new level under the FRR CLI. | |||
2021-03-17 | smoketest: add shim for every test to re-use common tasts | Christian Poessinger | |
Currently every smoketest does the setup and destruction of the configsession on its own durin setUp(). This creates a lot of overhead and one configsession should be re-used during execution of every smoketest script. In addiion a test that failed will leaf the system in an unconsistent state. For this reason before the test is executed we will save the running config to /tmp and the will re-load the config after the test has passed, always ensuring a clean environment for the next test. |