Yeah, I think it's probably just a bug that extract_flow() returns the match dictionary like that. The corresponding bug was recently fixed in POX.
I think you just need to set the 'dl_type' member of the match dictionary to the one you want to actually match (e.g., 0x0800 for IP -- not 0x8000). -- Murphy On Aug 15, 2012, at 7:57 PM, Weiyang Mo wrote: > Hi, > > > I recently met the following problem. I tried to communicate NOX with Pronto > switches which are based on OVS. And I tested IP packets flow. > > However when IP packets arrive controller, I find that these packets have > VLAN tags. Therefore the NOX will treat them as VLAN packets and set the > type= 0x8100. However this flow entry will not work on next packets at all. > > I used attributes = extract_flow(packet) to get all the attributes which > include type= 0x8100. I need change the type to 0x8000 (i.e. IP). Is it > possible to do that?Which syntax should I run? > > Thanks very much. > > Weiyang
