Skip to content

Commit 5ccb94e

Browse files
committed
Reorder loop protection test so that hosts learned internally first.
1 parent ddb14f6 commit 5ccb94e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/integration/mininet_tests.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7035,14 +7035,13 @@ def verify_protected_connectivity(self):
70357035
self.verify_one_broadcast(int_host, ext_hosts)
70367036

70377037
for ext_host in ext_hosts:
7038-
# All external hosts cannot flood to each other.
7039-
for other_ext_host in ext_hosts - {ext_host}:
7040-
self.verify_broadcast(hosts=(ext_host, other_ext_host), broadcast_expected=False)
7041-
70427038
# All external hosts can reach internal hosts.
70437039
for int_host in int_hosts:
70447040
self.verify_broadcast(hosts=(ext_host, int_host), broadcast_expected=True)
70457041
self.one_ipv4_ping(ext_host, int_host.IP())
7042+
# All external hosts cannot flood to each other.
7043+
for other_ext_host in ext_hosts - {ext_host}:
7044+
self.verify_broadcast(hosts=(ext_host, other_ext_host), broadcast_expected=False)
70467045

70477046
def set_externals_state(self, dp_name, externals_up):
70487047
"""Set the port up/down state of all external ports on a switch"""

0 commit comments

Comments
 (0)