Hi,
ovs get-controller command returns all the controllers (if we have multiple
controllers)
My use case is,
I have 'n' controllers associated with the switch, i have to update the
controllers list(add new controller, delete a existing controller etc) in
the switch.
Towards that, i should know how many controllers associated with that
switch.
Thanks
suresh
On Tue, Jul 17, 2018 at 1:42 PM, IWAMOTO Toshihiro <iwam...@valinux.co.jp>
wrote:
> On Fri, 13 Jul 2018 20:10:44 +0900,
> knet solutions wrote:
> > ovs_bridge.get_controller() API returns only the first controller.
> >
> >
> > The respective code ,
> >
> > https://github.com/osrg/ryu/blob/b9909d06862454d4907c29b0688788
> ab80406f9b/ryu/lib/ovs/bridge.py#L174
> >
> >
> > In the code, the return is only first element from the list.
>
> Thanks for reporting the problem.
>
> > I think, it should return the complete list.
>
> get_controller may be changed return a list when there are multiple
> controllers. For compatibility, we can't change return value to a list
> when there's only one controller.
>
> Do you have a use case for this?
>
> --
> IWAMOTO Toshihiro
>
>
--
*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