Implement a required_wildcards setting to allow testing switches that
don't support certain match fields; implement l3-l4 for forcing
wildcarding of all L3 and L4 fields; clean up flow_query test a bit
diff --git a/tests/bsn_ipmask.py b/tests/bsn_ipmask.py
index cc2e893..4d325f6 100644
--- a/tests/bsn_ipmask.py
+++ b/tests/bsn_ipmask.py
@@ -92,6 +92,10 @@
return x[5]
def runTest(self):
+ self.assertFalse(required_wildcards(self) & ofp.OFPFW_NW_DST_ALL,
+ "IP dst must be wildcarded")
+ self.assertFalse(required_wildcards(self) & ofp.OFPFW_NW_SRC_ALL,
+ "IP src must be wildcarded")
for index in range(0, 64):
mask = self.bsn_get_ip_mask(index)
im_logger.info("Index %d mask is %s" %