Re: [nox-dev] Trouble during "make"

2010-07-12 Thread James "Murphy" McCauley
I think this problem is just due to nox 0.5 (in the noxcore repo) not supporting xerces 3. This was addressed in nox 0.6. And in the future, the dependency on xerces will be removed. So any way you slice it -- yes, this has been resolved. If for some reason you really need nox 0.5, you can just

[nox-dev] nox

2010-07-12 Thread huong vu
First of all, I would like to introduce myself that I am Vu Huong, an undergraduate of Faculty of Electronics and Telecommunications, Hanoi University of Technology in Vietnam. I am in charge of researching about NOX in open flow network, such as, module of nox, module that has someone setting up,.

Re: [nox-dev] NOX compilation error

2010-07-12 Thread Nikhil Handigol
HI, Installing libboost-all-dev did the trick for me. Thanks, Nikhil On Mon, Jul 12, 2010 at 11:13 AM, Kyriakos Zarifis wrote: > and I'd try removing the existing libboost package first (looks it's there) > before reinstalling. That's to avoid getting the 'already installed' message > in case o

Re: [nox-dev] NOX compilation error

2010-07-12 Thread Kyriakos Zarifis
and I'd try removing the existing libboost package first (looks it's there) before reinstalling. That's to avoid getting the 'already installed' message in case of a broken installation On Mon, Jul 12, 2010 at 8:04 AM, kk yap wrote: > Hi Nikhil, > > More specifically, you can try libbooost-dev,

Re: [nox-dev] dropping packets

2010-07-12 Thread Ricardo Bennesby
Hi KK and Richard, Thank you for the answers. I understand it better now. Regards. ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Re: [nox-dev] dropping packets

2010-07-12 Thread kk yap
Hi, Yes. return CONTINUE passes it to the next component and return STOP prevents the next component from getting it. This is true for both C/C++ components and Python components. Regards KK On 12 July 2010 10:40, Richard Mortier wrote: > On 12 July 2010 18:19, Ricardo Bennesby wrote: > [ sn

Re: [nox-dev] dropping packets

2010-07-12 Thread Richard Mortier
On 12 July 2010 18:19, Ricardo Bennesby wrote: [ snip STOP vs. CONTINUE examples ] > > Doesn't it mean that the lldp packets are dropped, because no actions are > specified and they are not forward? as i understand it, if the packets end up being processed at the controller (nox_core running pysw

Re: [nox-dev] dropping packets

2010-07-12 Thread Ricardo Bennesby
Hi KK. Thank you for reply. But just to have sure, in the pyswitch.py component there are originally in lines 140-149: * # don't forward lldp packets if packet.type == ethernet.LLDP_TYPE: return CONTINUE # learn MAC on incoming port do_l2_learning(dpid, inport, packet) forward

Re: [nox-dev] dropping packets

2010-07-12 Thread ikf
Hi guys, thanks for the quick responses. I am at home now, so I will try out your suggestions and reply tomorrow. Cheers Iain On Jul 12 2010, kk yap wrote: Hi Ricardo and ikf, Thanks for the refresh. I think ikf was trying to install the flow entry and it is not matching for some reason.

Re: [nox-dev] [installation-problem] undefined refrence

2010-07-12 Thread Waqas Daar
Dear All, I am still getting this error while installing the NOX. I have checked that xerces is installed successfully. You can see the outcome of the previous post. Now I have to set the path of the libraries. I found that libraries are in that path "/home/xerces-c-3.1.1/src/.libs". so I tried to

Re: [nox-dev] dropping packets

2010-07-12 Thread kk yap
Hi Ricardo and ikf, Thanks for the refresh. I think ikf was trying to install the flow entry and it is not matching for some reason. But the refresh is definitely useful. Btw, I am replying just to correct a typo. You should return STOP to drop the packets, not CONTINUE. And do check nox.xml

Re: [nox-dev] dropping packets

2010-07-12 Thread Ricardo Bennesby
Hello ikf. Some months ago I was with a similar issue. I was trying to do a test droping packets. I modified the component called pyswitch.py. This is my post: *Thanks Martin. I was looking the code of pyswitch.py and I found this: # don't forward lldp packets if packet.type == ethernet.LLDP_

Re: [nox-dev] [installation-problem] undefined refrence

2010-07-12 Thread Waqas Daar
I have installed the 'xerces' and the output of the make install command is as follows. make[1]: Entering directory `/home/xerces-c-3.1.1/tests' make[2]: Entering directory `/home/xerces-c-3.1.1/tests' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data

Re: [nox-dev] dropping packets

2010-07-12 Thread kk yap
Hi Iain, Would you might looking at the control traffic dump to let us know if you keeping receiving more packet-in after inserting the flow rule? Also, is there any reason not to set the vlan_pcp? Regards KK On 12 July 2010 07:20, wrote: > Hi guys, > > I don't think I made it clear in the pr

Re: [nox-dev] [installation-problem] undefined refrence

2010-07-12 Thread kk yap
Hi, Check if you have xerces installed correctly. Regards KK On 12 July 2010 07:49, Waqas Daar wrote: > Hello all > I am trying to install NOX 0.6. But when I tried to make it it gives me this > error. > > mv -f .deps/nox_main.Tpo .deps/nox_main.Po > /bin/sh ../libtool --tag=CXX   --mode=link g

Re: [nox-dev] NOX compilation error

2010-07-12 Thread kk yap
Hi Nikhil, More specifically, you can try libbooost-dev, libboost-filesystem-dev and libboost-test-dev. Regards KK On 12 July 2010 03:55, James "Murphy" McCauley wrote: > I am guessing this is a bug in the autoconf boost detection code.  I'd > try the following: > First, apt-get install libboos

[nox-dev] [installation-problem] undefined refrence

2010-07-12 Thread Waqas Daar
Hello all I am trying to install NOX 0.6. But when I tried to make it it gives me this error. mv -f .deps/nox_main.Tpo .deps/nox_main.Po /bin/sh ../libtool --tag=CXX --mode=link g++ -fno-omit-frame-pointer -Wall -Wno-sign-compare -Winit-self -Wformat-nonliteral -Wformat-security -g -O2 -R/usr/

Re: [nox-dev] dropping packets

2010-07-12 Thread ikf
Hi guys, I don't think I made it clear in the previous post. The code in the previous post only gets called when the flow is identified as HTTP. Then I am trying to block that particular flow. I know it would make more sense to write general rule and send the command from the install method. I

[nox-dev] dropping packets

2010-07-12 Thread ikf
Hi Everyone, I am running NOX and openflow on the same machine. I am coding the NOX controller in C++. I am trying to write code to selectively drop packets. For a quick test I tried to write code that would drop HTTP (i.e. tcp dst port 80) packets. The code correctly identifies the HTTP pac

Re: [nox-dev] NOX compilation error

2010-07-12 Thread James "Murphy" McCauley
I am guessing this is a bug in the autoconf boost detection code. I'd try the following: First, apt-get install libboost-all-dev If that doesn't work, try manually setting the boost paths with the appropriate configure options (--with-boost= and friends). If that still doesn't work, could you post

[nox-dev] NOX compilation error

2010-07-12 Thread Nikhil Handigol
I recently tried a fresh NOX installation from the noxrepo git repo on Ubuntu 10.04. "./configure --with-python=yes" fails with an error: "configure: error: Could not link against !" The last few lines of the output are: checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC