[nox-dev] problem with installation

2010-08-05 Thread Kiani, Parham
HI I am trying to install noxcore from here(http://www.openflowswitch.org/wk/index.php/OpenRoads) to run LAVI (I git clone git://openflowswitch.org/openroads.git noxcore) I tried with build and without build directory the result was the same as following. It seems problem with swig and

[nox-dev] IPv6 support in openflow or NOX

2010-08-05 Thread Magesh mannar
Dear all Does the openflow or NOX support IPv6 addressing Best regards Magesh ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Re: [nox-dev] IPv6 support in openflow or NOX

2010-08-05 Thread Guido Appenzeller
OpenFlow 1.0 does not have support for IPv6 adressing yet and thus no controller currently has this functionality. There are currently efforts underway to add IPv6 support to OpenFlow in the near future. Once that happens I'd expect NOX support for it to evolve as well. Guido On Aug 5,

[nox-dev] Error compiling nox

2010-08-05 Thread Nikhil Handigol
I'm trying to compile nox destiny branch (commit no. 1df14bf6edbf2de1762dbfd27680e609094d6330) on debian lenny with gcc version 4.4.4. I get the following error: ../../../src/lib/json-util.cc: In function ‘vigil::json_object* vigil::json::load_document(const std::string)’:

Re: [nox-dev] problem with installation

2010-08-05 Thread James Murphy McCauley
Are you running swig = 1.3.37? If so, the easiest thing is probably to downgrade to 1.3.36. What Linux distribution are you on? I didn't think anyone had actually switched to 1.3.37 for exactly this reason... -- Murphy On Thu, 2010-08-05 at 11:07 +0100, Kiani, Parham wrote: HI I am trying

Re: [nox-dev] Error compiling nox

2010-08-05 Thread James Murphy McCauley
I've built on Debian lenny using g++ 4.4.4 or 4.4.5 pulled from sid without running into this. When you installed g++ 4.4.4, did you also get the updated C++ libraries and STL? You might try changing json-util.cc line 50 to: jo = new json_object((const uint8_t *)str.get(), len); -- Murphy On

Re: [nox-dev] Error compiling nox

2010-08-05 Thread Nikhil Handigol
Changing json-util.cc line 50 to: jo = new json_object((const uint8_t *)str.get(), (ssize_t )len); worked for me. Can someone with write permissions push the change to the destiny branch main repository? Thanks, Nikhil On Thu, Aug 5, 2010 at 6:30 PM, James Murphy McCauley jam...@nau.eduwrote:

[nox-dev] [PATCH] Correctly set the NW_TOS wildcard bit.

2010-08-05 Thread romain . lenglet
From: Romain Lenglet romain.leng...@berabera.info Set the OFPFW_NW_TOS bit in the wildcards of a flow definition when no nw_tos attribute is specified, so it doesn't always set nw_tos=0 for the flow in that case. --- src/nox/lib/core.py |1 + src/nox/lib/util.py |6 ++ 2 files

[nox-dev] [PATCH] Add support for setting the TCP binding address.

2010-08-05 Thread romain . lenglet
From: Romain Lenglet romain.leng...@berabera.info Modify the nox_core command line arguments to accept the socket bind address for the ptcp: and pssl: connection methods. This is particularly important for the ptcp: method, as it can help improving security and performance in some cases. For

Re: [nox-dev] Error compiling nox

2010-08-05 Thread kk yap
Ok, I borrowed Nikhil's machine for a quick test. The problem boils down to ssize_t is not int all the time. I will fix that and push it. Thanks. Regards KK On 5 August 2010 20:04, Nikhil Handigol nikh...@cs.stanford.edu wrote: Changing json-util.cc line 50 to: jo = new json_object((const

Re: [nox-dev] Error compiling nox

2010-08-05 Thread James Murphy McCauley
Thanks for looking into this, KK. I was hesitant to push the change without seeing why it was needed in this particular case. Is the system 64 bit? -- Murphy On Thu, 2010-08-05 at 20:39 -0700, kk yap wrote: Ok, I borrowed Nikhil's machine for a quick test. The problem boils down to