Hi,

I am trying to add a new vsctl command. Let's say it will be invoked with 
"ovs-vsctl usermod",

I added it to struct ctl_command_syntax as follows:
               {"usermod", 0, 0, "", NULL, cmd_usermod, NULL, "", RW},

And, I defined a function cmd_usermod that just logs to file for now.

But, when I give the command, I still get "ovs-vsctl: unknown command 
'usermod'; use -help for help"

Any idea if I am missing something ?

Thanks,
Monica

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to