nova/api-ref/source/os-floating-ip-pools.inc
Matt Riedemann 8d4db5b88a Update API reference for os-floating-ip-pools
The os-floating-ip-pools API is implemented for both
nova-network and neutron. When using neutron, it justs
lists external network names.

Since it's a deprecated proxy to neutron we won't remove
it as part of blueprint remove-nova-network, but we can
update the API reference to explain how to achieve the
equivalent functionality in the networking service API,
so that's done here.

Change-Id: Ieb4c7a0657929f66ed5b642c5941e65aee24372d
2018-06-26 09:47:23 -04:00

47 lines
1.3 KiB
ReStructuredText

.. -*- rst -*-
======================================================
Floating IP pools (os-floating-ip-pools) (DEPRECATED)
======================================================
.. warning::
This API is a proxy call to the Network service. Nova has
deprecated all the proxy APIs and users should use the native APIs
instead. This API will fail with a 404 starting from microversion 2.36.
For the equivalent functionality in the Network service, one can request::
GET /networks?router:external=True&fields=name
Manages groups of floating IPs.
List Floating Ip Pools
======================
.. rest_method:: GET /os-floating-ip-pools
Lists floating IP pools.
Policy defaults enable only users with the administrative role or user
who is authorized to operate on tenant <tenant_id> to perform this
operation. Cloud providers can change these permissions through the
``policy.json`` file.
Normal response codes: 200
Error response codes: unauthorized(401), forbidden(403)
Response
--------
.. rest_parameters:: parameters.yaml
- floating_ip_pools: floating_ip_pools
- name: floating_ip_pool_name
**Example List Floating Ip Pools: JSON response**
.. literalinclude:: ../../doc/api_samples/os-floating-ip-pools/floatingippools-list-resp.json
:language: javascript