summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-02-12 13:31:42 +0000
committerGerrit Code Review <review@openstack.org>2013-02-12 13:31:42 +0000
commitd905aea697ae14c19b416eebe523226a8b8448a0 (patch)
tree8798af63b03cd2a541dbbd8f6b1adad12c91b11f /doc
parent4df47629ec1421bee6395d9fe5b8b970cd78f2fe (diff)
parent851ea98e4ee7cd2ca74d2e98e72fb720092d050c (diff)
downloadnova-d905aea697ae14c19b416eebe523226a8b8448a0.tar.gz
nova-d905aea697ae14c19b416eebe523226a8b8448a0.tar.xz
nova-d905aea697ae14c19b416eebe523226a8b8448a0.zip
Merge "Adds API Sample tests for FloatingIPDNS extension."
Diffstat (limited to 'doc')
-rw-r--r--doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-req.json7
-rw-r--r--doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-req.xml5
-rw-r--r--doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-resp.json9
-rw-r--r--doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-resp.xml2
-rw-r--r--doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-req.json8
-rw-r--r--doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-req.xml6
-rw-r--r--doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-resp.json8
-rw-r--r--doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-resp.xml2
-rw-r--r--doc/api_samples/os-floating-ip-dns/floating-ip-dns-entry-get-resp.json9
-rw-r--r--doc/api_samples/os-floating-ip-dns/floating-ip-dns-entry-get-resp.xml2
-rw-r--r--doc/api_samples/os-floating-ip-dns/floating-ip-dns-entry-list-resp.json11
-rw-r--r--doc/api_samples/os-floating-ip-dns/floating-ip-dns-entry-list-resp.xml4
-rw-r--r--doc/api_samples/os-floating-ip-dns/floating-ip-dns-list-resp.json10
-rw-r--r--doc/api_samples/os-floating-ip-dns/floating-ip-dns-list-resp.xml4
14 files changed, 87 insertions, 0 deletions
diff --git a/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-req.json b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-req.json
new file mode 100644
index 000000000..934ed21b2
--- /dev/null
+++ b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-req.json
@@ -0,0 +1,7 @@
+{
+ 'dns_entry' :
+ {
+ 'ip': '192.168.53.11',
+ 'dns_type': 'A'
+ }
+} \ No newline at end of file
diff --git a/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-req.xml b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-req.xml
new file mode 100644
index 000000000..36fa41120
--- /dev/null
+++ b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-req.xml
@@ -0,0 +1,5 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<dns_entry>
+ <ip>192.168.53.11</ip>
+ <dns_type>A</dns_type>
+</dns_entry> \ No newline at end of file
diff --git a/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-resp.json b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-resp.json
new file mode 100644
index 000000000..70c903886
--- /dev/null
+++ b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-resp.json
@@ -0,0 +1,9 @@
+{
+ "dns_entry": {
+ "domain": "domain1.example.org",
+ "id": null,
+ "ip": "192.168.1.1",
+ "name": "instance1",
+ "type": "A"
+ }
+} \ No newline at end of file
diff --git a/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-resp.xml b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-resp.xml
new file mode 100644
index 000000000..25afe599a
--- /dev/null
+++ b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-entry-resp.xml
@@ -0,0 +1,2 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<dns_entry ip="192.168.1.1" domain="domain1.example.org" type="A" id="None" name="instance1"/> \ No newline at end of file
diff --git a/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-req.json b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-req.json
new file mode 100644
index 000000000..05aac422d
--- /dev/null
+++ b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-req.json
@@ -0,0 +1,8 @@
+{
+ 'domain_entry' :
+ {
+ 'domain': 'domain1.example.org',
+ 'scope': 'public',
+ 'project': 'project1'
+ }
+} \ No newline at end of file
diff --git a/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-req.xml b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-req.xml
new file mode 100644
index 000000000..df12b61cf
--- /dev/null
+++ b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-req.xml
@@ -0,0 +1,6 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<domain_entry>
+ <domain>domain1.example.org</domain>
+ <scope>public</scope>
+ <project>project1</project>
+</domain_entry> \ No newline at end of file
diff --git a/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-resp.json b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-resp.json
new file mode 100644
index 000000000..db43e92d3
--- /dev/null
+++ b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-resp.json
@@ -0,0 +1,8 @@
+{
+ "domain_entry": {
+ "availability_zone": null,
+ "domain": "domain1.example.org",
+ "project": "project1",
+ "scope": "public"
+ }
+} \ No newline at end of file
diff --git a/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-resp.xml b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-resp.xml
new file mode 100644
index 000000000..8bdf42c41
--- /dev/null
+++ b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-create-or-update-resp.xml
@@ -0,0 +1,2 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<domain_entry project="project1" scope="public" domain="domain1.example.org" availability_zone="None"/> \ No newline at end of file
diff --git a/doc/api_samples/os-floating-ip-dns/floating-ip-dns-entry-get-resp.json b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-entry-get-resp.json
new file mode 100644
index 000000000..84ee3930a
--- /dev/null
+++ b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-entry-get-resp.json
@@ -0,0 +1,9 @@
+{
+ "dns_entry": {
+ "domain": "domain1.example.org",
+ "id": null,
+ "ip": "192.168.1.1",
+ "name": "instance1",
+ "type": null
+ }
+} \ No newline at end of file
diff --git a/doc/api_samples/os-floating-ip-dns/floating-ip-dns-entry-get-resp.xml b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-entry-get-resp.xml
new file mode 100644
index 000000000..441b977e6
--- /dev/null
+++ b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-entry-get-resp.xml
@@ -0,0 +1,2 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<dns_entry ip="192.168.1.1" domain="domain1.example.org" type="None" id="None" name="instance1"/> \ No newline at end of file
diff --git a/doc/api_samples/os-floating-ip-dns/floating-ip-dns-entry-list-resp.json b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-entry-list-resp.json
new file mode 100644
index 000000000..3263de43a
--- /dev/null
+++ b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-entry-list-resp.json
@@ -0,0 +1,11 @@
+{
+ "dns_entries": [
+ {
+ "domain": "domain1.example.org",
+ "id": null,
+ "ip": "192.168.1.1",
+ "name": "instance1",
+ "type": null
+ }
+ ]
+} \ No newline at end of file
diff --git a/doc/api_samples/os-floating-ip-dns/floating-ip-dns-entry-list-resp.xml b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-entry-list-resp.xml
new file mode 100644
index 000000000..8d910e09b
--- /dev/null
+++ b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-entry-list-resp.xml
@@ -0,0 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<dns_entries>
+ <dns_entry ip="192.168.1.1" domain="domain1.example.org" type="None" id="None" name="instance1"/>
+</dns_entries> \ No newline at end of file
diff --git a/doc/api_samples/os-floating-ip-dns/floating-ip-dns-list-resp.json b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-list-resp.json
new file mode 100644
index 000000000..8882c23a3
--- /dev/null
+++ b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-list-resp.json
@@ -0,0 +1,10 @@
+{
+ "domain_entries": [
+ {
+ "availability_zone": null,
+ "domain": "domain1.example.org",
+ "project": "project1",
+ "scope": "public"
+ }
+ ]
+} \ No newline at end of file
diff --git a/doc/api_samples/os-floating-ip-dns/floating-ip-dns-list-resp.xml b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-list-resp.xml
new file mode 100644
index 000000000..d874ef058
--- /dev/null
+++ b/doc/api_samples/os-floating-ip-dns/floating-ip-dns-list-resp.xml
@@ -0,0 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<domain_entries>
+ <domain_entry project="project1" scope="public" domain="domain1.example.org" availability_zone="None"/>
+</domain_entries> \ No newline at end of file