2016-04-12 09:03:46 -04:00
|
|
|
.. -*- rst -*-
|
2016-04-20 16:10:51 -04:00
|
|
|
.. needs:parameter_verification
|
|
|
|
.. needs:example_verification
|
|
|
|
.. needs:body_verification
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2018-07-17 03:16:13 +00:00
|
|
|
=============================================
|
|
|
|
Floating IP DNS records (os-floating-ip-dns)
|
|
|
|
=============================================
|
2016-06-14 15:31:18 +09:00
|
|
|
|
|
|
|
.. warning::
|
|
|
|
|
2018-06-26 09:41:07 -04:00
|
|
|
Since these APIs are only implemented for **nova-network**, they are
|
|
|
|
deprecated. These will fail with a 404 starting from microversion 2.36.
|
2018-07-16 13:25:50 +01:00
|
|
|
They were removed in the 18.0.0 Rocky release.
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Manages DNS records associated with floating IP addresses. The API
|
|
|
|
dispatches requests to a DNS driver that is selected at startup.
|
|
|
|
|
2018-07-16 13:25:50 +01:00
|
|
|
List DNS Domains
|
2016-04-12 09:03:46 -04:00
|
|
|
================
|
|
|
|
|
2016-06-02 08:50:03 -04:00
|
|
|
.. rest_method:: GET /os-floating-ip-dns
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Lists registered DNS domains published by the DNS drivers.
|
|
|
|
|
|
|
|
Normal response codes: 200
|
|
|
|
|
2018-07-16 13:25:50 +01:00
|
|
|
Error response codes: unauthorized(401), forbidden(403), gone(410),
|
|
|
|
notImplemented(501)
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Response
|
2016-04-14 13:10:59 -04:00
|
|
|
--------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-04-19 17:52:18 +09:00
|
|
|
**Example List Dns Domains: JSON response**
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-04-20 11:05:26 +09:00
|
|
|
.. literalinclude:: ../../doc/api_samples/os-floating-ip-dns/floating-ip-dns-list-resp.json
|
2016-04-12 09:03:46 -04:00
|
|
|
:language: javascript
|
|
|
|
|
2018-07-16 13:25:50 +01:00
|
|
|
Create Or Update DNS Domain
|
2016-04-12 09:03:46 -04:00
|
|
|
===========================
|
|
|
|
|
2016-06-02 08:50:03 -04:00
|
|
|
.. rest_method:: PUT /os-floating-ip-dns/{domain}
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Creates or updates a DNS domain.
|
|
|
|
|
|
|
|
Normal response codes: 200
|
|
|
|
|
2018-07-16 13:25:50 +01:00
|
|
|
Error response codes: badRequest(400), unauthorized(401), forbidden(403),
|
|
|
|
gone(410), notImplemented(501)
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Request
|
2016-04-14 13:10:59 -04:00
|
|
|
-------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
|
|
|
- domain: domain
|
|
|
|
|
|
|
|
**Example Create Or Update Dns Domain: JSON request**
|
|
|
|
|
|
|
|
.. literalinclude:: ../../doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-req.json
|
|
|
|
:language: javascript
|
|
|
|
|
|
|
|
Response
|
2016-04-14 13:10:59 -04:00
|
|
|
--------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-04-19 17:52:18 +09:00
|
|
|
**Example Create Or Update Dns Domain: JSON response**
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
.. literalinclude:: ../../doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-resp.json
|
|
|
|
:language: javascript
|
|
|
|
|
2018-07-16 13:25:50 +01:00
|
|
|
Delete DNS Domain
|
2016-04-12 09:03:46 -04:00
|
|
|
=================
|
|
|
|
|
2016-06-02 08:50:03 -04:00
|
|
|
.. rest_method:: DELETE /os-floating-ip-dns/{domain}
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Deletes a DNS domain and all associated host entries.
|
|
|
|
|
2016-04-20 11:05:26 +09:00
|
|
|
Normal response codes: 202
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2018-07-16 13:25:50 +01:00
|
|
|
Error response codes: unauthorized(401), forbidden(403), itemNotFound(404),
|
|
|
|
gone(410), notImplemented(501)
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Request
|
2016-04-14 13:10:59 -04:00
|
|
|
-------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
|
|
|
- domain: domain
|
|
|
|
|
|
|
|
Response
|
2016-04-14 13:10:59 -04:00
|
|
|
--------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2018-07-16 13:25:50 +01:00
|
|
|
List DNS Entries
|
2016-05-11 23:20:35 +00:00
|
|
|
================
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-06-02 08:50:03 -04:00
|
|
|
.. rest_method:: GET /os-floating-ip-dns/{domain}/entries/{ip}
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-05-11 23:20:35 +00:00
|
|
|
Lists DNS entries for a domain and IP.
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Normal response codes: 200
|
|
|
|
|
2018-07-16 13:25:50 +01:00
|
|
|
Error response codes: unauthorized(401), forbidden(403), itemNotFound(404),
|
|
|
|
gone(410), notImplemented(501)
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Request
|
2016-04-14 13:10:59 -04:00
|
|
|
-------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
|
|
|
- domain: domain
|
2016-05-11 23:20:35 +00:00
|
|
|
- ip: ip
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Response
|
2016-04-14 13:10:59 -04:00
|
|
|
--------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2018-07-16 13:25:50 +01:00
|
|
|
**Example List DNS Entries: JSON response**
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-05-11 23:20:35 +00:00
|
|
|
.. literalinclude:: ../../doc/api_samples/os-floating-ip-dns/floating-ip-dns-entry-list-resp.json
|
2016-04-12 09:03:46 -04:00
|
|
|
:language: javascript
|
|
|
|
|
2018-07-16 13:25:50 +01:00
|
|
|
Find Unique DNS Entry
|
2016-04-12 09:03:46 -04:00
|
|
|
=====================
|
|
|
|
|
2016-06-02 08:50:03 -04:00
|
|
|
.. rest_method:: GET /os-floating-ip-dns/{domain}/entries/{name}
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Finds a unique DNS entry for a domain and name.
|
|
|
|
|
|
|
|
Normal response codes: 200
|
|
|
|
|
2018-07-16 13:25:50 +01:00
|
|
|
Error response codes: unauthorized(401), forbidden(403), itemNotFound(404),
|
|
|
|
gone(410), notImplemented(501)
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Request
|
2016-04-14 13:10:59 -04:00
|
|
|
-------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
|
|
|
- domain: domain
|
|
|
|
- name: name
|
|
|
|
|
|
|
|
Response
|
2016-04-14 13:10:59 -04:00
|
|
|
--------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2018-07-16 13:25:50 +01:00
|
|
|
**Example Find Unique DNS Entry: JSON response**
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-04-20 11:05:26 +09:00
|
|
|
.. literalinclude:: ../../doc/api_samples/os-floating-ip-dns/floating-ip-dns-entry-get-resp.json
|
2016-04-12 09:03:46 -04:00
|
|
|
:language: javascript
|
|
|
|
|
2018-07-16 13:25:50 +01:00
|
|
|
Create Or Update DNS Entry
|
2016-05-11 23:20:35 +00:00
|
|
|
==========================
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-06-02 08:50:03 -04:00
|
|
|
.. rest_method:: PUT /os-floating-ip-dns/{domain}/entries/{name}
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-05-11 23:20:35 +00:00
|
|
|
Creates or updates a DNS entry.
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-05-11 23:20:35 +00:00
|
|
|
Normal response codes: 200
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2018-07-16 13:25:50 +01:00
|
|
|
Error response codes: unauthorized(401), forbidden(403), gone(410),
|
|
|
|
notImplemented(501)
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Request
|
2016-04-14 13:10:59 -04:00
|
|
|
-------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
|
|
|
- domain: domain
|
|
|
|
- name: name
|
|
|
|
|
2018-07-16 13:25:50 +01:00
|
|
|
**Example Create Or Update DNS Entry: JSON request**
|
2016-05-11 23:20:35 +00:00
|
|
|
|
|
|
|
.. literalinclude:: ../../doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-req.json
|
|
|
|
:language: javascript
|
|
|
|
|
2016-04-12 09:03:46 -04:00
|
|
|
Response
|
2016-04-14 13:10:59 -04:00
|
|
|
--------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2018-07-16 13:25:50 +01:00
|
|
|
**Example Create Or Update DNS Entry: JSON response**
|
2016-05-11 23:20:35 +00:00
|
|
|
|
|
|
|
.. literalinclude:: ../../doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-resp.json
|
|
|
|
:language: javascript
|
|
|
|
|
2018-07-16 13:25:50 +01:00
|
|
|
Delete DNS Entry
|
2016-04-12 09:03:46 -04:00
|
|
|
================
|
|
|
|
|
2016-06-02 08:50:03 -04:00
|
|
|
.. rest_method:: DELETE /os-floating-ip-dns/{domain}/entries/{name}
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-05-11 23:20:35 +00:00
|
|
|
Deletes a DNS entry.
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-05-11 23:20:35 +00:00
|
|
|
Normal response codes: 202
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2018-07-16 13:25:50 +01:00
|
|
|
Error response codes: unauthorized(401), forbidden(403), itemNotFound(404),
|
|
|
|
gone(410), notImplemented(501)
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Request
|
2016-04-14 13:10:59 -04:00
|
|
|
-------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
|
|
|
- domain: domain
|
2016-05-11 23:20:35 +00:00
|
|
|
- name: name
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Response
|
2016-04-14 13:10:59 -04:00
|
|
|
--------
|