[nox-dev] Using pytopology

2010-12-14 Thread Nikhil Handigol
I want to write a nox python module that uses pytopology for topology discovery. I believe pytopology.i is the file I need to be looking at to understand the interface provided by pytopology? And pytopology_test.py is a sample app that uses pytopology? It seems pytopology provides me with just 2 f

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 Handi

Re: [nox-dev] Using pytopology

2010-12-14 Thread Soundararajan Ramaswamy
KK, 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

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 there a com

Re: [nox-dev] Using pytopology

2010-12-14 Thread Soundararajan Ramaswamy
KK, I will try doxygen. Documentation always helps, less effort for you folks too in replying to all the mails. Thanks Soundar -Original Message- From: yap...@gmail.com [mailto:yap...@gmail.com] On Behalf Of kk yap Sent: Tuesday, December 14, 2010 10:51 AM To: Soundararajan Ramaswamy Cc:

Re: [nox-dev] Error feedback from adding flows

2010-12-14 Thread Murphy McCauley
Python support for this has been added in destiny in commit a2efd049da9f0d0d8dc4e56dc1aaa64930c1d257 . You can now register_handler("Error_event", callback), and the handler is called with an event object having type, code, and data members. You should be able to apply the patch against zaku wi

Re: [nox-dev] Using pytopology

2010-12-14 Thread Nikhil Handigol
The topology module seems to have all the necessary information. It's just that it's not reflected in pytopology. So, pytopology, in it's current state, does not seem to be very useful, at least not complete. I'd like to go ahead and fix this. Are there any guidelines on how to write a SWIG interf

[nox-dev] NOX performance improvement by a factor 10

2010-12-14 Thread Amin Tootoonchian
[cross-posting to nox-dev, openflow-discuss, ovs-discuss] I have prepared a patch based on NOX Zaku that improves its performance by a factor of >10. This implies that a single controller instance can run a large network with near a million flow initiations per second. I am writing to open up a di

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

2010-12-14 Thread Martin Casado
This is awesome Amin, thanks for posting. It is also probably worth mentioning that cbench was broken and over-reporting numbers. Do you mind sending out a few details about that? I presume that will be helpful to those using cbench [cross-posting to nox-dev, openflow-discuss, ovs-di

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

2010-12-14 Thread Martin Casado
Also, do you mind posting the single core throughput? [cross-posting to nox-dev, openflow-discuss, ovs-discuss] I have prepared a patch based on NOX Zaku that improves its performance by a factor of>10. This implies that a single controller instance can run a large network with near a million f