[openstack-dev] [Lbaas] Create a VIP API sample

Leon Cui lcui at vmware.com
Thu Nov 15 06:45:35 UTC 2012


Hi Youcef,

I just noticed that on Lbaas API spec, the json sample for "POST
/v1.0/vips" and "POST /v1.0/pools" are not consistent.  

 

The json request is:

{
  "vips":[
         {

 

And the json response is:

{

  "vips":[

         {

 

 

However, looking at the corresponding "POST /v1.0/pools" sample (as well
as member and healthmonitor), the json format is different.  Rather than
using an array, every time to create a pool, a single hash value is
contained in the json request/response:

 

The json request is:

{
  "pool" : {

The json response is:

{
  "pool" : {

 

 

I think we need to make them consistent by modifying VIP json sample.
What do you think?

 

 

Thanks

Leon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20121114/52186af2/attachment.html>


More information about the OpenStack-dev mailing list