On Nov 1, 2012, at 3:34 PM, Julius Bachnick wrote:
> being pretty new with OpenFlow, I started with the tutorial 
> (http://www.openflow.org/wk/index.php/HOTITutorial2010) but when I should go 
> through of_tutorial.py I wanted to edit it myself, trying something out. When 
> importing it in eclipse (using pydev) and although I refer to the pox project 
> for the source I receive an error at 
> 
>               self.send_packet(packet_in.buffer_id, packet_in.data,
>                                                                               
>  of.OFPP_FLOOD, packet_in.in_port)
> 
> since no variable called OFPP_FLOOD can be found. How do I access those 
> values since they it looks like I might need them in future a couple of times 
> ;).

I assume you've imported the OpenFlow library like...
import pox.openflow.libopenflow_01 as of

When/where do you get the error and exactly what is the error?  I am going to 
guess that if you actually run the code, it's going to run fine and that this 
is an error from the IDE due a shortcoming in how it examines dependencies...

As a sidenote, this seems like it is better suited for the pox-dev list instead 
of nox-dev.

-- Murphy


Reply via email to