Remove flavor operations from API doc
Trove doesn't need to expose resources directly from Nova. Change-Id: If705470330f51be9b78914ac2d456c62348c4329
This commit is contained in:
parent
2c6feef958
commit
f83899867e
@ -1,81 +0,0 @@
|
||||
.. -*- rst -*-
|
||||
|
||||
=================
|
||||
Flavors (flavors)
|
||||
=================
|
||||
|
||||
Lists all flavors and shows details for a flavor, by ID.
|
||||
|
||||
|
||||
Show flavor details
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. rest_method:: GET /v1.0/{accountId}/flavors/{flavorId}
|
||||
|
||||
Shows flavor details with details of the RAM.
|
||||
|
||||
This resource is identical to the flavors found in the OpenStack
|
||||
Compute API, but without the disk property.
|
||||
|
||||
The ``flavorId`` parameter must be an integer value. If you use a
|
||||
floating point value for this parameter, this call truncates the
|
||||
decimal portion and uses the integer portion as the ``flavorId``
|
||||
value.
|
||||
|
||||
Normal response codes: 200
|
||||
|
||||
Error response codes: badRequest(400),unauthorized(401),forbidden(403),
|
||||
itemNotFound(404), badMethod(405),overLimit(413),unprocessableEntity(422),
|
||||
instanceFault(500),notImplemented(501), serviceUnavailable(503)
|
||||
|
||||
|
||||
Request
|
||||
-------
|
||||
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- flavorId: flavorId
|
||||
- accountId: accountId
|
||||
|
||||
|
||||
Response Example
|
||||
----------------
|
||||
|
||||
.. literalinclude:: samples/db-flavors-by-id-response.json
|
||||
:language: javascript
|
||||
|
||||
|
||||
|
||||
|
||||
List flavors
|
||||
~~~~~~~~~~~~
|
||||
|
||||
.. rest_method:: GET /v1.0/{accountId}/flavors
|
||||
|
||||
Lists information for all available flavors.
|
||||
|
||||
This operation lists information for all available flavors.
|
||||
|
||||
This resource is identical to the flavors found in the OpenStack
|
||||
Nova API.
|
||||
|
||||
Normal response codes: 200
|
||||
|
||||
Error response codes: badRequest(400),unauthorized(401),forbidden(403),
|
||||
itemNotFound(404), badMethod(405),overLimit(413),unprocessableEntity(422),
|
||||
instanceFault(500),notImplemented(501), serviceUnavailable(503)
|
||||
|
||||
|
||||
Request
|
||||
-------
|
||||
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- accountId: accountId
|
||||
|
||||
|
||||
Response Example
|
||||
----------------
|
||||
|
||||
.. literalinclude:: samples/db-flavors-response.json
|
||||
:language: javascript
|
@ -12,7 +12,6 @@
|
||||
.. include:: database-instance-logs.inc
|
||||
.. include:: databases.inc
|
||||
.. include:: user-management.inc
|
||||
.. include:: flavors.inc
|
||||
.. include:: datastores.inc
|
||||
.. include:: configurations.inc
|
||||
.. include:: backups.inc
|
||||
|
@ -1,7 +0,0 @@
|
||||
GET /v1.0/1234/flavors/1 HTTP/1.1
|
||||
User-Agent: python-troveclient
|
||||
Host: troveapi.org
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
@ -1,5 +0,0 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json
|
||||
Content-Length: 254
|
||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
||||
|
@ -1,21 +0,0 @@
|
||||
{
|
||||
"flavor": {
|
||||
"ephemeral": 0,
|
||||
"id": 1,
|
||||
"links": [
|
||||
{
|
||||
"href": "https://troveapi.org/v1.0/1234/flavors/1",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://troveapi.org/flavors/1",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.tiny",
|
||||
"ram": 512,
|
||||
"str_id": "1",
|
||||
"disk":0,
|
||||
"vcpus": 10
|
||||
}
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
GET /v1.0/1234/flavors HTTP/1.1
|
||||
User-Agent: python-troveclient
|
||||
Host: troveapi.org
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
@ -1,5 +0,0 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json
|
||||
Content-Length: 3258
|
||||
Date: Mon, 18 Mar 2013 19:09:17 GMT
|
||||
|
@ -1,251 +0,0 @@
|
||||
{
|
||||
"flavors": [
|
||||
{
|
||||
"ephemeral": 0,
|
||||
"id": 1,
|
||||
"links": [
|
||||
{
|
||||
"href": "https://troveapi.org/v1.0/1234/flavors/1",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://troveapi.org/flavors/1",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.tiny",
|
||||
"ram": 512,
|
||||
"str_id": "1",
|
||||
"vcpus": 10,
|
||||
"disk":0
|
||||
},
|
||||
{
|
||||
"ephemeral": 0,
|
||||
"id": 2,
|
||||
"links": [
|
||||
{
|
||||
"href": "https://troveapi.org/v1.0/1234/flavors/2",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://troveapi.org/flavors/2",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.small",
|
||||
"ram": 2048,
|
||||
"str_id": "2",
|
||||
"vcpus": 10,
|
||||
"disk":20
|
||||
},
|
||||
{
|
||||
"ephemeral": 0,
|
||||
"id": 3,
|
||||
"links": [
|
||||
{
|
||||
"href": "https://troveapi.org/v1.0/1234/flavors/3",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://troveapi.org/flavors/3",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.medium",
|
||||
"ram": 4096,
|
||||
"str_id": "3",
|
||||
"vcpus": 10,
|
||||
"disk":40
|
||||
},
|
||||
{
|
||||
"ephemeral": 0,
|
||||
"id": 4,
|
||||
"links": [
|
||||
{
|
||||
"href": "https://troveapi.org/v1.0/1234/flavors/4",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://troveapi.org/flavors/4",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.large",
|
||||
"ram": 8192,
|
||||
"str_id": "4",
|
||||
"vcpus": 10,
|
||||
"disk":80
|
||||
},
|
||||
{
|
||||
"ephemeral": 0,
|
||||
"id": 5,
|
||||
"links": [
|
||||
{
|
||||
"href": "https://troveapi.org/v1.0/1234/flavors/5",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://troveapi.org/flavors/5",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.xlarge",
|
||||
"ram": 16384,
|
||||
"str_id": "5",
|
||||
"vcpus": 10,
|
||||
"disk":160
|
||||
},
|
||||
{
|
||||
"ephemeral": 0,
|
||||
"id": 6,
|
||||
"links": [
|
||||
{
|
||||
"href": "https://troveapi.org/v1.0/1234/flavors/6",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://troveapi.org/flavors/6",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.nano",
|
||||
"ram": 64,
|
||||
"str_id": "6",
|
||||
"vcpus": 10,
|
||||
"disk":0
|
||||
},
|
||||
{
|
||||
"ephemeral": 0,
|
||||
"id": 7,
|
||||
"links": [
|
||||
{
|
||||
"href": "https://troveapi.org/v1.0/1234/flavors/7",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://troveapi.org/flavors/7",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.micro",
|
||||
"ram": 128,
|
||||
"str_id": "7",
|
||||
"vcpus": 10,
|
||||
"disk":0
|
||||
},
|
||||
{
|
||||
"ephemeral": 0,
|
||||
"id": 8,
|
||||
"links": [
|
||||
{
|
||||
"href": "https://troveapi.org/v1.0/1234/flavors/8",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://troveapi.org/flavors/8",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.rd-smaller",
|
||||
"ram": 768,
|
||||
"str_id": "8",
|
||||
"vcpus": 10,
|
||||
"disk":2
|
||||
},
|
||||
{
|
||||
"ephemeral": 0,
|
||||
"id": 9,
|
||||
"links": [
|
||||
{
|
||||
"href": "https://troveapi.org/v1.0/1234/flavors/9",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://troveapi.org/flavors/9",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "tinier",
|
||||
"ram": 506,
|
||||
"str_id": "9",
|
||||
"vcpus": 10,
|
||||
"disk":10
|
||||
},
|
||||
{
|
||||
"ephemeral": 0,
|
||||
"id": 10,
|
||||
"links": [
|
||||
{
|
||||
"href": "https://troveapi.org/v1.0/1234/flavors/10",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://troveapi.org/flavors/10",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.rd-tiny",
|
||||
"ram": 512,
|
||||
"str_id": "10",
|
||||
"vcpus": 10,
|
||||
"disk":2
|
||||
},
|
||||
{
|
||||
"ephemeral": 1,
|
||||
"id": 11,
|
||||
"links": [
|
||||
{
|
||||
"href": "https://troveapi.org/v1.0/1234/flavors/11",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://troveapi.org/flavors/11",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "eph.rd-tiny",
|
||||
"ram": 512,
|
||||
"str_id": "11",
|
||||
"vcpus": 10,
|
||||
"disk":0
|
||||
},
|
||||
{
|
||||
"ephemeral": 2,
|
||||
"id": 12,
|
||||
"links": [
|
||||
{
|
||||
"href": "https://troveapi.org/v1.0/1234/flavors/12",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://troveapi.org/flavors/12",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "eph.rd-smaller",
|
||||
"ram": 768,
|
||||
"str_id": "12",
|
||||
"vcpus": 10,
|
||||
"disk":20
|
||||
},
|
||||
{
|
||||
"ephemeral": 1,
|
||||
"id": null,
|
||||
"links": [
|
||||
{
|
||||
"href": "https://troveapi.org/v1.0/1234/flavors/custom",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://troveapi.org/flavors/custom",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "custom.small",
|
||||
"ram": 512,
|
||||
"str_id": "custom",
|
||||
"vcpus": 10,
|
||||
"disk":25
|
||||
}
|
||||
]
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
i propose to log the irc channel #openstack-trove.
|
||||
|
||||
This will help us go back in history and find answers
|
||||
for things we have already answered and help when
|
||||
people go on a dreaded vacation. Or when people decide
|
||||
to travel 4 wednesdays in a row for work...
|
||||
|
||||
#######################
|
||||
|
||||
https://review.opendev.org/#/c/47900/
|
||||
|
||||
Vote results: 13 votes. 13 for, 0 against.
|
Loading…
Reference in New Issue
Block a user