Thanks a lot Michael.<br><br><div class="gmail_quote"><div dir="ltr">On Fri, 27 Apr 2018, 19:57 Michael Johnson, <<a href="mailto:johnsomor@gmail.com">johnsomor@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Artem,<br>
<br>
You are correct that the API reference at<br>
<a href="https://developer.openstack.org/api-ref/network/v2/index.html#pools" rel="noreferrer" target="_blank">https://developer.openstack.org/api-ref/network/v2/index.html#pools</a> is<br>
incorrect. As you figured out, someone mistakenly merged the long<br>
dead/removed LBaaS v1 API specification into the LBaaS v2 API<br>
specification at that link.<br>
<br>
The current, and up to date load balancing API reference is at:<br>
<a href="https://developer.openstack.org/api-ref/load-balancer/v2/index.html" rel="noreferrer" target="_blank">https://developer.openstack.org/api-ref/load-balancer/v2/index.html</a><br>
<br>
This documents the Octavia API which is a superset of the the LBaaS v2<br>
API, so it should help you clarify any issues you run into.<br>
<br>
That said, due to the deprecation of neutron-lbaas and spin out from<br>
neutron we decided to explicitly not support neutron-lbaas in the<br>
OpenStack Client. neutron-lbaas is only supported using the neutron<br>
client. You can continue to use the neutron client CLI with<br>
neutron-lbaas through the neutron-lbaas deprecation cycle.<br>
<br>
When you move to using Octavia you can switch to using the<br>
python-octaviaclient OSC plugin.<br>
<br>
Michael<br>
<br>
On Wed, Apr 25, 2018 at 5:51 AM, Artem Goncharov<br>
<<a href="mailto:artem.goncharov@gmail.com" target="_blank">artem.goncharov@gmail.com</a>> wrote:<br>
> Hi all,<br>
><br>
> after working with OpenStackSDK in my cloud I have found one difference in<br>
> the Neutron LBaaS (yes, I know it is deprecated, but it is still used). The<br>
> fix would be small and fast, unfortunately I have faced problems with the<br>
> API description:<br>
> - <a href="https://wiki.openstack.org/wiki/Neutron/LBaaS/API_2.0#Pools" rel="noreferrer" target="_blank">https://wiki.openstack.org/wiki/Neutron/LBaaS/API_2.0#Pools</a> describes,<br>
> that the LB pool has healthmonitor_id attribute (what eventually also fits<br>
> reality of my cloud)<br>
> - <a href="https://developer.openstack.org/api-ref/network/v2/index.html#pools" rel="noreferrer" target="_blank">https://developer.openstack.org/api-ref/network/v2/index.html#pools</a> (which<br>
> is referred to from the previous link in the deprecation note) describes,<br>
> that the LB pool has healthmonitors (and healthmonitors_status) as list of<br>
> IDs. Basically in this regards it is same as<br>
> <a href="https://wiki.openstack.org/wiki/Neutron/LBaaS/API_1.0#Pool" rel="noreferrer" target="_blank">https://wiki.openstack.org/wiki/Neutron/LBaaS/API_1.0#Pool</a> description<br>
> - unfortunately even<br>
> <a href="https://github.com/openstack/neutron-lib/blob/master/api-ref/source/v2/lbaas-v2.inc" rel="noreferrer" target="_blank">https://github.com/openstack/neutron-lib/blob/master/api-ref/source/v2/lbaas-v2.inc</a><br>
> describes Pool.healthmonitors (however it also contains<br>
> <a href="https://github.com/openstack/neutron-lib/blob/master/api-ref/source/v2/samples/lbaas/pools-list-response2.json" rel="noreferrer" target="_blank">https://github.com/openstack/neutron-lib/blob/master/api-ref/source/v2/samples/lbaas/pools-list-response2.json</a><br>
> sample with the Pool.healthmonitor_id)<br>
> - OpenStackSDK contains network.pool.health_monitors (with underscore)<br>
><br>
> I want to bring this all in an order and enable managing of the loadbalancer<br>
> through OSC for my OpenStack cloud, but I can't figure out what is the<br>
> correct behavior here.<br>
><br>
> Can anybody, please, help in figuring out the truth here?<br>
><br>
> Thanks,<br>
> Artem<br>
><br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div>