Re: [nox-dev] samplerouting problem

2010-02-07 Thread kk yap
Hi, You might want to try ./nox_core -v -i ptcp:6633 sample_routing Looking into meta.xml under src/nox/netapps/routing will give you some clues on how modules depends on one another. Regards KK 2010/2/7 김지훈 : > Hi all, > > I'm newbie:) and I have questions about samplerouting application. > >

Re: [nox-dev] Inquiry a race condition of openflow switches

2010-02-08 Thread kk yap
Hi Guanyao, >From what I know this is not resolved. Do you recall where you heard that this is resolved in NOX 0.5? I put in a component in NOX 0.6 (not available publicly) to install the route/tree in reverse order, i.e., destination first. This is not foolproof either, since there is no guara

Re: [nox-dev] Inquiry a race condition of openflow switches

2010-02-08 Thread kk yap
st switch > installed first, because the packet will hit in this order. > I think this is unresolved, because I occasionally saw this happens. I > guess the only thing we can do is to handle new flow_in event. > > On Mon, Feb 8, 2010 at 7:10 PM, kk yap wrote: >> Hi Guanyao, >

Re: [nox-dev] Using NOX

2010-02-09 Thread kk yap
Hi Josh, As Carlos has mentioned, there is quite a few existing applications like switch and routing that you can use "out-of-the-box". You should try those out. I would also try to write some simple applications. Creating a NOX application is not very easy, but not very hard either. It takes

[nox-dev] Flow_stats_in_event's "more" field

2010-02-09 Thread kk yap
Hi, The Flow_stats_in_event has a boolean field "more". What does that mean and how is it set? Just a random discovery. Regards KK ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Re: [nox-dev] Flow_stats_in_event's "more" field

2010-02-09 Thread kk yap
Yes, I am being ignorant here. But if OpenFlow protocol is over TCP, why should this be done? It is a stream protocol, so any length of message should fit. Regards KK On 9 February 2010 22:22, Martin Casado wrote: > I believe that means more flow stats may be received from the switch for the >

Re: [nox-dev] NOX-6 and OpenFlow 1.0: Do not connect...

2010-02-10 Thread kk yap
Hi Carlos, Justin is right, we use this a lot at Stanford. The switch is not coming up right. Look at Feb 10 04:53:55|00068|vconn_unix|ERR|/tmp/vconn-unix.1174.8: connection to /tmp/ofsw failed: No such file or directory This means the unix domain socket is not created properly. You should ma

Re: [nox-dev] understanding NOX internals

2010-02-16 Thread kk yap
Hi Ashish, I will try to document what I understand in the doxygen when I find some time. For now, in brevity, the Disposition is defined in include/event.hh: enum Disposition { CONTINUE, STOP }; Events are passed in order of the list listed in nox.xml, i.e., components will receive the events

Re: [nox-dev] namespace vigil ?

2010-02-21 Thread kk yap
Assuming there is enough code not pushed upstream into NOX out there, I am personally against name changes like this. The last time someone changed secchan to ofprotocol in OpenFlow, too much work results. Unless someone volunteer to update everyone's code to the new namespace, I see no reason why

Re: [nox-dev] namespace vigil ?

2010-02-21 Thread kk yap
As long as people do not use vigil as a variable. I believe there is more useful things to do with NOX than change the namespace. Are we putting the cart before the horse here? Regards KK On 21 February 2010 23:28, Rob Sherwood wrote: > Question: > > would "#define vigil nox" produce enough ba

Re: [nox-dev] Force the switch to send entire unmatched packet to controller

2010-02-22 Thread kk yap
Hi Muhammad, Which version of OpenFlow are you on? Selective flow expiration is introduced in OpenFlow v1.0. For OpenFlow v0.8.9, you want to go to src/lib/openflow.cc: osc.flags = htons(OFPC_SEND_FLOW_EXP); /* turn on expirations with htons(OFPC_SEND_FLOW_EXP);, turn off with 0 */ For OpenF

Re: [nox-dev] Force the switch to send entire unmatched packet to controller

2010-02-22 Thread kk yap
Oops.. stupid me. Thanks Martin for correcting me. Regards KK On 22 February 2010 10:35, Martin Casado wrote: > I think Muhammed as asking about setting the miss_send_len. > > See lib/openflow.cc, search for miss_send_len. > >> Hi Muhammad, >> >> Which version of OpenFlow are you on?  Selective

Re: [nox-dev] list of events and their handlers

2010-02-23 Thread kk yap
Hi, The doxygen is unfortunately not complete AFAIK. For the record, cd doc/doxygen make html will do what Kyriakos says automatically. A quick list of events would be from event-dispatcher-component.cc. // Register the system events register_event(); register_event(); register

Re: [nox-dev] list of events and their handlers

2010-02-23 Thread kk yap
ery helpful. Similarly, is there a list of > the base components available? > > On Tue, Feb 23, 2010 at 9:20 PM, kk yap wrote: >> >> Hi, >> >> The doxygen is unfortunately not complete AFAIK.  For the record, >> >> cd doc/doxygen >> make html >> &

Re: [nox-dev] Routing with NOX0.6

2010-02-24 Thread kk yap
Hi, What is the motivation for hop-by-hop routing? Does seems novel in some aspects. Regards KK On 24 February 2010 13:52, Martin Casado wrote: > From Natasha: > > "I'm wondering if maybe the server is showing up on hpsw3, and so the packet > is first getting routed there, and then re-routed a

Re: [nox-dev] Routing with NOX0.6

2010-02-24 Thread kk yap
Hi Martin, I do not understand. This should not make a difference, since routing still have calculate a route, for which some OpenFlow switches might be connected directly. Doing it hop-by-hop does not make a difference. What am I missing here? Regards KK On 24 February 2010 13:58, Martin Cas

Re: [nox-dev] Routing with NOX0.6

2010-02-24 Thread kk yap
Hi Martin, I am probably not fully appreciating the problem at hand too. My personal experience is that installing flow entries in the reverse direction (destination to source) and checking if a port is internal before updating host location goes a long time against such race conditions. To some

Re: [nox-dev] A quick question about topology module

2010-02-26 Thread kk yap
Hi Guanyao, Can you elaborate? struct DpInfo is paired with a datapathid using a hash_map and contained the destination datapathid using another hash_map. Finally that points to LinkSet that is a lis to src and dst ports. That information is preserved from what I can see. Regards KK On 26 Fe

Re: [nox-dev] openflow switch VM running sluggishly

2010-02-28 Thread kk yap
Just try giving the switch's VM more memory? -m48 or -m56 should wrok. Regards KK On 28 February 2010 12:10, Muhammad Immad Uddin wrote: > Hi: > > I am currently running the nox and openflow testbed in the following > configuration: > > Debian Lenny running as a VM with 1GB of RAM and 40GB of ha

Re: [nox-dev] My datapath leaves again (HP network)

2010-03-01 Thread kk yap
Hi Guanyao, NOX periodic checks if the switch is still alive by sending an echo request. Basically, your switch did not reply. You should look at the tcpdump to see if you can find the echo reply. If yes, bug people in this list. If no, debug your switch. Regards KK On 1 March 2010 21:34, Gu

Re: [nox-dev] My datapath leaves again (HP network)

2010-03-01 Thread kk yap
Just to be blunt. What is the CPU load of your HP? Regards KK On 1 March 2010 21:42, Guanyao Huang wrote: > Which part defines the time interval for this echo request? I guess > enlarger it will temporarily handle my problem. > > On Mon, Mar 1, 2010 at 9:38 PM, kk yap wrote: &

Re: [nox-dev] My datapath leaves again (HP network)

2010-03-01 Thread kk yap
at 10:07 PM, Martin Casado >>    mailto:cas...@nicira.com>> wrote: >>    >> >>    >>> >>    >>> I wonder if this is a problem with lost echo requests under >>    load ... >>    >>> >>    >>> Can you se

Re: [nox-dev] Component external communication

2010-03-05 Thread kk yap
Hi, Messenger does exactly that (caveat: I wrote it). The component is available on NOX 0.6 openflow-1.0 branch. Would you care to explain your concept of the controller? My idea of controller is very simple, i.e., it controls the network. Regards KK On 5 March 2010 18:25, Alexandre Passito

Re: [nox-dev] Component external communication

2010-03-05 Thread kk yap
Hi Alexandre, I will not speak for Nikhil about Plug-n-Serv. Messenger supports SSL connection if you are running in a non-secure environment. Regards KK On 5 March 2010 19:17, Alexandre Passito wrote: > > > 2010/3/5 kk yap >> >> Hi, >> >> Messenger does

Re: [nox-dev] Questions about NOX event delivery details

2010-03-08 Thread kk yap
Hi Rean, Some comment inline. Hope they are useful. > 2) When NOX delivers an event to a component, is there a way to > access/check the xid associated with the event message or is this > information stripped off by the controller before passing the event onto > the component? > > Looking at the

Re: [nox-dev] Questions about NOX event delivery details

2010-03-08 Thread kk yap
, /* Wrong request length for type. */ OFPBRC_BUFFER_EMPTY,/* Specified buffer has already been used. */ OFPBRC_BUFFER_UNKNOWN /* Specified buffer does not exist. */ Regards KK On 8 March 2010 21:27, Ben Pfaff wrote: > On Mon, Mar 08, 2010 at 09:23:19PM -0800, kk

Re: [nox-dev] Questions about NOX event delivery details

2010-03-09 Thread kk yap
er now. Regards KK On 9 March 2010 09:31, Ben Pfaff wrote: > On Mon, Mar 08, 2010 at 09:32:32PM -0800, kk yap wrote: >> I might be wrong, but from my understanding there is nothing in >> OpenFlow that dictates reliable execution of commands received. > > I'm not aware o

Re: [nox-dev] Questions about NOX event delivery details

2010-03-09 Thread kk yap
Hi, I am taking the rest of this discussion off the list. Drinks with everyone on nox-dev is not very scalable, and I would like to keep this option open. :P Regards KK On 9 March 2010 09:43, Ben Pfaff wrote: > On Tue, Mar 09, 2010 at 09:38:47AM -0800, kk yap wrote: >> > I&#x

Re: [nox-dev] What will nox do with [Malformed packet]

2010-03-11 Thread kk yap
Hi, What switch are you using? And have you looked at the tcpdump of the control channel for packets-in? Regards KK On 11 March 2010 12:23, Guanyao Huang wrote: > Hi > Sorry to bother others. > My program needs to tcpreplay some packets between switches. Since the > trace is from raw IP, I con

Re: [nox-dev] Building nox with older versions of openflow

2010-03-12 Thread kk yap
Hi Tim, In git://noxrepo.org/nox, there is a openflow-0.9 branch. It works with OpenFlow v0.9. I believe routing will not work though, since the flow_mod is not updated. My apologies, I should have backported these from the openflow-1.0 branch. FYI. Regards KK On 12 March 2010 07:53, wrot

Re: [nox-dev] A question regarding Authenticator module

2010-03-12 Thread kk yap
I would like to put forth a "concise rant" here. The short story is that *no one should use flow-in event* and we should deprecate it. I have several reasons for saying so. 1) The flow-in semantics is hard to reason about. We generate a flow-in using packet-in. And if a route cannot be found, t

Re: [nox-dev] A question regarding Authenticator module

2010-03-12 Thread kk yap
Hi, I would suggest using doxygen, since we already have some effort going forward there already. I would be happy to push any documentation patches for doxygen. regards KK On 12 March 2010 14:49, Kyriakos Zarifis wrote: > > > On Fri, Mar 12, 2010 at 2:38 PM, Natasha Gude wrote: >> >> Comment

Re: [nox-dev] Component external communication

2010-03-31 Thread kk yap
X that is compatible > with earlier versions of OpenFlow? > > The problem with the current OpenFlow release is the lack of functionality > that build the kernel module. > > > Best regards > > > 2010/3/5 kk yap >> >> Hi Alexandre, >> >> I will

Re: [nox-dev] Need to the error type of send_openflow_command()

2010-04-05 Thread kk yap
Hi Guanyao,, Did you check for datapath_leave_event and make sure that you do not send commands to invalid datapathid? Seems like that is the problem. Regards KK On 4 April 2010 21:41, Guanyao Huang wrote: > Hi > Sorry to bother others. My program breaks with datapath leaves the > network (HP

[nox-dev] New "destiny" branch -- Do not try it now

2010-04-09 Thread kk yap
Hi, I have just pushed a new branch named "destiny" in git://noxrepo.org/nox. Please do not try to use this because we are making major changes to NOX for the future in this branch. Nonetheless, feel free to track our progress (or sometimes lack of). Regards KK _

Re: [nox-dev] A question about the discovery

2010-04-14 Thread kk yap
Hi ian, If you follow the thread, this proposal was bumped. So, no... the controller sends the LLDP. Regards KK On 14 April 2010 21:41, 曾毓元 wrote: > Thanks Martin, > > So it just to do this work ? and other question, > (Q1) What information will be get? Such as, this switch IP, the > neighbor

Re: [nox-dev] Overriding OpenFlow default settings.

2010-04-29 Thread kk yap
HI DK, If you would send the patch, I would push it. Regards KK On 29 April 2010 19:23, DK Moon wrote: > Hi there, > openflow-default.hh hardcoded SEND_FLOW_REMOVED and DEFAULT_FLOW_TIMEOUT. > Can you please change them so we can override through a compiler option? > Best, > DK > > diff --git a

Re: [nox-dev] Duplicating Work?

2010-05-03 Thread kk yap
Hi Dan, We are working on a NOX console that uses JSON for something like what you mentioned. A prototype of this is available on the OpenFlow v1.0 branch in noxrepo.org. Look at jsonmessenger. Not sure if it fits your needs though. Regards KK On 3 May 2010 06:38, Moore, Daniel H wrote: > Al

Re: [nox-dev] [openflow-dev] ENVI test

2010-05-07 Thread kk yap
Hi all, Let me clarify this a little (I hope). A few things to note: ** Yuba has two type of git access, SSH and gitosis. Think of them as private and public access respectively. And I apologize for the loose instructions on the website. For all public repository, check out http://yuba.stanfo

Re: [nox-dev] using nox as a python api to linux networking stack

2010-05-14 Thread kk yap
Hi Richard, There is a lot of part to your email. I will comment on parts that I have answers to inline. Regards KK On 14 May 2010 12:23, Richard Mortier wrote: > hi; this might not be an expected use but i thought i'd ask about it > anyway...  :)  apologies for the length of the mail. > > i'm

Re: [nox-dev] Nox: Adding multiple action to a flow using c++

2010-05-23 Thread kk yap
Hi Hardeep, this looks correct. Have you looked at the packet sent using wireshark? I would recommend that. Regards KK On 23 May 2010 20:51, Hardeep Uppal wrote: > Hi, > I am writing a Nox module that adds flow into the openflow switch. I have > the module working correctly which adds one act

Re: [nox-dev] Cant run virtual machine for the simple example in the tutorial

2010-06-08 Thread kk yap
Hi, The actual declaration is ordered in xml. xterm should work. Do send me your " 2hosts-2ofsw.vms.xml". Regards KK On 8 June 2010 12:10, Guanyao Huang wrote: > Hi, this is the error: > > gyhu...@leo:~/OpenFlowExample$ xmlstarlet val -e -s > ../openflowvms/xsd/vms.xsd 2hosts-2ofsw.vms.xml >

Re: [nox-dev] Cant run virtual machine for the simple example in the tutorial

2010-06-08 Thread kk yap
As mentioned, the list is ordered. So, I swapped ip and xterm in the host definition, and it works now. Attached is the updated file. Regards KK On 8 June 2010 13:02, Guanyao Huang wrote: > Here is my script. Thank you. > > On Tue, Jun 8, 2010 at 12:32 PM, kk yap wrote: >>

Re: [nox-dev] Nox controller to control mutliple Vlans

2010-06-18 Thread kk yap
Hi Srini, I thought your patch resolved this? Is this the discovery patch that I am sitting on? Regards KK On 18 June 2010 08:38, Srini Seetharaman wrote: > This is a problem caused because NOX uses only the 48 least > significant bits of the datapathid, and in HP switches the datapathid > of

Re: [nox-dev] Event handler ordering not quite working

2010-06-19 Thread kk yap
What is your order on nox.xml? Regards KK On 19 June 2010 18:59, Saurav Das wrote: > Hello, > > I am trying to order the execution of event handlers by changing nox.xml. > Specifically I made the top-most filter for datapath_join_event to be my > component circsw. > The discovery module isn't ev

Re: [nox-dev] Event handler ordering not quite working

2010-06-19 Thread kk yap
Hi Saurav, Put in discovery too. And let us know if that works. Regards KK On 19 June 2010 19:23, Saurav Das wrote: > >     >      circsw >      marie >      eventlogger >      dhcp >      authenticator >     > > On Jun 19, 2010, at 7:16 PM, kk yap wrote: >

Re: [nox-dev] I met a basic problem when testing virtual environment

2010-06-21 Thread kk yap
Hi Guanyao, cc-ed openflow-discuss and I would suggest dropping nox-dev which OpenFlowVMS is not maintained, though experts on it see this list. Give the VM more memory. The switch are not reacting fast enough it seem. That might help. Regards KK On 21 June 2010 15:28, Guanyao Huang wrote: >

Re: [nox-dev] git nox error

2010-06-22 Thread kk yap
What is your command used? Regards KK On 21 June 2010 23:55, 冯涛 wrote: > Hi, > I installed nox by git, but the result was > "Initialized empty Git repository in /home/op/nox/.git/ > fatal: read error: Connection reset by peer" > and then how can I get nox 6.0? > thanks > Tao > __

Re: [nox-dev] git nox error

2010-06-22 Thread kk yap
Hi, Hmm. you are right. That is strange. I will get someone with the permission to take a look. Thanks. Regards KK 2010/6/22 冯涛 : > the command is "git clone git://noxrepo.org/nox" > > 2010/6/22 kk yap >> >> What is your command used? >> >> Re

Re: [nox-dev] lavi integration with NOX

2010-06-23 Thread kk yap
Hi Wenjie, I assume you are talking about the binary formatted LAVI in the openroads branch. Here's a quick run-through of what I see need to be done (probably not at the level of a tutorial): * The LAVI components depends on some changes in the libraries in NOX, e.g. direct OpenFlow messages in

Re: [nox-dev] Issues with multiple OF instances on HP switch

2010-06-28 Thread kk yap
Hi Tim, Depending on which version of NOX you are using, the easiest solution differs. There is the HP firmware Rob mentioned, or I think I might have a patch for NOX-destiny branch (which is pre-pre-alpha) to support 64-bit datapath id. Unfortunately, the patch will not work in earlier versions

Re: [nox-dev] Issues with multiple OF instances on HP switch

2010-06-28 Thread kk yap
Hi Jean, It is pre-pre-alpha. That's an unfortunate no. Anyway, the official branch for GEC is NOX 0.4, which will not have any of these fixes. Regards KK On 28 June 2010 12:13, Jean Tourrilhes wrote: > On Mon, Jun 28, 2010 at 11:42:44AM -0700, kk yap wrote: >> Hi Tim, >

Re: [nox-dev] problem in installation snac contoller

2010-07-04 Thread kk yap
Hi Srini, Is the libboost-filesystem-1.34 dependency artificial or really something the code needs? It would be good to check that. Just because autoconf wants it does not mean it is needed. Regards KK On 4 July 2010 09:05, Srini Seetharaman wrote: >> ar...@parham-lab1:~$ sudo aptitude instal

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

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] 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] 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 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] problem with NOX

2010-07-13 Thread kk yap
Hi Kiani, There is a typo or a mistake in the command. git checkout openflow-1.0 should be git checkout -b openflow-1.0 orgin/openflow-1.0 Regards KK On 13 July 2010 08:55, Kiani, Parham wrote: > Hi Murphy > thanks for your help. I have triyed to install it again, unfortunately, when > i ru

Re: [nox-dev] dropping packets

2010-07-14 Thread kk yap
an see > multiple HTTP packets to and from NEIGHBOR. Any ideas? > > Thanks in advance > Iain > > PS the attached files are just standard text files > > On Jul 12 2010, kk yap wrote: > >> Hi Iain, >> >> Would you might looking at the control traffic dump to l

Re: [nox-dev] dropping packets

2010-07-14 Thread kk yap
 Can you check if there is any packet_out sent too? > > Sorry for my ignorance but I don't quite understand what you mean by > packet_out here. How would I check this? > > Regards > Iain > > > > On Jul 14 2010, kk yap wrote: > >> Hi Ikf, >> >>

Re: [nox-dev] Flow class constructor in include/flow.hh

2010-07-19 Thread kk yap
Depends on how big a rush it was when the code is added too. Note that a lot of code is added during the "big rush" for OpenFlow v1.0, since no one was allocated in advance to update NOX for it then. Regards KK On 19 July 2010 10:22, Ben Pfaff wrote: > On Mon, Jul 19, 2010 at 10:15:57AM -0700,

Re: [nox-dev] Question about NOX and OF switch version

2010-07-22 Thread kk yap
Hi Kate, Comments inline. Regards KK 2010/7/22 오하영 > Hi, my name is Kate. > > I have a question about NOX and OF switch version. > > If I use below command expressed in NOX homepage to install NOX, > > git clone git://noxrepo.org/nox > > Is the NOX version 0.6, right? So is it the controller c

Re: [nox-dev] Question about NOX and OF switch connection

2010-07-22 Thread kk yap
Is slirpvde running? Regards KK 2010/7/22 오하영 > Hi, > > > Even though I followed "Setting Up a Virtual Testing Environment" carefully > in Ubuntu, I couldn't connect btw NOX and OpenFlow like followings. > > > --OpenFlow-- > > . > > . > > > Jul 22 22:18:23|00312|rconn|WARN|tcp:1

Re: [nox-dev] Question about NOX and OF switch connection

2010-07-22 Thread kk yap
o apt-get install vde2 > > sudo apt-get install slirp > > > And specifically, how can I check slirpvde running? > > Thank you, > > > ---Kate > > > > > -Original Message- > *From:* "kk yap" > *To:* "오하영" > *Cc:* nox-dev@

Re: [nox-dev] question about NOX routing application

2010-07-26 Thread kk yap
Check out routing. There is samplerouting in C/C++ and another one in Python. Regards KK PS>> The latest branches have doxygen built in. You can see the components under the class Component for the various applications that come with NOX. On 26 July 2010 07:47, Waqas Daar wrote: > Hi all, > I

Re: [nox-dev] ERR:No outports to set packet actions with.

2010-07-26 Thread kk yap
Hi Waqas, Do not invoke pyswitch, pyrouting and routing simultaneously. One of them will do the job. Start there, it should be better. And do read the source code or documentation. Regards KK On 26 July 2010 08:15, Waqas Daar wrote: > One thing more when I run the NOX with the routing module

Re: [nox-dev] [openflow-discuss] get_route() is not working

2010-07-30 Thread kk yap
Looking at samplerouting.py as example, def install(self): self.routing = self.resolve(pyrouting.PyRouting) self.register_handler(Flow_in_event.static_get_name(), self.handle_flow_in) which make this looks peculiar. def install(self):

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 wrote: > Changing json-util.cc line 50 to: > jo = new json_object((const uint8_t *)str.get(), (s

Re: [nox-dev] NOX packaging issues

2010-08-06 Thread kk yap
Hi, While I am a huge fan of apt-get, I do have some reservation about NOX package at this moment. Researchers want to work with source code. I am not aware of people who want NOX binaries for installation, probably with the exception of Guido. :P Nonetheless, cleaning up the build system woul

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

2010-08-09 Thread kk yap
Hi All, I have pushed both Romain's patches (to branches:openflow-1.0 and destiny) with matching changes to the usage printout. FYI. Thanks Romain for the patches. Regards KK PS>> For those submitting patches, it might help to tar/zip the patches 'cos some email system (e.g. web-based Gmail) c

Re: [nox-dev] problem with installation

2010-08-10 Thread kk yap
Hi Parham, I did not realize you are running the OpenRoads repo. I pushed a "fix" which I cannot test due to the Swig version I have. Do a pull and let me know. Regards KK PS>> I am porting things into destiny branch and the OpenRoads repo will be deprecated soon. FYI. On 10 August 2010 15:2

Re: [nox-dev] Installed flows deleted on datapath_join event?

2010-08-11 Thread kk yap
Hi Zdravko, >From what I understand, what you want is for the first component to get the event and not the second component? If so, the first component has to return STOP and not CONTINUE. Also check nox.xml to make sure about the ordering of the components for each event. Regards KK On 11 Aug

Re: [nox-dev] Installed flows deleted on datapath_join event?

2010-08-11 Thread kk yap
lap) when they are started, which is what currently > happens. I hope this is somewhat clearer... > > Best regards, > Zdravko > > > On 08/11/2010 04:50 PM, kk yap wrote: >> >> Hi Zdravko, >> >>  From what I understand, what you want is for the first comp

Re: [nox-dev] Installed flows deleted on datapath_join event?

2010-08-11 Thread kk yap
ntroller > should connect to the datapath, install some flow entries, and after some > time remove it's flows and disconnect. > > Thanks again, > Zdravko > > On 08/11/2010 05:28 PM, kk yap wrote: >> >> Are you using the FlowVisor?  If so, there is a read-only mode fo

Re: [nox-dev] problem with installation

2010-08-11 Thread kk yap
ending features request: Protocol error > Regards >  parham > > From: yap...@gmail.com [yap...@gmail.com] On Behalf Of kk yap > [yap...@stanford.edu] > Sent: 11 August 2010 18:28 > To: Kiani, Parham > Subject: Re: [nox-dev] prob

Re: [nox-dev] Controller Hardware Requirements

2010-08-13 Thread kk yap
Hi James, Any decent PC should do. The bottleneck is usually not the controller at this point. But for compilation of NOX, I would recommend something that is not low-end, > 3GHz, maybe multicore and > 1 GB of RAM. Just a personal take on it. Regards KK On 13 August 2010 11:46, James Grace w

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

2010-08-13 Thread kk yap
later. Thanks for the heads up nonetheless. Regards KK On 9 August 2010 17:47, kk yap wrote: > Hi All, > > I have pushed both Romain's patches (to branches:openflow-1.0 and > destiny) with matching changes to the usage printout.  FYI. > > Thanks Romain for the patches.

Re: [nox-dev] Nox + Invalid Ethernet Addr

2010-08-16 Thread kk yap
Hi, I am assuming you are running some Python module. Can you tell us which modules you are running? A tcpdump of the controller traffic might help too. Can you also run just switch or routing that as C? Thanks. Regards KK On 16 August 2010 08:19, Michael Jarschel wrote: >  Hi all, > > firs

Re: [nox-dev] Sample application that is interactive

2010-08-25 Thread kk yap
Hi Ian, We have constructed demos that interact with the demos. Or you can look at SNAC. Regards KK PS>> I am wondering what is the correct mailing list for this question, since nox-dev is really mainly used by NOX developers. On 25 August 2010 10:22, Ian Ku wrote: > Hi all, > >   I was wonde

Re: [nox-dev] Sample application that is interactive

2010-08-25 Thread kk yap
nks for the quick response! >>>    Are those demos currently open for download? If so, what are they >>> called and where can I take a look at them:) >>>    SNAC is probably not an option now since I still need to change >>> the logic of my own NOX component, an

Re: [nox-dev] Nox destiny aborts when printing stats

2010-08-30 Thread kk yap
Hi Niky, I believe this is because vlog does not support very long string. The correct patch (IMHO) is to truncate messages that are too long. Unfortunately, I cannot get to a patch until later. If anyone send us a patch, one of us can push it. Else, we will try to get to it. Thanks. Regards K

Re: [nox-dev] Nox destiny aborts when printing stats

2010-08-31 Thread kk yap
e is printed > normally, is this the expected behavior for the destiny branch? > > --niky > > kk yap wrote: >> >> Hi Niky, >> >> I believe this is because vlog does not support very long string.  The >> correct patch (IMHO) is to truncate messages tha

Re: [nox-dev] Nox destiny aborts when printing stats

2010-08-31 Thread kk yap
Just to clarify to everyone, Kyriakos pushed a patch yesterday, so please pull if you want. Regards KK On 31 August 2010 06:15, Kyriakos Zarifis wrote: > Correct, the log messages are indeed split. > (This trunc was happening to the copies of the messages that would be pushed > to the gui, which

Re: [nox-dev] Can you help me about Routing in NOX

2010-09-01 Thread kk yap
Hi Anh Nguyen, It is best to send to the mailing list. To start, you should learn how to create a component and see how switch handles packets. Then look at routing, which should point you to authenticator and topology to understand the input needed for routing. That should get you started. Ho

Re: [nox-dev] Remote controlling NOX modules

2010-09-04 Thread kk yap
Hi Norbert, messenger module in NOX does that. But the functionalities is not exposed to Python. If you are a Swig guru, here's a patch we will accept. Regards KK On 3 September 2010 22:42, Norbert Ambrus wrote: > Hi, > > I was wondering whether there is a possibility to remote control runnin

Re: [nox-dev] Looking for useful event

2010-09-08 Thread kk yap
Maybe someone wants to give this a try: add a port to the OVS switch when it has already started to communicate with the controller. I do not know if OVS allows that. OpenFlow ideally allows port status messages to be sent for such an event, so this question seems switch specific to me. Regards

Re: [nox-dev] discovery

2010-09-08 Thread kk yap
Can someone set me or Kyriakos or Murphy up with a HP to test this? It is not very easy to debug without the ability to replicate the problem. Regards KK On 7 September 2010 03:41, Ali Al-Shabibi wrote: > >>> 1. Creates a lldp packet with the 6 least significant bytes of the dpid >>> as a >>> tl

Re: [nox-dev] Remote controlling NOX modules

2010-09-08 Thread kk yap
; as I have seen, it also blocks the flow after running reactor's run() > command. > I would be glad if you could give me a pointer in the right direction. > > Best regards, > > N. Ambrus > > From: kk yap > To: Norbert Ambrus > Cc: nox

Re: [nox-dev] Remote controlling NOX modules

2010-09-08 Thread kk yap
run() >> command. >> I would be glad if you could give me a pointer in the right direction. >> >> Best regards, >> >> N. Ambrus >> >> From: kk yap >> To: Norbert Ambrus >> Cc: nox-dev@noxrepo.org >> Sent: Sat, September 4, 2010 1:15:0

Re: [nox-dev] Remote controlling NOX modules

2010-09-08 Thread kk yap
Regards KK > On Wed, Sep 8, 2010 at 3:30 PM, kk yap wrote: >> >> Kyriakos, >> >> Do you mind expect the difference between twisted and socket?  I would >> think you need a socket in either case, just using twisted or not. >> Frankly, I prefer commonly used fu

Re: [nox-dev] How can I introduce new NOX module

2010-09-15 Thread kk yap
Hi Guanyao, You are suppose to have Make.vars in the src directory. Is it there? I am curious how xxx/Make.vars got there. Regards KK On 15 September 2010 11:24, Guanyao Huang wrote: > You are right. I forgot to rerun boot.sh and configure. > But it is not successful. It says: > automake: can

Re: [nox-dev] How can I introduce new NOX module

2010-09-15 Thread kk yap
. > > > On Wed, Sep 15, 2010 at 11:33 AM, kk yap wrote: >> >> Hi Guanyao, >> >> You are suppose to have Make.vars in the src directory.  Is it there? >> I am curious how xxx/Make.vars got there. >> >> Regards >> KK >> >> On

[nox-dev] New Release of NOX (Zaku)

2010-09-15 Thread kk yap
Hi All, The NOX team is happy to announce the release of NOX-Zaku (based on the unstable/destiny branch - Sept 15, 2010). This release will replace the current HEAD with the following changes: * Support of OpenFlow v1.0 * Support of messaging with external hosts (messenger) * Preliminary support

Re: [nox-dev] compile error at openflow-0.9 on the new released NOX?

2010-09-17 Thread kk yap
Hi Yoshihiko, Noting the output you attached: git checkout remotes/origin/openflow-0.9 Note: moving to 'remotes/origin/openflow-0.9' which isn't a local branch If you want to create a new branch from this checkout, you may do so (now or later) by using -b with the checkout command again. Example:

Re: [nox-dev] NOX-Zaku support Openflow0.8.9?

2010-09-21 Thread kk yap
Hi Doung, If you do not mind, can you explain the real problem and what your solution is? This will help others with this in the future. Thank you. Regards KK On 21 September 2010 09:47, duong nguyen wrote: > Solved > Thanks, > > 2010/9/18 duong nguyen >> >> sr, I'm wrong >> >> Indeed, openv

Re: [nox-dev] where can I get nox-gui.py?

2010-09-21 Thread kk yap
Hi Duong, Thanks for your interest in my work. cc-ed nox-dev for others' knowledge. Kyriakos is working on the GUI code itself. I think he is planning to push this to the destiny branch. But I will not promise that for him. Kyriakos, would you care to comment? Regards KK On 21 September 20

Re: [nox-dev] where can I get nox-gui.py?

2010-09-21 Thread kk yap
I hope NOX-GUI will be available soon. It sounds great^^. > > 2010/9/22 Kyriakos Zarifis >> >> Hi Duong, >> The plan is indeed to push it to Destiny first as beta and later on to >> Zaku. There will be an announcement so stay tuned >> On Tue, Sep 21, 2010 at 12:02 P

Re: [nox-dev] where can I get nox-gui.py?

2010-09-21 Thread kk yap
NOX as following: > ./nox_core -v -i ptcp: switch lavi > sudo mn --controller remote > I can ping, but ENVI didn't run. > > Regards, > -duongnt > > > 2010/9/22 duong nguyen >> >> Thanks, >> I see. >> I will try it tomorrow, >> >> -duong

Re: [nox-dev] where can I get nox-gui.py?

2010-09-22 Thread kk yap
27;, >> 'dst id': '0003', 'src id': '0002', 'src type': 'switch', >> 'dst type': 'switch', 'dst port': '2'}], 'link_type': 'sw2sw'} to ENVI >> Unhandled b

  1   2   3   4   5   >