[openstack-dev] [quantum][LBaas] Add members to the pool
Leon Cui
lcui at vmware.com
Mon Nov 19 10:34:05 UTC 2012
Hi Youcef,
While I'm coding on SQLAlchemy data model for pool, I found that there is
no way to create a pool and specifying its members in a single rest call.
The members will only be added to a pool by using member creation/update
methods.
Therefore, the sample given in API spec in "Creating a pool" should be
corrected as below, where "members" is removed.
POST /v1.0/pools
Host: lbaas-service.cloudX.com:8651
Accept: application/json
Content-Type: application/json
X-Auth-Token:887665443383838
Content-Length: 194
{
"pool" : {
"name": "web_pool",
"vip_id": "db902c0c-d5ff-4753-b465-668ad9656918",
"protocol": "HTTP",
"network_id" : "e2a7a228-8fd1-4aa8-8d0c-4023a68e1c92",
}
What do you think? Correct me if I'm wrong.
Thanks
Leon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20121119/a8ce2f48/attachment.html>
More information about the OpenStack-dev
mailing list