Re: [nox-dev] Error feedback from adding flows

2010-12-14 Thread Murphy McCauley
Python support for this has been added in destiny in commit a2efd049da9f0d0d8dc4e56dc1aaa64930c1d257 . You can now register_handler("Error_event", callback), and the handler is called with an event object having type, code, and data members. You should be able to apply the patch against zaku wi

Re: [nox-dev] Error feedback from adding flows

2010-12-13 Thread Derek Cormier
Thanks Srini. Do you know if there is any way to catch error events in Python? I've looked through core.py and pycomponent.py but I can't seem to find anything. -Derek On 12/14/2010 04:19 AM, Srini Seetharaman wrote: There seems to be Error_event that is thrown. Maybe you can bind a handler f

Re: [nox-dev] Error feedback from adding flows

2010-12-13 Thread Srini Seetharaman
There seems to be Error_event that is thrown. Maybe you can bind a handler for that. For the details of Error_event, please see include/error-event.hh On Fri, Dec 10, 2010 at 12:12 AM, Derek Cormier wrote: > Hello, > > I'm looking for a way to see if adding a flow failed. In the OpenFlow > protoc

[nox-dev] Error feedback from adding flows

2010-12-10 Thread Derek Cormier
Hello, I'm looking for a way to see if adding a flow failed. In the OpenFlow protocol, it says an ofp_error_msg message is returned. Is there any event I can register for to catch this? I would also like to catch an error of type OFPET_FLOW_MOD_FAILED. I'm using a python component. Thanks! -