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
particular syntax I have to follow so that it is a json-related error? Thanks in advance. Regards, Giorgio On 27/01/2012 16:42, kk yap wrote: 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

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 kyr.zari...@gmail.com wrote: A JSONMsg_event is just another NOX event and us such it will either

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

2011-10-23 Thread kk yap
? - 원본 메일 - *보낸사람*: kk yap yap...@stanford.edu *받는사람* : Min-Hyup KANG kang-min-h...@hanmail.net *참조* : Murphy McCauley jam...@nau.edu, nox-dev nox-dev@noxrepo.org *날짜*: 2011년 10월 23일 일요일, 23시 49분 02초 +0900 *제목*: Re: A couple of questions about simplerouting. Hi Min-Hyun, cc

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

2011-10-12 Thread kk yap
need to call 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 yap...@stanford.edu Hi Andrea, In flow.cc, the flow struct is defined and that is used to parse

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

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

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 kang-min-h...@hanmail.net Hi All, I would like to get

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

Re: [nox-dev] NOX routing question

2011-09-20 Thread kk yap
be cool. Regards KK On 20 September 2011 13:49, danderson415 danderson...@gmail.com 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 yap...@stanford.edu wrote: Hi David

Re: [nox-dev] Running Lavi

2011-09-20 Thread kk yap
, 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 yap...@stanford.edu wrote: 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

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.

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 aliahmad...@hotmail.com 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

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 aliahmad...@hotmail.com wrote: Hy!    I want to know, what's the procedure to send a

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

2011-07-24 Thread kk yap
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 yap...@stanford.edu A tcpdump of the control traffic will be useful and easier. Regards KK On 21 July 2011

Re: [nox-dev] handle_flow_route Event

2011-07-21 Thread kk yap
JSONMsg_event jme = assert_castconst JSONMsg_event(e) Thanks, - 원본 메일 - *보낸사람*: kk yap yap...@stanford.edu *받는사람* : Min-Hyup KANG kang-min-h...@hanmail.net *참조* : NOX-dev nox-dev@noxrepo.org *날짜*: 2011년 7월 22일 금요일, 01시 59분 28초 +0900 *제목*: Re: [nox-dev] handle_flow_route

Re: [nox-dev] handle_flow_route Event

2011-07-21 Thread kk yap
. 2, 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 ? thanks, - 원본 메일 - *보낸사람*: kk yap yap

Re: [nox-dev] handle_flow_route Event

2011-07-21 Thread kk yap
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. - 원본 메일 - *보낸사람*: kk yap yap

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

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, kk yap yap

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

2011-06-25 Thread kk yap
(messenger_msg)); ? Or in the way I am using socket send function in client (send(Mysocket, mymsg, mymsg.length, 0)) ? Thanks for help. Best Regards. 2011/6/18 kk yap yap...@stanford.edu Hi Ricardo, You might want to add a length and type in front of the string.  :) Regards KK On 18 June

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 ricardo.benne...@gmail.com wrote: Hi. I am writing component in C++ that uses messenger component. I have a client function that send a string to the own

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. Regards 2011/6/16 kk yap yap

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 jam...@nau.edu wrote: Probably the best resource is on the wiki: http://noxrepo.org/noxwiki/index.php/Using_NOX There is also

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 jam...@nau.edu wrote: Oh, great thought, KK! Note, however, that this does not show Python-only components. -- Murphy On Jun 2, 2011, at 12:41 AM, kk yap

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] 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:

Re: [nox-dev] host deathentication

2011-05-06 Thread kk yap
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: Yeah, hosttracker simply timeout. To the best of my knowledge

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 max@nicta.com.au wrote: On 26/04/2011, at 4:20 PM, kk yap wrote: Hi Max, Can you elaborate on what you mean by pyswitch being aware

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

2011-04-26 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 seeth...@stanford.edu wrote: Hi Max This mail is more

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

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 kyr.zari...@gmail.com 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

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
): Disposition newcomp::handle_flow_stats_in(const Event e){     const Flow_stats_in_event fsie     = assert_castconst Flow_stats_in_event(e); So, fsie.flows has that informations about the flows, that can be used to collect statistcs. Thanks for help. Regards. 2011/3/20 kk yap yap

Re: [nox-dev] Flow collection- error

2011-03-21 Thread kk yap
/3/20 kk yap yap...@stanford.edu Ricardo, Can you explain which component is fsie as with * fsie.flows.at(i) Regards KK On 20 March 2011 13:11, Ricardo Bennesby ricardo.benne...@gmail.com wrote: Thanks kk. I think I did what you suggested:     uint32_t ds; //duration_sec

Re: [nox-dev] Flow collection- error

2011-03-20 Thread kk yap
); - but it didn'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? 2011/3/20 kk yap yap...@stanford.edu Hi

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 gtvrre...@gmail.com wrote: Yaa, I tried and succeeded  with

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

2011-03-09 Thread kk yap
Hi, Comments inline. Regards KK 2011/3/9 杨宇 yangyu...@gmail.com: 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

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

2011-03-09 Thread kk yap
? 发件人: 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 杨宇 yangyu...@gmail.com: hi, all when I follow the tutorial in the page http://www.openflow.org/foswiki/bin/view

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 杨宇 yangyu...@gmail.com: Hi kk yap, Thanks for your reply. These days, I read a lot

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,

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,

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

Re: [nox-dev] Timestamp update on pyswitch

2011-01-26 Thread kk yap
a packet after the hard timeout expires. If the hard timeout is set to infinite, then this is a potential problem, but in this case 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

Re: [nox-dev] pytopology patch

2011-01-20 Thread kk yap
Pushed. Regards KK On 20 January 2011 17:13, Nikhil Handigol nikh...@cs.stanford.edu 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 yap...@stanford.edu wrote: Please use git-format-patch

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

2011-01-18 Thread kk yap
pcd...@gmail.com 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 pcd...@gmail.com Thanks. 2011/1/11 kk yap yap...@stanford.edu Hi Paulo, I looked at flow_fetcher more

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 ese.kylew...@gmail.com wrote: Hi,

Re: [nox-dev] Handling corrupted TCP header

2011-01-14 Thread kk yap
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 yap wrote: Because the action of pkt_out is OFPP_TABLE. (the packet in pkt_out does not match to the entry that is installed

Re: [nox-dev] pytopology patch

2011-01-14 Thread kk yap
, Jan 14, 2011 at 10:39 AM, kk yap yap...@stanford.edu wrote: 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 cas...@nicira.com wrote: Awesome, thanks Nikhil. Hi, I have

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 seeth...@stanford.edu wrote: When someone sends

Re: [nox-dev] Handling corrupted TCP header

2011-01-13 Thread kk yap
...@stanford.edu wrote: 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 yap...@stanford.edu wrote: Hi Srini, What is this packet?  The length of TCP is zero

Re: [nox-dev] Contributing to Nox

2011-01-12 Thread kk yap
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, Thanks.  Great patches as usual.  I have pushed them to the destiny branch

Re: [nox-dev] Contributing to Nox

2011-01-11 Thread kk yap
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 -Derek On 01/04/2011 10:27 AM, kk yap wrote: Hi Derek, Thanks

Re: [nox-dev] Contributing to Nox

2011-01-11 Thread kk yap
, kk yap yap...@stanford.edu 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. Thanks. Regards KK On 11

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 pcd...@gmail.com wrote: Hi, I was trying to use the method fetch() from

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 pcd...@gmail.com wrote: Thanks for the help. 2011/1/7 kk yap yap...@stanford.edu Hi Paulo, Can you send me

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

2011-01-06 Thread kk yap
, and I 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, I pushed all the patches.  I did not realize you

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 derek.corm...@lab.ntt.co.jp wrote: Here is a patch for destiny to fix a bug

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 seeth...@stanford.edu wrote: I'm a bit confused by

Re: [nox-dev] dl_vlan not correct?

2011-01-05 Thread kk yap
', is a wireshark capture at the controller where an switch running indigo is pointing. If you look at all of these packet_in events I don't see any of these 802.1Q frames. Thanks, Aaron On Wed, Jan 5, 2011 at 5:58 PM, kk yap yap...@stanford.edu wrote: Hi Aaron, Can you tell us

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()

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

[nox-dev] NOX's API Documentation online

2010-12-26 Thread kk yap
Hi All, The last release of NOX (zaku) has come with doxygen-generated documentation, which can be a rich source of information for those trying to figure out what individual components do (e.g., routing). Judging from recent questions on the list (and to make my friends' TA job easier), I have

Re: [nox-dev] Contributing to Nox

2010-12-22 Thread kk yap
Hi Derek, Many thanks for the patch. Do you mind sending me the patch zipped or tarballed? Sorry Gmail reformats things a little, so the git-format-patch output is distorted. Regards KK On 21 December 2010 23:38, Derek Cormier derek.corm...@lab.ntt.co.jp wrote: Hello, I would like to start

Re: [nox-dev] Contributing to Nox

2010-12-22 Thread kk yap
the patch out of there. On Wed, Dec 22, 2010 at 6:29 AM, kk yap yap...@stanford.edu wrote: Hi Derek, Many thanks for the patch.  Do you mind sending me the patch zipped or tarballed?  Sorry Gmail reformats things a little, so the git-format-patch output is distorted. Regards KK On 21

Re: [nox-dev] Is flow mod event misleading?

2010-12-19 Thread kk yap
Hi Derek, Some comments inline. Hope they help. Regards KK On 19 December 2010 21:10, Derek Cormier derek.corm...@lab.ntt.co.jp wrote: I noticed that the flow mod event fires in response to a successful NOX API call for adding a flow. It gives the impression that it was successfully added

Re: [nox-dev] Is flow mod event misleading?

2010-12-19 Thread kk yap
protocol? Is it speed? Isn't OpenFlow fast enough? -Derek On 12/20/2010 02:38 PM, kk yap wrote: Hi Derek, Some comments inline.  Hope they help. Regards KK On 19 December 2010 21:10, Derek Cormierderek.corm...@lab.ntt.co.jp  wrote: I noticed that the flow mod event fires in response

Re: [nox-dev] Is flow mod event misleading?

2010-12-19 Thread kk yap
of EECS (SEECS), National University of Sciences and Technology (NUST), Pakistan. On Mon, Dec 20, 2010 at 10:38 AM, kk yap yap...@stanford.edu wrote: Hi Derek, Some comments inline.  Hope they help. Regards KK On 19 December 2010 21:10, Derek Cormier derek.corm...@lab.ntt.co.jp wrote: I

Re: [nox-dev] Is flow mod event misleading?

2010-12-19 Thread kk yap
, Syed Akbar Mehdi, School of EECS (SEECS), National University of Sciences and Technology (NUST), Pakistan. On Mon, Dec 20, 2010 at 12:18 PM, kk yap yap...@stanford.edu wrote: Hi Syed, The barrier function is only there to tell you that a preceding message is processed (i.e., the command

Re: [nox-dev] Is flow mod event misleading?

2010-12-19 Thread kk yap
Oops.. typos. One can interpret finish processing as having dropped.  I am *not* suggesting we do, but this is apparently not an impossibility.  It is a rare event nonetheless. On 19 December 2010 23:41, kk yap yap...@stanford.edu wrote: Hi Syed, One can interpret finish processing

Re: [nox-dev] Associate xid with a flow mod event

2010-12-16 Thread kk yap
On 15 December 2010 23:48, Derek Cormier derek.corm...@lab.ntt.co.jp wrote: @KK It turns out I made a wrong assumption. I thought that when an ofp_flow_mod (OFPFC_ADD) message was sent, it returns a reply with the same xid. After looking at the OF protocol, it looks like a message is only sent

Re: [nox-dev] Forwarding to controller ... datapath crashes

2010-12-16 Thread kk yap
Hi, This is a bug in the reference implementation of OpenFlow. Please raise this in openflow-discuss, preferably filing it as a bug in Trac (though it might already be there). Regards KK On 16 December 2010 04:26, Syed Akbar Mehdi akbar.me...@seecs.nust.edu.pk wrote: Hi, I having problems

Re: [nox-dev] Setting up flows at startup

2010-12-16 Thread kk yap
Hi Fengxie, In Zaku, LAVI already dump list of datapath to the console. Look at lavi_switches. You can use nox-console with it and it should just work. Regards KK On 16 December 2010 06:20, Srini Seetharaman seeth...@stanford.edu wrote: Hi Fengxie Please look in

Re: [nox-dev] dump the topology in the console

2010-12-16 Thread kk yap
Double post? Anyway, you have both the GUI and console version at your disposal. Let us know if it works out. Regards KK On 16 December 2010 06:22, Kyriakos Zarifis kyr.zari...@gmail.com wrote: Hi, the topology component holds some structures that describe the topology. I guess a way to

Re: [nox-dev] Multi-threaded handlers

2010-12-16 Thread kk yap
Hi Akbar, NOX (Zaku) is not multi-threaded, though that might change soon. However, I am not sure if what you are looking for will be there. Regards KK On 16 December 2010 07:41, Syed Akbar Mehdi akbar.me...@seecs.nust.edu.pk wrote: Hi, Does the current NOX (Zaku) release have any support

Re: [nox-dev] [openflow-discuss] NOX performance improvement by a factor 10

2010-12-15 Thread kk yap
Random curiosity: Why would jumbo frames increases replies per sec? Regards KK On 15 December 2010 11:45, Amin Tootoonchian a...@cs.toronto.edu wrote: I missed that. The single core throughput is ~250k replies/sec, two cores ~450k replies/sec, three cores ~650k replies/sec, four cores ~800

Re: [nox-dev] [openflow-discuss] NOX performance improvement by a factor 10

2010-12-15 Thread kk yap
, 2010 at 2:51 PM, kk yap yap...@stanford.edu wrote: Random curiosity: Why would jumbo frames increases replies per sec? Regards KK On 15 December 2010 11:45, Amin Tootoonchian a...@cs.toronto.edu wrote: I missed that. The single core throughput is ~250k replies/sec, two cores ~450k replies

Re: [nox-dev] [openflow-discuss] NOX performance improvement by a factor 10

2010-12-15 Thread kk yap
Oh.. another point, if you are batching the frames, then what about delay? There seems to be a trade-off between delay and throughput, and we have went for the former by disabling Nagle's algorithm. Regards KK On 15 December 2010 12:46, kk yap yap...@stanford.edu wrote: Hi Amin, Just

Re: [nox-dev] Associate xid with a flow mod event

2010-12-15 Thread kk yap
Hi Derek, Are you assuming the components will tag the flow_mod with the same xid as the packet_in? I think this is not true for verbatim NOX, though I am not sure. Either way, what is important is that you can make changes to make that true. So, you can definitely do this. Regards KK On 15

Re: [nox-dev] Using pytopology

2010-12-14 Thread kk yap
, On the same note, is there a common documentation for using the topology(usage and/or implementation)? Appreciate your help. Thanks Soundar -Original Message- From: nox-dev-boun...@noxrepo.org [mailto:nox-dev-boun...@noxrepo.org] On Behalf Of kk yap Sent: Tuesday, December 14, 2010 7:48

Re: [nox-dev] [PATCH] support passing the 64-bit cookie in send_flow_command from Python code

2010-12-12 Thread kk yap
Hi Romain, Thanks for all the patches. I really appreciate these. Personally, I tend to work purely in C/C++ in NOX (though I do use Python elsewhere). So, I have not really followed up with exposing functionalities to the Python side of NOX. Definitely appreciate all these efforts. A

Re: [nox-dev] [PATCH] support passing the 64-bit cookie in send_flow_command from Python code

2010-12-12 Thread kk yap
send-email. Is there any issues with the formatting? Regards, -- Romain Lenglet On 12/13/10 14:57, kk yap wrote: Hi Romain, Thanks for all the patches.  I really appreciate these.  Personally, I tend to work purely in C/C++ in NOX (though I do use Python elsewhere).  So, I have

Re: [nox-dev] 6633 routing error

2010-12-09 Thread kk yap
files Thanks Abhishek Majumdar On 12/09/2010 01:36 AM, kk yap wrote: Hi, I assume you have vde2 installed?  What is the output of `which vde_switch`? Regards KK On 8 December 2010 23:21, Abhishek Majumdarmajum...@cse.unl.edu  wrote: when i executed vms-start.pymy-network-name

Re: [nox-dev] Nox make Error - Help needed

2010-12-08 Thread kk yap
Nox 0.5 in the Noxrepo download page. I am behind a firewall and I couldn’t get the git repository. So I was using the tarball. Thanks Soundar -Original Message- From: yap...@gmail.com [mailto:yap...@gmail.com] On Behalf Of kk yap Sent: Wednesday, December 08, 2010 11:05 AM

Re: [nox-dev] Nox make Error - Help needed

2010-12-08 Thread kk yap
...@gmail.com] On Behalf Of kk yap Sent: Wednesday, December 08, 2010 11:34 AM To: Soundararajan Ramaswamy Cc: nox-dev@noxrepo.org Subject: Re: [nox-dev] Nox make Error - Help needed Let's try gitweb. http://noxrepo.org/cgi-bin/gitweb.cgi?p=nox;a=summary I believe you can get a snapshot tarball

Re: [nox-dev] New component usinf configure.ac.in

2010-12-08 Thread kk yap
Hi Alexandre, Did you include the directory of your component in configure.ac.in? It is not clear in your email that you did. This page might also provide some clue. http://noxrepo.org/noxwiki/index.php/Developing_in_NOX#Compiling_your_new_component Regards KK On 8 December 2010 12:59,

Re: [nox-dev] 6633 routing error

2010-12-08 Thread kk yap
Hi Abhishek, NOX0.8.0`full`beta (nox_core), compiled Dec 8 2010 19:22:19 This looks suspicious, the current HEAD is zaku as Kyriakos mention. TThe current NOX head is 0.9.0 (zaku), and you should see this which you are not. It might not be critical for you though. FYI. Regards KK On 8

Re: [nox-dev] RES: New component using configure.ac.in

2010-12-08 Thread kk yap
Hi Alexandre, You added the component name or directory name. The latter is the right thing to do. Try to be a little more descriptive on what you do and we can try to figure out what is wrong. If it is a C component, try the nox-new-c-app.py script in src/utilities. Regards KK On 8 December

Re: [nox-dev] [openflow-discuss] openflow virtual switch

2010-12-08 Thread kk yap
/         /xs:choice       /xs:complexType kindly tell me what will i write in type of dynamic ?? On Thu, Dec 9, 2010 at 10:38 AM, kk yap yap...@stanford.edu wrote: Hi Hasnat, OpenFlowVMS provides a XML option to assign IP automatically or statically.  If you would look at the xsd file

Re: [nox-dev] NoX routing does not work

2010-12-07 Thread kk yap
December 2010 18:41, kk yap yap...@stanford.edu wrote: Thanks Jean.  I will stare on it when I get to a wireshark capable terminal tomorrow. Regards KK On 6 December 2010 18:31, Jean Tourrilhes j...@hpl.hp.com wrote: On Mon, Dec 06, 2010 at 05:47:46PM -0800, kk yap wrote: Hi Jean, I am

Re: [nox-dev] Mininet BGP

2010-12-07 Thread kk yap
Hi Uday, That sounds like a question for mininet-discuss, rather than nox-dev. Regards KK On 7 December 2010 22:28, Uday Kiran Medisetty udaykira...@gmail.com wrote: Hi, I am running mininet on a VM and I am implementing a router on one of the switches in the topology. Is it possible to send

Re: [nox-dev] working of switch api on link failure

2010-12-06 Thread kk yap
Hi, Pardon my laziness in not reading the patches. I am confused here. Two points: 1) Switch does not depend on topology or discovery, so how do you get link failure? 2) There is no spanning tree implementation in NOX (distributed by default), i.e., you cannot have a redundant network with

Re: [nox-dev] working of switch api on link failure

2010-12-06 Thread kk yap
Hi Srini, 1) The archived port would be the same port? 2) My point precisely. So, what does clearing the flow entries achieve here? I contend that custom controllers might want to implement this flushing on their own. The patch is probably most useful as a component that other controllers can

Re: [nox-dev] working of switch api on link failure

2010-12-06 Thread kk yap
Seetharaman seeth...@stanford.edu To: kk yap yap...@stanford.edu Cc: sachin sharma sharon_sac...@yahoo.co.in; nox-dev@noxrepo.org Sent: Mon, 6 December, 2010 9:43:43 PM Subject: Re: [nox-dev] working of switch api on link failure Pardon my laziness in not reading the patches.  I am confused here

Re: [nox-dev] NoX routing does not work

2010-12-06 Thread kk yap
Hi Jean, I am confused you seem to be giving us partial logs and also your NOX seems to be slow. Are you running in a VM? Anyway, I cannot figure out what the problem is from all these. I understand you have flow setup in one way and not the other. Can you furnish more information and

Re: [nox-dev] problem with swig

2010-12-06 Thread kk yap
and then gives configure: error: Could not link against ! Thanks Abhishek Majumdar On 12/5/2010 10:35 PM, kk yap wrote: Hi Abhishek, Let's see... Try make install and ldconfig? Jokes aside, please let us know your OS, distro, etc. for anyone to give advice.  It works

Re: [nox-dev] problem with swig

2010-12-05 Thread kk yap
Hi Abhishek, Let's see... Try make install and ldconfig? Jokes aside, please let us know your OS, distro, etc. for anyone to give advice. It works perfectly on Ubuntu (Lucid Lynx) for me. In fact, we have a pseudo-package that installs the requisites using apt-get. Regards KK On 5 December

Re: [nox-dev] Issue regarding setting up Controller (Virtual Testing Environment)

2010-12-04 Thread kk yap
hda.disk file is missing. but i have placed this file and its present. On Wed, Dec 1, 2010 at 6:18 PM, kk yap yap...@stanford.edu wrote: I see the errors on the switch side, but what about the NOX side? What is the controller saying about the switch?  Is the switch disconnecting

Re: [nox-dev] Aging Timer of MAC learning at NOX

2010-12-04 Thread kk yap
if it receives the packet  from different port. MAC Table in switch.cc is maintained by this (Source_Table). Thanks Regards, Sachin Sharma From: kk yap yap...@stanford.edu To: sachin sharma sharon_sac...@yahoo.co.in Cc: nox-dev@noxrepo.org Sent: Sat, 4 December

Re: [nox-dev] openflowswtich site opening issue

2010-12-03 Thread kk yap
Hi Hasnat, The machine is facing some problem. Sorry. Do try again later. Regards KK On 3 December 2010 04:04, Hasnat Ahmed 10msithah...@seecs.edu.pk wrote: While trying to retrieve the URL: http://www.openflowswitch.org/ *The following error was encountered: * - *Read Error * *The

  1   2   3   >