[ovs-discuss] unixctl module question

Justin Pettit jpettit at nicira.com
Wed Oct 8 21:24:59 UTC 2014

The "ovs-appctl" command can execute them.  When you run "ovs-appctl help", you should see the names that you register.


On October 8, 2014 at 2:04:03 PM, Anup Khadka (khadka.py at gmail.com) wrote:
> 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
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss

More information about the discuss mailing list