[ovs-discuss] ovsdb python library .. accessing row elements using a variable as the key

2015-07-09 Thread Mir Ali
Hi, How can I access a particular column from the row if the column attribute is a variable. For example, in a Bridge table I can access the name of the bridge using 'row.name'. I want to do the same but using the column name as a variable. If I can do something as row['name'] it will help me a

Re: [ovs-discuss] ovsdb error

2015-04-27 Thread Mir Ali
Most likely the openvswitch.ko module is not loaded. Load it again, restart all services and try again. > Date: Mon, 27 Apr 2015 07:09:52 -0700 > From: shet...@nicira.com > To: cvinl...@gmail.com; discuss@openvswitch.org > Subject: Re: [ovs-discuss] ovsdb error > > Stop your daemons, delete your

Re: [ovs-discuss] Using the Python IDL library issues

2015-04-27 Thread Mir Ali
y issues > > On Sun, Apr 26, 2015 at 12:36:52PM -0700, Mir Ali wrote: > > I was hoping idl to load the database on the first idl.run() call but > > it doesn't seem like it is. The tables are always empty although the > > current set up is as shown below > > It wou

[ovs-discuss] Using the Python IDL library issues

2015-04-26 Thread Mir Ali
Hi, I am trying out the python idl library to write scripts to talk to the ovsdb-server but I can figure out why the idl database is not being loaded. My setup consists fo the following. Started the ovsdb-server and switch as $ sudo ovsdb-server /usr/local/etc/openvswitch/conf.db --remote=puni