On 23 Jan 2015, at 22:52, Ben Pfaff wrote:

On Fri, Jan 23, 2015 at 01:17:38AM +0000, Dave Tucker wrote:
+Usage
+-----
+
+> NOTE: Currently the userspace utilities will *only* work with the
equivalent OVS version

Why?

This could be a bug - I'm not sure. I have OVS 2.3.0 running on a test Linux system. When I tried to talk to it using a freshly compiled OSX binary I got the following error:

2015-01-24T13:57:19Z|00001|ovsdb_idl|WARN|syntax "{"details":"error is not a valid column name","error":"syntax error","syntax":"[\"error\",\"name\",\"options\",\"type\"]"}": syntax error: <table-updates> includes unknown table "syntax" ovs-vsctl: transaction error: {"details":"transaction causes \"Open_vSwitch\" table to contain 2 rows, greater than the schema-defined limit of 1 row(s)","error":"constraint violation"}


+Assuming you have an Open vSwitch instance listening on `ptcp:6640`, you can interact with it as follows:
+
+    ovs-vsctl --db=tcp:192.168.59.103:6640 show
+    ovs-vsctl --db=tcp:192.168.59.103:6640 add-br br0
+    ovs-vsctl --db=tcp:192.168.59.103:6640 set-manager br0 ptcp:6653

It's unusual to have to specify --db, can't the defaults be set up to
work properly?

My use case was primarily talking to remote systems from my mac rather than running OVS locally... The port is not complete in that respect. Although I'd love to work on this in the future.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to