]>
git.puffer.fish Git - matthieu/frr.git/log
Philippe Guibert [Wed, 31 Jan 2018 10:48:11 +0000 (11:48 +0100)]
lib: zebra support for vrfwnetns parameter
topotest library is being added a new parameter when preparing the
configurationof each daemon. This parameter will be used to call the
daemon with some extra parameters. The -n parameter for zebra is taken
into account.
Also, when a extra parameter is given for calling zebra, a check is done to
see if it is possible to run zebra daemon with that option. This is the
case for vrfwnetns option. If not available, an error message is sent
back.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Lou Berger [Sun, 25 Feb 2018 17:21:12 +0000 (12:21 -0500)]
bgp_l3vpn_to_bgp_vrf: fix route set on non-vrf interface (thanks ben!)
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Wed, 21 Feb 2018 13:42:56 +0000 (08:42 -0500)]
lib: lutil - fix test counting, add returnJson flag
Signed-off-by: Lou Berger <lberger@labn.net>
Rafael Zalamena [Thu, 22 Feb 2018 18:52:10 +0000 (15:52 -0300)]
ldp-vpls-topo1: support new OSPF JSON format
Support the new OSPF JSON output format for `show ip ospf neighbor
json` introduced in FRR's PR 1723.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Martin Winter [Fri, 16 Feb 2018 22:10:07 +0000 (14:10 -0800)]
Revert previous 2 commits (pushed by mistake)
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Olivier Dugeon [Fri, 16 Feb 2018 18:27:25 +0000 (19:27 +0100)]
Update OSPF-SR tests to handle various version
In order to avoid failed test on unsupported version:
- Test that version is greater than 4
- Check that Segment Routing CLI are available
Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Olivier Dugeon [Thu, 15 Feb 2018 15:06:01 +0000 (16:06 +0100)]
Add OSPF Segment Routing tests
- Build a topology made of 4 routers: 3 PE connected to a P
- Segment Routing is activated on all 4 routers with various setting
for the MSD, Global Block and Prefix (with or without NO-PHP flag)
- 2 tests have been elaborated: the first one check the consistency of the
Segment Routing database on each router compared to a reference and the second
one check that the MPLS FIB has been correctly configured on each router,
again compared to a reference
Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Martin Winter [Wed, 14 Feb 2018 02:09:41 +0000 (18:09 -0800)]
ldp-topo1: Support implicit-null and old format on "show_mpls_table"
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Lou Berger [Tue, 13 Feb 2018 16:29:30 +0000 (11:29 -0500)]
bgp_l3vpn_to_bgp_direct: use new ltemplate common functions
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Tue, 13 Feb 2018 15:38:02 +0000 (10:38 -0500)]
bgp_l3vpn_to_bgp_vrf: use new ltemplate common functions
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Tue, 13 Feb 2018 15:37:23 +0000 (10:37 -0500)]
lib: ltemplate add common ltemplateRtrCmd and ltemplateVersionCheck
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Sun, 11 Feb 2018 18:06:39 +0000 (13:06 -0500)]
bgp_l3vpn_to_bgp_vrf: centralize iproute2 check, add checks to appropriate tests
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Sun, 11 Feb 2018 17:05:51 +0000 (12:05 -0500)]
bgp_l3vpn_to_bgp_vrf: required 4.11 kernel on arm processors
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Sun, 11 Feb 2018 15:55:00 +0000 (10:55 -0500)]
bgp_l3vpn_to_bgp_vrf: add test to check linux vrf info
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Thu, 8 Feb 2018 15:16:51 +0000 (10:16 -0500)]
bgp_l3vpn_to_bgp_vrf: prepend rtr name to vrf name, per Philippe
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Tue, 6 Feb 2018 23:22:04 +0000 (18:22 -0500)]
bgp_l3vpn_to_bgp_vrf: skip mpls vrf ping tests when have old iproute2
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Wed, 31 Jan 2018 18:59:55 +0000 (13:59 -0500)]
bgp_l3vpn_to_bgp_vrf: add testing for manually setup MPLS path (until have dynamic)
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Wed, 7 Feb 2018 23:06:00 +0000 (18:06 -0500)]
isis-topo1: allow up to 90 sec for convergence
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Wed, 7 Feb 2018 21:13:48 +0000 (16:13 -0500)]
bgp_l3vpn_to_bgp_direct: use tgen.hasmpls flag
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Wed, 7 Feb 2018 16:58:09 +0000 (11:58 -0500)]
bgp_l3vpn_to_bgp_vrf: catch linux setup failures
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Tue, 6 Feb 2018 13:40:51 +0000 (08:40 -0500)]
bgp_l3vpn_to_bgp_vrf: collect iproute2 package into
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Mon, 5 Feb 2018 22:50:33 +0000 (17:50 -0500)]
bgp_l3vpn_to_bgp_vrf: add kernel check (>=4.9)
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Tue, 6 Feb 2018 20:24:15 +0000 (15:24 -0500)]
bgp_l3vpn_to_bgp_vrf: use tgen.hasmpls flag
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Tue, 6 Feb 2018 20:23:46 +0000 (15:23 -0500)]
lib: add tgen level mpls init and hasmpls flag
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Thu, 1 Feb 2018 14:42:40 +0000 (09:42 -0500)]
bgp_l3vpn_to_bgp_vrf: 2nd try at skipping tests when MPLS not available
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Thu, 1 Feb 2018 01:20:26 +0000 (20:20 -0500)]
bgp_l3vpn_to_bgp_vrf: skip tests when mpls not available
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Wed, 31 Jan 2018 19:43:13 +0000 (14:43 -0500)]
lib: add script name to summary output
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Wed, 31 Jan 2018 18:02:42 +0000 (13:02 -0500)]
lib: add luLast to get last found luCommand regex match
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Tue, 30 Jan 2018 21:31:24 +0000 (16:31 -0500)]
bgp_l3vpn_to_bgp_direct: allow for some ping loss
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Tue, 30 Jan 2018 21:30:24 +0000 (16:30 -0500)]
bgp_l3vpn_to_bgp_vrf: allow for some ping loss
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Tue, 30 Jan 2018 14:27:04 +0000 (09:27 -0500)]
bgp_l3vpn_to_bgp_vrf: add basic data path checks prior to adjacency check
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Tue, 30 Jan 2018 14:18:06 +0000 (09:18 -0500)]
bgp_l3vpn_to_bgp_direct: add basic data path checks prior to adjacency check
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Sat, 27 Jan 2018 22:01:19 +0000 (17:01 -0500)]
bgp_l3vpn_to_bgp_xxx: match ltemplate start/stop changes
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Sat, 27 Jan 2018 22:00:58 +0000 (17:00 -0500)]
lib: ltemplate simplify start/stop
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Fri, 26 Jan 2018 14:05:48 +0000 (09:05 -0500)]
bgp_l3vpn_to_bgp_xxx: avoid collision of customize.py match lutil and ltemplate changes
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Fri, 26 Jan 2018 13:51:00 +0000 (08:51 -0500)]
lib: scope life of Lutil and _lt to a single test run reorg to support regression environment
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Fri, 26 Jan 2018 04:07:11 +0000 (23:07 -0500)]
bgp_l3vpn_to_bgp_vrf: just test adjacencies now - for dev/integration
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Fri, 26 Jan 2018 04:06:12 +0000 (23:06 -0500)]
bgp_l3vpn_to_bgp_vrf: don't set vrf-policy, wait for new format
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Thu, 25 Jan 2018 22:50:20 +0000 (17:50 -0500)]
bgp_l3vpn_to_bgp_vrf: add ce4 off of r4 for inter-vrf route leaking
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Sun, 21 Jan 2018 13:55:40 +0000 (08:55 -0500)]
bgp_l3vpn_to_bgp_vrf: in progress version Adjacenies up, MPLS configured on interfaces -- right now provides testbed for code changes
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Sun, 21 Jan 2018 13:47:16 +0000 (08:47 -0500)]
bgp_l3vpn_to_bgp_vrf: clone bgp_l3vpn_to_bgp_direct as starting point
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Thu, 1 Feb 2018 14:17:33 +0000 (09:17 -0500)]
bgp_l3vpn_to_bgp_direct: 2nd try at skipping tests when MPLS not available
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Thu, 1 Feb 2018 01:13:09 +0000 (20:13 -0500)]
bgp_l3vpn_to_bgp_direct: skip tests when mpls not available
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Thu, 1 Feb 2018 01:07:27 +0000 (20:07 -0500)]
lib: add router.has_mpls check
Signed-off-by: Lou Berger <lberger@labn.net>
Rafael Zalamena [Fri, 22 Dec 2017 14:19:09 +0000 (12:19 -0200)]
topogen: fix assertion on `routers_have_failure`
`errors != ''` is never going to be false so the assert was never being
triggered.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Rafael Zalamena [Fri, 22 Dec 2017 12:47:20 +0000 (10:47 -0200)]
topogen: import pytest assert function
Use the pytest assert function to be able to report to pytest failures
that happened inside the API.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Rafael Zalamena [Wed, 20 Dec 2017 12:16:39 +0000 (10:16 -0200)]
isis-topo1: check IPv6 linux route install
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Rafael Zalamena [Wed, 20 Dec 2017 12:07:31 +0000 (10:07 -0200)]
isis-topo1: simplify dictionary key removal code
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Rafael Zalamena [Wed, 20 Dec 2017 12:05:04 +0000 (10:05 -0200)]
isis-topo1: check ipv6 zebra route installation
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Rafael Zalamena [Wed, 20 Dec 2017 11:34:57 +0000 (09:34 -0200)]
isis-topo1: skip test on FRR 2.0
It was noticed that this topology doesn't converge when there are IPv6
configurations, so this commit makes the tests to be skipped when the
version is 2.X.Y.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org
Rafael Zalamena [Sat, 16 Dec 2017 00:05:35 +0000 (22:05 -0200)]
isis-topo1: add IPv6 ISIS topology test
Configure IPv6 addresses and ISIS distribution, then test the topology
for the newly configured addresses.
This commit also adds support for parsing IPv6 data from the ISIS
topology output while updating the routers topology JSON files.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Rafael Zalamena [Thu, 14 Dec 2017 18:54:30 +0000 (16:54 -0200)]
isis-topo1: add support for stable versions
Allow isis-topo1 tests to run on stable versions (2.0.2 and 3.0.2).
There are two differences between the stable versions and master:
1. ISIS nexthops don't show interfaceName nor interfaceIndex
(on 'show ip route json')
2. New FRR version install ISIS routes in Linux with a different proto
type identification.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Rafael Zalamena [Thu, 14 Dec 2017 16:16:10 +0000 (14:16 -0200)]
isis-topo1: check ISIS kernel route installation
Check if the ISIS learned routes are being installed in the underlying
OS.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Rafael Zalamena [Wed, 13 Dec 2017 21:56:30 +0000 (19:56 -0200)]
isis-topo1: test ISIS route installation
Check the 'show ip route json' output for installed ISIS routes.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Rafael Zalamena [Wed, 13 Dec 2017 19:55:28 +0000 (17:55 -0200)]
isis-topo1: test ISIS topology convergence
Add function to parse 'show isis topology' and expect the correct
convergence result.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Rafael Zalamena [Wed, 13 Dec 2017 15:10:53 +0000 (13:10 -0200)]
isis-topo1: add topology graph
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Rafael Zalamena [Wed, 6 Dec 2017 18:08:20 +0000 (16:08 -0200)]
isis-topo1: import topology
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Martin Winter [Sat, 27 Jan 2018 14:06:22 +0000 (06:06 -0800)]
ldp-vpls-topo1: new format for ospf neighbor json
Accept new format in ospf neighbor json output in addition to
old version. New format was introduced with PR1659
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Lou Berger [Tue, 23 Jan 2018 13:10:50 +0000 (08:10 -0500)]
lib: ltemplate - fix handling of CallOnFail (take 2)
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Tue, 23 Jan 2018 02:09:02 +0000 (21:09 -0500)]
lib: ltemplate - fix handling of CallOnFail
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Sun, 21 Jan 2018 23:03:51 +0000 (18:03 -0500)]
bgp_l3vpn_to_bgp_direct: fix hook routines for ltemplate
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Sun, 21 Jan 2018 13:01:32 +0000 (08:01 -0500)]
bgp_l3vpn_to_bgp_direct: rename bgp_direct_to_bgp_vpn Rename BGP L3VPN test to have L3VPN at start of test name Also remove unused/pre-ltemplate files
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Tue, 9 Jan 2018 15:07:43 +0000 (10:07 -0500)]
bgp_direct_to_bgp_vpn: enable mpls forwarding, add more details on adjacencies
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Wed, 20 Dec 2017 12:44:17 +0000 (07:44 -0500)]
bgp_direct_to_bgp_vpn: convert to lib/ltemplate
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Wed, 20 Dec 2017 12:43:30 +0000 (07:43 -0500)]
lib: add LabN testing template
Signed-off-by: Lou Berger <lberger@labn.net>
Martin Winter [Thu, 18 Jan 2018 03:49:02 +0000 (19:49 -0800)]
ospf-topo1: Allow IPv6 ECMP version to pass
Check ospf IPv6 routes for ECMP version first and fallback
to previous version if needed.
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Martin Winter [Fri, 22 Dec 2017 10:48:46 +0000 (02:48 -0800)]
ospf-topo1: Add IPv6 addresses to diagram
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Lou Berger [Wed, 20 Dec 2017 13:38:13 +0000 (08:38 -0500)]
lib: lutil - make it easier to spot command output and null output
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Thu, 7 Dec 2017 21:18:54 +0000 (16:18 -0500)]
lib: lutil - make requested error logging change
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Thu, 7 Dec 2017 21:18:00 +0000 (16:18 -0500)]
bgp_direct_to_bgp_vpn: scripts - avoid race condition, and test for predicable results
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Thu, 7 Dec 2017 21:17:19 +0000 (16:17 -0500)]
bgp_direct_to_bgp_vpn: add some progress output
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Tue, 5 Dec 2017 17:04:54 +0000 (12:04 -0500)]
bgp_direct_to_bgp_vpn: general cleanup use moved lutil.py improve error information adjust to new luCommand default timeout sdd support for CliOnFail, remove no_test_call_mininet_cli scripts - update to correct stable values use topo test's log dir
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Wed, 6 Dec 2017 02:11:28 +0000 (21:11 -0500)]
lib: lutil cleanup move utilities/lutil.py -> lib/lutil.py add: luShowFail, CallOnFail, luStart parameter to set log dir change default wait to 10sec
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Sun, 26 Nov 2017 22:47:31 +0000 (17:47 -0500)]
bgp_direct_to_bgp_vpn: convert to new template, skip tests on pre-3.1 versions
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Fri, 3 Nov 2017 20:39:09 +0000 (16:39 -0400)]
bgp_direct_to_bgp_vpn: initial version
Signed-off-by: Lou Berger <lberger@labn.net>
Lou Berger [Fri, 3 Nov 2017 20:35:51 +0000 (16:35 -0400)]
lutil: initial version
Signed-off-by: Lou Berger <lberger@labn.net>
Rafael Zalamena [Fri, 8 Dec 2017 14:41:35 +0000 (12:41 -0200)]
topotest: remove pid files
Remove PID files after a SIGKILL or confirmation that the pid file no
longer contains a running PID.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Rafael Zalamena [Fri, 8 Dec 2017 14:19:58 +0000 (12:19 -0200)]
topotest: improve informational messages
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Rafael Zalamena [Wed, 6 Dec 2017 17:40:57 +0000 (15:40 -0200)]
topotest: show the user that we are waiting
Add a log message to tell the user that we are waiting for zebra.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Lou Berger [Thu, 7 Dec 2017 18:47:22 +0000 (13:47 -0500)]
lib: speed up router shutdown stopRouter: report when a process is being killed only sleep if actually killed a process add option to not sleep or conduct -7 kill topogen stop: add wait parameter (defaults to old/wait) when stopping routers, first stop all without waiting then do a second pass where will wait if needed
Signed-off-by: Lou Berger <lberger@labn.net>
Rafael Zalamena [Thu, 9 Nov 2017 20:10:54 +0000 (18:10 -0200)]
topotest: always show diff on json_cmp failure
Append diffs on all json_cmp failures so the reader can compare JSON
field differences.
Rafael Zalamena [Thu, 9 Nov 2017 19:37:24 +0000 (17:37 -0200)]
topotest: specify why we are waiting
This shows the user why the router teardown is taking 2 seconds long.
Rafael Zalamena [Thu, 9 Nov 2017 19:35:01 +0000 (17:35 -0200)]
doc: update README and add code snippets
Add some pointers in the README documentation that might help users get
ready to use topotest.
Rafael Zalamena [Wed, 8 Nov 2017 18:23:14 +0000 (16:23 -0200)]
topotest/topogen: demote some messages level
The messages level of this commit were downgraded because some of them
happen on 'non-error' situations. This should help diminish the error
log verbosity on the CI-system run.
Rafael Zalamena [Tue, 7 Nov 2017 23:17:15 +0000 (21:17 -0200)]
topotest: fix a regression in version_cmp
It was found a regression on an edge case when the second number in the
comparison was (at least) 2 numbers longer the comparison would fail
with a wrong return value. It succeeded for some cases because the
first comparison in the exception was correct, but not the second.
Martin Winter [Tue, 7 Nov 2017 22:37:09 +0000 (14:37 -0800)]
bgp-ecmp-topo1: Workaround for version check
temp workaround for Issue #43
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Martin Winter [Wed, 1 Nov 2017 09:18:56 +0000 (02:18 -0700)]
ldp-vpls-topo1: Allow ospf neighbor json command with list (new) and dict (old)
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Rafael Zalamena [Tue, 31 Oct 2017 16:11:11 +0000 (14:11 -0200)]
ldp-vpls-topo1: fix a json_cmp result assert
Use the 'right' assert to show more detailed failure report and remove
a unused variable.
Martin Winter [Thu, 26 Oct 2017 00:56:33 +0000 (17:56 -0700)]
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>
Rafael Zalamena [Tue, 17 Oct 2017 20:06:25 +0000 (18:06 -0200)]
eigrp-topo1: solve output ordering problem
Transform 'show ip eigrp topo' output into data structures and compare
using json_cmp() to avoid expecting output order.
Renato Westphal [Fri, 22 Sep 2017 12:51:58 +0000 (09:51 -0300)]
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>
Martin Winter [Thu, 21 Sep 2017 03:31:25 +0000 (20:31 -0700)]
eigrp-topo1: Remove check for EIGRP distance
- Distance used to be wrong (0), new commit fixes this (90). To avoid breaking older outstanding Pull Requests, remove the distance check
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Rafael Zalamena [Tue, 19 Sep 2017 01:19:10 +0000 (22:19 -0300)]
topotest: improve json error messages
Show a diff of the JSON values instead of dumping the whole
data structures.
Rafael Zalamena [Tue, 19 Sep 2017 20:05:07 +0000 (17:05 -0300)]
topotest: json_cmp_result split error lines
When the API user wanted to show newlines we have to break them manually
to get the propper format.
Rafael Zalamena [Wed, 20 Sep 2017 15:04:23 +0000 (12:04 -0300)]
topotest: allow passing options to difflib
Extend the topotest diff functions to allow receiving difflib options.
Rafael Zalamena [Tue, 19 Sep 2017 01:14:27 +0000 (22:14 -0300)]
topotest: remove unused json_cmp unused parameter
Martin Winter [Tue, 19 Sep 2017 01:26:59 +0000 (18:26 -0700)]
all-protocol-startup/isis: Fix check for "show isis interface" to allow different circuit ids than 1
Rafael Zalamena [Wed, 13 Sep 2017 15:22:14 +0000 (12:22 -0300)]
topogen: fix diagnostics failure
Don't try to log to file if directory doesn't exist.
Rafael Zalamena [Wed, 13 Sep 2017 15:07:35 +0000 (12:07 -0300)]
topogen: save zebra version output
Keep the zebra version output for later problem diagnostics.
Rafael Zalamena [Wed, 13 Sep 2017 14:57:58 +0000 (11:57 -0300)]
topogen: log diagnostics to file