[nox-dev] Topology component and FlowVisor.
Hi guys, I've developed a NOX aplication which needs to use the topology component to discover the network topology. I've tested my application in a testbed of 6 Linksys WRT54GL running the OpenWRT Pantou firmware (without flowvisor) and it worked like a charm. Now I'm testing my aplication in a testbed of 5 NEC IP8800/S3640-24T2XW (with flowvisor) and the topology detection isn't working at all (the data struct is empty). Since OpenFlow allows an application to run in different devices I've discarded the fact of using new switches as the cause of the error. Therefore I think flowvisor is causing the topology component not to run properly. Is this possible? Have you experienced any problems with flowvisor and NOX? Thank you. http://homestore.cisco.eu/store/ciscoeu/en_IE/pd/productID.241269400 http://www.openflow.org/wk/index.php/Pantou_:_OpenFlow_1.0_for_OpenWRT http://yuba.stanford.edu/foswiki/bin/view/OpenFlow/Deployment/Vendor/NEC ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
Re: [nox-dev] Topology component and FlowVisor.
Hi Aaron, I'm using the latest version (I think). I downloaded it from the git repository by the command git clone git://noxrepo.org/nox a few days ago. My flowspace consists on tagging all my trafic with a certain VLAN ID (VLAN 13). All the traffic tagged with that VLAN ID belongs to my flowspace. Is it possible that the topology component isn't sending the LLDP frames tagged with the proper VLAN ID? How can I force the topology component to send the LLDP frames tagged with a certain VLAN ID? Thank you. El 12/01/2012 15:33, Aaron Rosen escribió: P.S: Which version of nox are you running? I believe this works fine in destiny. Aaron 2012/1/12 Aaron Rosen aro...@clemson.edu mailto:aro...@clemson.edu Hi, I've encountered an issue like this before with flowvisor and the discovery module. The easiest thing to do is to change the lldp value in ./src/nox/lib/packet/ethernet.py #LLDP_TYPE = 0x88cc LLDP_TYPE = new_value then add this new_value, ether_type to your slice. Hopefully that will do the trick. Aaron 2012/1/12 Sergio Jiménez Feijóo jjji...@gmail.com mailto:jjji...@gmail.com Hi guys, I've developed a NOX aplication which needs to use the topology component to discover the network topology. I've tested my application in a testbed of 6 Linksys WRT54GL running the OpenWRT Pantou firmware (without flowvisor) and it worked like a charm. Now I'm testing my aplication in a testbed of 5 NEC IP8800/S3640-24T2XW (with flowvisor) and the topology detection isn't working at all (the data struct is empty). Since OpenFlow allows an application to run in different devices I've discarded the fact of using new switches as the cause of the error. Therefore I think flowvisor is causing the topology component not to run properly. Is this possible? Have you experienced any problems with flowvisor and NOX? Thank you. http://homestore.cisco.eu/store/ciscoeu/en_IE/pd/productID.241269400 http://www.openflow.org/wk/index.php/Pantou_:_OpenFlow_1.0_for_OpenWRT http://yuba.stanford.edu/foswiki/bin/view/OpenFlow/Deployment/Vendor/NEC ___ nox-dev mailing list nox-dev@noxrepo.org mailto:nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev -- Aaron O. Rosen Masters Student - Network Communication 306B Fluor Daniel -- Aaron O. Rosen Masters Student - Network Communication 306B Fluor Daniel ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
Re: [nox-dev] Topology component and FlowVisor.
Hi Aaron, My application that runs on NOX examines the packets and forwards them keeping the same VLAN ID tag. But how does the topology module tell the switches that they must send the LLDPs with a certain VLAN ID tag? The topology module is independent from my application and I can't controle it. If the topology module sends the LLDPs packets without the proper VLAN tag they won't be forwarded to my controller (because they won't belong to my FlowVisor flowspace). This is just a supposition but I think this may be the cause of the problem. Thank you for your help. El 12/01/2012 16:25, Aaron Rosen escribió: Did you do git checkout -b destiny When the controller sends the LLDP packet it won't have a vlan tag. Once it leaves the switch, the switch will add your tag for you. I don't think that's the problem. Aaron 2012/1/12 Sergio Jiménez Feijóo jjji...@gmail.com mailto:jjji...@gmail.com Hi Aaron, I'm using the latest version (I think). I downloaded it from the git repository by the command git clone git://noxrepo.org/nox http://noxrepo.org/nox a few days ago. My flowspace consists on tagging all my trafic with a certain VLAN ID (VLAN 13). All the traffic tagged with that VLAN ID belongs to my flowspace. Is it possible that the topology component isn't sending the LLDP frames tagged with the proper VLAN ID? How can I force the topology component to send the LLDP frames tagged with a certain VLAN ID? Thank you. El 12/01/2012 15:33, Aaron Rosen escribió: P.S: Which version of nox are you running? I believe this works fine in destiny. Aaron 2012/1/12 Aaron Rosen aro...@clemson.edu mailto:aro...@clemson.edu Hi, I've encountered an issue like this before with flowvisor and the discovery module. The easiest thing to do is to change the lldp value in ./src/nox/lib/packet/ethernet.py #LLDP_TYPE = 0x88cc LLDP_TYPE = new_value then add this new_value, ether_type to your slice. Hopefully that will do the trick. Aaron 2012/1/12 Sergio Jiménez Feijóo jjji...@gmail.com mailto:jjji...@gmail.com Hi guys, I've developed a NOX aplication which needs to use the topology component to discover the network topology. I've tested my application in a testbed of 6 Linksys WRT54GL running the OpenWRT Pantou firmware (without flowvisor) and it worked like a charm. Now I'm testing my aplication in a testbed of 5 NEC IP8800/S3640-24T2XW (with flowvisor) and the topology detection isn't working at all (the data struct is empty). Since OpenFlow allows an application to run in different devices I've discarded the fact of using new switches as the cause of the error. Therefore I think flowvisor is causing the topology component not to run properly. Is this possible? Have you experienced any problems with flowvisor and NOX? Thank you. http://homestore.cisco.eu/store/ciscoeu/en_IE/pd/productID.241269400 http://www.openflow.org/wk/index.php/Pantou_:_OpenFlow_1.0_for_OpenWRT http://yuba.stanford.edu/foswiki/bin/view/OpenFlow/Deployment/Vendor/NEC ___ nox-dev mailing list nox-dev@noxrepo.org mailto:nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev -- Aaron O. Rosen Masters Student - Network Communication 306B Fluor Daniel -- Aaron O. Rosen Masters Student - Network Communication 306B Fluor Daniel ___ nox-dev mailing list nox-dev@noxrepo.org mailto:nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev -- Aaron O. Rosen Masters Student - Network Communication 306B Fluor Daniel ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
[nox-dev] How to get the traffic load of a link. networkstate/linkload.hh get_link_load_ratio() function always returns -1.
Hi, I've been developping a NOX app which needs to get the traffic load of all the links of the openflow switches. I've been trying to do so with the networkstate/linkload.hh functions. Everytime I call the get_link_load_ratio() function with all the propper parameters it returns -1 (as if it wasn't possible to get the link load). I can see in the function definition that get_link_load_ratio() returns -1 when the link speed or the measurement interval are equal to 0. The links whose load I try to measure are connected at 100Mbps so I don't understand the cause of this error. Is there any reason for this function to return -1 in this conditions? Is there another way to get the load of a link? Thank you. ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
Re: [nox-dev] How to uniquely identify an OpenFlow switch? Read serial number from OpenFlow switches.
Hi Aaron, I'm using several Linksys WRT54GL with a variation of the OpenWRT firmware which enables them to run OpenFlow. You can find more info here: http://www.openflow.org/wk/index.php/Pantou_:_OpenFlow_1.0_for_OpenWRT It seems that they run OpenFlow by software and their datapathid changes everytime I boot them. Sergio. El 26/09/11 17:15, Aaron Rosen escribió: What switches are you using that their values change after reboot? There should be a way to get the switch to save this info. Aaron 2011/9/26 Sergio Jiménez Feijóo sergio.j...@gmail.com mailto:sergio.j...@gmail.com Hi, I'm developping a NOX app which among other features estimates the power consumption of all the OpenFlow switches of the network. In order to do this the controller needs to uniquely identify every switch by some sort of serial number or MAC address which would remain constant everytime the app runs. I have to do it this way because different switch models have different power consumption values. I've already tried with datapathid but their values change everytime the switches reboot. I would be very grateful if anyone could tell me if there is any way NOX can uniquely identify a switch. Thanks in advance. ___ nox-dev mailing list nox-dev@noxrepo.org mailto:nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev -- Aaron O. Rosen Masters Student - Network Communication 306B Fluor Daniel ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
[nox-dev] Undefined symbol error running a NOX application. Compiling a NOX app with a linker flag.
Hi everybody, I've spent the last months developping a NOX application. The goal of my app is to dynamically calculate the optimum layer 2 path of OpenFlow switches for a flow between a source PC and a destination PC. The criteria which determines which path should be picked could be anything you want. In my case the criteria is to minimize the total power consumption of all the OpenFlow switches and links of the network. In order find a propper solution which accomplishes the selected criteria I need to use a Linear Programming solver. The GNU Linear Programming Kit (GLPK) library works like a charm for this purpose. I've included the glpk.h library in my header file and the NOX app compiles without errors but when I try to run the app I get an undefined symbol error when the code reaches the glpk library function calls. I think this might be caused because the gcc linker is running without the -lglpk flag. How could I modify the app's makefile to add this missing flag? Thanks for your help. ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev