The switch sends it's dpid to the controller when it first connects. If you look at pyswitch.py it does this in datapath_join_callback(). (you also gets the ports on the switch and their speed from this information).
Aaron On Wed, Mar 7, 2012 at 1:35 PM, Gabe Bassett <g...@theengineer.org> wrote: > I'm working with mainly a single switch but need to pull the dpid prior to > receiving any packets. What would be the best place to get the dpid of the > registered switch from? > > _______________________________________________ > nox-dev mailing list > nox-dev@noxrepo.org > http://noxrepo.org/mailman/listinfo/nox-dev > -- Aaron O. Rosen Masters Student - Network Communication 306B Fluor Daniel _______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev