Re: [nox-dev] Routing module

2009-10-14 Thread Ali Al-Shabibi
Yes that would be my fault, I was not running any traffic when I sent you the example. Here it is: ^C10:58:16 a...@pcepatr39[src]$ sudo ./nox_core -v -i ptcp:2525 routing 1|nox|DBG:Starting nox_core (/opt/nox-0.5.0~full~beta/src/.libs/lt-nox_core) 2|pyrt|DBG:Loading a component

Re: [nox-dev] make check fails Import by filename is not supported

2009-10-14 Thread Pradeep Padala
Alright, I got the Python2.5 package, and compiled it. make check still fails, do I need to pass an option somewhere to make sure that the apps are using Python2.5 instead of the regular python version? ./nox_core -v -i ptcp:2525 monitorsui switchstatsws pyswitch pyauthenticator Fails with the

Re: [nox-dev] make check fails Import by filename is not supported

2009-10-14 Thread Martin Casado
Can you run pyloop to ensure it was compiled against the correct python? badwater:~/nox/noxcore/build/src ./nox_core pyloop NOX 0.5.0~full~beta (nox_core), compiled Oct 13 2009 16:17:43 Compiled with OpenFlow 0x97 (exp) Python 2.5.2 (r252:60911, Jan 4 2009, 18:00:02) [GCC 4.3.2] on linux2 Type

Re: [nox-dev] Routing module

2009-10-14 Thread Ali Al-Shabibi
Should it not also advertise that routing assumes that either spanning tree is running or that the physical topology contains no loops to function correctly. Martin Casado wrote: Ah, I'm starting to understand what is going on. Routing has no notion of subnets, vlans etc. It doesn't operate

Re: [nox-dev] Routing module

2009-10-14 Thread Martin Casado
Perhaps. I think the disconnect is that routing is intended to be an independent component which uses a centralized dynamic all-pairs shortest path algorithm. Not a full replacement for an L3 routing stack (and definitely not a L3 routing stack with VLANs, ARP, and spanning tree). It does

Re: [nox-dev] make check fails Import by filename is not supported

2009-10-14 Thread Pradeep Padala
When I ran that, I found that it's still compiled with python 2.6. Removed all the build files, and recompiled. ppad...@ppadala-desktop:~/noxcore/build/src$ ./nox_core pyloop NOX 0.5.0~full~beta (nox_core), compiled Oct 14 2009 12:59:37 Compiled with OpenFlow 0x97 (exp) Python 2.5.4 (r254:67916,

Re: [nox-dev] make check fails Import by filename is not supported

2009-10-14 Thread Martin Casado
Yeah sorry, I should have mentioned before. The monitorsui component doesn't exist in 0.5. The documentation is updated in git but not online. I would just use pyswitch to begin with. .martin When I ran that, I found that it's still compiled with python 2.6. Removed all the build files,

Re: [nox-dev] make check fails Import by filename is not supported

2009-10-14 Thread Pradeep Padala
Thanks, I can run nox_core with pyswitch and pyauthenticator. I was mainly following the instructions at http://noxrepo.org/manual/vm_environment.html, and was trying From your localhost, you can verify that the switches and hosts are connected by pointing your browser to http://localhost:/;

Re: [nox-dev] make check fails Import by filename is not supported

2009-10-14 Thread Natasha Gude
Hi Pradeep, pytopology has a method get_outlinks thats takes a source datapathid and destination datapathid, and returns a list of all of the port pairs that are connected. This is defined in pytopology.i For example: if datapath 1's ports 5 and 6 are connected to datapath 2's ports 3