]> git.puffer.fish Git - mirror/frr.git/commitdiff
topotests: bgp no neighbor X.X.X.X maximum-prefix-out Y
authorLouis Scalbert <louis.scalbert@6wind.com>
Mon, 25 Oct 2021 11:24:09 +0000 (13:24 +0200)
committerLouis Scalbert <louis.scalbert@6wind.com>
Wed, 26 Jan 2022 15:38:14 +0000 (16:38 +0100)
Test the ability to use the following configure command with a Y value:

no neighbor X.X.X.X maximum-prefix-out Y

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
tests/topotests/bgp_maximum_prefix_out/test_bgp_maximum_prefix_out.py

index bd21d9cf927ab4bc144fc620101f32b3cf73c0bc..78ae2438dd9bce04033492b689598142ce817085 100644 (file)
@@ -118,7 +118,7 @@ def test_bgp_maximum_prefix_out():
         ("router bgp\n int lo\n ip address 172.16.255.248/32", 1),
         # removing the max-prefix-out value
         (
-            "router bgp\n address-family ipv4\n no neighbor 192.168.255.1 maximum-prefix-out",
+            "router bgp\n address-family ipv4\n no neighbor 192.168.255.1 maximum-prefix-out 1",
             8,
         ),
     ]