]> git.puffer.fish Git - matthieu/frr.git/commit
tests: fix isis-topo1 topologies
authorIgor Ryzhov <iryzhov@nfware.com>
Wed, 5 May 2021 09:26:07 +0000 (12:26 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Wed, 5 May 2021 09:26:38 +0000 (12:26 +0300)
commit3adfae96135a2f898c9d817d9ad2eb1ee771731b
tree6417e7d637fa40cd766a456fdfbdf152372c4094
parent98d742c6f7c135729879188a6911f88acfafde4d
tests: fix isis-topo1 topologies

parse_topology function doesn't correctly process vertex types with
spaces. Therefore the reference topology files are completely messed up,
we have values in incorrect fields - types in metrics, metrics in
parents, etc.

This commit fixes the parsing function and the reference files.

The same fix was done for isis-topo1-vrf in #8365.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
tests/topotests/isis-topo1/r1/r1_topology.json
tests/topotests/isis-topo1/r2/r2_topology.json
tests/topotests/isis-topo1/r3/r3_topology.json
tests/topotests/isis-topo1/r4/r4_topology.json
tests/topotests/isis-topo1/r5/r5_topology.json
tests/topotests/isis-topo1/test_isis_topo1.py