17 Commits

Author SHA1 Message Date
Jenkins
fbfd4266f1 Merge "Add params for API v3 snapshot-create" 2017-07-09 15:40:53 +00:00
junboli
5b9e9875df Add params for API v3 snapshot-create
In api-ref/source/v3/volumes-v3-snapshots.inc, the API for snapshot-create
is missing request params [metadata] and response params [updated_at], So
the patch is to add the missing param as well as the sample JSON files.

Change-Id: Id77525922e4b94613da35c4329c24f2fda8fda10
2017-07-06 07:06:52 +00:00
luqitao
b1e2b0459c Show user_id when cinder snapshot-show
The user_id attribute should be shown for end user or other
project(eg:ceilometer, cloudkitty). And it should consistent
with other cinder command to be shown.

Change-Id: I629bacb73135fd7756f6008b5c376a8ab0f0df6a
Closes-Bug: #1614095
2017-06-27 22:33:33 -04:00
Jenkins
3046f75968 Merge "[api-ref] Add snapshot metadata key api" 2017-06-28 00:18:31 +00:00
Jenkins
bd33bbffb7 Merge "[api-ref] Add backing-up to snapshot statuses" 2017-06-24 07:17:27 +00:00
wangxiyuan
f89614d2e2 [api-ref] Add snapshot metadata key api
The patch did:
1. Add the missing GET/DELETE/PUT api-ref for snapshot metadata key.
2. Fix snapshot_id description.

Change-Id: I817b1ccffd5e929bcf78b913d666073596b93612
2017-06-19 11:27:22 +08:00
TommyLike
5c90bd64fe Add documentation for invalid filter keys
Now cinder will raise 400 if invalid filter
keys are specified, Update the corresponding
list APIs.

DocImpact
Depends-On: ff3d41b15abb2915de87830980147be51e5da971

Change-Id: I8419b374d7f743e7e9fc88e31c8c4f7d9470059b
2017-05-17 09:11:27 +08:00
Jenkins
bb9692cb2c Merge "Add missing and incorrect response and error codes in cinder api-ref" 2017-04-11 04:15:55 +00:00
wangxiyuan
ac6def1fc2 [api-ref] Add backing-up to snapshot statuses
Now snapshot contains a new status called backing-up

Change-Id: I523c329682a22606eb323ef6537568d23e037185
Cloese-bug: #1676885
2017-04-06 11:03:22 +08:00
wangxiyuan
4339f17ac5 [api-ref] Update snapshot/volume's metadata api-ref
Volume/Snapshot contains two kinds API for it's metadata: POST/PUT

POST is used for creatng or replacing the volume/snapshot's
metadata items that match keys. It doesn't modify items that
are not in the request.

PUT is used for replacing all the volume/snapshot's metadata
with the key-value pairs in the request.

Cinder's api-ref description is wrong. This patch fixed the
description and added the missing POST/PUT request.

Change-Id: I51128d32c9f70ba57d7d4cf0634a16ca566db95f
2017-03-27 14:33:05 +08:00
wangzhenyu
f242907f01 Add missing and incorrect response and error codes in cinder api-ref
Closes-bug: 1674161

Change-Id: I963f0aa7de6c3df95c1341cac15da178032db1d3
2017-03-20 14:52:24 +00:00
TommyLike
0059340be0 [Doc] Add missing parameter in v3 resource documentation
We have introduced a filter, sorter and pagination
in listing APIs. Adding the missing parameters
in api-ref.

Change-Id: Id32fb09ba659e2ba83910d37018de9e18302d5b6
2017-03-20 08:04:15 +00:00
Nicholas Jones
aa9cabdb42 Fix Block Storage API reference nesting
Modifies heading levels in .inc files to allow nested display in
table of contents. Table of contents depth has been changed to allow
this.

Change-Id: I3d8c9cf38a12272f0d32d3aa183d741277767535
2017-02-09 08:37:27 -06:00
Jenkins
49ee50c6f6 Merge "[api-ref]Change tenant to project" 2017-02-05 22:26:37 +00:00
wangxiyuan
144ddd5a4c [api-ref]Change tenant to project
Keystone API v2 was deprecated in Mitaka and uses "project"
instead of "tenant" in V3 now.

This patch change the "tenant" to "project" in Cinder API v3 doc.

Change-Id: I06d400f3e38d78014e9eae89b29b075adaecffe4
2017-01-26 23:18:32 +08:00
Gorka Eguileor
bc7c001d76 Fix api-ref status parameter
In the api ref most of our references to the status parameter are wrong,
since they are all referencing `status`, which in most cases is:

 status:
   description: |
     The ``status`` of the consistency group snapshot.

This patch fixes this by referencing the right status parameter.

TrivialFix

Change-Id: I3f76ad10bacd8c75f742efc3ff3395a7effc31b5
2017-01-26 13:28:42 +01:00
Mark T. Voelker
931e2f8161 Create v3 API Reference
The Cinder v3 API was marked CURRENT in Mitaka, but there no API ref
was ever created.  This is problematic for end users and would hinder
the v3 API from being included in DefCore Interoperability Guidelines
somewhere down the line (since one of DefCore's Criteria[1] is that a
Capability be well documented).  This patch creates an API ref for v3.
It also adds a header to the v2 index to show that it is SUPPORTED,
whereas v3 is CURRENT.

[1]
http://git.openstack.org/cgit/openstack/defcore/tree/doc/source/process/CoreCriteria.rst#n77

Change-Id: Ia3a8050cd04ad3a487a79d80acf9691feee6182e
Closes-Bug: #1616072
2016-09-19 14:33:01 -04:00