Take over this thread to discuss the same.
Zookeeper(kazoo library) leader election is kind of block call.
we have to pass a function to run as a leader.
# only leader will execute the fname function. all other slaves will be
blocked here.
self.election.run(fname)
def fname()
# some routines.
I guess, this kind of behavior may not fit in to Master/Slave
implementation in RYU Controller .
Any suggestions?
Thanks
Suresh
On Tue, Apr 24, 2018 at 2:33 PM, IWAMOTO Toshihiro <iwam...@valinux.co.jp>
wrote:
> On Sun, 22 Apr 2018 21:58:09 +0900,
> Poornima V wrote:
> > can you please send me the implementation steps for making sdn
> controllers
> > as master and slave and how to connect to zookeeper to check the
> controller
> > failure.I kindly request you to help me out immediately.
>
> On the OpenFlow side, check the role request message spec.
>
> This is not a zookeeper mailing list, but the following link may be
> useful.
>
> http://zookeeper.apache.org/doc/r3.4.11/recipes.html#sc_leaderElection
>
> --
> 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
>
--
*Regards, *
*Knet solutions.*
https://github.com/knetsolutions/KNet
http://knet-topology-builder.readthedocs.io/
http://knetsolutions.in/
------------------------------------------------------------------------------
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