56adc9bd85ecd5b1f401fd32cf63201b8db28cc7
20 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Dan Smith
|
3391298706 |
Add image caching API for aggregates
This adds a new microversion and support for requesting image pre-caching on an aggregate. Related to blueprint image-precache-support Change-Id: I4ab96095106b38737ed355fcad07e758f8b5a9b0 |
||
|
Matt Riedemann
|
0d223da238 |
api-ref: mention policy defaults for aggregates
Change-Id: I8202e825a7c0870a71a60875a7f42125317ff82b |
||
|
Matt Riedemann
|
5dc1ed3c5c |
api-ref: warn about changing/unsetting AZ name with instances
It is currently possible to rename or unset the availability_zone metadata value on a host aggregate which can adversely impact instances that were created in that specific AZ since later attempts to migrate or unshelve those instances will fail if the AZ with the original name no longer exists. This adds a warning to the API reference for updating the AZ name and also fixes a grammar typo in the 'metadata' response parameter description. Change-Id: Ie9d4a1ff1a23827490fe51350c11292c6efc4eb2 Related-Bug: #1378904 |
||
|
Jenkins
|
cb2fa07041 | Merge "Clean up metadata param in doc" | ||
|
Takashi NATSUME
|
48f6f0148d |
api-ref: Fix parameters and examples in aggregate API
- The type of aggegate ID is changed to 'integer' instead of 'string'. - The uuid of aggegate is changed to 'required' because the uuid is always shown in the response after v2.41. - The response examples are replaced with v2.41 examples. Change-Id: Ib106898d32dc67e414f489468e91561ab0a5eb80 Closes-Bug: #1659475 |
||
|
jichenjc
|
4aaa8bc0bf |
Clean up metadata param in doc
several params like metadata_xxx are used and actually they are same, so just clean up them and use metadata_object instead part of bp:api-ref-in-rst-pike Change-Id: I455c02b5dcd77df43fc8c0113269f71a5207d3d5 |
||
|
Jay Pipes
|
03c2776e49 |
Return uuid attribute for aggregates
Adds a Compute API microversion that triggers returning an aggregate's UUID field. This field is necessary for scripts that must populate the placement API with resource provider to aggregate relationships, which rely on UUIDs for global identification. APIImpact blueprint: return-uuid-from-os-aggregates-api Change-Id: I4112ccd508eb85403933fec8b52efd468e866772 Closes-bug: #1652642 |
||
|
Hironori Shiina
|
935bea2045 |
Fix a few typos in API reference
Change-Id: Ib90100f4ec6b4b03f27ed39166caeb9bdf5bc24c |
||
|
ghanshyam
|
1031db1031 |
Body Verification of os-aggregates.inc
This patch verifies that the title and introductory description that precedes each rest method clearly reflects the context of the respective rest method. - Correct the Response text for delete API - 'body verification' tag is removed for this commit. part of bp:api-ref-in-rst Change-Id: If189c0f0246969527635879d96daa1ba8f77b7c3 |
||
|
jichenjc
|
f277d643c2 |
Verify os-aggregates.inc on sample files
verified all sample files is correct and adjust some format of the request Json file part of bp:api-ref-in-rst Change-Id: Ie9dd24858056337bcae9b03259d4f84de4fc1ab8 |
||
|
Kevin_Zheng
|
2057ed76d2 |
api-ref: parameter verification for os-aggregates
checked parameters Part of bp:api-ref-in-rst Change-Id: I8fe3825243f8b94d5c3f382ebc30c342bffafcac |
||
|
Sean Dague
|
c9f5ad3bcf |
remove /v2.1/{tenant_id} from all urls
As discussed at summit, the version part of the URL is not really relevant, or a thing a user should be filling out themselves, this should instead be set by the service catalog and extracted from the token. This removes it's reference in all documented REST urls, and adds a new section describing how one gets the base URL for all calls. Change-Id: I4306b8c3de0225e54f3909dd8a1fb293c4e5944c |
||
|
jichenjc
|
47ef16d431 |
complete Method Verification of aggregates
This complete the Method Verification of aggregates, adjust the sequence of GET/POST, also, clean and correct some error return code. Part of bp:api-ref-in-rst Change-Id: I1536b804fbbd887fa4da2c35282add7e3994727a |
||
|
Sean Dague
|
d929b9fc76 |
add tags to files for the content verification phase
This adds a set of tags in comments to the beginning of files so that we can process them according to the documentation here: https://wiki.openstack.org/wiki/NovaAPIRef Part of bp:api-ref-in-rst Change-Id: I17cf584dafb5bd969c12f51b7e7185d92365bf93 |
||
|
ghanshyam
|
90d64f229c |
Fix sample path for aggregate, certificate, console
This fix all sample file path for -os-aggregates -os-certificates -os-consoles Part of bp:api-ref-in-rst Change-Id: I949f3625b7bad4f316ee4b5723fba8e95a205afd |
||
|
Jenkins
|
16cea9cdc5 | Merge "Fix json response example heading in api ref" | ||
|
ghanshyam
|
6f8cda2f39 |
Fix json response example heading in api ref
Heading for json response example is wrong, it is json request instead of json response. Part of bp:api-ref-in-rst Change-Id: I709b2bf19520eb76e0264c358a2146bb0dbcee2b |
||
|
Ken'ichi Ohmichi
|
b3e1afd087 |
Fix "Creates an aggregate" parameters
"Creates an aggregate" API supports multiple parameters on a request, but api-ref doesn.t contain them at all This patch adds them. The following JSON-Schema is for the API. https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/schemas/aggregates.py#L32 Part of bp:api-ref-in-rst Change-Id: I3a58568662d21059bccdcf64cc30dbf3b706db58 |
||
|
Sean Dague
|
9526462326 |
move sphinx h3 to '-' instead of '^'
In the sphinx document h3 is supposed to be '-' not '^': =, for sections -, for subsections ^, for subsubsections We have to enforce consistency here because we're processing included files which all have to agree, otherwise it's a sphinx error. Part of bp:api-ref-in-rst Change-Id: Ic6eef5cacb07870f161b04b031e332f2b87aeedc |
||
|
Sean Dague
|
d4e2771440 |
Import RST files for documentation
This is the results of the RST conversion from WADL. It creates a single index plus a bunch of included files which represent sections of the API document. This is the starting point for fixing the documentation. Change-Id: I7d561c2ecdcd864172dedb54a551f17ad3bdfe26 |