[ovs-discuss] Bridge Compatible Mode: /sys/class/net/br0/bridge: No such file or directory

2011-07-06 Thread Shi Jin
Hi there, I am trying to get open vswitch to work with libvirt/KVM on RHEL as part of integration into OpenNebula. I loaded Linux bridge compatible module and use "brctl adbr" to create bridge devices. However, I got some errors in "brctl show" [root@node5 openvswitch]# brctl show bridge name

Re: [ovs-discuss] Automating ovs using an API or similar

2011-07-06 Thread Ben Pfaff
On Wed, Jul 06, 2011 at 05:21:38PM +, Semba, Kurt wrote: > So my only option is to walk through the C-code of your ovs tools > and try to reproduce this using Java and this JSON-RPC lib? The OVSDB protocol is specified in ovsdb/SPECS. This should be enough to implement a client (or a server).

Re: [ovs-discuss] Automating ovs using an API or similar

2011-07-06 Thread Semba, Kurt
Thank you both for your fast response! So my only option is to walk through the C-code of your ovs tools and try to reproduce this using Java and this JSON-RPC lib? -Original Message- From: rob.sherw...@gmail.com [mailto:rob.sherw...@gmail.com] On Behalf Of Rob Sherwood Sent: Mittwoch,

Re: [ovs-discuss] Openvswitch first packets losts ?

2011-07-06 Thread Sébastien Riccio
On 06.07.2011 16:55, Ben Pfaff wrote: On Wed, Jul 06, 2011 at 11:27:28AM +0200, Sébastien Riccio wrote: root# ovs-vsctl add-br trunk0 root# ovs-vsctl add-bond trunk0 bond0 eth0 eth1 root# ovs-vsctl add-port trunk0 mgmt0 tag=85 [hangs] Ctrl-C let's try again root# ovs-vsctl add-port trunk0 mgmt0

Re: [ovs-discuss] Automating ovs using an API or similar

2011-07-06 Thread Rob Sherwood
On Wed, Jul 6, 2011 at 9:06 AM, Ben Pfaff wrote: >> I've found a Java library called openflowj but as far as I >> understand it is used to configure an existing Distributed Virtual >> Switch from Citrix - correct? I've also checked the latest Citrix >> XAPI documentation which has been updated in

Re: [ovs-discuss] Automating ovs using an API or similar

2011-07-06 Thread Ben Pfaff
On Wed, Jul 06, 2011 at 02:46:56PM +, Semba, Kurt wrote: > In February I was looking for a way to automatize openvSwitch > configurations remotely via some sort of API which we could > integrate into our Java code base in addition to the already used > XAPI (so we could also configure the openv

Re: [ovs-discuss] Openvswitch first packets losts ?

2011-07-06 Thread Ben Pfaff
On Wed, Jul 06, 2011 at 11:27:28AM +0200, Sébastien Riccio wrote: > root# ovs-vsctl add-br trunk0 > root# ovs-vsctl add-bond trunk0 bond0 eth0 eth1 > root# ovs-vsctl add-port trunk0 mgmt0 tag=85 > [hangs] > Ctrl-C > > let's try again > root# ovs-vsctl add-port trunk0 mgmt0 tag=85 > cannot create a

Re: [ovs-discuss] Automating ovs using an API or similar

2011-07-06 Thread Semba, Kurt
Hi, In February I was looking for a way to automatize openvSwitch configurations remotely via some sort of API which we could integrate into our Java code base in addition to the already used XAPI (so we could also configure the openvSwitch in addition to the "standard" XenServer networking fea

Re: [ovs-discuss] Openvswitch first packets losts ?

2011-07-06 Thread Sébastien Riccio
On 06.07.2011 10:53, Sébastien Riccio wrote: It doesn't sound like a false problem if you were experiencing it. From the tables you listed, I didn't see anything that would explain that delay, and I've not heard anyone else having that problem. Did you say in IRC that you were running an un

Re: [ovs-discuss] Openvswitch first packets losts ?

2011-07-06 Thread Sébastien Riccio
It doesn't sound like a false problem if you were experiencing it. From the tables you listed, I didn't see anything that would explain that delay, and I've not heard anyone else having that problem. Did you say in IRC that you were running an unmodified 1.1.1 release (and not from the mast

Re: [ovs-discuss] Openvswitch first packets losts ?

2011-07-06 Thread Sébastien Riccio
Well while doing my tests I tried the git master branch version and then went back to the 1.1.1 official tar.gz. I don't remember if I removed and re-inited the conf.db file when switching back. If there are changes in the conf.db schema, maybe that could be the source of the problem ? On 06.0

Re: [ovs-discuss] Openvswitch first packets losts ?

2011-07-06 Thread Justin Pettit
On Jul 5, 2011, at 8:40 PM, Sébastien Riccio wrote: > I've rm'ed and recreated the conf.db file and restarted from scratch with the > exact same setup as described in > my previous mails, and now it's wokring good. I don't get it... :) > > Sorry about that false problem. It doesn't sound like