Re: [nox-dev] Basic Network Monitor : LAVI and ENVI

2012-03-07 Thread kk yap
Hi You probably missed this... In the link you attached (http://www.openflow.org/wk/index.php/LAVI)... "The latest version of LAVI uses a JSON backend, which has to be translated to work with the binary-formatted ENVI using a translator provided." Regards KK On 7 March 2012 03:47, Hyogi Jung

Re: [nox-dev] Receiving JSON messages

2012-01-29 Thread kk yap
messenger_core|DBG:Copy 22 bytes to message > 00059|messenger_core|DBG:Received packet of length 22 > 00060|jsonmessenger|DBG:JSON message of length 22 > 00061|jsonmessenger|DBG:Message posted as JSONMsg_event > > 00062|jsonmessenger|DBG:JSON: {"type":"disconnect"}

Re: [nox-dev] Receiving JSON messages

2012-01-27 Thread kk yap
Hi Giorgio, Your client is disconnecting before the reply is sent. If you look at nox-console.py, it should be a good example to follow. Regards KK On 27 January 2012 05:12, Kyriakos Zarifis wrote: > A JSONMsg_event is just another NOX event and us such it will either passed > on to all compon

Re: [nox-dev] A couple of questions about simplerouting.

2011-10-23 Thread kk yap
traffic? This is a moot argument until you can be sure what transpired. Regards KK > I doubt that limitation of Pronto 3290 can't make flowtable. > > Any suggestion ? > > > > - 원본 메일 - > > *보낸사람*: kk yap > *받는사람* : Min-Hyup KANG > *참조* : Mu

Re: [nox-dev] A couple of questions about simplerouting.

2011-10-23 Thread kk yap
Hi Min-Hyun, cc-ing the mailing list again. First, try not to email us in private email unless it is truly appropriate. I tend to ignore these emails. Long story short, I do not understand what is "check connectivity". You have to describe your problem more. And I suspect you need to do a lit

Re: [nox-dev] Flow expired events in NOX

2011-10-20 Thread kk yap
Hi, Try changing src/include/openflow-default.hh. Hope this is what you are looking for. Regards KK On 20 October 2011 13:42, Candy Floss wrote: > Thanks for the reply. I'm not running discovery module. The idle time out is > set for 5 secs and the hard timeout is set to 0(i.e. permanent). The

Re: [nox-dev] Accessing TCP sequence numbers on packet-in-events

2011-10-12 Thread kk yap
l the static pull_tcp(..) function defined in flow.cc. Well how > do I include that file? Maybe it's a stupid question, but I'm not so used to > C++. > > Thank you in advance > > 2011/10/11 kk yap >> >> Hi Andrea, >> >> In flow.cc, the flow stru

Re: [nox-dev] Accessing TCP sequence numbers on packet-in-events

2011-10-11 Thread kk yap
Hi Andrea, In flow.cc, the flow struct is defined and that is used to parse the packet-in content. You can get the seq number for tcp_header which is described in packets.h. It should not be hard to parse this, since the packet is parsed for the various headers already. Regards KK On 11 Octobe

Re: [nox-dev] A question about network.graph.hh

2011-10-06 Thread kk yap
Hi, Murphy and Andrea are right. The structure is designed to store a tree, thanks to my need for a "multicast" tree in OpenFlow. So, it is the output and reference to the next switch and the corresponding input port at the next switch. Regards KK On 6 October 2011 07:42, andrea simeoni wrote

Re: [nox-dev] Getting dl_src, nw_src

2011-09-23 Thread kk yap
Hi, nw_src and nw_dst are 32-bit unsigned integers , i.e., binary values of the IP address. This is how ofp_match is defined in OpenFlow. It might help to read the spec for the exact definition. Regards KK 2011/9/23 Min-Hyup KANG > Hi All, > > > I would like to get dl_src, nw_src in void >

Re: [nox-dev] Debugging call for help: Assertion '_M_ptr != 0'

2011-09-23 Thread kk yap
Hi Christian, I need to take a deeper look to give any constructive comment but your use of auto_ptr should be at fault. This can be a memory allocation problem. As Murphy hinted on, you might want to use the facilities available in NOX to help rather than write everything on your own. For examp

Re: [nox-dev] Running Lavi

2011-09-20 Thread kk yap
File "/usr/lib64/python2.7/site-packages/simplejson/decoder.py", line 418, > in raw_decode >     obj, end = self.scan_once(s, idx) > ValueError: end is out of bounds > > > > On Wed, Sep 21, 2011 at 12:00 AM, kk yap wrote: >> >> Hi Aaron, >> >> LAV

Re: [nox-dev] Running Lavi

2011-09-20 Thread kk yap
Hi Aaron, LAVI in the zaku branch uses a new JSON format and a different port. nox-gui.py in the destiny branch is another example. More is said here: http://www.openflow.org/wk/index.php/LAVI Regards KK On 20 September 2011 15:09, Aaron Rosen wrote: > Hello, > I was thinking about writing a

Re: [nox-dev] NOX routing question

2011-09-20 Thread kk yap
cool. Regards KK On 20 September 2011 13:49, danderson415 wrote: > I see. So if I set up ARP entries statically using arp command, the ping > should work, right? > Thanks for your prompt reply. > David > On Tue, Sep 20, 2011 at 4:30 AM, kk yap wrote: >> >> Hi David, >

Re: [nox-dev] NOX routing question

2011-09-20 Thread kk yap
Hi David, AFAIK the information on the mailing list has been fairly consistent. The answers then to differ depending on what you mean by a basic router. So your confusion is understandable. If you want to "route" between two points in the network, i.e., inserting all the flow rules on the affect

Re: [nox-dev] Get a new Datapath ID?

2011-09-12 Thread kk yap
Hi Shrutarshi, I am not sure why you would need to get the IP address on the switch so as to write a NAT application. The IP address assigned to the switch/NAT box can be logical (i.e., the controller knows about it and not the switch). The rewriting of the IP addresses, transport ports, etc. ar

Re: [nox-dev] How to send request and fetch reply

2011-08-10 Thread kk yap
Hi Ali, You can take a look at the datapathmem component. I suspect that does most of what you want. Regards KK On 10 August 2011 02:10, ali ahmad wrote: > > Can u please tell me how to do coding for this because i am new to this .If > not possible that than please do give me the links of any

Re: [nox-dev] How to send request and fetch reply

2011-08-09 Thread kk yap
Just listening for datapath_join_event. NOX send OFPT_FEATURES_REQUEST when a switch connects and the OFPT_FEATURES_REPLY is contained in the datapath_join_event. Regards KK On 9 August 2011 09:38, ali ahmad wrote: > Hy! >    I want to know, what's the procedure to send a request to controller

Re: [nox-dev] Adding a new C component

2011-08-04 Thread kk yap
Hi Andrea, Do note that I never did really complete that page thus the sentence "This tutorial is in the makings..." at the very start. Anyway, you should run ./boot.sh in the root directory and ../configure.sh in the build directory. As for the error, that's because you already ran configure.sh

Re: [nox-dev] Change the destination of packets

2011-07-25 Thread kk yap
t helps to find the problem. > Best Regards. > 2011/7/25 kk yap >> >> There are no OpenFlow control traffic in both.  In fact, the second >> file is empty? >> >> Regards >> KK >> >> On 25 July 2011 07:30, Ricardo Bennesby >> wrote: &g

Re: [nox-dev] Change the destination of packets

2011-07-25 Thread kk yap
or help. > Best Regards. > > 2011/7/24 kk yap >> >> I mean a tcpdump of the control traffic.  Not datapath.  :) >> >> On 24 July 2011 10:04, Ricardo Bennesby >> wrote: >> > Hi. The tcpdump .pcap file the print of a dump-flows command are >> &

Re: [nox-dev] Change the destination of packets

2011-07-24 Thread kk yap
_addr("10.0.0.2"); > In past discussions in the list, was said that openflow does routing in > Layer 2. Is this a cause of destination IP does not change? Or am I missing > something? > Thank you very much for help. > Best Regards. > > 2011/7/21 kk yap >> >>

Re: [nox-dev] handle_flow_route Event

2011-07-21 Thread kk yap
t occur? " > I guess the answer is when there is a flow mod to the host. You can verify by doing a grep to see which component post the event. Hope this is useful. Regards KK > for example handle_req handling JSON event occur, when lavi receive json > message from envi. >

Re: [nox-dev] handle_flow_route Event

2011-07-21 Thread kk yap
"One of the lavi component (though I forgot which one) will listen for > that event and send a message to ENVI. " > > > > > > so, I don't know flow_route_event is run at some point in lavi_hostflow.cc > > can you give me some tips ? > >

Re: [nox-dev] handle_flow_route Event

2011-07-21 Thread kk yap
; > register_handler > > (boost::bind(&lavi_flows::handle_req, this, _1)); > > > Disposition lavi_flows::handle_req(const Event& e) > > { > > const JSONMsg_event& jme = assert_cast(e) > > > > > Thanks, > > > - 원

Re: [nox-dev] Change the destination of packets

2011-07-21 Thread kk yap
.47.1 (192.168.47.1), Dst: 192.168.47.2 > (192.168.47.2) > > The MAC adress is of host with IP 10.0.0.2. So the dataframes arrive in this > host. But the destination IP continues without midifications. > Any suggestion? > Thank you very much. > Best Regards. > 2011/7/21 kk yap >>

Re: [nox-dev] handle_flow_route Event

2011-07-21 Thread kk yap
Hi, This is a standard procedure in NOX. You need to include the header file for the definition of the event, then create the event, populate it and post it. One of the lavi component (though I forgot which one) will listen for that event and send a message to ENVI. Look at lavi_hosts (I think)

Re: [nox-dev] Change the destination of packets

2011-07-21 Thread kk yap
Hi Ricardo, Try matching on the old IP, then rewrite to the new IP. Regards KK On 20 July 2011 14:50, Ricardo Bennesby wrote: > Hi all. I would like to forward packets from one host to another. > I have the following topology: >    c0              c0 >     |                 | >    s3---

Re: [nox-dev] A discovery question

2011-07-14 Thread kk yap
Oops.. I read the GENI document again, and Murphy is right in that the multicast address is different here. My apologies. This address will be forwarded by mac bridges though. Won't this be risking a broadcast storm? Am I missing something again? Regards KK On 14 July 2011 13:23, k

Re: [nox-dev] A discovery question

2011-07-14 Thread kk yap
I believe OFDP uses LLDP as Kyriakos mentioned. So, there is no real difference here. As for the question of discovering a "link" between two OpenFlow switches connected by a non-OpenFlow switch, the link will be discovered if the switch does not process LLDP and thus pass it on. Else, the interm

Re: [nox-dev] Error in send a string using messenger component

2011-06-25 Thread kk yap
ger|DBG:me.msg->length: 512 and sizeof(messenger_msg)+1: 9 > 00087|messenger|DBG:Received string ��Q� > > The string "Test" is not printed. It shows ��Q� instead. What am I doing > wrong? Is it the length of the message that I am setting doing mymsg.length > = (sizeof(messeng

Re: [nox-dev] Error in send a string using messenger component

2011-06-18 Thread kk yap
Hi Ricardo, You might want to add a length and type in front of the string. :) Regards KK On 18 June 2011 14:46, Ricardo Bennesby wrote: > Hi. > > I am writing component in C++ that uses messenger component. > > I have a client function that send a string to the own component. As > follows: >

Re: [nox-dev] NOX architecture schemes

2011-06-17 Thread kk yap
is the provided wide-view, and > what is the API (functions and variables) provided by components that I can > access to retrieve such information. > > > Please tell me if I'm getting wrong in some reasoning step. > > > Thank you > > > > > 2011/6/16 kk yap

Re: [nox-dev] NOX architecture schemes

2011-06-16 Thread kk yap
by main components is completely missing. > Now I'm working to produce such high level scheme, and to develop some > use-cases diagrams showing the functionality actually provided by NOX > components. > > If I'll produce something useful I'll be glad to share it. &g

Re: [nox-dev] NOX architecture schemes

2011-06-16 Thread kk yap
Hi Andrea, I am assuming you are trying to get started on NOX with the description? I had a short introduction to NOX a while back (which can be outdated), since I am fairly out of touch. You can check it out here https://docs.google.com/present/view?id=dfsbt2qf_327f9688ngr&ncl=true.. Maybe you

Re: [nox-dev] [openflow-discuss] LAVI : Installing a sample flow in a open flow switch using NOX

2011-06-02 Thread kk yap
Hi, Starting with a rant: I believe this is related (or the same) as the thread on nox-dev (http://noxrepo.org/pipermail/nox-dev/2011-June/007611.html). It might be advisable not to cross-post questions. To be clear, LAVI is a GUI backend in NOX. And nox-gui.py and ENVI are the front end GUI.

Re: [nox-dev] nox_core command line options

2011-06-02 Thread kk yap
This? :) http://noxrepo.org/~yapkke/doc/classnox_1_1lib_1_1core_1_1Component.html Regards KK On 2 June 2011 00:45, Murphy McCauley wrote: > Oh, great thought, KK! > > Note, however, that this does not show Python-only components. > > -- Murphy > > On Jun 2, 2011, at 1

Re: [nox-dev] nox_core command line options

2011-06-02 Thread kk yap
For list of components, you can try this: http://noxrepo.org/~yapkke/doc/classvigil_1_1container_1_1Component.html Regards KK On 2 June 2011 00:36, Murphy McCauley wrote: > Probably the best resource is on the wiki: > http://noxrepo.org/noxwiki/index.php/Using_NOX > > There is also a little ab

Re: [nox-dev] Nox Application with dijkastra

2011-05-25 Thread kk yap
Sorry. None of this make sense to me. This is my understanding of how the modules work in NOX: * The spanning tree module calculates the spanning tree and set the flood bits for the port config accordingly. That's all it does. No path calculation, etc. * And the routing module is really just

Re: [nox-dev] Res: Nox Application with dijkastra

2011-05-19 Thread kk yap
Hi, I am not sure what is meant by OSPF here. Routing_module uses the method described in "A New Approach to Dynamic All Pairs Shortest Paths" by C. Demetrescu. A little more description can be found in the documentation: http://noxrepo.org/~yapkke/doc/classvigil_1_1applications_1_1Routing__mod

Re: [nox-dev] host deathentication

2011-05-06 Thread kk yap
t > could just timeout after five minutes of inactivity like it does now. If > it > responds to an ARP once, we could periodially check that it still does -- > if > it goes silent, assume it's gone. > > -- Murphy > > On Thursday, May 05, 2011 06:03:24 PM kk yap wrote: &

Re: [nox-dev] host deathentication

2011-05-05 Thread kk yap
Yeah, hosttracker simply timeout. To the best of my knowledge, there is no good way to ensure the host is there or not if it is completely silent. You can try sending an icmp echo request but that is not guaranteed to work all the time either. Regards KK On 5 May 2011 17:40, Murphy McCauley wr

Re: [nox-dev] strange ethernet type returned by authenticator

2011-05-02 Thread kk yap
One thing that I never got to doing is to change all the parsing to go through the openflow-pack library which will fix the byte order issue. If someone would do that, it would be a great service to people using NOX. Regards KK On 2 May 2011 10:48, Murphy McCauley wrote: > So I'm not sure if th

Re: [nox-dev] [openflow-discuss] Pyswitch & VLAN

2011-04-27 Thread kk yap
Hi Max, Something like this? http://noxrepo.org/noxwiki/index.php/Main_Page http://noxrepo.org/~yapkke/doc/ Regards KK On 27 April 2011 00:15, Max Ott wrote: > > On 26/04/2011, at 4:20 PM, kk yap wrote: > >> Hi Max, >> >> Can you elaborate on what you mean by pysw

Re: [nox-dev] QoS in OpenFlow/Nox

2011-04-26 Thread kk yap
Hi Nauman (and Yiannis), I am not up-to-date with NOX. But I did previously push support for all OpenFlow v1.0 messages, which includes whatever support OpenFlow provides to queues. That would exclude configuration of the queue, but include how to forward packets into queues. That support is i

Re: [nox-dev] [openflow-discuss] Pyswitch & VLAN

2011-04-25 Thread kk yap
Hi Max, Can you elaborate on what you mean by pyswitch being aware or unaware of VLAN? Do you expect the switch to rewrite the VLAN so that hosts on different VLAN can ping each other? Regards KK On 25 April 2011 22:44, Srini Seetharaman wrote: > Hi Max > This mail is more appropriate for the

Re: [nox-dev] 00005|nox|ERR:Application

2011-04-01 Thread kk yap
Try editing configure.ac.in and rerunning ./boot.sh, ../configure and make. Regards KK On 1 April 2011 01:30, Kyriakos Zarifis wrote: > Hey, > you only need to rebuild NOX the first time you introduce a new python > component (after following the instructions on the wiki), so that the links > ar

Re: [nox-dev] Have any application in NOX supports multicast?

2011-03-27 Thread kk yap
Hi Jen-Wei, OpenFlow 1.1 (implemented) is released, so it is quite final for me. Also, if you are not constrained to using the group semantics (in OpenFlow 1.1), you can do multicast by listing all the ports you want to multicast to in the flow_mod command. If you are looking for IGMP multicast

Re: [nox-dev] Flow collection- error

2011-03-22 Thread kk yap
forgot to paste that... >>>>   fsie is from Flow_stats_in event, declared in a >>>> handle_flow_stats_in method (a handler): >>>> >>>> Disposition newcomp::handle_flow_stats_in(const Event& e){ >>>>     const Flow_stats_in

Re: [nox-dev] Flow collection- error

2011-03-21 Thread kk yap
t;table_id: %"PRIu8,tid); >>>> >     } >>>> > >>>> > But now only number of flows and duration in seconds are non-zero: >>>> > >>>> > 00238|newcomp|DBG:Size of flows: 2 >>>> > 00239|newcomp|DBG:i value: 0 >&g

Re: [nox-dev] Flow collection- error

2011-03-20 Thread kk yap
41|newcomp|DBG:packet_count: 0 > 00242|newcomp|DBG:priority: 0 > 00243|newcomp|DBG:byte_count: 0 > 00244|newcomp|DBG:length: 0 > 00245|newcomp|DBG:table_id: 0 > 00246|newcomp|DBG:i value: 1 > 00247|newcomp|DBG:duration_sec: 7 > 00248|newcomp|DBG:packet_count: 0 > 00249|newcomp|D

Re: [nox-dev] Flow collection- error

2011-03-20 Thread kk yap
dn't work. Nothing > was printed about the packets > > request.match.wildcards = ntohs(0x); -> the same that happened with > htons > > request.match.wildcards = ntohl(0x); -> the same result of use htonl > > Sorry kk, but still I missing something?

Re: [nox-dev] Flow collection- error

2011-03-20 Thread kk yap
Hi Ricardo, Did you consider network/host byte order? Regards KK On 20 March 2011 10:01, Ricardo Bennesby wrote: > Hi. > > I am running a C++ component that prints statistics of flows collected in > switches with the flow_stats_in_event. > I am also running the dpctl dump-flows command in minin

Re: [nox-dev] different between ofdatapath and dpctl

2011-03-09 Thread kk yap
Hi, You have to write your own controller components for this. From what I remember, NOX does not ship with standard components that is "full IP routing". I might be wrong. Regards KK 2011/3/9 杨宇 : > Hi kk yap, > Thanks for your reply. > These days, I read a

Re: [nox-dev] different between ofdatapath and dpctl

2011-03-09 Thread kk yap
the 004E46324304 is the datapath , is that true ? > > > > 发件人: kk yap > 发送时间: 2011-03-09 22:34:50 > 收件人: 杨宇 > 抄送: nox-dev > 主题: Re: [nox-dev] different between ofdatapath and dpctl > Hi, > Comments inline. > Regards > KK > 2011/3/9 杨宇 : >> hi, all >>

Re: [nox-dev] different between ofdatapath and dpctl

2011-03-09 Thread kk yap
Hi, Comments inline. Regards KK 2011/3/9 杨宇 : > hi, all >when I follow the tutorial in the page > "http://www.openflow.org/foswiki/bin/view/OpenFlow/Deployment/HOWTO/LabSetup > " >there is a command line: > # ./udatapath/ofdatapath --detach punix:/var/run/dp0 -d 004E4632430

Re: [nox-dev] Setting Up a Virtual Testing Environment

2011-03-09 Thread kk yap
, Ramana Reddy wrote: > Thanks kk yap. I will do that. But when I used existing hda.dsk with my new > compiled kernel.bin, it is giving kernel panic. Does both hda.dsk and > kernel.bin > are related to each other ( i.e., works only on debain based machines), > otherwise, > can I use exi

Re: [nox-dev] Setting Up a Virtual Testing Environment

2011-03-09 Thread kk yap
Hi Ramana, You can go into the provided hda.dsk and update that (using vms-qemu-run.py). The creation of hda.dsk is a little complicated and platform specific---here being Debian. Regards KK On 9 March 2011 02:49, Ramana Reddy wrote: > Yaa, I tried and succeeded  with provided hda.dsk and kern

Re: [nox-dev] ARP, MAC Address of switches

2011-03-01 Thread kk yap
Hi Sriram, The hw_addr is that of the switch ports. If you look at the switch_features message, there is an entire array of the ofp_phy_port. The datapathmem component (from zaku on) does keep track of this and handles port_status to update it too. FYI. Regards KK On 1 March 2011 12:41, Srira

Re: [nox-dev] The difference between GUI and ENVI

2011-02-28 Thread kk yap
At this point, I think the converse is true. But I am not sure. Regards KK 2011/2/28 谢峰 : > Thanks KK, > So the new GUI is more widely used than ENVI? > > XieFeng > 2011/3/1 kk yap >> >> Hmmm... >> >> I feel obliged to comment briefly here. LA

Re: [nox-dev] The difference between GUI and ENVI

2011-02-28 Thread kk yap
Hmmm... I feel obliged to comment briefly here. LAVI and ENVI grew out of the need for visualization during =our demonstrations. The original version uses a binary protocol that is similar to the OpenFlow protocol, for ease of hacking. After some time, LAVI was moved to a JSON based protocol, a

Re: [nox-dev] Sending arp packets

2011-02-16 Thread kk yap
Hi, There are many ways to do this and none of this is particularly more appealing. If you are using Python, you can try dpkt or scapy. Handcrafting it is not that bad for ARP either. If you are using C/C++, I do not know of nice libraries to use here so anyone who has any idea can educate me to

Re: [nox-dev] Timestamp update on pyswitch

2011-01-26 Thread kk yap
one can either not timeout the entry (like the switch module) or just > set a default timeout value. > > Hope this helps, > Niky > > On 1/26/11 5:56 PM, kk yap wrote: >> >> Hi, >> >> I am lost in this conversation.  While I can go and read the code, can &g

Re: [nox-dev] Timestamp update on pyswitch

2011-01-26 Thread kk yap
Hi, I am lost in this conversation. While I can go and read the code, can someone explain this to people on the list? I can figure out why entries will timeout quickly. Regards KK On 26 January 2011 14:49, Niky Riga wrote: > I am not exactly sure what you mean about L3 flows, I am guessing yo

Re: [nox-dev] pytopology patch

2011-01-20 Thread kk yap
Pushed. Regards KK On 20 January 2011 17:13, Nikhil Handigol wrote: > Hi KK, > Here's the new patch generated with git-format-patch. Please let me know if > this works. > -/\/ > > > On Fri, Jan 14, 2011 at 10:53 AM, kk yap wrote: >> >> Please use git-form

Re: [nox-dev] Problem about the action_list on the 1st packet

2011-01-18 Thread kk yap
Good to know. Regards KK On 18 January 2011 20:01, Kyle Wang wrote: > I forgot this, thanks very much, it does work. > > On Wed, Jan 19, 2011 at 11:18 AM, kk yap wrote: >> >> If you want that, you should not have >> >>        ofm.buffer_id = htonl(-1); >>

Re: [nox-dev] Problem about the action_list on the 1st packet

2011-01-18 Thread kk yap
ry, cannot be handled as I wanted, because when I captured from the > host connected to the assigned out_port, the destination MAC address of the > 1st packet was not modified, while others were correctly modified. > > On Wed, Jan 19, 2011 at 3:38 AM, kk yap wrote: >> >> Hi

Re: [nox-dev] Problem about the action_list on the 1st packet

2011-01-18 Thread kk yap
Hi Kyle, It might help to explain "it seemed to be not work". Did NOX segfault as a result? Was the a OpenFlow flow_mod sent? Was an error received? What switch are you using? These would be useful information. Regards KK On 18 January 2011 04:15, Kyle Wang wrote: > Hi, > how can I use fun

Re: [nox-dev] [POSSIBLE VIRUS:###] Re: Using flow fetcher

2011-01-18 Thread kk yap
wrote: > Hi, > I came back to this issue today. Please, can you tell me what have to be > done to clean up flow fetcher? > Sorry to bother. > Thanks. > > 2011/1/11 Paulo César >> >> Thanks. >> >> 2011/1/11 kk yap >>> >>> Hi Paulo,

Re: [nox-dev] [openflow-discuss] Running multiple FlowVisors and NOX Controllers on a single machine

2011-01-17 Thread kk yap
A quick cross-post for archival in nox-dev. Thanks Josh. Regards KK On 17 January 2011 08:08, Josh Smift wrote: > I don't know much about the details, but I think that as long as you > specify different --info and --pid files, you should be ok. I've written > an init.d script specifically inten

Re: [nox-dev] Handling corrupted TCP header

2011-01-15 Thread kk yap
: > Hi KK > The patch looks right. I will push that to SNAC too. > > Thanks > Srini. > > On Fri, Jan 14, 2011 at 10:47 AM, kk yap wrote: >> Okay, I think the high level point is we should expose malformed >> packets and let others decide how to handle it.  Can some

Re: [nox-dev] pytopology patch

2011-01-14 Thread kk yap
\/ > > > On Fri, Jan 14, 2011 at 10:39 AM, kk yap wrote: >> >> Hi Nikhil, >> >> That did not work. >> >> ykk@kk-alien:~$ git am pytopology_destiny.patch >> Patch format detection failed. >> >> Regards >> KK >> >> On 1

Re: [nox-dev] Handling corrupted TCP header

2011-01-14 Thread kk yap
t does not say >> "don't generate pkt_in, if there is no match"). So the switch >> just follows the default behavior, i.e., pkt_in will be generated. >> >> I would expect the reference design also does the same. >> >>  Masa >> >> On 01/13/2

Re: [nox-dev] pytopology patch

2011-01-14 Thread kk yap
Hi Nikhil, That did not work. ykk@kk-alien:~$ git am pytopology_destiny.patch Patch format detection failed. Regards KK On 13 January 2011 20:44, Martin Casado wrote: > Awesome, thanks Nikhil. > > Hi, > I have added 2 new functions to pytopology that makes it more useful/usable: > * get_datapa

Re: [nox-dev] Handling corrupted TCP header

2011-01-13 Thread kk yap
E action (it does not say > "don't generate pkt_in, if there is no match"). So the switch > just follows the default behavior, i.e., pkt_in will be generated. > > I would expect the reference design also does the same. > >  Masa > > On 01/13/2011 06:38 PM, kk

Re: [nox-dev] Handling corrupted TCP header

2011-01-13 Thread kk yap
the action of pkt_out is "OFPP_TABLE". > (the packet in pkt_out does not match to the entry that is installed by > flow_mod, since the matching entry says nw_proto=0). > >  Masa > > On 01/13/2011 06:06 PM, kk yap wrote: >> >> Hi Srini, >> >> I thou

Re: [nox-dev] Handling corrupted TCP header

2011-01-13 Thread kk yap
matching flow table > entry, >    because there is a mismatch on the nw_proto field > 7. Switch generates a new pkt_in event > 8. Go to step (2) > > This is the infinite loop. > > Srini. > > On Thu, Jan 13, 2011 at 1:08 PM, kk yap wrote: >> Hi Srini, >&g

Re: [nox-dev] C++ Posting Timer Error

2011-01-13 Thread kk yap
Good to know. Thanks. Regards KK On 13 January 2011 15:48, Ricardo Bennesby wrote: > Hi KK. > You are right, that line was causing the error, cause it was already defined > as you said. Now it is working. > Thanks a lot. > > 2011/1/13 kk yap >> >> Hi Rica

Re: [nox-dev] C++ Posting Timer Error

2011-01-13 Thread kk yap
Hi Ricardo, Why was this needed? Timer post(const Timer_Callback&, const timeval& duration) const; If you look at http://noxrepo.org/manual/app.html#posting-timers, this is already defined. Would the example code posted work? Regards KK On 13 January 2011 15:30, Ricardo Bennesby wrote: >

Re: [nox-dev] Handling corrupted TCP header

2011-01-13 Thread kk yap
We don't know who sent it, but it came from outside our network. If it > is easy to take down a network by just sending 1 invalid packet, I'd > be worried! > > On Thu, Jan 13, 2011 at 10:59 AM, kk yap wrote: >> Hi Srini, >> >> What is this packet?  The length

Re: [nox-dev] Handling corrupted TCP header

2011-01-13 Thread kk yap
Hi Srini, What is this packet? The length of TCP is zero?!?! I wish to understand the circumstance for which we are getting the packet before commenting on the right way to handle this. Regards KK On 13 January 2011 10:38, Srini Seetharaman wrote: > When someone sends the attached packet to

[nox-dev] Overview Slides for NOX

2011-01-12 Thread kk yap
Hi, A "quick" overview of NOX was prepared for a class in Stanford. These slides are made publicly available via GoogleDoc (http://tinyurl.com/noxreview). These might be useful for those who want a quick overview of NOX and get started on it. Hope people do find it useful. Regards KK

Re: [nox-dev] Contributing to Nox

2011-01-12 Thread kk yap
a couple of fields were missing (reason and priority). I added these to > the event > struct and changed python's flow removed callback generator to give these > new parameters. > > -Derek > > On 01/12/2011 04:43 AM, kk yap wrote: >> >> Hi Derek, >> >&

Re: [nox-dev] Contributing to Nox

2011-01-11 Thread kk yap
2011 11:43, kk yap wrote: > Hi Derek, > > Thanks.  Great patches as usual.  I have pushed them to the destiny branch. > > Martin and Murphy, I believe I have pushed most (if not all) of > Derek's patches at this moment.  If anything else is missing, let me > know. > >

Re: [nox-dev] Contributing to Nox

2011-01-11 Thread kk yap
d by > Flow_removed_event and Error_event > > patch2: > - add lots of doxygen doc strings to core.api > - add callback generators for flow mod and flow removed events > - change the names of callback generators to make them more readable > - add more constants for dictionary keys >

Re: [nox-dev] [openflow-discuss] NOX startup script

2011-01-10 Thread kk yap
Hi Josh, It seems like there is quite a bit going on. I am happy to push the DEBIAN control file and init script. Would you mind creating a patch based on nox-destiny so that I can have your name on that commit? Else, I can do it but it is suboptimal that my name is on the commit. Thanks. Rega

Re: [nox-dev] [POSSIBLE VIRUS:###] Re: Using flow fetcher

2011-01-07 Thread kk yap
nt, so you cannot resolve it this way. You should look at Flow_fetcher_app instead. Regards KK On 7 January 2011 14:00, Paulo César wrote: > Thanks. > > 2011/1/7 kk yap >> >> Hi Paulo, >> >> Can I have your Makefile.am too? >> >> Regards >> KK >&

Re: [nox-dev] [POSSIBLE VIRUS:###] Re: Using flow fetcher

2011-01-07 Thread kk yap
Hi Paulo, cc-ing back the list for archival. It should be resolve(ff) and not resolve (Flow_fetcher). That should resolve it. Regards KK On 7 January 2011 10:38, Paulo César wrote: > Thanks for the help. > > 2011/1/7 kk yap >> >> Hi Paulo, >> >> Can you s

Re: [nox-dev] Using flow fetcher

2011-01-07 Thread kk yap
Hi Paulo, You have not include the flow fetcher's header? Sorry for the wild guess, but from what you provided this seems like something about header inclusion. Regards KK On 7 January 2011 06:36, Paulo César wrote: > Hi, > I was trying to use the method fetch() from flow_fetcher.cc. > I inclu

Re: [nox-dev] Quick Bugfix for pyglue.

2011-01-06 Thread kk yap
> noticed that core.py has both method header comments and doc strings. If I > clean up the comments, which should I use? And, do you also format python > comments for doxygen? > > Thanks, > -Derek > > On 01/06/2011 05:03 AM, kk yap wrote: >> >> Hi Derek, >> >

Re: [nox-dev] [mininet-dev] Mininet/Nox randomMacs error

2011-01-05 Thread kk yap
The Python parsing logic in zaku has a few corner cases that it does not handle. I would suggest trying the destiny version of this function. def convert_to_eaddr(val): if isinstance(val, ethernetaddr): return val if isinstance(val, array.array): val = val.tostring() i

Re: [nox-dev] dl_vlan not correct?

2011-01-05 Thread kk yap
ual LAN frame with an ID of >>> either 845, 846, or 847. >>> >>> The other dump file 'dump_at_controller', is a wireshark capture at the >>> controller where an switch running indigo is pointing. If you look at all of >>> these packet_in events

Re: [nox-dev] dl_vlan not correct?

2011-01-05 Thread kk yap
Hi Aaron, Can you tell us if there is any difference in the tcpdump from the HP and Indigo? I skimmed through the NOX code and it seems to parse VLAN. So, there is something amiss here. Regards KK On 5 January 2011 14:50, Srini Seetharaman wrote: > I'm a bit confused by what you see with Indi

Re: [nox-dev] Quick Bugfix for pyglue.

2011-01-05 Thread kk yap
Hi Derek, I pushed all the patches. I did not realize you are just exposing things to Python and not declaring new structs. Sorry. A quick glimpse has failed me. Regards KK On 3 January 2011 21:07, Derek Cormier wrote: > Here is a patch for destiny to fix a bug where pyglue.cc was using ntoh

Re: [nox-dev] repeated compilation issue

2011-01-03 Thread kk yap
Hi Vishal, Any reason not to use the zaku branch? If not, give that a try. Might to useful to send your config.log. Regards KK On Jan 3, 2011 12:11 PM, "Nicholas Bastin" wrote: > On Mon, Jan 3, 2011 at 15:01, Vishal wrote: >> Just before linking this error happens. And for me this error happe

Re: [nox-dev] What's meaning of lines in NOX log?

2010-12-30 Thread kk yap
Hi Anh Nugyen, I believe this is the size of the OpenFlow message which is carried in a TCP stream, so you should be able to find it in wireshark (though the size will be much larger). Wonder if that is what you are looking for. Regards KK PS>> Mailing list gives you an benefit of getting repli

Re: [nox-dev] Error in adding an event in a C++ component

2010-12-29 Thread kk yap
d fine. I > looked at switch.cc and realized that it was a matter of namespace. The > problem was solved. > Thanks. > Best Regards. > Happy New Year! > > -- > Ricardo Bennesby da Silva > Ciência da Computação - UFAM > LabCIA - Laboratório de Computação Inteligente e A

Re: [nox-dev] Error in adding an event in a C++ component

2010-12-29 Thread kk yap
Hi Ricardo, Before you adding an event handler ( which is different from adding events in NOX ), did you run a component that does nothing? Try that. You can create to a new component using nox-new-c-app.py if you are using zaku or later. That component should just run. After which, you can lo

Re: [nox-dev] Contributing to Nox

2010-12-27 Thread kk yap
eat. Should I post any future changes here on the Nox board or send >> them to a developer like yourself? >> >> -Derek >> >> >> On 12/27/2010 02:54 PM, kk yap wrote: >> >> Hi Derek, >> >> Thanks. I pushed this to destiny (unstable). >

Re: [nox-dev] Contributing to Nox

2010-12-26 Thread kk yap
Hi Derek, Please post on this mailing list. Thanks. Regards KK On 26 December 2010 22:07, Derek Cormier wrote: > Great. Should I post any future changes here on the Nox board or send them > to a developer like yourself? > > -Derek > > > On 12/27/2010 02:54 PM, kk ya

  1   2   3   4   5   >