Hi KK,

Is there a way to register for vendor specific msg events in python
applications in Nox?

I see from 
"http://noxrepo.org/pipermail/nox-dev_noxrepo.org/2008-December/000484.html";
that you had somehow enabled Openflow_msg_event. I am assuming that
its like a generic event thrown for any un-handled ofp_type (Is that
right?). However, when I saw code for openflow-event.cc, there is no
handle_openflow_msg() being called. Also in core.py, there is no
register_for_openflow_msg(). There is a magic etc/nox.xml file with
couple of events and filters mentioned in it. Can you shed some light
on how it is to be used?

My Nox controller version is 0.5.0 and OFClick switch is 0.8.9~2.

If I have to add this event myself, I think I would have to make
following changes at the very least:
1. Detect the packet type as OpenFlow Vendor header and write a
handler in openflow-event.cc
2. Define a Vendor_msg_event class in include/vendor-msg.hh
3. Register in event-dispatcher-component.cc
4. Write conversion functions in pyrt.cc and interface information in event.i
5. Write register_for_vendor_msg_event() in core.py

Would that be all?

-Yogesh

_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to