mirror_frr/tests/topotests
GalaxyGorilla b3100f6ce7 tests: Fix JSON diff for nested lists
The involved piece of code is supposed to find a 'closest' match for two
JSON structures using another JSON diff. However, it can happen that
during that new diff the JSON structures are altered (elements from a
list are deleted when 'found'). This is in general ok when the deleted
element is part of the JSON structure which 'matches', but when it later
turns out that some other element of the structure doesn't fit, then the
whole structure should be recovered. This is now realized by using a
deepcopy for the besaid new JSON diff such that the original is only
altered (e.g. deleted) when the diff is clean.

Signed-off-by: GalaxyGorilla <sascha@netdef.org>
2020-05-22 22:29:35 +00:00
..
all-protocol-startup bgpd,tests: Modify import-check to require underlying prefixes to exist 2020-04-28 15:57:53 -04:00
bfd-bgp-cbit-topo3 bgpd,tests: Modify import-check to require underlying prefixes to exist 2020-04-28 15:57:53 -04:00
bfd-topo1 bgpd,tests: Modify import-check to require underlying prefixes to exist 2020-04-28 15:57:53 -04:00
bfd-topo2 Merge pull request #6164 from ton31337/feature/rfc8212_enabled_traditional_profile 2020-04-18 15:06:04 -04:00
bfd-vrf-topo1 bgpd,tests: Modify import-check to require underlying prefixes to exist 2020-04-28 15:57:53 -04:00
bgp_aggregate-address_origin tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
bgp_aggregate-address_route-map tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
bgp_as_allow_in tests: Added new tests to bgp-basic-functionality-topo1 2020-04-09 09:23:59 +00:00
bgp_as_wide_bgp_identifier tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
bgp_comm-list_delete tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
bgp_communities_topo1 tests: Adding new test suite bgp_communities_topo1 2020-04-08 12:27:23 +00:00
bgp_default-route_route-map tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
bgp_distance_change tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
bgp_ebgp_requires_policy tests: Describe each scenario for rfc8212 to ease debugging 2020-04-14 16:01:46 +03:00
bgp_gr_functionality_topo1 tests: Adding test suite bgp_gr_functionality_topo1 2020-05-04 18:52:50 +00:00
bgp_gr_functionality_topo2 tests: Adding test suite bgp_gr_functionality_topo2 2020-05-04 18:52:58 +00:00
bgp_instance_del_test tests: Run python formatter (black) for topotests 2020-04-03 19:41:28 +03:00
bgp_ipv6_rtadv tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
bgp_l3vpn_to_bgp_direct bgpd,tests: Modify import-check to require underlying prefixes to exist 2020-04-28 15:57:53 -04:00
bgp_l3vpn_to_bgp_vrf bgpd,tests: Modify import-check to require underlying prefixes to exist 2020-04-28 15:57:53 -04:00
bgp_large_community tests: Run python formatter (black) for topotests 2020-04-03 19:41:28 +03:00
bgp_link_bw_ip tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
bgp_local_as_private_remove tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
bgp_maximum_prefix_invalid_update tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
bgp_maximum_prefix_out tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
bgp_multi_vrf_topo1 tests: Add bgp-multi-vrf-topo1 testsuite 2020-05-20 04:48:47 +00:00
bgp_multi_vrf_topo2 tests: Add bgp-multi-vrf-topo2 testsuite 2020-05-20 04:48:47 +00:00
bgp_multiview_topo1 tests: Adopt some tests to PfxSnt counter 2020-04-24 15:35:24 +03:00
bgp_prefix_sid tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
bgp_reject_as_sets tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
bgp_rfapi_basic_sanity tests: Remove extra empty vertical spaces 2020-04-14 16:01:46 +03:00
bgp_rfapi_basic_sanity_config2 tests: Remove extra empty vertical spaces 2020-04-14 16:01:46 +03:00
bgp_rr_ibgp tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
bgp_sender-as-path-loop-detection tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
bgp_set_local-preference_add_subtract tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
bgp_show_ip_bgp_fqdn Merge pull request #6164 from ton31337/feature/rfc8212_enabled_traditional_profile 2020-04-18 15:06:04 -04:00
bgp_vrf_lite_ipv6_rtadv tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
bgp_vrf_netns tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
bgp-basic-functionality-topo1 tests: Added new tests to bgp-basic-functionality-topo1 2020-04-09 09:23:59 +00:00
bgp-ecmp-topo1 tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
bgp-ecmp-topo2 tests: Enhance bgp-ecmp-topo2 script as per latest framework changes 2020-05-20 04:48:47 +00:00
bgp-evpn-vxlan_topo1 tests: Cleanup bgp config for evpn vxlan topotest 2020-04-16 07:04:27 -04:00
bgp-path-attributes-topo1 tests: Run python formatter (black) for topotests 2020-04-03 19:41:28 +03:00
bgp-prefix-list-topo1 tests: Run python formatter (black) for topotests 2020-04-03 19:41:28 +03:00
bgp-route-map tests: Run python formatter (black) for topotests 2020-04-03 19:41:28 +03:00
bgp-vrf-route-leak-basic tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
docker tests: Modify docker build for local to have dev build 2019-08-28 15:50:23 -04:00
eigrp-topo1 tests: Run python formatter (black) for topotests 2020-04-03 19:41:28 +03:00
evpn-pim-1 tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
example-test tests: Run python formatter (black) for topotests 2020-04-03 19:41:28 +03:00
example-topojson-test tests: Run python formatter (black) for topotests 2020-04-03 19:41:28 +03:00
isis-sr-topo1 isisd, yang: move IS-IS interface state data to the appropriate place 2020-05-15 23:47:43 -03:00
isis-topo1 tests: Run python formatter (black) for topotests 2020-04-03 19:41:28 +03:00
ldp-oc-acl-topo1 tests: Run python formatter (black) for topotests 2020-04-03 19:41:28 +03:00
ldp-oc-topo1 tests: Run python formatter (black) for topotests 2020-04-03 19:41:28 +03:00
ldp-topo1 tests: remove unused ref files from ldp topotest 2020-05-06 09:31:21 -04:00
ldp-vpls-topo1 tests: Run python formatter (black) for topotests 2020-04-03 19:41:28 +03:00
lib tests: Fix JSON diff for nested lists 2020-05-22 22:29:35 +00:00
ospf6-topo1 Merge pull request #6105 from vivek-cumulus/bgp_link_bandwidth_unequal_cost_multipath 2020-04-05 11:41:42 -07:00
ospf-sr-topo1 tests: Run python formatter (black) for topotests 2020-04-03 19:41:28 +03:00
ospf-topo1 tests: Run python formatter (black) for topotests 2020-04-03 19:41:28 +03:00
ospf-topo1-vrf Merge pull request #6105 from vivek-cumulus/bgp_link_bandwidth_unequal_cost_multipath 2020-04-05 11:41:42 -07:00
ospf-topo2 tests: Test ospf unnumbered behavior and ensure that it works 2020-01-22 17:27:58 -05:00
pim-basic tests: Enable rfc8212 by default except datacenter profile 2020-04-14 16:01:46 +03:00
rip-topo1 tests: Add tests to rip and ripngd to show func works 2020-04-08 10:18:31 -04:00
ripng-topo1 tests: Add tests to rip and ripngd to show func works 2020-04-08 10:18:31 -04:00
zebra_rib tests: Run python formatter (black) for topotests 2020-04-03 19:41:28 +03:00
.gitignore *: ignore .pytest_cache directories 2018-11-27 20:22:14 -05:00
conftest.py tests: introduce a proper JSON diff for topotests 2020-04-30 09:33:32 +00:00
Dockerfile topotests/Dockerfile: Install libyang from repository 2019-10-29 11:02:41 +01:00
pytest.ini tests: Modify bgp_rr_ibgp to test RR server correctness 2020-03-28 14:06:18 -04:00
README.md doc: move topotests docs to developers guide 2019-02-05 19:25:16 +00:00
subdir.am topotests: Adapt docker changes for integrated tests 2018-11-29 16:51:27 +01:00

Documentation is located in /doc/developer/topotests.rst