Hi Justin, thanks for your reply and your advice. I'm using the following SDK/library within my Java application: http://www.community.citrix.com/cdn/xs/sdks
I would prefer using libraries which I can compile into my code instead of using calls to external tools like ovs-vsctl. Where exactly do I find the documentation on implementing my own ovsdb-server (I don't know where to find "ovsdb/SPECS" - sorry, stupid me). How much effort would you think it is to build something like this in Java? Yes, I posted a question regarding automation options on the Citrix XenServer Networking forum to see if they have something available for the DVS controller. Thanks a lot! Kurt -----Original Message----- From: Justin Pettit [mailto:jpet...@nicira.com] Sent: Dienstag, 22. Februar 2011 03:48 To: Semba, Kurt Cc: discuss@openvswitch.org Subject: Re: [ovs-discuss] Automating ovs using an API or similar Hi, Kurt. I assume the Citrix XenServer API you are mentioning is XAPI. This is probably still your best route for configuring VLANs and networks, since Open vSwitch is tightly integrated with recent versions of XenServer. I'd be worried about changing things from underneath it--especially since local network configuration isn't persistent across reboots. To configure things not natively understood by XenServer (e.g., NetFlow, mirrors, OVS's concept of QoS), you have a few options: - You can use ovs-vsctl directly on the host or remotely by configuring ovsdb-server to listen on a TCP or SSL socket. - You can implement a configuration database manager, which ovsdb-server will sync up with through its JSON-RPC protocol (documented in ovsdb/SPECS). - You can talk to Citrix about whether there is an API provided through the DVS (distributed virtual switch), which is available in some 5.6.0 FP1 configurations. If you want to configure flows/policies in the switch your best bet is through OpenFlow or DVS. --Justin On Feb 21, 2011, at 4:34 AM, Semba, Kurt wrote: > Hi all, > > we have been automating certain network functionality on XenServer using an > API provided by Citrix. Since openvswitch is now also supported on XenServer > and it offers a much richer set of functionalities in comparison to the > standard features from Citrix we would like to explore the options to > automatize certain configurations of the openvswitch. I'm talking about > creating internal/external/bonded networks, configuring VLAN ID's, > reading/setting Qos parameters, NetFlow destinations, port mirrors, etc. > > I couldn't find anything on an API or SDK to remote access and manage the ovs > settings of a particular Host - does this exist at all? > > If not, what other options would we have to automatically manage Hosts > remotely? > > Thanks > Kurt > > Kurt Semba > Security Solutions Manager Central & Eastern Europe Enterasys Networks > Solmsstrasse 83 > D-60486 Frankfurt am Main > > Mobil: +49 151 182 66 813 > E-Mail: kurt.se...@enterasys.com > > "There is nothing more important than our customers" > > This email may contain confidential and privileged material for the sole use > of the intended recipient. Any review or distribution by others is strictly > prohibited. If you are not the intended recipient, please contact the sender > and delete all copies. > > _______________________________________________ > discuss mailing list > discuss@openvswitch.org > http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org