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

2010-02-08 Thread kk yap
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 yap...@stanford.edu wrote: Hi Guanyao, From what I know

Re: [nox-dev] [openflow-discuss] openroads support which version of openflow ?

2010-01-26 Thread kk yap
Hi Prateek, I am currently porting LAVI to NOX 0.6 in the openflow-1.0 branch. The OpenRoads version is running NOX 0.5, with OpenFlow 0.8.9. There is nothing about LAVI that is really tied to OpenFlow versions, except the stat messages. What I am doing a rewrite, so it will take a while,

Re: [nox-dev] aggregated flow statistics doesnt support nw_src and nw_dst option.

2010-01-22 Thread kk yap
Hi Guanyao, These questions are more appropriate on openflow-discuss. You might want to raise your bug report to the vendors too. Regards KK 2010/1/22 Guanyao Huang gyhu...@ucdavis.edu: Hi I have two questions. 1, why have people developed both individual flow statistics query and

[nox-dev] Incomplete Webapps in NOX 0.6

2010-01-15 Thread kk yap
Hi, The webserver component in webapps seems to be the core of the components in webapps. It requires a missing component called datamanager. Can someone explain how the webapps works and how we can get datamanager or remove this dependency? Thanks. Regards KK

Re: [nox-dev] Openflow for ipv6

2010-01-12 Thread kk yap
Hi, I believe you should send this email to openflow-discuss or openflow-dev instead, though there is a large overlap in the subscribers. Regards KK 2010/1/12 冯涛 fengtaoem...@gmail.com: Hello, I am trying to extend openflow to support ipv6 and rather than ip protocols, and I want to know how

Re: [nox-dev] Unable to configure nox

2010-01-11 Thread kk yap
Hi, Maybe this might be better. autoreconf -Wno-portability --install -I `pwd`/config --force Regards KK 2010/1/11 Daniel Wagner-Hall n...@illicitonion.com: As a short-term fix, edit boot.sh editing line 97 from: autoreconf -Wno-portability --install -I config --force it reads:

Re: [nox-dev] Nox installation: problem with make check

2010-01-11 Thread kk yap
clone git://noxrepo.org/nox cd nox git cherry-pick 8f34004cbce1bf94965c336502665e72a929612a ./boot.sh ./configure make make check On Mon, Jan 11, 2010 at 4:30 PM, kk yap yap...@stanford.edu wrote: Hi, I believe there is a patch in NOX 0.6 for OpenFlow 1.0.  Looks like that got

Re: [nox-dev] A general question regarding discovery module

2009-12-23 Thread kk yap
Hi Guanyao, I am not sure what you are asking but discovery will not disconnected switches. That can be said with certainty. Regards KK 2009/12/23 Guanyao Huang gyhu...@ucdavis.edu: Some general questions: Will the datapath actively leave the network if it is burdened? Or only

Re: [nox-dev] A general question regarding discovery module

2009-12-18 Thread kk yap
Hi Guanyao, Does no LLDP means no LLDP sent or no LLDP received? Take a look at wireshark. Regards KK 2009/12/18 Guanyao Huang gyhu...@ucdavis.edu: I assume LLDP packets are sent periodically. If there is no LLDP, what will be the most possible reason? The controller or the switch is too

Re: [nox-dev] A general question regarding discovery module

2009-12-18 Thread kk yap
Hi Guanyao, If by huge data, you mean you are jamming the links with data, then yes that could be the issue. The LLDP packet can be dropped and cause intermittent link timeout. Regards KK 2009/12/18 Guanyao Huang gyhu...@ucdavis.edu: In my program the discovery module times out links

Re: [nox-dev] OpenFlow 0x98

2009-12-17 Thread kk yap
release I'm trying to use. Thanks for getting back to me, Daniel On Thu 17/12/09 23:30 , kk yap  wrote:: Hi Daniel, Are you compiling NOX for OpenFlow v0.9?  Basically, I would like to know where and how you got the OpenFlow source. That will help in resolving your question. Regards

Re: [nox-dev] topology

2009-11-23 Thread kk yap
Hi, It seems like there is something about flowdb and LAVI at the moment. I will try to take a look at it within this week. My apologies for the slow reaction. Regards KK 2009/11/23 Arturo Veras a.ve...@gmail.com: hi, did you try LAVI ? i can see the topology but i cannot see the flows.

Re: [nox-dev] More than one action

2009-10-29 Thread kk yap
Hi Chitra, You have to construct a ofp_flow_mod message (specified in openflow.h) and send it to the switch. In NOX, I typically use a boost shared array to hold the message, then it is just a send_openflow_command. I cannot find a very clean segment of code, but you can look at routing.cc for

Re: [nox-dev] New topology: three switches openflow

2009-06-25 Thread kk yap
Hi, Try this configuration. vms.conf--- SWITCHES=s1 s2 s3 s4 s5 s6 s7 s5_SLIRP=yes # interface that connects to host machine VMS=end1 end2 end3 end4 openflow1 openflow2 openflow3 end1_NETS=s1 end2_NETS=s2 end3_NETS=s3 end4_NETS=s4 openflow1_NETS=s5 s6 s7 openflow2_NETS=s1 s2 s6 s5

Re: [nox-dev] Broken dpctl?

2009-06-17 Thread kk yap
Hi Ben, Thanks. Found that version. Regards KK 2009/6/17 Ben Pfaff b...@nicira.com: kk yap yap...@stanford.edu writes: Unfortunately that did not work either.  I see dpctl: unknown command 'dp-show'; use --help for help I looked for dp-show in dpctl.c but did not see anything. Are we

Re: [nox-dev] secchan error: /usr/local/var/run/secchan.1281.ctl (No such file or directory)

2009-06-17 Thread kk yap
Hi, It does not. But why should it? New requirements? Regards KK 2009/6/17 Martin Casado cas...@nicira.com: Stupid guess, but double check that /usr/local/var/run/ exists. Hi, I get this error when running qemu:~# /cdrom/secchan  nl:0 tcp:10.0.2.2:2525 Could not initialize control

Re: [nox-dev] secchan error: /usr/local/var/run/secchan.1281.ctl (No such file or directory)

2009-06-17 Thread kk yap
Hi, For the record of those who search the mailing list, the option is -P, --pidfile[=FILE]create pidfile (default: /usr/local/var/run/secchan.pid) Regards KK 2009/6/17 Martin Casado cas...@nicira.com: That's were secchan appears to be writing to.  My guess is that if you were to build

Re: [nox-dev] Vlog and Syslog

2009-05-06 Thread kk yap
what is the causing NOX to slow down in our deployment. Thanks Regards KK 2009/5/6 Ben Pfaff b...@nicira.com: kk yap yap...@stanford.edu writes: Rob and I was trying to get NOX to log into syslog today.  Rob has tested that syslog does log debug messages but we still fails to see the debug

[nox-dev] Batch insert for SQLite in NOX

2009-02-24 Thread kk yap
Hi, I was wondering how to do batch inserts to SQLite database in NOX. I have managed to do row by row insertion using Sync_transactional_storage. However, there does not seem to have any batch insertion in storage from my grep efforts. Can someone point me to the correct place to hunt? Thank

Re: [nox-dev] Batch insert for SQLite in NOX

2009-02-24 Thread kk yap
, 2009 at 10:35 PM, kk yap yap...@stanford.edu wrote: Hi, I was wondering how to do batch inserts to SQLite database in NOX.  I have managed to do row by row insertion using Sync_transactional_storage.  However, there does not seem to have any batch insertion in storage from my grep efforts

[nox-dev] Fwd: Questions on Location Binding

2009-02-16 Thread kk yap
on Location Binding To: nox-dev@noxrepo.org Cc: kk yap yap...@stanford.edu, Nikhil Handigol nikhil.handi...@gmail.com, Michael Chan mcfc...@stanford.edu, Masayoshi Kobayashi mkoba...@stanford.edu Hi all, I am trying to use Bindings_Storage to retrieve information about which datapath(switch

Re: [nox-dev] FLOW_MOD message ignored

2009-02-15 Thread kk yap
, 2009, at 5:31 AM, kk yap wrote: Hi, I have sent a ofp_flow_mod message, which I verified to be correctly formed using a wireshark to a software reference switch. However, I do not see the flow entry when I do a dpctl dump-flows. The entry is made to be Permanent (both hard and idle timeout

[nox-dev] send_openflow_packet command needs in port?

2009-02-15 Thread kk yap
Hi, I was trying to send an entire packet to some port on an openflow switch. I realized that the send_openflow_packet takes the in port as a parameter. Why is that even needed if I am sending an packet not stored in the buffer of the switch? In my case, where I am sending a packet from

[nox-dev] FLOW_MOD message ignored

2009-02-14 Thread kk yap
Hi, I have sent a ofp_flow_mod message, which I verified to be correctly formed using a wireshark to a software reference switch. However, I do not see the flow entry when I do a dpctl dump-flows. The entry is made to be Permanent (both hard and idle timeout). Can anyone think of a reason why

Re: [nox-dev] nox_core test fails

2009-02-04 Thread kk yap
Hi Kyrialos, If you are using a virtual setup, check your vdeslirp. Regards KK 2009/2/4 kyriakos zarifis kyr.zari...@gmail.com: Hi and thanks for the quick reply yes, I noticed that you answered the same thing only some hours ago. However even if I ignore the test result, I still get the

[nox-dev] Inability to connect more than one switch

2009-01-13 Thread kk yap
Hi, I was running NOX without any external components invoked. With more than one switch connected to it, I have the following error. A hint as to where to narrow down the bug would be nice. Thanks. Regards KK 1|nox|DBG:Starting nox_core

Re: [nox-dev] Inability to connect more than one switch

2009-01-13 Thread kk yap
Hi, I found the bug. It was something about the way I throw an event in nox.cc. Thanks. Regards KK 2009/1/13 Martin Casado cas...@nicira.com: Is this reproducible? Do you have a core file we can poke around in? On Jan 13, 2009, at 2:07 PM, kk yap wrote: Hi, I was running NOX without

[nox-dev] OpenFlow message parsing in noxcore

2008-12-20 Thread kk yap
Hi, I have wanted to received OpenFlow messages received by NOX but it seems that the parsing of the messages are done in nox.cc, openflow-event.cc and some other files. Also, vendor extension stat and flow_stat_reply are not being parsed from what I can see. So, the question is if this

Re: [nox-dev] OpenFlow message parsing in noxcore

2008-12-20 Thread kk yap
the guts of src/lib/ and src/include/. Eventually it would be nice to provide a more flexible framework for adding parsers. How where you thinking of going about it? On Dec 20, 2008, at 4:11 PM, kk yap wrote: Hi, I have wanted to received OpenFlow messages received by NOX but it seems

[nox-dev] NoxBox -- Recommendation

2008-10-24 Thread kk yap
Hi, It may be wise to include the linux-headers package in the noxbox image, so that newer version of OpenFlow and NOX can be compiled for the box. It is difficult to get the header files after a while. Regards KK ___ nox-dev mailing list

[nox-dev] NOX 0x96 (Public Repo) nicira-ext.h missing

2008-10-22 Thread kk yap
Hi, As the subject title mention, we have a missing file. Regards KK ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Re: [nox-dev] NOX 0x96 (Public Repo) nicira-ext.h missing

2008-10-22 Thread kk yap
Hi All, My fault. I forgot to make-clean. It works now. Regards KK 2008/10/22 Martin Casado [EMAIL PROTECTED]: Its in the noxrepo version of openflow. Which openflow are you compiling against? Hi, As the subject title mention, we have a missing file. Regards KK

Re: [nox-dev] Question on ports in noxbox

2008-10-19 Thread kk yap
Hi, I have narrowed out the error in the noxbox (downloaded from the website) to the running of port1 scripts. I was able to get the box working by running some post-mortem fixes. My apology for not debugging the problem and fixing it. Regards KK 2008/10/16 kk yap [EMAIL PROTECTED]: Hi, I

[nox-dev] ofp_match and Flow comparison

2008-09-30 Thread kk yap
Hi, Is there a simple way to compare is a Flow matches a ofp_match? Just seems to me that it should have been used again and again, but I fail to find an function doing that in the Flow struct. Any hints? Thanks in advance. Regards KK ___ nox-dev

[nox-dev] Compiling NOX in CentOS 5

2008-09-21 Thread kk yap
Hi, We are trying to build NOX in CentOS5. The listed packages are basically installed. But we have compilation error as shown below. Any idea of the cause? Thanks Regards KK make all-recursive make[1]: Entering directory `/home/ykk/nox/noxcore' Making all in src make[2]: Entering

[nox-dev] Suggestion for NOX

2008-09-15 Thread kk yap
Hi, Just thought I should summarize my wants about NOX after using it for 3 months. First, I would like to thank everyone for getting me up to speed on NOX. Okay, now for the wishlist. (Caveat: mainly used NOX in C/C++, also only doing mobility stuff in NOX) 1) An explanation of the

[nox-dev] NOX on CentOS

2008-09-15 Thread kk yap
Hi, In the wiki, the installation for the packages for NOX is recommended to be compiled from source. Is there a reason why those in the repositories are not good enough. Thanks. Regards KK ___ nox-dev mailing list nox-dev@noxrepo.org

[nox-dev] Latest Public Repo Broken!

2008-09-08 Thread kk yap
Hi, The latest repo gives the following error. /bin/sh ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../.. -DPKGDATADIR=\/usr/local/share/nox\ -DPKGLIBDIR=\/usr/local/lib/nox\ -DPKGLOCALSTATEDIR=\/usr/local/var/nox\ -DPKGSYSCONFDIR=\/usr/local/etc/nox\ -I

[nox-dev] Pure C/C++ component -- from scratch

2008-08-04 Thread kk yap
Hi, I was trying to create a pure C/C++ component from scratch, and try the guide given at http://noxrepo.org/manual/app.html#building-a-c-only-component. First, the add src/nox/apps/foo/Makefile to the DO_BUILD_CONFIG_FILES_ALL and DO_BUILD_CONFIG_FILES_MED variables. is a little fishy, since

Re: [nox-dev] Segmentation fault when running NOX in amd64 machine

2008-07-16 Thread kk yap
to see if I can recreate the problem. --- Keith On Wed, 2008-07-16 at 11:26 -0700, kk yap wrote: Hi, Attached is the verbose output. The error occurs when the OpenFlow switches are being brought up. The core dump shows the attached. Any advice? Regards KK

<    1   2   3