summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp-path-attributes-topo1/test_bgp_path_attributes.py
AgeCommit message (Collapse)Author
2021-05-11tests: Unify directory naming for topotestsDonatas Abraitis
Change every `-` to `_` in directory names. This is to avoid mixing _ and -. Just for consistency and directory sorting properly. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2020-12-17tests: please follow the style guidewhitespace
thanks Signed-off-by: Quentin Young <qlyoung@nvidia.com>
2020-09-26tests: python3 compat fixes for topotests: tabs and miscMark Stapp
Use only spaces in python files; no tabs; also a couple of small api fixes. Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-07-09test: use ipaddress module instead of ipaddrMark Stapp
Use the standard ipaddress module instead of installing 'ipaddr', which may be deprecated now. Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-04-03tests: Run python formatter (black) for topotestsreformat
Mostly ' => ", whitespace changes. Using https://github.com/psf/black Signed-off-by: reformat <reformat@nobody.nobody>
2020-04-01tests: Remove/change JSON attributes for `show bgp ... json`Donatas Abraitis
This is related to some attributes changes: aspath, med, localPref. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2019-10-21tests: Enhance BGP Path attribute test casesKuldeep Kashyap
1. Added steps to modify BGP path attributes and verify best path is changed Signed-off-by: Kuldeep Kashyap <kashyapkas@gmail.com>
2019-08-22tests: Enhance execution logs in topojsonAshish Pant
Signed-off-by: Ashish Pant <ashish12pant@gmail.com> 1. Add check if show running output is corrupted as frr-reload does not return cause of failure, just the error codes. 2. Change logger level to debug for some extra information. 3. Modify logger messages for more clear information. 4. Print configuration commands to console instead of show running 5. Print show command output to console. 6. Move show running output within flag show_router_config. 7. Add retry decorator for retyring show commands.
2019-07-26topotest: fix bgp-path-attributes-topologyRafael Zalamena
The first RIB check wants to assert that we don't have the r7's routes in r1, so right after that code the routers r2 and r3 are configured then `verify_rib` is called again to check for those routes. This test never passed, but it didn't cause failures because of the `try`/`except`. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2019-07-09tests: Fix logdir creationAshish Pant
Signed-off-by: Ashish Pant <ashish12pant@gmail.com> Creates logdir everytime in start_topology, removed stop_topoloy. Using tgen.stop_topology in test case now.
2019-07-09tests: Adding bgp path attribute testsAshish Pant
Signed-off-by: Ashish Pant <ashish12pant@gmail.com> Adding multiple test cases for bgp attributes. Adding verfication APIs for them.