[ovs-discuss] Basic OVS Configuration

2013-03-19 Thread Jereme Lamps
Hello! I would like to set up a basic configuration with 1 openvswitch, 1 'control' node, and various other nodes. The control node needs to be able to communicate with all of the other nodes, and all of the other nodes need to be in separate vlans (not able to communicate with eachother). I under

Re: [ovs-discuss] Using ovsdb-client transaction capability

2013-02-19 Thread Jereme Lamps
ommands will work with the server until I reset it. Any ideas? Thank you in advance for your time. On Sat, Feb 16, 2013 at 9:46 AM, Jereme Lamps wrote: > Hell yeah! Surrounding the json commands with single-quotes did the trick! > Thanks so much!! > > > On Fri, Feb 15, 2013 at

Re: [ovs-discuss] Using ovsdb-client transaction capability

2013-02-16 Thread Jereme Lamps
t;name":"br0","ports": > | wc > 1 330 56352 > $ echo > '["Open_vSwitch",{"rows":[{"bridges":["set",[]]}],"until":"==","where":[["_uuid","==",["uuid"

Re: [ovs-discuss] Using ovsdb-client transaction capability

2013-02-15 Thread Jereme Lamps
;named-uuid","rowcd9eb1b9_090f_4a0e_bd08_bc57ade47441"]}},{"mutations":[["next_cfg","+=",1]],"where":[["_uuid","==",["uuid","7b733b72-17f7-41c7-9f0a-641686db2dcd"]]],"op":"mutate",&quo

Re: [ovs-discuss] Using ovsdb-client transaction capability

2013-02-15 Thread Jereme Lamps
Is there like a basic transact json I can run as a sanity check just to see if a basic one goes through?? On Fri, Feb 15, 2013 at 7:00 PM, Jereme Lamps wrote: > Running strace over the command does not output anything either :( > > > On Fri, Feb 15, 2013 at 6:40 PM, Ben Pfaff wrote

Re: [ovs-discuss] Using ovsdb-client transaction capability

2013-02-15 Thread Jereme Lamps
Running strace over the command does not output anything either :( On Fri, Feb 15, 2013 at 6:40 PM, Ben Pfaff wrote: > Maybe it's trying to connect to a database socket that isn't there? > Try "strace". > > On Fri, Feb 15, 2013 at 06:37:58PM -0600, Jereme Lamps w

Re: [ovs-discuss] Using ovsdb-client transaction capability

2013-02-15 Thread Jereme Lamps
; timed wakeups. On Fri, Feb 15, 2013 at 5:09 PM, Ben Pfaff wrote: > That doesn't make any sense to me. Sorry, I don't know what to tell > you. > > On Fri, Feb 15, 2013 at 04:03:17PM -0700, Jereme Lamps wrote: > > And -v did not output anything. > > > >

Re: [ovs-discuss] Using ovsdb-client transaction capability

2013-02-15 Thread Jereme Lamps
And -v did not output anything. On Fri, Feb 15, 2013 at 4:01 PM, Jereme Lamps wrote: > Okay, I ran sudo ovsdb-client -v transact [...] > and it is not hanging now, but after if completes I run > sudo ovsdb-client dump > and nothing is changed, all the tables are still empty... >

Re: [ovs-discuss] Using ovsdb-client transaction capability

2013-02-15 Thread Jereme Lamps
Okay, I ran sudo ovsdb-client -v transact [...] and it is not hanging now, but after if completes I run sudo ovsdb-client dump and nothing is changed, all the tables are still empty... On Fri, Feb 15, 2013 at 3:53 PM, Ben Pfaff wrote: > On Fri, Feb 15, 2013 at 03:49:19PM -0700, Jereme La

[ovs-discuss] Using ovsdb-client transaction capability

2013-02-15 Thread Jereme Lamps
Hello, so I want to be able to use the ovsdb-client to directly modify the contents of the table, to add a bridge for example. To see what this should look like in json, I run: sudo ovs-vsctl --verbose add-br br0 and get 2013-02-15T22:00:23Z|8|jsonrpc|DBG|unix:/usr/local/var/run/openvswitch/db.