From d69b64e27c63439a1880fc951066045e623c696f Mon Sep 17 00:00:00 2001 From: Andrew Bogott Date: Wed, 18 Jan 2012 14:38:12 -0600 Subject: Rename 'zone' to 'domain.' This code was getting confusing because of the ambiguity between dns zones and openstack availability zones. 'Domain' seems a bit clearer than 'zone' in this context. For blueprint public-and-private-dns. Change-Id: I1d420be2e6f2054ee4392ce762775ece20a823b3 --- doc/source/api_ext/ext_floating_ip_dns.rst | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'doc/source') diff --git a/doc/source/api_ext/ext_floating_ip_dns.rst b/doc/source/api_ext/ext_floating_ip_dns.rst index ef7229b6e..948081656 100644 --- a/doc/source/api_ext/ext_floating_ip_dns.rst +++ b/doc/source/api_ext/ext_floating_ip_dns.rst @@ -90,40 +90,40 @@ Get a list of registered DNS Domains published by the DNS drivers: GET /v1.1//os-floating-ip-dns/ # Sample Response: - {'zone_entries' : [ + {'domain_entries' : [ {'domain': 'domain1.example.org', 'scope': 'public', 'project': 'proj1'} {'domain': 'domain2.example.net', 'scope': 'public', 'project': 'proj2'} {'domain': 'example.net', 'scope': 'public', 'project': ''} - {'domain': 'example.internal', 'scope': 'private', 'zone': 'zone1'}]} + {'domain': 'example.internal', 'scope': 'private', 'availability_zone': 'zone1'}]} Create or modify a DNS domain: - PUT /v1.1//os-floating-ip-dns/ + PUT /v1.1//os-floating-ip-dns/ # Sample body, public domain: - {'zone_entry' : + {'domain_entry' : {'scope': 'public', 'project' : 'project1'}} # Sample body, public (projectless) domain: - {'zone_entry' : + {'domain_entry' : {'scope': 'public'}} # Sample Response, public domain (success): - {'zone_entry' : - {'zone': 'domain1.example.org', + {'domain_entry' : + {'domain': 'domain1.example.org', 'scope': 'public', 'project': 'project1'}} # Sample body, private domain: - {'zone_entry' : + {'domain_entry' : {'scope': 'private', - 'availability_zone': 'zone1'}} + 'availability_domain': 'zone1'}} # Sample Response, private domain (success): - {'zone_entry' : - {'zone': 'domain1.private', + {'domain_entry' : + {'domain': 'domain1.private', 'scope': 'private', 'availability_zone': 'zone1'}} @@ -141,7 +141,7 @@ DELETE /v1.1//os-floating-ip-dns/ Create or modify a DNS entry: - PUT /v1.1//os-floating-ip-dns//entries/ + PUT /v1.1//os-floating-ip-dns//entries/ # Sample body: { 'dns_entry' : @@ -162,7 +162,7 @@ Find unique DNS entry for a given domain and name: { 'dns_entry' : { 'ip' : '192.168.53.11', 'type' : 'A', - 'zone' : , + 'domain' : , 'name' : }} @@ -174,11 +174,11 @@ Find DNS entries for a given domain and ip: { 'dns_entries' : [ { 'ip' : , 'type' : 'A', - 'zone' : , + 'domain' : , 'name' : 'example1' } { 'ip' : , 'type' : 'A', - 'zone' : , + 'domain' : , 'name' : 'example2' }]} -- cgit