]> git.proxmox.com Git - mirror_frr.git/commit
tests: update tests using 'show bgp json detail'
authorTrey Aspelund <taspelund@nvidia.com>
Mon, 13 Feb 2023 22:14:16 +0000 (22:14 +0000)
committerTrey Aspelund <taspelund@nvidia.com>
Thu, 16 Feb 2023 18:11:13 +0000 (18:11 +0000)
commit04705e4829d5690519781179846bd694ac2120b9
tree8698a63e2956827c7df870971be25f92e79a47e4
parentf9f2d188e3980d2338747739848001a432ad30b2
tests: update tests using 'show bgp json detail'

There were a few tests using "show bgp ... json detail" that did json
comparisons against a predefined json structure. This updates those
predefined json structures to match the new format of the output.
(new output moves path array under "paths" key and adds header keys)

Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
tests/topotests/bgp_aigp/test_bgp_aigp.py
tests/topotests/bgp_community_alias/test_bgp-community-alias.py
tests/topotests/bgp_path_attribute_discard/test_bgp_path_attribute_discard.py
tests/topotests/bgp_path_attribute_treat_as_withdraw/test_bgp_path_attribute_treat_as_withdraw.py