On Thu, Jun 13, 2013 at 1:26 PM, Ben Pfaff <b...@nicira.com> wrote: > On Thu, Jun 13, 2013 at 01:17:39PM -0400, jinho hwang wrote: > > On Thu, Jun 13, 2013 at 12:16 PM, Ben Pfaff <b...@nicira.com> 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? > > Use --log-file, see the manpage for details. > > > 2. Userspace datapath: > > - Does this mean netdev is used by datapath? > > Yes. > > > - 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. > > You can use "ovs-appctl dpif/show". > > > - What are the limitations if I use userspace datapath? I know > performance > > can not be good, and some functionalities (tunneling) may not work. > Right? > > Yes. >
Thanks again, Ben. Sorry to bother you, but I have follow-up questions: 1. Can you interpret these messages? 2013-06-13T17:52:20Z|00144|*dpif_netdev*|ERR|error receiving data from em1: Message too long 2013-06-13T17:52:27Z|00145|netdev|INFO|Dropped 1214 log messages in last 12 seconds (most recently, 0 seconds ago) due to excessive rate 2013-06-13T17:52:27Z|00146|netdev|INFO|--------trace: lib/netdev.c-netdev_recv(419) - Why is dpif_netdev called? - Is it a part of userspace netdev? 2. I am not very clear on where I receive packets and route them where? I am trying to read code now, but I am not very sure. - Can you pin point where netdev receives packets and forward them to where? - Also, Do flows in the table not call upcall? Or all the traffic go to the ovs-switchd? Thank you, Jinho
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss