Yeah, unfortunately under the current model you cannot block in Python
(or in a Python call into C++) so you have to implement some sort of
polling or callback method. It would be great to support a real thread
model in Python, but I'm afraid that isn't going to happen any time soon ...
My app can't do anything useful until the last entry has been
inserted, so I was thinking of simply returning the EAGAIN error up
the calling chain, and adding an install_datapath_flow_poll() function
in core.py.
-b
On Tue, Mar 17, 2009 at 8:29 PM, Ben Pfaff <[email protected]
<mailto:[email protected]>> wrote:
Brandon Heller <[email protected]
<mailto:[email protected]>> writes:
> I gave up at this point. Can someone point me in the right
direction?
One solution would be to create a queue of packets and feed them
to the OpenFlow connection from an FSM as space becomes
available.
------------------------------------------------------------------------
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org