Hi Carlos,

Justin is right, we use this a lot at Stanford.  The switch is not
coming up right.  Look at

Feb 10 04:53:55|00068|vconn_unix|ERR|/tmp/vconn-unix.1174.8:
connection to /tmp/ofsw failed: No such file or directory

This means the unix domain socket is not created properly.  You should
manually test your OpenFlow switch binary here.  NOX seems to be
behaving.

Regards
KK

On 10 February 2010 07:00, Justin Pettit <jpet...@nicira.com> wrote:
> I assume for by OF1.0, you are referring to the reference implementation at 
> openflowswitch.org, correct?  I'm fairly certain the guys at Stanford are 
> using that codebase to work with NOX, so it should work.  How are you 
> starting NOX and the switches?  You may want to try starting both with the 
> "-v" flag to enable more verbose logging.
>
> --Justin
>
>
> On Feb 10, 2010, at 5:13 AM, Macapuna, Carlos A. B. wrote:
>
>> Hi Martin,
>>
>> Even doing:
>> git clone git://noxrepo.org/nox
>> cd nox
>> "git checkout -b openflow-1.0 origin/openflow-1.0"
>> ...
>> in the installation of NOX, I can not connect to OpenFlow 1.0. This works 
>> for the Open vSwitch with support OF1.0, but not with the OF1.0.
>>
>> In NOX:
>> 00064|openflow|DBG:Passive tcp interface received connection
>> 00065|openflow|DBG:stream: negotiated OpenFlow version 0x01 (we support 
>> versions 0x01 to 0x01 inclusive, peer no later than version 0x01)
>> 00066|nox|DBG:Success sending in 'sending switch config'
>> 00067|nox|DBG:Success sending in 'receiving features reply'
>> 00068|nox|WARN:stream: closing connection due to timeout after 5 seconds in 
>> receiving features reply stat
>>
>> In virtual switch (OpenFlow VMS) with OF-1.0 user space:
>> hda:/cdrom# dpctl  ofdatapath  ofprotocol  runme
>> hda:/cdrom# sh runme
>> ....
>> hda:/cdrom# Feb 10 04:53:49|00063|rconn|INFO|tcp:10.0.2.2:6633: connecting...
>> Feb 10 04:53:49|00064|rconn|INFO|tcp:10.0.2.2:6633: connected
>> Feb 10 04:53:54|00065|rconn|INFO|tcp:10.0.2.2:6633: connection closed by peer
>> Feb 10 04:53:54|00066|rconn|INFO|tcp:10.0.2.2:6633: waiting 15 seconds 
>> before reconnect
>> Feb 10 04:53:55|00067|rconn|INFO|unix:/tmp/ofsw: connecting...
>> Feb 10 04:53:55|00068|vconn_unix|ERR|/tmp/vconn-unix.1174.8: connection to 
>> /tmp/ofsw failed: No such file or directory
>> Feb 10 04:53:55|00069|rconn|WARN|unix:/tmp/ofsw: connection failed (No such 
>> file or directory)
>> Feb 10 04:53:55|00070|rconn|INFO|unix:/tmp/ofsw: waiting 15 seconds before 
>> reconnect
>> ....
>>
>>
>> Regards,
>>
>> --
>> Carlos Macapuna
>>
>> _______________________________________________
>> nox-dev mailing list
>> nox-dev@noxrepo.org
>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>
> _______________________________________________
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>

_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to