The JSON-RPC interface is for doing switch-level configuration, such as that provided by ovs-vsctl. If you're looking to do flow-level configuration, which is what ovs-ofctl does, then you need to use the OpenFlow protocol.
--Justin On Dec 8, 2010, at 9:58 AM, frank wrote: > Hi, > I am looking for a way to control distributed vswitches from a > centralized server. Although tools like ovs-ofctl could talk to remote > vswitch through TCP, it is not a nice way to do every configuration by > calling a script in my code. > I knew vswitch uses json-rpc, and also noticed below thread: > > > http://openvswitch.org/pipermail/discuss_openvswitch.org/2009-November/000461.html > and a page: > http://openflowswitch.org/wk/index.php/Config_Protocol > > unfortunately, most of links in above wiki are non-valid. > Is there any documentation defined json-rpc methods exposed by vswitch? > or any example educates people how to talk with vswitch by json-rpc? > > thank you. > > _______________________________________________ > discuss mailing list > [email protected] > http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org
