Thanks Doug.
 
It's really helpful and we need this feature as well. Can you point out the bp 
or patch of this?


I think we will add "--replica-count" parameter within trove create request. So 
trove-api will create trove instance(aync create nova instance) and then create 
some replica trove instances(aync create nova instances). This is really useful 
for web front-end developers to create master and replica instances in the same 
time(they don't want to send multiple requests by themselves).


Regards,
tobe from UnitedStack 


------------------ Original ------------------
From:  "Doug Shelley"<d...@tesora.com>;
Date:  Wed, Aug 12, 2015 10:21 PM
To:  "openstack-dev@lists."<openstack-dev@lists.openstack.org>; 

Subject:  Re: [openstack-dev] [trove]Implement the API to create masterinstance 
and slave instances with one request

 
   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: 陈迪豪 <chendi...@unitedstack.com>
 Reply-To: OpenStack List <openstack-dev@lists.openstack.org>
 Date: Tuesday, August 11, 2015 at 11:45 PM
 To: OpenStack List <openstack-dev@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?
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to