summaryrefslogtreecommitdiff
path: root/doc/api_samples
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2019-09-21 22:38:51 +0100
committerStephen Finucane <sfinucan@redhat.com>2019-11-22 16:03:11 +0000
commite5e477c42adb7468ec2dcdd03cceaa80d27716ee (patch)
treee55160b8fa136810d79dcfef052116a89db7aef0 /doc/api_samples
parent991d675675c1c6bb87a2b9d19327e2b4473f6c0b (diff)
downloadnova-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 'doc/api_samples')
-rw-r--r--doc/api_samples/os-tenant-networks/networks-list-res.json11
1 files changed, 3 insertions, 8 deletions
diff --git a/doc/api_samples/os-tenant-networks/networks-list-res.json b/doc/api_samples/os-tenant-networks/networks-list-res.json
index b857e8112a..006663ded1 100644
--- a/doc/api_samples/os-tenant-networks/networks-list-res.json
+++ b/doc/api_samples/os-tenant-networks/networks-list-res.json
@@ -1,14 +1,9 @@
{
"networks": [
{
- "cidr": "10.0.0.0/29",
- "id": "616fb98f-46ca-475e-917e-2563e5a8cd19",
- "label": "test_0"
- },
- {
- "cidr": "10.0.0.8/29",
- "id": "616fb98f-46ca-475e-917e-2563e5a8cd20",
- "label": "test_1"
+ "cidr": "None",
+ "id": "3cb9bc59-5699-4588-a4b1-b87f96708bc6",
+ "label": "private"
}
]
}