[openstack-dev] [trove]Implement the API to create master instance and slave instances with one request

Doug Shelley doug at tesora.com
Wed Aug 12 14:21:17 UTC 2015


As of Kilo, you can add a ―replica-count parameter to trove create ―replica-of to have it spin up multiple mysql slaves simultaneously. This same construct is in the python/REST API as well. I realize that you still need to create a master first, but thought I would point this out as it might be helpful to you.

Regards,
Doug


From: 陈迪豪 <chendihao at unitedstack.com<mailto:chendihao at unitedstack.com>>
Reply-To: OpenStack List <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>
Date: Tuesday, August 11, 2015 at 11:45 PM
To: OpenStack List <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>
Subject: [openstack-dev] [trove]Implement the API to create master instance and slave instances with one request

Now we can create mysql master instance and slave instance one by one.

It would be much better to allow user to create one master instance and multiple slave instances with one request.

Any suggestion about this, the API design or the implementation?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150812/ef9e6231/attachment.html>


More information about the OpenStack-dev mailing list