Hi,

This is because you are trying to add a kernel datapath on a userspace
switch.  I do not see this pair of commands being used in the link you
provided 
(http://www.openflow.org/foswiki/bin/view/OpenFlow/Deployment/HOWTO/LabSetup).
 Any reason for doing so?

/var/run/dp0 is the UNIX domain socket to communicate to the switch
with.  You need it when you run ofprotocol.  And the datapath id is
004E46324304.  The userspace switch supports only one datapath from
what I recall.

Regards
KK

PS>> Please don't drop the mailing list.


On 9 March 2011 06:48, 杨宇 <yangyu...@gmail.com> wrote:
> hello, kk
>      thansk for your reply..
>
>
>>       # ./udatapath/ofdatapath --detach punix:/var/run/dp0 -d 004E46324304
>> -i eth1,eth2
> This runs the OpenFlow switch.
>
> I think the punix:/var/run/dp0  is the created switch.
> and the 004E46324304 is the datapath , is that true ?
>
>
> ________________________________
> 发件人: kk yap
> 发送时间: 2011-03-09  22:34:50
> 收件人: 杨宇
> 抄送: nox-dev
> 主题: Re: [nox-dev] different between ofdatapath and dpctl
> Hi,
> Comments inline.
> Regards
> KK
> 2011/3/9 杨宇 <yangyu...@gmail.com>:
>> hi, all
>>        when I follow the tutorial in the page
>> "http://www.openflow.org/foswiki/bin/view/OpenFlow/Deployment/HOWTO/LabSetup
>> "
>>        there is a command line:
>>       # ./udatapath/ofdatapath --detach punix:/var/run/dp0 -d 004E46324304
>> -i eth1,eth2
> This runs the OpenFlow switch.
>>       Is this same with the command line:
>>       ./dpctl adddp nl:0
> This commandline tool ask the switch you just ran to create a datapath.
>>
>>       what's the difference between this two commands?
>>
>>   Thans a lot
>>
>>   Best regards.
>>
>>
>> yang
>> _______________________________________________
>> nox-dev mailing list
>> nox-dev@noxrepo.org
>> http://noxrepo.org/mailman/listinfo/nox-dev
>>
>>
_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev

Reply via email to