[openstack-dev] [quantum][LBaaS] yet another question on API

Oleg Bondarev obondarev at mirantis.com
Mon Nov 12 14:40:58 UTC 2012


Hi Youcef,

 

IMHO  the following API (http://wiki.openstack.org/Quantum/LBaaS/API_1.0)
operations are redundant:

1)      List all members of a specific pool


GET

/v1.0/pools/pool_id/members

List all members of a specific pool.

2)      List Health Monitors associated with a pool


GET

/v1.0/pools/pool_id/health_monitors

List Health Monitors associated with a pool.

as it can be done using filtering and column selection
(http://docs.openstack.org/api/openstack-network/2.0/content/filtering.html)
, like this

1)      /v1.0/members/?pool_id=pool_id

2)      /v1.0/pools/pool_id?fields=health_monitors

 

What do you think?

 

Thanks,

Oleg

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


More information about the OpenStack-dev mailing list