[ovs-discuss] unixctl module question

Anup Khadka khadka.py at gmail.com
Wed Oct 8 21:03:23 UTC 2014


I am trying to understand the unixctl module. More specifically how/when
can an ofproto class make use of some of its functions. I was wondering if
I can get some pointers or direction.

Assuming that I register a command with a name and provide a callback
during registration, who and when will this callback be called? In other
words, how can this registered command be called?

For example: ofproto-dpif registers a command called fdb/flush with a
callback ofproto_unixctl_fdb_flush. When will this callback be called?

Are there any commands that an ofproto class must register?

Thank you,
Anup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20141008/0626ad5b/attachment-0002.html>


More information about the discuss mailing list