Adds API Sample tests for FloatingIPDNS extension.
Partially implements blueprint nova-api-samples Fixes bug 1070164 Change-Id: I4c3e5d406ce43c27bb49a651facaa831de646a66
This commit is contained in:
29 changed files with 260 additions and 1 deletions
@@ -0,0 +1,7 @@
{
'dns_entry' :
{
'ip': '192.168.53.11',
'dns_type': 'A'
}
}
@@ -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>
@@ -0,0 +1,9 @@
{
"dns_entry": {
"domain": "domain1.example.org",
"id": null,
"ip": "192.168.1.1",
"name": "instance1",
"type": "A"
}
}
@@ -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"/>
@@ -0,0 +1,8 @@
{
'domain_entry' :
{
'domain': 'domain1.example.org',
'scope': 'public',
'project': 'project1'
}
}
@@ -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>
@@ -0,0 +1,8 @@
{
"domain_entry": {
"availability_zone": null,
"domain": "domain1.example.org",
"project": "project1",
"scope": "public"
}
}
@@ -0,0 +1,2 @@
<?xml version='1.0' encoding='UTF-8'?>
<domain_entry project="project1" scope="public" domain="domain1.example.org" availability_zone="None"/>
@@ -0,0 +1,9 @@
{
"dns_entry": {
"domain": "domain1.example.org",
"id": null,
"ip": "192.168.1.1",
"name": "instance1",
"type": null
}
}
@@ -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"/>
@@ -0,0 +1,11 @@
{
"dns_entries": [
{
"domain": "domain1.example.org",
"id": null,
"ip": "192.168.1.1",
"name": "instance1",
"type": null
}
]
}
@@ -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>
@@ -0,0 +1,10 @@
{
"domain_entries": [
{
"availability_zone": null,
"domain": "domain1.example.org",
"project": "project1",
"scope": "public"
}
]
}
@@ -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>
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.