Remove domain
from floating-ip-dns-create-or-update-req body
`domain` is passed in the url req id, so it is unuseful in the request body, remove it and v3 api-samples. Change-Id: If8bdfb7fc928daaf01c9612c97c6b391d3139505
This commit is contained in:
parent
8b0e091577
commit
5fbae427ea
@ -1,6 +1,5 @@
|
||||
{
|
||||
"domain_entry": {
|
||||
"domain": "domain1.example.org",
|
||||
"scope": "public",
|
||||
"project": "project1"
|
||||
}
|
||||
|
@ -1,6 +1,5 @@
|
||||
{
|
||||
"domain_entry": {
|
||||
"domain": "%(domain)s",
|
||||
"scope": "%(scope)s",
|
||||
"project": "%(project)s"
|
||||
}
|
||||
|
@ -26,11 +26,11 @@ class FloatingIpDNSTest(api_sample_base.ApiSampleTestBaseV3):
|
||||
ip = '192.168.1.1'
|
||||
|
||||
def _create_or_update(self):
|
||||
subs = {'domain': self.domain,
|
||||
'project': self.project,
|
||||
subs = {'project': self.project,
|
||||
'scope': self.scope}
|
||||
response = self._do_put('os-floating-ip-dns/%s' % self.domain,
|
||||
'floating-ip-dns-create-or-update-req', subs)
|
||||
subs.update({'domain': self.domain})
|
||||
self._verify_response('floating-ip-dns-create-or-update-resp', subs,
|
||||
response, 200)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user