Skip to content

Commit

Permalink
tests: Fixup bgp_link_bw_ip test to new behavior
Browse files Browse the repository at this point in the history
Old behavior was metric values between 1-100,
now we have metric values between 1-255.

Signed-off-by: Donald Sharp <[email protected]>
  • Loading branch information
donaldsharp committed Oct 12, 2023
1 parent ce7faa9 commit 3854f22
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions tests/topotests/bgp_link_bw_ip/r1/ip-route-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
{
"fib":true,
"ip":"11.1.1.6",
"weight":25
"weight":63
},
{
"fib":true,
"ip":"11.1.1.2",
"weight":75
"weight":191
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions tests/topotests/bgp_link_bw_ip/r1/ip-route-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
{
"fib":true,
"ip":"11.1.1.6",
"weight":33
"weight":85
},
{
"fib":true,
"ip":"11.1.1.2",
"weight":66
"weight":170
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions tests/topotests/bgp_link_bw_ip/r1/ip-route-3.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
{
"fib":true,
"ip":"11.1.1.6",
"weight":33
"weight":85
},
{
"fib":true,
"ip":"11.1.1.2",
"weight":66
"weight":170
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion tests/topotests/bgp_link_bw_ip/r1/ip-route-6.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"fib":true,
"ip":"11.1.1.2",
"weight":100
"weight":255
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion tests/topotests/bgp_link_bw_ip/r1/ip-route-7.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"fib":true,
"ip":"11.1.1.2",
"weight":100
"weight":255
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion tests/topotests/bgp_link_bw_ip/r1/ip-route-8.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
"fib":true,
"ip":"11.1.1.2",
"weight":100
"weight":254
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion tests/topotests/bgp_link_bw_ip/r1/ip-route-9.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
"fib":true,
"ip":"11.1.1.2",
"weight":100
"weight":254
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions tests/topotests/bgp_link_bw_ip/r2/ip-route-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
{
"fib":true,
"ip":"11.1.2.6",
"weight":33
"weight":85
},
{
"fib":true,
"ip":"11.1.2.2",
"weight":66
"weight":170
}
]
}
Expand Down

0 comments on commit 3854f22

Please sign in to comment.