Re: [nox-dev] How does the routing module calculate shortest path?

2010-12-22 Thread kk yap
Hi, The routing_module calculates based on hop count, with weight of each hop being 1. If you are interested in the algorithm, look at "A New Approach to Dynamic All Pairs Shortest Paths" by C. Demetrescu. (This is documented in the doxygen documentation.) Regards KK On 22 December

Re: [nox-dev] Contributing to Nox

2010-12-22 Thread kk yap
iny branch? Regards KK commit a2efd049da9f0d0d8dc4e56dc1aaa64930c1d257 Author: Murphy McCauley Date: Tue Dec 14 11:49:18 2010 -0800 Pythonize OpenFlow error messages OpenFlow error messages (ofp_error_msg / OFPT_ERROR_MSG) were previously only

[Rails] newbies in rails need some material for online study

2010-12-22 Thread kk
i m new to rails plz suggest me some books or sites for online study to learn ROR. regards : Kaushal jaipur -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubs

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 wrote: > Hello, > > I would like to start contributing t

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 wrote: > Hi Syed, > > One can interpret &

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

2010-12-19 Thread kk yap
Hi Syed, One can interpret "finish processing" as having dropped. I am suggesting we do, but this is apparently not a impossibility. It is a rare event nonetheless. Regards KK On 19 December 2010 23:37, Syed Akbar Mehdi wrote: > Hi KK, > > Thanks for detailed explan

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

2010-12-19 Thread kk yap
barrier request 3) send flow stat after receiving barrier reply This ensures that the flow mod is processed by the switch already. Switch can choose to process messages out of order of what is received, except for the barrier message. Hope this is clearer. Regards KK On 19 December 2010 22:53, Syed

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

2010-12-19 Thread kk yap
Hi Derek, This question is better asked on openflow-spec or openflow-discuss. :) Regards KK On 19 December 2010 22:11, Derek Cormier wrote: > Thanks KK, that clears everything up. May I ask, what is the main reason for > not including a flow mod reply in the OpenFlow protocol? Is it

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 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 to the switch,

Re: [nox-dev] "ERR:Application 'python' description not found" when running latest NOX

2010-12-17 Thread kk yap
Hi Stephen, To test that your NOX compilation is okay with C/C++, run ./nox_core -v -i ptcp:6633 switch That should do switching fine. I will let the folks familiar with Python comment on the problem. Regards KK On 17 December 2010 19:03, Stephen Wong wrote: > Hi, > >    I trie

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 wrote: > Hi, > > Does the current NOX (Zaku) release have any support for calling event &

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 wrote: > Hi, > the topology component holds some structures that describe the topology. I > guess a way to dump a descr

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 wrote: > Hi Fengxie > Please look in src/nox/netapps/discovery/discovery.py f

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 wrote: > Hi, > > I having problems with setting a

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

2010-12-16 Thread kk yap
On 15 December 2010 23:48, Derek Cormier 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 back i

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] [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 wrote: > Hi Amin, > > Just to clar

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

2010-12-15 Thread kk yap
. By frames in the datapath, I mean jumbo Ethernet frames are being sent in the datapath. The latter does not make any sense to me, because OpenFlow should send 128 bytes to the controller by default. Thanks. Regards KK On 15 December 2010 12:36, Amin Tootoonchian wrote: > I double checked.

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 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 replies/s

Re: [nox-dev] Using pytopology

2010-12-14 Thread kk yap
Hi, You can try the doxygen, but it will not be that complete. If topology the component people are looking at? I can go ahead and add documentation if there is only a few components. Regards KK On 14 December 2010 10:40, Soundararajan Ramaswamy wrote: > KK, > On the same note, is t

Re: [nox-dev] Using pytopology

2010-12-14 Thread kk yap
Hi Nikhil, I see your point. Topology does seem to provide a little more than pytopology though. Also, datapathmem should give you the list of datapaths to complete the picture. The functionality does appear scattered, but they are all there. Regards KK On 14 December 2010 02:50, Nikhil

[algogeeks] Re: What would be the output of the following program..?

2010-12-14 Thread KK
ya all the exprn is evaluated and left expr is assigned .. On Dec 13, 9:21 pm, siva viknesh wrote: > #include > int main() > { >  int a=1,b=2,c=3; > >  c=--a,b++ - c; > >  printf("%d %d %d",a,b,c); >  return 0; > >  } > > the above code is perfectly valid and prints "0 3 0" ... > > but how "comma

[algogeeks] Re: What would be the output of the following program..?

2010-12-14 Thread KK
the rule governs that in && exprns on both the side gets evaluated only if first exprns gives TRUE if 1st one gives FALSE then whatever be 2nd exprn answer be FALSE and in || 2nd side is not evaluated if 1st side replies with TRUE.. On Dec 13, 9:10 pm, siva viknesh wrote: > int main() > { >  int

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, It is not your fault, but Gmail's. Gmail reformats things a little and it does not always work as a result. Sigh... Regards KK On 12 December 2010 22:07, Romain Lenglet wrote: > Hi KK, > I format my patches with git-format-patches, and send them using git > send-e

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

2010-12-12 Thread kk yap
probably unimportant suggestion is to send these patches with git-format-patches, so that you are properly credited in the git log. Might help those using gmail that you zip them up too. This is probably applicable to those who send patches too. THANKS! Regards KK On 12 December 2010 21:45, Romain

Re: [nox-dev] 6633 routing error

2010-12-09 Thread kk yap
Try deleting the vde directory. They should be temp files. Regards KK On 8 December 2010 23:38, Abhishek Majumdar wrote: > I don't have the prob with vde_switch anymore. I installed vde2. Now I have > a different problem. When i execute > > vms-start.py  it gives me > >

[android-developers] Rendering 24 bit RGB using Android Bitmap

2010-12-09 Thread KK
Hi, Is there anyway I can render a 24 bit RGB using Android Bitmap class? The Bitmap.Config does not seem to have a 24 bit option. Is there anyway to do this? Thanks in advance KK -- You received this message because you are subscribed to the Google Groups "Android Developers" grou

Re: [nox-dev] 6633 routing error

2010-12-08 Thread kk yap
Hi, I assume you have vde2 installed? What is the output of `which vde_switch`? Regards KK On 8 December 2010 23:21, Abhishek Majumdar wrote: > when i executed vms-start.py it gave me error: > "vde_switch: command not found". How do I fix this. > Also while running NO

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

2010-12-08 Thread kk yap
Hi Hasnat, XSD is a style definition for the XML file. You are interested in getting IP on the hosts and switches right? That means defining that in the XML file. I can give you an example tomorrow if that helps. Regards KK On 8 December 2010 23:03, Hasnat Ahmed <10msithah...@seecs.edu

Re: [nox-dev] latest nox

2010-12-08 Thread kk yap
Hi, git clone git://noxrepo.org/nox should do it. Regards KK On 8 December 2010 22:27, Abhishek Majumdar wrote: > Where can I get Nox 0.9.0 > > -- > Thanks > Abhishek Majumdar > > > ___ > nox-dev mailing list &

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

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] Nox make Error - Help needed

2010-12-08 Thread kk yap
Very cool. Thanks for letting us know. Regards KK On 8 December 2010 12:30, Soundararajan Ramaswamy wrote: > KK, > Thanks for the info. Could able to install nox 0.9. Thanks a lot. > > Thanks > Soundar > > -Original Message- > From: yap...@gmail.com [mailto:yap

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

2010-12-08 Thread kk yap
Let's try gitweb. http://noxrepo.org/cgi-bin/gitweb.cgi?p=nox;a=summary I believe you can get a snapshot tarball if you click on tree, then snapshot. Regards KK On 8 December 2010 11:17, Soundararajan Ramaswamy wrote: > KK, > Where can I find Nox 0.9? I can only see Nox 0.5 in

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

2010-12-08 Thread kk yap
work with NOX 0.5. Regards KK On 8 December 2010 10:52, Soundararajan Ramaswamy wrote: > Hello All, > > I took the  nox-0.5.0~full~beta tar ball from the Nox site. I could do the > “configure” but I am getting error when I do the “make”. Can you folks > please throw some light on t

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 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 packe

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

2010-12-07 Thread kk yap
Seems like the authenticator is dying here. It seems to be locked in a loop for your requesting host 10.10.11.34. I could not replicate the error on my side. Srini, can you? I am using the latest zaku. Jean, could you update to that? I did a git pull --rebase this morning. Regards KK On 6

Re: [nox-dev] problem with swig

2010-12-06 Thread kk yap
hon-simplejson libboost-all-dev is quite a bit to download for me. Regards KK On 6 December 2010 17:45, Murphy McCauley wrote: > Glad to hear it! > Did you try it with just libboost-dev, or did you use libboost-all-dev?  If > it's the former, I'd like to update the wiki (if

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

2010-12-06 Thread kk yap
. Regards KK On 6 December 2010 17:06, Jean Tourrilhes wrote: > On Mon, Dec 06, 2010 at 03:06:34PM -0800, Srini Seetharaman wrote: >> Hi Jean >> What is the topology you're using? Do you have a loop? > >        Can you look at the attached pcap files ? It's quite clear &g

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

2010-12-06 Thread kk yap
shing such a patch. I will see how I can get some of these numbers. Thanks. Regards KK On 6 December 2010 13:09, sachin sharma wrote: > Hi Srini, > > Thank you very much for the patch. > > Switch.cc implements  L2  learning. But  in this patch, action are taken on > link failu

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

2010-12-06 Thread kk yap
load on demand. Patching this on switch and routing would add to clutter with little utility in my opinion. Regards KK PS>> I am happy to push this functionality as a component. On 6 December 2010 12:43, Srini Seetharaman wrote: >> Pardon my laziness in not reading the patches.  I

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

2010-12-06 Thread kk yap
. So, how can you possibly hope to find the host on a different route when a link failure occurs? On that note, why does handling link failure even matters? Regards KK On 6 December 2010 12:14, Srini Seetharaman wrote: > Hi Sachin > You raise a good point. There is no code that perfor

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 Dec

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

2010-12-04 Thread kk yap
. I am happy to push any patch to add that, but must say that this works for most situation we have now. Either way, thanks for bringing this up! Appreciate you shared your analysis of the code. Regards KK On 4 December 2010 10:49, sachin sharma wrote: > Hi KK, > > Please correct m

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

2010-12-04 Thread kk yap
Hi Sachin, Each flow in the OpenFlow table has an idle expiration time. So, the controller is exploiting that to implement the aging logic. Regards KK On 4 December 2010 07:21, sachin sharma wrote: > > Hi All, > > Aging timer Explanation: > When a bridge learns a source a

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

2010-12-04 Thread kk yap
Hi Hasnat, You are not telling me much other than you have some errors going on. It would definitely help if you can tell me what the errors are. Then maybe I can see if I can advise on how to get rid of them. So, can I have the logs? Thanks. Regards KK PS>> Unless this is meant t

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

Re: [nox-dev] RES: Messenger

2010-12-01 Thread kk yap
Hi Alexandre, If I understand you right, you are looking for a C/C++ based client for jsonmessenger? I know the NOX side is a server side socket, but the code should be similar. Unfortunately, I do not know of any C/C++ client for the jsonmessenger. Anyone who does can chip in. Regards KK On

Re: [nox-dev] RES: Messenger

2010-12-01 Thread kk yap
there. Sorry, personal habit. Regards KK On 1 December 2010 14:34, Alexandre Passito wrote: > Hi All, > > > > I was also looking for some application implemented using C/C++ similar to > nox-gui or nox-console (already understood) that communicate with > messenger/jsonmesse

Re: [nox-dev] Congestion

2010-12-01 Thread kk yap
iperf? Just send a lot of traffic through. That should work. Regards KK On 1 December 2010 07:45, Rohit Manohar wrote: > Is there any way I can simulate congestion on a OpenFlow Network? > > Regards > -- > Rohit Manohar > Graduate Student > North Carolina State Uni

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

2010-12-01 Thread kk yap
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 or is the controller disconnecting the switch? That's critical for understanding what is happening. Regards KK On 1 December 2010 03:22, Hasnat

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

2010-11-30 Thread kk yap
What about the log from the NOX side of things? Regards KK On 30 November 2010 22:49, Hasnat Ahmed <10msithah...@seecs.edu.pk> wrote: > Hi , while creating a openflow network within a single pc I have verified > successfully switch set up part but when tried to setup the controller &

Re: [nox-dev] NOX support for OFPAT_ENQUEUE

2010-11-29 Thread kk yap
with the Python side of NOX advise. Regards KK On 29 November 2010 17:32, Anand Bawiskar wrote: > Hi, > > I checked the src/nox/core.py  file for and found that make_action_array() > does not > support OFPAT_ENQUEUE type of action. > Due to this i get an error "'invali

Re: [nox-dev] Arguments For Components

2010-11-29 Thread kk yap
Hi Derek, In C/C++, jsonmessenger provides an example. Regards KK On 29 November 2010 17:57, Derek Cormier wrote: > Hi Kyriakos, > > I was looking to send arguments when running ./nox_core. I just found the > documentation on the Wiki, but it's not clear on how to access the

Re: [nox-dev] Handling ARP packets in pyswitch.py

2010-11-28 Thread kk yap
Simple question, what do you do for packet without UDP/TCP port? Like ICMP, ARP, etc? That logic seems missing. Regards KK On 28 November 2010 16:22, K Singh wrote: > Hi, > > I modified the code below for function def forward_l2_packet(...) in > pyswitch.py. > > def forw

Re: [nox-dev] Restricting packet flow on particular ports.

2010-11-28 Thread kk yap
Hi Kavitesh, You might want to get familiar with the idea of slicing in OpenFlow. http://www.openflowswitch.org/wk/index.php/Slicing Regards KK PS>> Please do not drop the mailing list unless you do deem the email to be private. On 27 November 2010 23:42, K Singh wrote: > Hi KK, &

Re: [nox-dev] Disable line display - 00044|openflow-event|DBG:received packet-in event from 000000000001

2010-11-28 Thread kk yap
This is done in a C/C++ file. Anyway, what about running NOX in non-verbose mode. For the component you want verbosity, try ./nox_core --verbose="x:ANY:DBG" --verbose="y":ANY:DBG" x y This will put only x and y in verbose mode. Regards KK On 28 November 2010 00:11, K

Re: [nox-dev] Restricting packet flow on particular ports.

2010-11-27 Thread kk yap
is somewhat hard. However, if you can pre-allocate bandwidth in terms of queues, NOX can allocate flows to queues. These flows will then be subjected to the bandwidth limits of these queues. OpenFlow 1.0 supports only minimum bandwidth from my understanding. Regards KK On 27 November 2010 22:54

Re: [nox-dev] Flow Removed

2010-11-25 Thread kk yap
Hi Rohit, There is get_flow() in the flow removed event that allows you to get these match information. There is also a reason field which will tell you why the flow was removed. Regards KK PS>> Happy thanksgiving (and black Friday shopping). On 25 November 2010 17:17, Rohit Manohar

Re: [nox-dev] Virtual Testing Environment

2010-11-25 Thread kk yap
Hi Matt, Take a look at OpenFlowVMS (http://www.openflowswitch.org/wk/index.php/OpenFlowVMS), which have support for OpenFlow 1.0. (Caveat: I maintain that). Unfortunately, note that I am not actively developing this anymore. Regards KK On 24 November 2010 20:32, Matt Strum wrote: > He

Re: [nox-dev] Finding out the switches connected to NOX

2010-11-25 Thread kk yap
patch if you decide to reuse components. Regards KK On 24 November 2010 23:52, Murphy McCauley wrote: > You can do this by simply handling datapath join and leave events and keeping > a list.  IIRC, components just keep their own lists for the most part.  For a > Python example, look at

Re: [nox-dev] Iperf

2010-11-24 Thread kk yap
Hi Rohit, This seems more mininet related. Please drop nox-dev on the follow-up. Thanks. Regards KK On 24 November 2010 16:37, Rohit Manohar wrote: > I want to use iperf on openflow. Is there any documentation regarding how to > use iperf with various options on mininet? e.g If i want

Re: [nox-dev] OpenFlow switch and Nox

2010-11-23 Thread kk yap
Hi Omar, I believe you wanted to click reply all and not just reply. I have cc-ed the list in this email. Regards KK On 22 November 2010 18:24, Omar El Ferkouss wrote: > Hello > > Is there someone who already did that kind of application ? I think I will > spend some time on it

[android-developers] ServerManagedPolicy not working as expected - getting many "This app is not licensed" responses.

2010-11-22 Thread kk
ogle.com:80 Am I missing something? Do I need to tweak any settings regarding the caching? I'm playing the game - all is fine. 5 minutes later I'm somewhere without a signal and I get the "App is not licensed" dialog. How soon does the caching "expire"? cheers, kk. -

Re: [nox-dev] Flow-Expirations

2010-11-19 Thread kk yap
d you should find it. Regards KK On 19 November 2010 19:02, Rohit Manohar wrote: > I am using the one refered by the Nox-Wiki Installation guide. I have, > however made it with Openflow 0.8.9. Can I set it explicitely while adding a > flow? > > Regards, > > On Fri, Nov 1

Re: [nox-dev] Devices

2010-11-19 Thread kk yap
Try dpctl show nl:0. It shows the mapping of port number to interface. In NOX, discovery maps this using LLDP. Regards KK On 19 November 2010 18:58, Rohit Manohar wrote: > Hi KK > > I am creating a topology with two Openflow switches and two hosts. A > representative diag

Re: [nox-dev] Flow-Expirations

2010-11-19 Thread kk yap
Hi Rohit, Which version of NOX are you using? The latest version has openflow-defaults.hh (or something like this) that allows you to set the default behavior for flow_removed. Regards KK On 19 November 2010 18:06, Rohit Manohar wrote: > The flow-expired.hh file specifies flow expirations

Re: [nox-dev] Devices

2010-11-19 Thread kk yap
Hi Rohit, I am confused. What do you mean by which port is connected to which switch. You mean the topology? Regards KK On 19 November 2010 17:36, Rohit Manohar wrote: > How do I identify which port is connected to which switch? I add > devices as './dpctl addif nl:0 eth0'

Re: [nox-dev] Issue regarding flow related dpctl operations for userspace switch

2010-11-19 Thread kk yap
Hi, If the message is sent properly, NOX is working fine. And since you have posted in openflow-discuss, someone should get to that. Regards KK On 19 November 2010 15:00, Raghu Gowda wrote: > Hi All, > > This is regarding the add-flow command using dpctl for userspace switches. >

Re: [nox-dev] Question

2010-11-19 Thread kk yap
Hi Omar, There is cbench that does that evaluation. FYI. Regards KK On 19 November 2010 13:19, Murphy McCauley wrote: > My first thought is that you should do this measurement outside of NOX, for > example by sniffing the control connection. > > -- Murphy > > On Nov 19,

[QUAD-L] 2010 Gift Guide for People Living with Paralysis

2010-11-18 Thread KK
http://www.christopherreeve.org/site/c.mtKZKgMWKwG/b.6247545/k.76E4/2010_Gift_Guide_for_People_Livng_with_Paralysis.htm

[android-developers] Re: Game performance degrading over time - any ideas?

2010-11-17 Thread kk
George, Is it meant to alloc every time you call it then? That's going to cause GC to collect at random times during my game :( cheers, kk On Nov 15, 4:40 pm, george barber wrote: > no your not using it wrong > > > > On Mon, Nov 15, 2010 at 4:37 PM, kk wrote: > &

[android-developers] Can I stop background apps from causing GC and eating up CPU?

2010-11-17 Thread kk
7;t think people care about weather updates, email updates, texts, etc. Is there an interface that will let me control what is "active" in the background and what should be "suspended"? cheers, kk. -- You received this message because you are subscribed to the Google Groups "

Re: [nox-dev] [PATCH] 64 bit DPID in discovery fix?

2010-11-16 Thread kk yap
OpenFlow 1.0. There is a good amount of similarity in the mechanisms between link fault detection and topology discovery. I would imagine a joint mechanism/primitive at the datapath is the right thing to do (because fault detection is delay sensitive). That's my humble opinion on this. Regar

Re: [nox-dev] Topology

2010-11-16 Thread kk yap
I suggest you switch to mininet or OpenFlowVMS which means this easier. The former being more newer. (Disclaimer: I maintain the latter). Regards KK On 16 November 2010 11:11, Macapuna, Carlos A. B. wrote: > Do you don't need of s4: > > SWITCHES="s1 s2 s3 s4 s5" >

[android-developers] Re: Game performance degrading over time - any ideas?

2010-11-16 Thread kk
in DDMS :( I've called it passing p_bbox directly as well (i.e. the rect version of setBounds) and it makes no difference. How can I prevent the allocation there? Thank you in advance, kk. On Nov 15, 8:37 pm, kk wrote: > Top stuff Kostya/Dianne. Thank you for the feedback. > I think before I

Re: [QUAD-L] Just Curious..

2010-11-16 Thread KK
You need to change the question you are asking. Handicapped accessible does not cover our needs for "wheelchair" accessible. Ask for a wheelchair accessible room. KK

[android-developers] Re: Game performance degrading over time - any ideas?

2010-11-15 Thread kk
f the values do change quite frequently. I'll report back if I'm still having issues after I do this. Thanx again, kk. On Nov 15, 7:31 pm, Kostya Vasilyev wrote: > What I was suggesting was, rather than using Integer.toString(), or any > other String / StringBulider methods, form

[android-developers] Re: Game performance degrading over time - any ideas?

2010-11-15 Thread kk
pdate a StringBuilder with a new String? I render by doing: myCanvas.drawText(m_healthString, ...); // this is using the char[] version, which is good Obviously I will look into a custom version of Integer.toString, which will eliminate quite a lot of the allocations in there. cheers, kk. On N

[android-developers] Re: Game performance degrading over time - any ideas?

2010-11-15 Thread kk
x27;t seem to be increasing with time. I'll try profiling as suggested by Dianne but this is very weird and is holding up my release :( cheers, kk. On Nov 15, 1:59 am, DanH wrote: > My guess is that you have a slow memory leak, and GC is taking more > and more time (and happening mo

Re: [nox-dev] Actions Based on Counters

2010-11-14 Thread kk yap
Hi, Comment inline. Regards KK On 14 November 2010 09:51, Rohit Manohar wrote: > Hi > > Please ignore the previous mail. > > We have decided to implement load distribution based on counters maintained > by a switch for a flow. When we install a flow in a switch

[android-developers] Re: Game performance degrading over time - any ideas?

2010-11-14 Thread kk
should create 2 trace files, say one for the first half and one for the second half of the game and compare the results? Sounds like a good plan - I just have no clue as to what could be causing this degredation :( cheers, kk. On Nov 14, 9:14 pm, Dianne Hackborn wrote: > Have you tried running th

[android-developers] Game performance degrading over time - any ideas?

2010-11-14 Thread kk
ease do tell (even a guess would do :)): + Why is performance degrading with time? What could be causing this? + Is there a way to avoid allocs due to Integer.toString and Drawable.setBounds calls? Thank you in advance, kk. -- You received this message because you are subscribed to the Google Groups

Re: [nox-dev] Actions Based on Counters

2010-11-13 Thread kk yap
results in some delay in the change. Regards KK On 13 November 2010 17:26, Rohit Manohar wrote: > Is is possible to define multiple actions for a single flow based on > counters for that flow. The idea is to choose different output ports based > on number of packets encountered in

Re: [nox-dev] [openflow-discuss] discovery errors using nox destiny as a learning switch with flowvisor 0.6.4 and HP switches in VLAN aggregation mode

2010-11-12 Thread kk yap
else's stamp of approval. Srini, once we are a working patch, i.e., one without error. Do send that for commit review. Regards KK On 12 November 2010 08:35, Christopher J. Tengi wrote: >  KK, >    Here is what I have seen with my particular switch configuration. > >    For th

Re: [nox-dev] [openflow-discuss] discovery errors using nox destiny as a learning switch with flowvisor 0.6.4 and HP switches in VLAN aggregation mode

2010-11-12 Thread kk yap
n non-OpenFlow compliant and switch-specific ones. But I do not speak for everyone that has commit rights to NOX. Beyond, we are generally happy to take patches, esp. documented ones. Regards KK PS>> might be good to address to nox comitters in nox-dev and not openflow-discuss. On 9 November

Re: [nox-dev] Information on Python APIs available in NOX controller.

2010-11-11 Thread kk yap
Just one thing, please use doxygen. Reading code is unfortunately still necessary at this point, but we are happy to take patches for documentation. Regards KK On 11 November 2010 15:25, James "Murphy" McCauley wrote: > Responses inline. > > On Thu, 2010-11-11 at 15:24 -0

Re: [nox-dev] Cannot access repository

2010-11-11 Thread kk yap
% (3410/3410), 2.30 MiB | 463 KiB/s, done. Resolving deltas: 100% (2296/2296), done. Regards KK On 11 November 2010 16:25, Derek Cormier wrote: > Hmm, the same thing happens with that address: > > Initialized empty Git repository in > /home/derek/VirtualBoxShared/Switch/Code/nox/.

Re: [nox-dev] help to run NOX GUI

2010-11-11 Thread kk yap
You can get hosts by running also lavi_hosts and trackhost_pktin. Note that hosts are tracked by packet-in here, so it can be inaccurate depending on how "noisy" your hosts are. Regards KK On 11 November 2010 10:42, el beckhov wrote: > ok thank you man >

Re: [nox-dev] OpenVswitch with NOX

2010-11-11 Thread kk yap
Hi, >From what I understand, if you are not using anything beyond OpenFlow, then you just need the OpenFlow version to match. That means OpenFlow 1.0 (zaku or destiny) with OpenvSwitch main branch. Regards KK On 11 November 2010 02:02, Ramana Reddy wrote: > Hi Everyone, > > This

Re: [nox-dev] Cannot access repository

2010-11-11 Thread kk yap
You should try git://noxrepo.org/nox. Is there any reason you would want NOX 0.4, or the older version? Regards KK On 11 November 2010 00:19, Derek Cormier wrote: > Hello, > > Whenever I try to clone the repository using: > > git clone http://noxrepo.org/noxcore > > I ge

Re: [nox-dev] help to run NOX GUI

2010-11-10 Thread kk yap
Hi, The commandline for NOX looks right. Can you send the NOX's output? I can't tell from only the GUI side. Thanks. Regards KK On 10 November 2010 07:07, el beckhov wrote: > hello , > i'm trying to run the GUI, it works but no topology is shown in the screen > (i

Re: [nox-dev] Dependency package list for NOX installation

2010-11-10 Thread kk yap
oubts. Regards KK On 10 November 2010 12:32, Josh Smift wrote: > NR == Niky Riga > > NR> Date: Wed, 10 Nov 2010 14:27:49 -0500 > NR> > NR> I ran into this issue a while back, and the problem was probably that > NR> the machine was running out of memory > NR> while

Re: [nox-dev] help for trying the GUI

2010-11-10 Thread kk yap
\ discovery topology \ jsonmessenger Regards KK On 10 November 2010 14:42, Kyriakos Zarifis wrote: > Hi there, > Unfortunately I can't reproduce this, so some additional information would > help. Do you get any errors on the shell where you started the GUI? > Also, wha

[android-developers] Understanding DDMS allocations - stopping the GC from working overtime!

2010-11-07 Thread kk
also use Integer.toString(myValue); I'm guessing all of the above is the reason my GC is working overtime! Are there better ways (using canvas) to manipulate and render text/ numbers on screen? cheers, kk. -- You received this message because you are subscribed to the Google Groups "An

Re: [nox-dev] Error Running bicast; and Routing Not Working in Hoolock

2010-11-05 Thread kk yap
Hi Thomas, routeinstaller has been ported to NOX zaku. You would not need OpenRoads repo for that. Sorry for the late reply, I have something in Washington and just returned to Stanford today. Regards KK On 5 November 2010 13:24, Thomas Shanks wrote: > Where in the openroads repository?

Re: [QUAD-L] Re: livening up the list... any favorite recipes?

2010-11-05 Thread KK
can of tomatoes, sprinkle seasonings & 4 meals done. KK From: Steve Oldaker To: Dave Krehbiel Cc: quad-list@eskimo.com Sent: Fri, November 5, 2010 7:44:49 AM Subject: Re: [QUAD-L] Re: livening up the list... any favorite recipes? Hi Dave, Speaking of hot cranbe

[QUAD-L] iTunes U Introduces Free eBooks

2010-11-01 Thread KK
The Complete Works of Shakespeare for free. http://www.openculture.com/2010/10/itunesu_introduces_free_ebooks_start_with_the_complete_shakespeare.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+OpenCulture+%28Open+Culture%29&utm_content=Google+Reader

Re: [nox-dev] Please help me about NOX in Mininet

2010-10-29 Thread kk yap
Hi Anh, cc-ed the mailing list where you can get more help. 00027|nox|DBG:No switch auth module registered, auto-approving switch This line is benign . You can safely ignore it. Regards KK On 29 October 2010 02:17, Anh Nguyen wrote: > Dear KK, > I'm using mininet to simulati

<    7   8   9   10   11   12   13   14   15   16   >