Hi, all
I’m going to build a match object which only cares about nw_src and nw_dst
As the wiki says, I only need to wildcard other fields by setting them as None,
I firstly build a match from from_packet, and then set the fields as None,
however I always receive warnings like Fields ignored due to unspecified
nw_src, nw_dst
I checked pox code
for name in ofp_match_data.keys():
if getattr(self,name) is None: continue
if getattr(om,name) is not None: continue
wcs.append(name)
msg = msg + " ".join(wcs)
I’m confused by this part, when getattr(self, name) is not None, it will be put
in the wcs….why?
Thank you very much
Best,
--
Nan Zhu
School of Computer Science,
McGill University