Files
5ee95b324085bbbb7fbce3b4deb236a3e916a622
nova /api-ref /source /os-floating-ip-dns.inc

204 lines
4.3 KiB
PHP
Raw Normal View History

.. needs:example_verification
.. needs:body_verification
Floating IP DNS records (os-floating-ip-dns) (DEPRECATED)
==========================================================
.. warning::
These APIs are proxy calls to the Network service. Nova has
deprecated all the proxy APIs and users should use the native APIs
instead.
See: `Relevant Network APIs
<http://developer.openstack.org/api-ref-networking-v2-ext.html>`__.
Manages DNS records associated with floating IP addresses. The API
dispatches requests to a DNS driver that is selected at startup.
List Dns Domains
================
Lists registered DNS domains published by the DNS drivers.
Normal response codes: 200
Response
Create Or Update Dns Domain
===========================
Creates or updates a DNS domain.
Normal response codes: 200
forbidden(403), notImplemented(501)
Request
.. 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
.. literalinclude:: ../../doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-resp.json
:language: javascript
Delete Dns Domain
=================
Deletes a DNS domain and all associated host entries.
itemNotFound(404), notImplemented(501)
Request
.. rest_parameters:: parameters.yaml
- domain: domain
Response
================
Normal response codes: 200
itemNotFound(404), notImplemented(501)
Request
.. rest_parameters:: parameters.yaml
- domain: domain
Response
Find Unique Dns Entry
=====================
Finds a unique DNS entry for a domain and name.
Normal response codes: 200
itemNotFound(404), notImplemented(501)
Request
.. rest_parameters:: parameters.yaml
- domain: domain
- name: name
Response
==========================
Request
.. rest_parameters:: parameters.yaml
- domain: domain
- name: name
.. literalinclude:: ../../doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-req.json
:language: javascript
.. literalinclude:: ../../doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-resp.json
:language: javascript
Delete Dns Entry
itemNotFound(404), notImplemented(501)
Request
.. rest_parameters:: parameters.yaml
- domain: domain
Response