On Thu, Jun 13, 2013 at 12:16 PM, Ben Pfaff <[email protected]> wrote: > On Thu, Jun 13, 2013 at 10:37:49AM -0400, jinho hwang wrote: > > I am new to ovs. I am trying to set up userspace switch using > > INSTALL.userspace. There are many commands to add bridge and interfaces > > using ovs-vsctl, but ovs-vsctl does not return (infinite loop). How do I > > have to run these commands? Just ctrl-c is ok? I may not have a good > > understanding of the system yet. If you can refer me to any good > > documentation related to this, it would be appreciated as well. > > Is ovs-vswitchd running? >
Thanks, Ben. I have figured out how the system works now. I thought ovs-vsctl does not return to the user, but it was controlled by ovs-vswtichd that signals to close. Like you said, my fault was that I did not run ovs-vswitchd properly. A couple of more questions if you can provide some more information: 1. Logging: ovs-aptctl shows all INFO in file column, but I can not find any file logging messages. Not in /var/log and in /usr/local/var/log/ Is there any global knob I should control? 2. Userspace datapath: - Does this mean netdev is used by datapath? jinho@dpdk:~/ddos/openvswitch-1.10.0$ sudo ovs-vswitchd --pidfile --detach 2013-06-13T15:45:05Z|00001|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock: connecting... 2013-06-13T15:45:05Z|00002|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock: connected 2013-06-13T15:45:05Z|00003|bridge|INFO|bridge br0: added interface br0 on port 65534 2013-06-13T15:45:05Z|00004|dpif_linux|ERR|Generic Netlink family 'ovs_datapath' does not exist. The Open vSwitch kernel module is probably not loaded. 2013-06-13T15:45:05Z|00005|bridge|INFO|bridge br0: added interface em1 on port 1 *2013-06-13T15:45:05Z|00006|bridge|INFO|bridge br0: using datapath ID 0000848f692890c9* 2013-06-13T15:45:05Z|00007|connmgr|INFO|br0: added service controller "punix:/usr/local/var/run/openvswitch/br0.mgmt" - If so, how can I query stat information of datapath? Is there even one to query? I want to see something like "ovs-dpctl show br0", if there is one. - What are the limitations if I use userspace datapath? I know performance can not be good, and some functionalities (tunneling) may not work. Right? Thank you, Jinho
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
