Hi, Scott

When Ryu started, it dynamically creates all event classes, such as EventOFPPacketIn. So, you and your IDE cannot find event classes because they does not exist in the source code.

IDE may not suggest the class name and may report errors, but it is expected.
Please ignore such behaviors.


Thanks,
Fujimoto

On 2017年11月07日 05:12, Scott Reeve wrote:
I have the following code:

from ryu.baseimport app_manager
from ryu.controllerimport ofp_event
and when I go to use a variable ofp_event.
it only gives me a small subset.  For example, I cannot use EventOFPPacketIn.
I see the same problem with many different IDEs:
Eclipse Oxygen (with PyDev installed)
LiClipse (Pydev automatically installed)
PyCharm
It DOES work fine if I use ryu-manager on ubuntu.
But I want to use a GUI/IDE instead of a command line utility.
When I go to the declaration of ofp_event, it takes me to 
ryu/controller/ofp_event.py like you would imagine.
Any suggestions would be helpful.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to