summaryrefslogtreecommitdiff
path: root/api-ref
diff options
context:
space:
mode:
authorLingxian Kong <anlin.kong@gmail.com>2020-04-18 23:04:09 +1200
committerLingxian Kong <anlin.kong@gmail.com>2020-04-27 07:04:05 +1200
commit910519127d8fb9880863eb219df68a574d00df6a (patch)
treeaef0379b2475e876e3f1ff68270b26b13db10244 /api-ref
parentfeb982547afe26be4e885b75d82fa5d51a784c0e (diff)
downloadtrove-910519127d8fb9880863eb219df68a574d00df6a.tar.gz
Remove flavor API
Uses should get flavor from Nova. Change-Id: Id26d71811f94cdcf4ff188c021d4ed5613eeb8cd
Diffstat (limited to 'api-ref')
-rw-r--r--api-ref/source/samples/instance-create-response.json12
-rw-r--r--api-ref/source/samples/instance-list-detail-response.json24
-rw-r--r--api-ref/source/samples/instance-list-response.json12
-rw-r--r--api-ref/source/samples/instance-mgmt-list-response.json24
-rw-r--r--api-ref/source/samples/instance-mgmt-show-response.json12
-rw-r--r--api-ref/source/samples/instance-show-response.json12
6 files changed, 8 insertions, 88 deletions
diff --git a/api-ref/source/samples/instance-create-response.json b/api-ref/source/samples/instance-create-response.json
index 3a7c6ca0..14edc0aa 100644
--- a/api-ref/source/samples/instance-create-response.json
+++ b/api-ref/source/samples/instance-create-response.json
@@ -6,17 +6,7 @@
"version": "5.7"
},
"flavor": {
- "id": "6",
- "links": [
- {
- "href": "https://127.0.0.1:8779/v1.0/9f8dd5eacb074c9f87d2d822c9092aa5/flavors/6",
- "rel": "self"
- },
- {
- "href": "https://127.0.0.1:8779/flavors/6",
- "rel": "bookmark"
- }
- ]
+ "id": "6"
},
"id": "b76a6a76-748b-4064-adec-4c9e6c9abd68",
"links": [
diff --git a/api-ref/source/samples/instance-list-detail-response.json b/api-ref/source/samples/instance-list-detail-response.json
index 619c87bf..f253c099 100644
--- a/api-ref/source/samples/instance-list-detail-response.json
+++ b/api-ref/source/samples/instance-list-detail-response.json
@@ -17,17 +17,7 @@
"version": "5.7"
},
"flavor": {
- "id": "6",
- "links": [
- {
- "href": "https://127.0.0.1:8779/v1.0/9f8dd5eacb074c9f87d2d822c9092aa5/flavors/6",
- "rel": "self"
- },
- {
- "href": "https://127.0.0.1:8779/flavors/6",
- "rel": "bookmark"
- }
- ]
+ "id": "6"
},
"id": "7de1bed8-6983-4d46-9a52-0abfbb0d27a2",
"ip": [
@@ -65,17 +55,7 @@
"message": "Failed to create User port for instance b76a6a76-748b-4064-adec-4c9e6c9abd68"
},
"flavor": {
- "id": "6",
- "links": [
- {
- "href": "https://127.0.0.1:8779/v1.0/9f8dd5eacb074c9f87d2d822c9092aa5/flavors/6",
- "rel": "self"
- },
- {
- "href": "https://127.0.0.1:8779/flavors/6",
- "rel": "bookmark"
- }
- ]
+ "id": "6"
},
"id": "b76a6a76-748b-4064-adec-4c9e6c9abd68",
"links": [
diff --git a/api-ref/source/samples/instance-list-response.json b/api-ref/source/samples/instance-list-response.json
index 35b1964a..df995aa1 100644
--- a/api-ref/source/samples/instance-list-response.json
+++ b/api-ref/source/samples/instance-list-response.json
@@ -6,17 +6,7 @@
"version": "5.7"
},
"flavor": {
- "id": "6",
- "links": [
- {
- "href": "https://127.0.0.1:8779/v1.0/9f8dd5eacb074c9f87d2d822c9092aa5/flavors/6",
- "rel": "self"
- },
- {
- "href": "https://127.0.0.1:8779/flavors/6",
- "rel": "bookmark"
- }
- ]
+ "id": "6"
},
"id": "7de1bed8-6983-4d46-9a52-0abfbb0d27a2",
"ip": [
diff --git a/api-ref/source/samples/instance-mgmt-list-response.json b/api-ref/source/samples/instance-mgmt-list-response.json
index f67e6325..17ec62c2 100644
--- a/api-ref/source/samples/instance-mgmt-list-response.json
+++ b/api-ref/source/samples/instance-mgmt-list-response.json
@@ -20,17 +20,7 @@
"deleted_at": null,
"encrypted_rpc_messaging": true,
"flavor": {
- "id": "d2",
- "links": [
- {
- "href": "https://127.0.0.1:8779/v1.0/2afa58fd5db34fd8b7b659d997a5341f/flavors/d2",
- "rel": "self"
- },
- {
- "href": "https://127.0.0.1:8779/flavors/d2",
- "rel": "bookmark"
- }
- ]
+ "id": "d2"
},
"id": "7de1bed8-6983-4d46-9a52-0abfbb0d27a2",
"ip": [
@@ -82,17 +72,7 @@
"message": "Failed to create User port for instance b76a6a76-748b-4064-adec-4c9e6c9abd68"
},
"flavor": {
- "id": "6",
- "links": [
- {
- "href": "https://127.0.0.1:8779/v1.0/2afa58fd5db34fd8b7b659d997a5341f/flavors/6",
- "rel": "self"
- },
- {
- "href": "https://127.0.0.1:8779/flavors/6",
- "rel": "bookmark"
- }
- ]
+ "id": "6"
},
"id": "b76a6a76-748b-4064-adec-4c9e6c9abd68",
"links": [
diff --git a/api-ref/source/samples/instance-mgmt-show-response.json b/api-ref/source/samples/instance-mgmt-show-response.json
index eea90bc9..9ca5bd9c 100644
--- a/api-ref/source/samples/instance-mgmt-show-response.json
+++ b/api-ref/source/samples/instance-mgmt-show-response.json
@@ -19,17 +19,7 @@
"deleted_at": null,
"encrypted_rpc_messaging": true,
"flavor": {
- "id": "d2",
- "links": [
- {
- "href": "https://127.0.0.1:8779/v1.0/2afa58fd5db34fd8b7b659d997a5341f/flavors/d2",
- "rel": "self"
- },
- {
- "href": "https://127.0.0.1:8779/flavors/d2",
- "rel": "bookmark"
- }
- ]
+ "id": "d2"
},
"guest_status": {
"state_description": "healthy"
diff --git a/api-ref/source/samples/instance-show-response.json b/api-ref/source/samples/instance-show-response.json
index 32fa7f8b..7b609682 100644
--- a/api-ref/source/samples/instance-show-response.json
+++ b/api-ref/source/samples/instance-show-response.json
@@ -16,17 +16,7 @@
"version": "5.7"
},
"flavor": {
- "id": "6",
- "links": [
- {
- "href": "https://127.0.0.1:8779/v1.0/9f8dd5eacb074c9f87d2d822c9092aa5/flavors/6",
- "rel": "self"
- },
- {
- "href": "https://127.0.0.1:8779/flavors/6",
- "rel": "bookmark"
- }
- ]
+ "id": "6"
},
"id": "7de1bed8-6983-4d46-9a52-0abfbb0d27a2",
"ip": [