Skip to content

Commit

Permalink
topotests: add lower_up to expected interface flags
Browse files Browse the repository at this point in the history
Add lower_up to expected interface flags.

Signed-off-by: Louis Scalbert <[email protected]>
  • Loading branch information
louis-6wind committed Feb 6, 2024
1 parent a65c6ba commit b5edf91
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
r1-eth0 is up
ifindex X, MTU 1500 bytes, BW XX Mbit <UP,BROADCAST,RUNNING,MULTICAST>
ifindex X, MTU 1500 bytes, BW XX Mbit <UP,LOWER_UP,BROADCAST,RUNNING,MULTICAST>
Internet Address 192.168.0.1/24, Broadcast 192.168.0.255, Area 0.0.0.0
MTU mismatch detection: enabled
Router ID 192.168.0.1, Network Type BROADCAST, Cost: 10
Expand All @@ -12,7 +12,7 @@ r1-eth0 is up
Neighbor Count is 0, Adjacent neighbor count is 0
Graceful Restart hello delay: 10s
r1-eth3 is up
ifindex X, MTU 1500 bytes, BW XX Mbit <UP,BROADCAST,RUNNING,MULTICAST>
ifindex X, MTU 1500 bytes, BW XX Mbit <UP,LOWER_UP,BROADCAST,RUNNING,MULTICAST>
Internet Address 192.168.3.1/26, Broadcast 192.168.3.63, Area 0.0.0.0
MTU mismatch detection: enabled
Router ID 192.168.0.1, Network Type BROADCAST, Cost: 10
Expand Down
2 changes: 1 addition & 1 deletion tests/topotests/nhrp_topo/test_nhrp_topo.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def test_protocols_convergence():

expected = {
"{}-gre0".format(rname): {
"flags": "<UP,RUNNING>",
"flags": "<UP,LOWER_UP,RUNNING>",
}
}
test_func = partial(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ def test_ospf_show_p1(request):
"r0": {
"ospf": {
"ifUp": True,
"ifFlags": "<UP,BROADCAST,RUNNING,MULTICAST>",
"ifFlags": "<UP,LOWER_UP,BROADCAST,RUNNING,MULTICAST>",
"ospfEnabled": True,
"ipAddressPrefixlen": 24,
"ospfIfType": "Broadcast",
Expand Down

0 comments on commit b5edf91

Please sign in to comment.