Hi,

I am trying to add flows to the POX controller and I want to give
following commands..

POX>from pox.core import core
POX>import pox.openflow.libopenflow_01 as of
POX>msg = of.ofp_flow_mod()POX>msg.priority = 10POX>msg.match.dl_type
= 0x800POX>msg.match.nw_src = IPAddr("10.0.0.1")

when I give this command I get the error "NameError: name 'IPAddr' is
not defined"

Am I missing anything here ?

Reply via email to