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] 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