On Thu, Sep 8, 2011 at 10:31 AM, Nicholas Bastin <nbas...@stanford.edu>wrote:
> On Thu, Sep 8, 2011 at 09:56, Aaron Rosen <aro...@clemson.edu> wrote: > >> I'm not sure how you would go about obtaining the switches ip though >> nox. Though it think it should be possible to get when the switches >> join. Any reason you would need to do that? >> > > I'm trying to write a network translation application where a switch acts as a NAT box. Looking through core.py I can see that the datapath_join handler is called with an "attrs" dictionary (which I assume contains switch information) but the code comments don't say what the contents of attrs are. The dp_desc of the switch *may* contain the IP address (no guarantees in the > spec). > > Is there some reliable way to get the IP of the switch? Even if it has to be a separate query? Thanks, Basu -- -- Shrutarshi Basu Basus.me The ByteBaker <http://bytebaker.com> -- because Computer Science is not about computers
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev