You can use both contexts dpids or switches.

thx,

2018-07-10 4:33 GMT-03:00 IWAMOTO Toshihiro <iwam...@valinux.co.jp>:

> On Fri, 06 Jul 2018 06:06:53 +0900,
> udeh Paschal wrote:
> > Hello guys, please I am modifying the simple switch 13 python file. I
> want
> > to give some instructions to some switches in my topology so I need to
> > extract the datapath id of my switches. Although I know the dpid since it
> > is my topology but I want to extract it in a section of my code where I
> > want to input those instructions. Please how do I go about it?
>
> A python singleton class or a global variable can be used for such a
> purpose. Google for details.
>
> --
> IWAMOTO Toshihiro
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>



-- 
"A computer is like air conditioning: it becomes useless when you open
windows." - Linus Torvalds

Fernando N. N. Farias
Computer Science PhD. Student
Research Group member on Computer Networks and Multimedia Communications -
GERCOM/UFPA
Future Internet Team - GERCOM
Federal University of ParĂ¡
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to