pktact.WildcardPriority: add a lower priority flow at the end to ensure it doesnt override the higher priority flows
diff --git a/tests/pktact.py b/tests/pktact.py
index 7c7f1d7..54fa28a 100644
--- a/tests/pktact.py
+++ b/tests/pktact.py
@@ -1095,6 +1095,8 @@
on port specified by this flow.
3. Add wildcard flow with even higher priority, verify packet received
on port specified by this flow.
+ 4. Add wildcard flow with lower priority, verify packet received
+ on port specified by the highest priority flow.
"""
def runTest(self):
@@ -1117,6 +1119,11 @@
# priority
self.installFlow(1001, of_ports[0], of_ports[3])
self.verifyFlow(of_ports[0], of_ports[3])
+ # Install a flow with wildcards for our packet with lower
+ # priority
+ self.installFlow(999, of_ports[0], of_ports[1],
+ wildcards=ofp.OFPFW_DL_SRC)
+ self.verifyFlow(of_ports[0], of_ports[3])
class WildcardPriorityWithDelete(SingleWildcardMatchPriority):