Hi Artem, You are correct that the API reference at https://developer.openstack.org/api-ref/network/v2/index.html#pools is incorrect. As you figured out, someone mistakenly merged the long dead/removed LBaaS v1 API specification into the LBaaS v2 API specification at that link.
The current, and up to date load balancing API reference is at: https://developer.openstack.org/api-ref/load-balancer/v2/index.html This documents the Octavia API which is a superset of the the LBaaS v2 API, so it should help you clarify any issues you run into. That said, due to the deprecation of neutron-lbaas and spin out from neutron we decided to explicitly not support neutron-lbaas in the OpenStack Client. neutron-lbaas is only supported using the neutron client. You can continue to use the neutron client CLI with neutron-lbaas through the neutron-lbaas deprecation cycle. When you move to using Octavia you can switch to using the python-octaviaclient OSC plugin. Michael On Wed, Apr 25, 2018 at 5:51 AM, Artem Goncharov <artem.goncha...@gmail.com> wrote: > Hi all, > > after working with OpenStackSDK in my cloud I have found one difference in > the Neutron LBaaS (yes, I know it is deprecated, but it is still used). The > fix would be small and fast, unfortunately I have faced problems with the > API description: > - https://wiki.openstack.org/wiki/Neutron/LBaaS/API_2.0#Pools describes, > that the LB pool has healthmonitor_id attribute (what eventually also fits > reality of my cloud) > - https://developer.openstack.org/api-ref/network/v2/index.html#pools (which > is referred to from the previous link in the deprecation note) describes, > that the LB pool has healthmonitors (and healthmonitors_status) as list of > IDs. Basically in this regards it is same as > https://wiki.openstack.org/wiki/Neutron/LBaaS/API_1.0#Pool description > - unfortunately even > https://github.com/openstack/neutron-lib/blob/master/api-ref/source/v2/lbaas-v2.inc > describes Pool.healthmonitors (however it also contains > https://github.com/openstack/neutron-lib/blob/master/api-ref/source/v2/samples/lbaas/pools-list-response2.json > sample with the Pool.healthmonitor_id) > - OpenStackSDK contains network.pool.health_monitors (with underscore) > > I want to bring this all in an order and enable managing of the loadbalancer > through OSC for my OpenStack cloud, but I can't figure out what is the > correct behavior here. > > Can anybody, please, help in figuring out the truth here? > > Thanks, > Artem > > __________________________________________________________________________ > 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 > __________________________________________________________________________ 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