[pox-dev] L2 and L3 calling from another
Amer
amer7777 at hotmail.com
Fri Nov 15 10:17:17 PST 2013
Hello,
I want to create a handle packetin method, if the incoming packet is from specific switch run l2 if it from another run l3
What I did
from pox.forearding.l2_multi import *
def H_P (event):
p = event.parsed
If (p.dpid == "1"):
sw= Switch()
sw._handle_PacketIn(event)
Else:
#. L3.learning
I have received this error:
NoneType object has no Len()
Pox.py l2l3 openflow.discovery
Any help is appreciated
Best regards,
Amer
More information about the pox-dev
mailing list