On Thu, Dec 27, 2018 at 2:54 AM Ted Elhourani <ted.elhour...@nutanix.com> wrote:
> Numan, > > > > I submitted a python idl patch for the leader-only option. > > > > https://mail.openvswitch.org/pipermail/ovs-dev/2018-December/354605.html > > > > The code that implements the state machine of the IDL can be simplified. > As a first step toward enhancing the implementation, I have only extended > the current implementation with the leader-only selection of a cluster > node, I haven’t made changes to the existing code or the way it is > implemented. > Thanks. I will take a look at it. Numan > > > Thanks, > > Ted > > > > *From: *Ted Elhourani <ted.elhour...@nutanix.com> > *Date: *Tuesday, October 16, 2018 at 11:15 AM > *To: *Numan Siddique <nusid...@redhat.com> > *Cc: *ovs-discuss <ovs-discuss@openvswitch.org> > *Subject: *Re: Python: connect to leader in cluster > > > > Hi Numan, > > > > Thanks for letting me know. > > > > Ted > > > > *From: *Numan Siddique <nusid...@redhat.com> > *Date: *Tuesday, October 16, 2018 at 11:03 AM > *To: *Ted Elhourani <ted.elhour...@nutanix.com> > *Cc: *ovs-discuss <ovs-discuss@openvswitch.org> > *Subject: *Re: Python: connect to leader in cluster > > > > > > On Tue, Oct 16, 2018 at 4:25 AM Ted Elhourani <ted.elhour...@nutanix.com> > wrote: > > Hi Numan, > > There was an earlier patch to allow the Python IDL to connect to one of > multiple remotes. > > Is an upcoming patch imminent to give the Python IDL the option to connect > only to (or become active only when) the leader in an HA cluster? > > Thanks, > > Ted > > > > Hi Ted, > > > > Yes. We do need a patch in python idl for the option to connect only to > the leader. I may not be able to work on this at the moment. > > Please feel free if you want to contribute to it. > > > > Thanks > > Numan > > > > > > *From: Numan Siddique <nusid...@redhat.com <nusid...@redhat.com>>* > > > > Python IDL implementation doesn't have the support to connect to the > > cluster dbs. This patch adds this support. We are still missing the > > support in python idl class to connect to the cluster master. That > > support will be added in an upcoming patch. > > > > This patch is similar to the commit 8cf6bbb184 which added multiple remote > > support in the C jsonrpc implementation. > > > > > >
_______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss