summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2024-07-03 14:37:52 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2024-07-08 15:15:59 +0200
commit7dfe12eef838f2a8be15e8c58e47f4bcd8b64239 (patch)
tree2d95950b41dc593e892049dc999425480c1510c3 /tests
parentd7d491537a936333830c7c2fa3cb52df7e5476a9 (diff)
topotests: bgp_peer_type_multipath_relax, adds the duplicate flag
During the bgp_peer_type_multipath_relax_test, the test does not check the 'duplicate' flag value of the duplicate nexthop. Fix this by adding the duplicate value in the expected json files. Fixes: ee88563ac2ea ("bgpd: Add 'bgp bestpath peer-type multipath-relax'") Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/topotests/bgp_peer_type_multipath_relax/r1/prefix1-eBGP-confed.json1
-rw-r--r--tests/topotests/bgp_peer_type_multipath_relax/r1/prefix1-eBGP-iBGP.json1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/topotests/bgp_peer_type_multipath_relax/r1/prefix1-eBGP-confed.json b/tests/topotests/bgp_peer_type_multipath_relax/r1/prefix1-eBGP-confed.json
index 22ec2c298b..791b92df65 100644
--- a/tests/topotests/bgp_peer_type_multipath_relax/r1/prefix1-eBGP-confed.json
+++ b/tests/topotests/bgp_peer_type_multipath_relax/r1/prefix1-eBGP-confed.json
@@ -24,6 +24,7 @@
},
{
"fib":true,
+ "duplicate":true,
"ip":"10.0.3.2",
"active":true
}
diff --git a/tests/topotests/bgp_peer_type_multipath_relax/r1/prefix1-eBGP-iBGP.json b/tests/topotests/bgp_peer_type_multipath_relax/r1/prefix1-eBGP-iBGP.json
index facddcda46..1fe9a6799f 100644
--- a/tests/topotests/bgp_peer_type_multipath_relax/r1/prefix1-eBGP-iBGP.json
+++ b/tests/topotests/bgp_peer_type_multipath_relax/r1/prefix1-eBGP-iBGP.json
@@ -24,6 +24,7 @@
},
{
"fib":true,
+ "duplicate":true,
"ip":"10.0.3.2",
"active":true
}