diff options
author | Stephen Finucane <sfinucan@redhat.com> | 2019-09-21 22:38:51 +0100 |
---|---|---|
committer | Stephen Finucane <sfinucan@redhat.com> | 2019-11-22 16:03:11 +0000 |
commit | e5e477c42adb7468ec2dcdd03cceaa80d27716ee (patch) | |
tree | e55160b8fa136810d79dcfef052116a89db7aef0 /api-ref/source/os-tenant-network.inc | |
parent | 991d675675c1c6bb87a2b9d19327e2b4473f6c0b (diff) | |
download | nova-e5e477c42adb7468ec2dcdd03cceaa80d27716ee.tar.gz |
Remove '/os-tenant-networks' REST API
Like '/os-networks', we can't remove this in its entirety due to the
fact that some of these are proxy URLs that also work with neutron.
These are retained but everything else is nuked.
Note that this highlights a bug in the API, whereby a missing
'objects.Network.cidr' value results in a value of 'None' being output
over the API. Clearly this is incorrect, but it's probably not worth
fixing for this deprecated API.
Change-Id: I31cb0891144bdd7945479bb6692b0a533de4c5d0
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'api-ref/source/os-tenant-network.inc')
-rw-r--r-- | api-ref/source/os-tenant-network.inc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/api-ref/source/os-tenant-network.inc b/api-ref/source/os-tenant-network.inc index ceb405800f..41314fb24c 100644 --- a/api-ref/source/os-tenant-network.inc +++ b/api-ref/source/os-tenant-network.inc @@ -1,10 +1,8 @@ .. -*- rst -*- -.. NOTE(gmann): These APIs are deprecated so do not update this - file even body, example or parameters are not complete. -=================================================== +==================================================== Project networks (os-tenant-networks) (DEPRECATED) -=================================================== +==================================================== .. warning:: @@ -57,7 +55,8 @@ through the ``policy.json`` file. Normal response codes: 200 -Error response codes: badRequest(400), unauthorized(401), forbidden(403), conflict(409), serviceUnavailable(503) +Error response codes: badRequest(400), unauthorized(401), forbidden(403), +conflict(409), gone(410), serviceUnavailable(503) **Example Create Project Network: JSON request** @@ -121,7 +120,8 @@ can change these permissions through the ``policy.json`` file. Normal response codes: 202 -Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), conflict(409) +Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), +conflict(409), gone(410) Request ------- |