Christian Hopps
fea00bad20
tests: fix pylint error, and update style in lib/*.py
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2023-05-17 13:42:32 -04:00
David Lamparter
acddc0ed3c
*: auto-convert to SPDX License IDs
...
Done with a combination of regex'ing and banging my head against a wall.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2023-02-09 14:09:11 +01:00
Donald Sharp
2bb8b49ce1
Revert "Merge pull request #11127 from louis-6wind/bgp-leak"
...
This reverts commit 16aa1809e7
, reversing
changes made to f616e71608
.
2023-01-13 08:13:52 -05:00
Louis Scalbert
90bdefa094
topotests: add retry in BGP RIB check
...
Add a retry option in the BGP RIB test.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2022-12-16 15:07:55 +01:00
Louis Scalbert
a7e794215c
topotests: add ability to check that a prefix is not in BGP RIB
...
Add an "exist" key to check the existence of a prefix in the BGP RIB.
Useful to check that a prefix has not leaked by error.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2022-12-16 15:07:54 +01:00
Mark Stapp
f89211f7c9
tests: fix log string in topotests/lib/bgprib.py
...
Correct a log string in a method in bgprib.py - cut-and-paste
error, maybe?
Signed-off-by: Mark Stapp <mstapp@nvidia.com>
2021-10-01 08:06:35 -04:00
Christian Hopps
c8e5983d8e
tests: fix pylint infra errors
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-04 09:04:46 -04:00
Philippe Guibert
e7294b3200
topotests: python3, rename iterkey() with key() for dictionary usage
...
dictionary method iterkey() is not used in python3 and is replaced with
key() method.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2020-11-25 16:31:45 +00:00
whitespace
701a01920e
*: reformat python files
...
We are now using black.
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
2020-10-07 17:22:26 -04:00
Lou Berger
b4bfe0aa47
tests: lib/bgprib.py - add bestpath checks and logging to lu log file
...
Signed-off-by: Lou Berger <lberger@labn.net>
2020-10-06 10:34:32 -04:00
reformat
787e762445
tests: Run python formatter (black) for topotests
...
Mostly ' => ", whitespace changes.
Using https://github.com/psf/black
Signed-off-by: reformat <reformat@nobody.nobody>
2020-04-03 19:41:28 +03:00
Lou Berger
90892d35e1
topotests/lib: help script writers understand wrong VRF failure
...
Signed-off-by: Lou Berger <lberger@labn.net>
2018-12-08 10:43:31 -05:00
Lou Berger
ffd3f54493
lib: more logging to aid in failure debugging
...
Signed-off-by: Lou Berger <lberger@labn.net>
2018-11-27 20:22:14 -05:00
Lou Berger
6c700097d6
lib: bgprib - get human readable verson of json commands for log
...
Signed-off-by: Lou Berger <lberger@labn.net>
2018-11-27 20:22:14 -05:00
G. Paul Ziemba
d521440020
lib/bgprib.py: add copyright notice
...
Signed-off-by: G. Paul Ziemba <paulz@labn.net>
2018-11-27 20:22:13 -05:00
G. Paul Ziemba
587e28a4f0
lib/bgprib.py: handle empty json results gracefully
...
Signed-off-by: G. Paul Ziemba <paulz@labn.net>
2018-11-27 20:22:13 -05:00
G. Paul Ziemba
1630ad4695
bgp_l3vpn_to_bgp_vrf: assign different RDs to customers on r4
...
Signed-off-by: G. Paul Ziemba <paulz@labn.net>
2018-11-27 20:22:13 -05:00
G. Paul Ziemba
044e2a3119
lib/bgprib.py naming rib->bgprib is more accurate
...
Signed-off-by: G. Paul Ziemba <paulz@labn.net>
2018-11-27 20:22:13 -05:00
G. Paul Ziemba
8a28936d41
lib: bgprib utility to compare rib against list of required routes
...
Signed-off-by: G. Paul Ziemba <paulz@labn.net>
2018-11-27 20:22:13 -05:00