[nox-dev] Recieved LLDP packet from unconnected switch

2012-01-14 Thread Theophlius Benson
I'm making the switch from NOX 0.8.0~full~beta (nox_core) to NOX 
0.9.0(zaku)~full~beta


I go zaku from git and have made no modifications.  I'm testing out the 
routing module and noticed that the discovery module is print out some 
weird errors and it is unable to discover any links .  Note, when I do 
switch to the old version .. these links are discovered and routing 
module works appropriately.  The errors are below. Did the format of the 
dpid change between versions?  In the past version the switches had this 
DPID 002347cc4400  but now they have 06d6002347cc4400


00623|openflow-event|DBG:received packet-in event from 06d6002347cc4400 
(len:128)

00624|discovery|DBG:Recieved LLDP packet from unconnected switch
00625|openflow-event|DBG:received packet-in event from 06d6002347cc4400 
(len:34)

00626|discovery|DBG:Recieved LLDP packet from unconnected switch
00627|openflow-event|DBG:received packet-in event from 06d6002347cc4400 
(len:34)

00628|discovery|DBG:Recieved LLDP packet from unconnected switch





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


[nox-dev] IP address prefixing

2012-01-09 Thread Theophlius Benson

Good Morning,

I am trying to install rules into switches to match ip prefixes. For 
example 10.10.23.40/2.  However, the rules i install endup looking like 
this: 0.0.0.0/2.  I'm sure that I'm installing these rules incorrectly.  
Here is a fragment of the code that sets the matching criteria.


 wildcard = (~OFPFW_NW_DST_ALL  (OFPFW_NW_DST_MASK  
dstmask)) | wildcard;

ofm-match.wildcards = htonl(wildcard);
ofm-match.nw_dst=htonl(dstip);

I Can include more fragments of the code if you will find it helpful.
Theo
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev