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: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
scattered, but they are all there.

Regards
KK

On 14 December 2010 02:50, Nikhil Handigol <nikh...@cs.stanford.edu> wrote:
> 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 functions:
> 1) get_outlinks(dpsrc, dpdst)
> 2) is_internal(dp, port)
>
> It is not clear to me how exactly I can use these two to get complete
> topology information. I'd expect the following information from a topology
> module:
> 1) list of all dps in the topology
> 2) list of all links from a dp (probably in the form of a list of
(srcport,
> dstdp, dstport))
> 3) link between 2 dps (provided by get_outlinks)
> 4) is_internal()
> Is there a python module that provides all this information?
> Thanks,
> Nikhil
>
> _______________________________________________
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>

_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to