Sorry for trouble you~  I should re-read the documentation first, i think. 
Thanks a lot!!!

Date: Wed, 30 Nov 2011 13:09:16 +0500
Subject: Re: [ovs-discuss] help: test-openflowd and system@dp1: execute 1 
failed (Invalid argument)
From: tahir.ra...@gmail.com
To: b...@nicira.com
CC: switch....@hotmail.com; discuss@openvswitch.org

Hi,
After compilation of OVS, you can run the following commands (Commands are 
taken from INSTALL.Linux as described by Ben Pfaf). Go to ovsdb directory 
first. In OVS1.1.2, you can found it in openvswitch/utilities. 

a) create configuration database% mkdir -p /usr/local/etc/openvswitch% 
./ovsdb-tool create /usr/local/etc/openvswitch/conf.db 
../vswitchd/vswitch.ovsschema
b) start configuration database of OVS% ./ovsdb-server 
/usr/local/etc/openvswitch/conf.db 
--remote=punix:/ovs/var/run/openvswitch/db.sock 
--remote=db:Open_vSwitch,manager_options --pidfile --detach
% cd ../utilities/% ./ovs-vsctl --no-wait initc) start OVS demon% cd 
../vswitchd/% ./ovs-vswitchd unix:/ovs/var/run/openvswitch/db.sock
d) setup bridges and other OVS features% ovs-vsctl add-br br0% ovs-vsctl 
add-port br0 eth0% ovs-vsctl add-port br0 eth1d) connect to controller
After that you can connect to controller by using following command% 
./ovs-vsctl set-controller br0 tcp:10.3.70.116:6633

On Wed, Nov 30, 2011 at 12:04 PM, Ben Pfaff <b...@nicira.com> wrote:

The documentation shows how to set it up.  I don't see any value in

feeding all of it to you one line at a time.  Start with INSTALL.Linux.



On Wed, Nov 30, 2011 at 03:05:19PM +0800, ztom wrote:

>

> the br is equal to dp0 ($ ovs-dpctl add-dp dp0)? and i use the NOX as the 
> controller. Could you give me a example?

>

> my case: step1. ovs-dpctl add-dp dp0

>                 step2. ./test-openflowd dp0 tcp:127.0.0.1

>                             & ./nox_core -v -i ptcp:6633 monitoring

>                 then i can get some info about dp0 with nox's gui

>

> > Date: Tue, 29 Nov 2011 22:49:37 -0800

> > From: b...@nicira.com

> > To: switch....@hotmail.com

> > CC: discuss@openvswitch.org

> > Subject: Re: [ovs-discuss] help: test-openflowd and system@dp1: execute 1 
> > failed (Invalid argument)

> >

> > Read the documentation.  You can start with "ovs-vsctl add-br" and

> > "ovs-vsctl set-controller".

> >

> > On Wed, Nov 30, 2011 at 02:52:13PM +0800, ztom wrote:

> > >

> > > $ ./test-openflowd dp0 tcp: x.x.x.x  //the dp0 is looked as an openflow 
> > > switch, and it links to the controller(x.x.x.x)

> > > but now using ovs-vswitchd, i don't know what's the cmd. ovs-vswitchd ??? 
> > >  i can't find anything about datapath with ovs-vswitchd help.

> > >

> > >

> > > > Date: Tue, 29 Nov 2011 22:34:53 -0800

> > > > From: b...@nicira.com

> > > > To: switch....@hotmail.com

> > > > CC: discuss@openvswitch.org

> > > > Subject: Re: [ovs-discuss] help: test-openflowd and system@dp1: execute 
> > > > 1 failed (Invalid argument)

> > > >

> > > > On Wed, Nov 30, 2011 at 02:38:09PM +0800, ztom wrote:

> > > > > i need to do some tests with the openflow vswitch, but now there's no

> > > > > "test-openflowd" script. What should i do?

> > > >

> > > > Use ovs-vswitchd.

> > >

>

_______________________________________________

discuss mailing list

discuss@openvswitch.org

http://openvswitch.org/mailman/listinfo/discuss



-- 
Tahir Rauf


                                          
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to