Hi,

I'm embarrassed that I can't quite figure this out (given the hoard of
documentation -- thanks!), but I'm just now looking at the changes
introduced by ovs-vswitchd from ovs-openflowd[1] and have to admit
I've run into a brick wall.

I'm using the current code from the master branch, have initialized
the DB, loaded the kmod, started ovsdb-server and ovs-vswitchd, and
successfully created a bridge using ovs-vsctl:

root@ubuntu:~#  ovs-vsctl add-br switch1
root@ubuntu:~#  ovs-vsctl set-controller switch1 tcp:localhost:6633
root@ubuntu:~#  ovs-vsctl set bridge switch datapath_type=system datapath_id=1
root@ubuntu:~#  ovs-vsctl add-port switch1 veth1
root@ubuntu:~#  ovs-vsctl add-port switch1 veth2
root@ubuntu:~# ovs-vsctl list bridge
root@ubuntu:~/git/openvswitch# ovs-vsctl list bridge
_uuid               : 5cfab632-283b-420b-b1d6-97c31ffd15bf
controller          : [14cb8225-8730-48b7-a7d5-fc538afb73e7]
datapath_id         : "1"
datapath_type       : system
external_ids        : {}
fail_mode           : []
flood_vlans         : []
mirrors             : []
name                : "switch1"
netflow             : []
other_config        : {}
ports               : [3b404a3e-f806-4780-8a05-6ad1e47babcf]
sflow               : []


So, this all seems correct, but when I issue a command using
ovs-ofctl, it can't find the bridge with the same name:

root@ubuntu:~# ovs-ofctl show switch1
ovs-ofctl: switch1 is not a bridge or a socket

which makes sense because the corresponding unix socket does not exist:
root@ubuntu:~# ls -l /usr/local/var/run/openvswitch/
total 4
srwx------ 1 root root 0 2011-10-30 10:15 db.sock
srw------- 1 root root 0 2011-10-30 10:15 ovsdb-server.2444.ctl
srw------- 1 root root 0 2011-10-30 10:16 ovs-vswitchd.2449.ctl
-rw-r--r-- 1 root root 5 2011-10-30 10:16 ovs-vswitchd.pid
### no switch1.mgmt file...

I'm sure there is some critical step that I've missed, but I've read
through most (all?) of the INSTALL.* docs and don't see what I'm
missing (along with various google searches).

Can someone point me to the missing command that causes a bridge in
ovs-vsctl to appear as a bridge for ovs-ofctl?  I can provide more
debugging info it helps, but my guess is this is a simpler question.

Thanks in advance,

- Rob
.

[1] I'm just trying to update mininet to use a modern version of OVS
... no good deed goes unpunished :-)
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to