]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tests: Fixup bgp_link_bw_ip test to new behavior
authorDonald Sharp <sharpd@nvidia.com>
Thu, 12 Oct 2023 16:00:07 +0000 (12:00 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 12 Oct 2023 17:35:48 +0000 (13:35 -0400)
Old behavior was metric values between 1-100,
now we have metric values between 1-255.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/bgp_link_bw_ip/r1/ip-route-1.json
tests/topotests/bgp_link_bw_ip/r1/ip-route-2.json
tests/topotests/bgp_link_bw_ip/r1/ip-route-3.json
tests/topotests/bgp_link_bw_ip/r1/ip-route-6.json
tests/topotests/bgp_link_bw_ip/r1/ip-route-7.json
tests/topotests/bgp_link_bw_ip/r1/ip-route-8.json
tests/topotests/bgp_link_bw_ip/r1/ip-route-9.json
tests/topotests/bgp_link_bw_ip/r2/ip-route-2.json

index 3c02e2675d12c0ef24bcb10eca0fe870546bee2e..bb50bc96d910e24b067028731b1f285bbaaca7f8 100644 (file)
@@ -7,12 +7,12 @@
         {
           "fib":true,
           "ip":"11.1.1.6",
-          "weight":25
+          "weight":85
         },
         {
           "fib":true,
           "ip":"11.1.1.2",
-          "weight":75
+          "weight":255
         }
       ]
     }
index 3c2d42caaca34773b8c9b30ca5b491765ba412b2..57726ce46c23a4cf7130f94d978f5730409be43f 100644 (file)
@@ -7,12 +7,12 @@
         {
           "fib":true,
           "ip":"11.1.1.6",
-          "weight":33
+          "weight":127
         },
         {
           "fib":true,
           "ip":"11.1.1.2",
-          "weight":66
+          "weight":255
         }
       ]
     }
index 3d80018ceab5c77d1a4dc7bc9c230b81d89a38b5..f2368dfdc5352fbc49c98b10f408bfdcfd859d68 100644 (file)
@@ -7,12 +7,12 @@
         {
           "fib":true,
           "ip":"11.1.1.6",
-          "weight":33
+          "weight":127
         },
         {
           "fib":true,
           "ip":"11.1.1.2",
-          "weight":66
+          "weight":255
         }
       ]
     }
index 6ed3f8ef556e3931735bbf495af391522155c6f8..7b4da2a8d036f05046a579782cd409ff0d6748f2 100644 (file)
@@ -7,7 +7,7 @@
         {
           "fib":true,
           "ip":"11.1.1.2",
-          "weight":100
+          "weight":255
         }
       ]
     }
index 95531d99be939f4839759ecf1fab3fa016491dcd..3062d1cf8b6baa642ecec2fa49670da78a0c62a6 100644 (file)
@@ -7,7 +7,7 @@
         {
           "fib":true,
           "ip":"11.1.1.2",
-          "weight":100
+          "weight":255
         }
       ]
     }
index beac5013601e0fa0cb52dbdbaf5985087fadb6b3..662b7f716cdf3f8d58b3ffe42fc60af272ae7cd8 100644 (file)
@@ -12,7 +12,7 @@
         {
           "fib":true,
           "ip":"11.1.1.2",
-          "weight":100
+          "weight":255
         }
       ]
     }
index eb27ce2633b05dc8d9e78ee39eb34dc2d1a6dadd..d9b5a8992dd954372b3e4736a4a2428386ed0351 100644 (file)
@@ -12,7 +12,7 @@
         {
           "fib":true,
           "ip":"11.1.1.2",
-          "weight":100
+          "weight":255
         }
       ]
     }
index 7e2fa6be25045438902ee2c63c5a42947553ba82..53be1171f6ec0536df43aacd78e5401c3434ca0c 100644 (file)
@@ -7,12 +7,12 @@
         {
           "fib":true,
           "ip":"11.1.2.6",
-          "weight":33
+          "weight":127
         },
         {
           "fib":true,
           "ip":"11.1.2.2",
-          "weight":66
+          "weight":255
         }
       ]
     }