[pox-dev] Fields ignored due to unspecified aaa, bbb, ccc

Nan Zhu zhunanmcgill at gmail.com
Mon Dec 2 06:40:40 PST 2013


OK, ignore it, I found that I did not set wildcard value correctly  

Best,  

--  
Nan Zhu
School of Computer Science,
McGill University




On Monday, December 2, 2013 at 8:27 AM, Nan Zhu wrote:

> 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
>  
>  
>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20131202/df7928bb/attachment-0002.htm>


More information about the pox-dev mailing list