I have a chunk of code written in regular Python that interacts with code in
NOX via a socket. I would like the regular Python code to import the NOX
core module, to get access to OpenFlow defined constants, as well as re-use
the packet generation libraries.
When I import nox.lib.core within the NOX app, no issues.
When I import nox.lib.core within the Python code, I get the following:
File "/home/brandonh/nox/noxcore/src/nox/lib/core.py", line 22, in
<module>
import nox.lib.openflow as openflow
ImportError: No module named openflow
I really don't know if this is due to a swig .i file, or if NOX handles
imports differently, or something else.
Any ideas?
Thanks,
Brandon
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org