summaryrefslogtreecommitdiff
path: root/api-ref
diff options
context:
space:
mode:
authorLingxian Kong <anlin.kong@gmail.com>2021-08-02 13:15:56 +1200
committerLingxian Kong <anlin.kong@gmail.com>2021-08-02 14:25:54 +1200
commit5590ecdce036f7a2b11ff440dfd4eb637180abcc (patch)
tree5b778f8d093d92dd7e94c224a83e23deb294023b /api-ref
parent036948c516672e55c4a2c932c74bcdec80319108 (diff)
downloadtrove-5590ecdce036f7a2b11ff440dfd4eb637180abcc.tar.gz
Show user network ID for getting instance
Change-Id: Ia1e9112ae69e04f8c3e9e9d1b4a0189c743d7448
Diffstat (limited to 'api-ref')
-rwxr-xr-xapi-ref/source/parameters.yaml4
-rw-r--r--api-ref/source/samples/instance-list-detail-response.json3
-rw-r--r--api-ref/source/samples/instance-mgmt-list-response.json3
-rw-r--r--api-ref/source/samples/instance-mgmt-show-response.json3
-rw-r--r--api-ref/source/samples/instance-show-response.json3
5 files changed, 11 insertions, 5 deletions
diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml
index a2c6c910..9709a199 100755
--- a/api-ref/source/parameters.yaml
+++ b/api-ref/source/parameters.yaml
@@ -516,7 +516,9 @@ instance_ip_address:
type: string
instance_ip_addresses:
description: |
- The IP addresses of an instance, including the address type and IP.
+ The IP addresses of an instance, including the address type("private" or
+ "public") and IP. "network" field is added since Xena when the address type
+ is "private".
in: body
require: false
type: array
diff --git a/api-ref/source/samples/instance-list-detail-response.json b/api-ref/source/samples/instance-list-detail-response.json
index b938de88..4f924697 100644
--- a/api-ref/source/samples/instance-list-detail-response.json
+++ b/api-ref/source/samples/instance-list-detail-response.json
@@ -4,7 +4,8 @@
"addresses": [
{
"address": "10.1.0.62",
- "type": "private"
+ "type": "private",
+ "network": "3dc8f3c2-f335-11eb-878c-00224d6b7bc1"
},
{
"address": "172.24.5.114",
diff --git a/api-ref/source/samples/instance-mgmt-list-response.json b/api-ref/source/samples/instance-mgmt-list-response.json
index 071e610c..c412df28 100644
--- a/api-ref/source/samples/instance-mgmt-list-response.json
+++ b/api-ref/source/samples/instance-mgmt-list-response.json
@@ -4,7 +4,8 @@
"addresses": [
{
"address": "10.1.0.62",
- "type": "private"
+ "type": "private",
+ "network": "3dc8f3c2-f335-11eb-878c-00224d6b7bc1"
},
{
"address": "172.24.5.114",
diff --git a/api-ref/source/samples/instance-mgmt-show-response.json b/api-ref/source/samples/instance-mgmt-show-response.json
index 23ce592c..5a6f908f 100644
--- a/api-ref/source/samples/instance-mgmt-show-response.json
+++ b/api-ref/source/samples/instance-mgmt-show-response.json
@@ -3,7 +3,8 @@
"addresses": [
{
"address": "10.1.0.62",
- "type": "private"
+ "type": "private",
+ "network": "3dc8f3c2-f335-11eb-878c-00224d6b7bc1"
},
{
"address": "172.24.5.114",
diff --git a/api-ref/source/samples/instance-show-response.json b/api-ref/source/samples/instance-show-response.json
index 49579242..aac49d8f 100644
--- a/api-ref/source/samples/instance-show-response.json
+++ b/api-ref/source/samples/instance-show-response.json
@@ -3,7 +3,8 @@
"addresses": [
{
"address": "10.1.0.62",
- "type": "private"
+ "type": "private",
+ "network": "3dc8f3c2-f335-11eb-878c-00224d6b7bc1"
},
{
"address": "172.24.5.114",