Commit 648f6599c00423b9d2bd8c1e7f2bae83c5939f13

Authored by adumas
1 parent f2038908

wildcard changes

src/main/java/net/floodlightcontroller/pelstats/PELStats.java
... ... @@ -269,7 +269,11 @@ public class PELStats implements IFloodlightModule, IOFMessageListener, RestAPIP
269 269  
270 270  
271 271 OFmatch.setWildcards(OFMatch.OFPFW_ALL - OFMatch.OFPFW_IN_PORT
272   - - OFMatch.OFPFW_TP_SRC);
  272 + - OFMatch.OFPFW_TP_SRC - OFMatch.OFPFW_NW_PROTO
  273 + - OFMatch.OFPFW_DL_VLAN_PCP -OFMatch.OFPFW_DL_TYPE);
  274 + OFmatch.setNetworkProtocol((byte)0x11);
  275 + OFmatch.setDataLayerType((short)0x0800);
  276 + OFmatch.setDataLayerVirtualLanPriorityCodePoint((byte)0x0);
273 277 OFmatch.setInputPort((short)1);
274 278 OFmessage.setMatch(OFmatch);
275 279  
... ... @@ -307,7 +311,11 @@ public class PELStats implements IFloodlightModule, IOFMessageListener, RestAPIP
307 311  
308 312  
309 313 OFmatch.setWildcards(OFMatch.OFPFW_ALL - OFMatch.OFPFW_IN_PORT
310   - - OFMatch.OFPFW_TP_SRC);
  314 + - OFMatch.OFPFW_TP_SRC - OFMatch.OFPFW_NW_PROTO
  315 + - OFMatch.OFPFW_DL_VLAN_PCP -OFMatch.OFPFW_DL_TYPE);
  316 + OFmatch.setNetworkProtocol((byte)0x11);
  317 + OFmatch.setDataLayerType((short)0x0800);
  318 + OFmatch.setDataLayerVirtualLanPriorityCodePoint((byte)0x0);
311 319 OFmatch.setInputPort((short)2);
312 320 OFmessage.setMatch(OFmatch);
313 321  
... ...