On Tue, Feb 22, 2011 at 5:24 AM, Semba, Kurt <[email protected]> wrote:
> thanks for that hint - yes, there are JSON-RPC libraries for Java out there 
> which I could probably use for this. If I understand this correctly, my 
> application would act as the JSON-RPC client and the XenServer running the 
> ovs would act as the Server? I would need to set my remote machine as a new 
> "manager" using the tcp-ip settings (we'll sort out SSL if the basics work :) 
> )?

That's more or less correct, with the quibble that JSON-RPC doesn't have
a designated "server" and "client".  Either side of the connection can
initiate requests.

> Looking at the documentation regarding the ovsdb it seems as my client would 
> need to know about all DB tables, columns and rows and modify them using 
> specific JSON-RPC calls - correct? If that is the case, it would be more 
> complex as I thought of. I would have expected to be able call pre-defined 
> RPC calls like for example "addPortToBridge(Bridge br, Port br)" or similar. 
> Do you have an implementation of such a manager (even if it's not in Java) so 
> I could see how such a manager uses the RPC calls to create / delete VLANs 
> ports, bridges, etc.?

That's ovs-vsctl.

-- 
"I don't normally do acked-by's.  I think it's my way of avoiding
getting blamed when it all blows up."               Andrew Morton

_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org

Reply via email to