[Ryu-devel] ofp_event classes missing?

2018-01-26 Thread David, Aaron M.
Hi All, I’ve written Ryu applications using Eclipse/PyCharm in the past but am having some issues after installing the latest version of Ryu. Both Eclipse and PyCharm can’t find references to particular ofp_events such as EventPacketIn. It only knows of EventOFPMsgBase, EventPortStateChange, an

Re: [Ryu-devel] Link status

2018-01-26 Thread Marko Eremija
Hello Iwase, I might have sent the previous mail a bit too quick. :) I have now implemented the EventOFPPortStatus, but what I don't understand now is how to map status to the OpenFlow message. There is this definition in ofproto.py: # enum ofp_port_state OFPPS_LINK_DOWN = 1 << 0# No ph

Re: [Ryu-devel] Link status

2018-01-26 Thread Marko Eremija
Hello Iwase, Thank you for your reply. I am already using this for port status, but is there a way to extract the OFPPS_LINK_DOWN message, or to somehow map between the port status messages and link status messages, like if the message is OFPPR_DELETE it is the same as OFPPS_LINK_DOWN? Or to be