Re: [nox-dev] Using pytopology

2010-12-23 Thread Nikhil Handigol
I'm trying to add some functionality to make pytopology more usable. I'm new to SWIG and am looking for some help. For starters, I'm trying to port the get_outlinks(dpsrc) of topology.hh function to pytopology. In topology.hh, get_outlinks(dpsrc) returns a hash_map (DatapathLinkMap). Is there a wa

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

Re: [nox-dev] Using pytopology

2010-12-14 Thread Soundararajan Ramaswamy
: Nikhil Handigol; nox-dev Subject: Re: [nox-dev] Using pytopology 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

Re: [nox-dev] Using pytopology

2010-12-14 Thread kk yap
cember 14, 2010 7:48 AM > To: Nikhil Handigol > Cc: nox-dev > Subject: Re: [nox-dev] Using pytopology > > 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 c

Re: [nox-dev] Using pytopology

2010-12-14 Thread Soundararajan Ramaswamy
7:48 AM To: Nikhil Handigol Cc: nox-dev Subject: Re: [nox-dev] Using pytopology 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

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

[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