whitespace
9fa6ec1473
tests: please follow the style guide
...
thanks
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
2020-12-17 15:32:55 -05:00
Mark Stapp
11761ab0f4
tests: python3 compat fixes for topotests: tabs and misc
...
Use only spaces in python files; no tabs; also a couple of small
api fixes.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-09-26 15:40:00 -04:00
Donald Sharp
622c4996ef
tests: Our tests are for FRR
...
These tests at this point only work for FRR. Let's cut to the chase
and admit it.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>`
2020-09-22 10:11:58 -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
Karen Schoener
b290da1d44
tests: Fix LDP topotest to validate MPLS LDP CLI output
...
Fixing existing ldp-topol test to validate MPLS LDP CLI output.
Signed-off-by: Karen Schoener <karen@voltanet.io>
2020-02-10 08:39:06 -05:00
Renato Westphal
e29f8d0db3
tests: remove topotest compatibility with older ldpd versions
...
Now that topotest was integrated into the FRR repository, we
don't need to worry anymore about creating tests that work across
different FRR versions. The topotests present on any branch need
to be compatible only with the FRR daemons from that same branch.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2019-09-06 20:58:09 -03:00
Renato Westphal
a971aeb68e
zebra: improve the output of "show mpls table"
...
Use the table generator to adjust the columns width according to
the table's content.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2019-09-06 20:54:59 -03:00
Rafael Zalamena
edc7a5036c
ldp-topo1: fix ip mpls route output format
...
Remove the different file as it is no longer needed.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2018-11-27 20:22:14 -05:00
Christian Franke
3a103f9a46
ldp-topo1: fix parsing for iproute from Ubuntu 18.04
...
Signed-off-by: Christian Franke <nobody@nowhere.ws>
2018-11-27 20:22:14 -05:00
Martin Winter
d01e89f168
ldp-topo1: Support implicit-null and old format on "show_mpls_table"
...
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2018-11-27 20:22:13 -05:00
Martin Winter
dd3ddc0663
Fix output to allow it on generic Debian
...
- Generic Debian only has a single space in front of “proto” in the linux shell routing outptu
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2018-11-27 20:22:12 -05:00
Renato Westphal
13e8bc063f
ldp-topo1: Remove check for protocol in installed LSPs
...
PR #1213 in FRR changed the protocol of installed LSPs. To avoid breaking
older outstanding Pull Requests, remove the protocol check.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2018-11-27 20:22:12 -05:00
Martin Winter
8e957dbb04
multiple_topos: Don't report about StdErr Output if there is no output
...
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2018-11-27 20:22:12 -05:00
Martin Winter
be7286cc82
ldp-topo1: Use 'label implicit-null' for implicit labels
...
Signed-off-by: Martin Winter <mwinter@netdef.org>
2018-11-27 20:22:12 -05:00
Martin Winter
6c97c0cbf2
ldp-topo1: Make the implicit label optional to pass old frr code as well
...
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2018-11-27 20:22:12 -05:00
Martin Winter
17070436a3
lib: cleanup diff text output formatting issue and move to library
...
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2018-11-27 20:22:11 -05:00
Martin Winter
7e7fc73b49
(all tests): Add extra check to make sure daemons are still running after each essential stage.
...
If daemon crashed at a later stage (not startup), then the test scripts didn't properly detect it and report unpredictable errors. This will properly log the daemon crashes
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2018-11-27 20:22:11 -05:00
Martin Winter
faf94e5a3a
ldp-topo1: Adjust to accept new format in "show ip route" as introduced with PR 495 (extra comma)
...
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2018-11-27 20:22:11 -05:00
Martin Winter
50c40bdebb
Fix memory leak detection and reporting which accidentally was dropped a month ago
...
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2018-11-27 20:22:11 -05:00
Donald Sharp
b2764f904e
Spell Verifying correctly
...
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-11-27 20:22:11 -05:00
Martin Winter
3eaafbd95d
LDP-Topo1: Update test to accept new format of LDP output
...
* Added test to check for version
* Adopted all tests to verify against the correct version of output
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2018-11-27 20:22:11 -05:00
Martin Winter
99561211e1
Added optional output for memleaks at the end of test. Enable them by setting the environment variable TOPOTESTS_CHECK_STDERR to some value
...
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2018-11-27 20:22:11 -05:00
Martin Winter
594b1259f9
Move common function and class to topotest library
...
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2018-11-27 20:22:11 -05:00
Martin Winter
f03e38f397
ldp-topo1: Add new LDP Topology Test
2018-11-27 20:22:11 -05:00