41 Commits

Author SHA1 Message Date
Zuul
d3c56b6b90 Merge "Add API reference for cluster upgrade" 2019-06-11 19:07:43 +00:00
Feilong Wang
8cfa24cfae Add API reference for cluster upgrade
Task: 30167
Story: 2002210

Change-Id: I18df7602a7f18128c77452dc8f91bd5e07b8c198
2019-06-07 12:12:36 +12:00
Zuul
e53a5ae1ef Merge "Move openstackdocstheme to extensions in api-ref" 2019-05-01 21:03:47 +00:00
Feilong Wang
66c6666a83 Add API ref for <ClusterID>/actions/resize
Task: 29737
Story: 2005054

Change-Id: I5511303c8c08a330bdfc0104290c6f8f1831e4b2
2019-03-24 21:11:50 +00:00
wanghui
e94f1a22e6 Move openstackdocstheme to extensions in api-ref
Move openstackdocstheme to extensions. According to the guide below:
https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: I58de11278e0cd203312c910057285800f82eb5d7
2018-03-27 10:41:45 +08:00
Pan
a56c14d9f3 TrivialFix: Correcting JSON syntax
Change-Id: I4c82b20d0b2a6ecd6ca997dfc429a3ea60d44048
2018-03-15 06:53:03 +00:00
ChangBo Guo(gcb)
2c3af23e04 doc: Use os_distro instead of os-distro
Glance use os_distro to indicate the operating system distribution[1],
we should use the same name.

[1]https://github.com/openstack/glance/blob/master/doc/source/user/common-image-properties.rst#os_distro

Change-Id: I0f19af858552cc7fa08bac29fdb9986d494e1985
2018-01-11 12:08:10 +00:00
Ricardo Rocha
84006f63d7 Allow flavor_id on cluster create
Add flavor_id as an option during cluster create. If not given,
the default is taken from the cluster template.

Add flavor_id in the Cluster object and use that instead
of the one from ClusterTemplate.

Update both magnum and magnum cli documentation to reflect the above changes.

Partial-Bug: #1699245
Change-Id: Ib60c05cce1cf2639ca4740abdd264403033433f9
2017-12-15 16:32:40 +00:00
Ricardo Rocha
28fff8006a Make docker_storage_driver a str instead of enum
Allow any value to be passed on the docker_storage_driver field by turning it
into a StringField (was EnumField), and remove the constraints limiting the
values to 'devicemapper' and 'overlay'.

Change the docker storage setup to have a generic setup for all drivers with
the exception of 'devicemapper', which keeps its own specific storage config
function. For all others, do the same we already did for overlay (with two
cases for usage of a cinder volume or not) and simply set the storage driver
in the docker configuration to the value provided in the cluster template.

Change-Id: I9aa8f232ce64ece4d439c0a476f463820a499617
Closes-Bug: #1722522
2017-12-14 14:41:09 +00:00
Ricardo Rocha
4fc1588a4c Add labels to api-ref cluster create
Labels was missing in api-ref for cluster create, add accordingly.

Change-Id: I5df3e21e6ff2f80626fe2f84a97cd94e671bcfcc
2017-10-10 20:22:02 +05:30
Ricardo Rocha
446b159349 Allow master_flavor_id on cluster create
Add master_flavor_id as an option during cluster create. If not given,
the default is taken from the cluster template.

Add master_flavor_id in the Cluster object and use that instead
of the one from ClusterTemplate.

Update both magnum and magnum cli documentation to reflect the above changes.

Partial-Bug: #1699247
Change-Id: Id1d973167b381538121583a0a9691304b39e98de
2017-09-27 09:30:18 +00:00
coldmoment
8241fd8e7a Add api-ref about quotas-delete
1.Add api-ref about quotas-delete;
2.Update sample of quotas-update.

Closes-Bug:#1698111
Change-Id: I435a80da7efe9c898782b8eab8744db80928c9c1
2017-06-16 08:17:49 +08:00
Jenkins
04837b112f Merge "Update the 'service-list' api-ref" 2017-06-05 16:41:16 +00:00
Jenkins
ea1238047c Merge "Fix html_last_updated_fmt for Python3" 2017-06-05 11:37:56 +00:00
Jenkins
a6ddd0df39 Merge "Add 'keypair' to 'list all clusters' response" 2017-06-05 10:57:38 +00:00
coldmoment
0293e75bf3 Update the 'service-list' api-ref
Change-Id: I4d7a2b537425c008592b6d1bfa675d17c600e004
2017-06-05 16:11:19 +08:00
Vu Cong Tuan
802b0b41c2 Fix html_last_updated_fmt for Python3
html_last_updated_fmt option is interpreted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.

Change-Id: Iaf2d32dd0da096bdfe66dd651b371f7552ab4fe6
Closes-Bug:#1693670
2017-06-04 12:09:32 +07:00
coldmoment
df7bbf6eb1 Update api-ref about 'ca-show'
Change-Id: Ib1452ec7535a7c6a0769bfef45442f27a266d0c1
2017-05-13 16:09:12 +08:00
coldmoment
93ff4d51e0 Add 'keypair' to 'list all clusters' response
The response of operation 'list all clusters' has a member
'keypair', api-ref doc has no description about it.
Add it to clusters.inc and cluster-get-all-resp.json.
The same to operation 'Show details of a cluster'.

Change-Id: I716175bfc9683a47514172bbc9b177f140fe924c
Implements: Keypair override on cluster create
2017-05-05 17:46:02 +08:00
Jenkins
02bf02f769 Merge "Remove support message for using keypair UUID" 2017-03-22 07:56:48 +00:00
ricolin
1ca8f18015 Remove support message for using keypair UUID
UUID for keypair is no longer supported from heat and nova cli.
This patch suggest to remove the support message from magnum.
Closes-Bug: #1674211

Change-Id: Idb67fc86f067387060a381c9d2d0ed0f8c953c21
2017-03-20 12:51:55 +08:00
yuanpeng
cc4940f756 Fix some grammar or spelling de-normalization
Fix some de-normalization of plural forms or grammar

Change-Id: I9e2b5ab7a2744cd730a95e9f53c0ebc5fb696ad9
2017-03-17 17:38:51 +08:00
Andreas Jaeger
7733a2af6f Fix api-ref with Sphinx 1.5
Sphinx complaints about a missing file, fix this with renaming the file
to the intented name.

Treat sphinx warnings as errors to avoid these kind of problems. Remove
the not needed note anymore, this works fine as is.

Change-Id: I3849f788bdea822bf73bb334bf8d230e723e6c5b
2017-03-04 12:14:21 +01:00
Stephen Watson
e3c11196b2 Add keypair to api-ref cluster create
Keypair was missing in api-ref for cluster create, so
add it and update example accordingly.

Change-Id: Ibf9280cec7000c1303b7898494fec9f3a2020068
Closes-Bug: 1660296
2017-02-14 15:37:44 -07:00
gengchc2
fecaa22aec Use https instead of http for git.openstack.org
Trivialfix

Change-Id: I3dda5d7d01e548e640aef77aca1402dd268ce0cf
2017-02-07 11:11:22 +08:00
Jenkins
ae41b4511c Merge "Resource Quota - API documentation" 2017-01-27 06:08:13 +00:00
Vijendar Komalla
5f951c10c9 Resource Quota - API documentation
Change-Id: I43334ff28ae1bc922c1358957f8609648d447381
Partially-Implements: blueprint resource-quota
2017-01-25 08:56:05 -06:00
Jason Dunsmore
a65ef7d3c3 Add an API to rotate a cluster CA certificate
This will give admins a way to revoke access to an existing cluster
once a user has been granted access.

Bumped the API microversion to 1.5 for the new endpoint.

Deprecated policy certificate:get in favor of certificate:get_ca for
clarity and consistency.

Depends-On: Ie960464e45445e195e75b91e8d65a4046eb21e93
Implements: blueprint revoke-cluster-cert
Change-Id: Ief28bef3a79f212acf4166e443a96e5419fbb757
2017-01-23 21:26:05 -06:00
Vijendar Komalla
57c57e891b Magnum stats API documentation
Change-Id: Idf7491ef16aaad744f713bf3c50117f277772e34
Partially-Implements: blueprint magnum-stats-api
2017-01-18 13:48:14 -06:00
Vijendar Komalla
51e833137b Magnum stats API
This change introduces a new /stats REST endpoint that
provide the following basic information;
1) Total number of clusters and nodes for the given tenant.
2) Total number of clusters and nodes across all the tenants.
Follow-up patches include more stats.

Change-Id: Iac0bf9343549de31654545d5b1fd7601e56142a7
Partially Implements blueprint magnum-stats-api
2017-01-17 09:48:54 -06:00
leiyashuai
39095c8933 [Trivial] Fix two typos in magnum.
Change-Id: I796be00d3e32738f93a7847ed304a047d584d5a0
2016-10-20 02:19:45 -07:00
Jenkins
0895f7f92d Merge "[api-ref] configure LogABug feature" 2016-10-13 15:38:53 +00:00
pawnesh.kumar
96b66a227e [api-ref] configure LogABug feature
To report a bug into the magnum project, not default openstack-manuals.

Closes-Bug: #1630524

Depends-on: I51feb6ccdc0fab91a591568866e6801f2bbb319b

Change-Id: I2238ee04b438c4153001da0227d1a848aacd14a8
2016-10-05 14:24:21 +00:00
Andreas Jaeger
bd31e7c566 [api-ref] Remove temporary block in conf.py
os-api-ref 1.0 is released, remove temporary block from
api-ref/source/conf.py.

Change-Id: Ia6fa9ca467d2a24850ce3b9221bdd7f05ed94aa5
2016-10-04 00:52:35 +00:00
gengchc2
0078e8501c Fix typo 'duplcate' to 'duplicate' in status.yaml
TrivialFix

Change-Id: I6fcf372767c646204ac6d4428cf85a1430fa72f9
2016-09-23 11:35:15 +08:00
Hieu LE
2c1f9bde2b Create bay/cluster api reference
Add details for bay/cluster API of Magnum.

Change-Id: Ib3e2fd27a9cf98719e4938ee9f4839dcc6cacb5d
Implements: blueprint magnum-doc-rest-api
2016-09-09 14:08:05 +07:00
Hieu LE
5adf24fd8d Create baymodel/cluster template api reference
Add details for baymodel/cluster template API of Magnum.

Add new links related to cluster and cluster template in
sample of magnum version API.

Change-Id: Ifddf9188d39893cd4911a264bbbb11979fd5b817
Implements: blueprint magnum-doc-rest-api
2016-09-09 13:08:07 +07:00
Hieu LE
ba19bd4b60 Create certificates api reference
Add details for certificates API of Magnum.

Change-Id: Iabf72dc4387d086d2d9b25963a0413ccf2372514
Implements: blueprint magnum-doc-rest-api
2016-08-29 23:45:32 +00:00
Hieu LE
bf219ebf8f Create mservices api reference
Add details for mservices API of Magnum.

Implements: blueprint magnum-doc-rest-api

Change-Id: I2beba238e12fd6f23a10a1a6b14d1fce0f5066cf
2016-08-29 23:45:09 +00:00
Hieu LE
e944685861 Create version api reference
Add details for version API of Magnum.

Change-Id: Idf4e1ff08963a72dc6eaaee0b64f7a91e6be4891
Implements: blueprint magnum-doc-rest-api
2016-08-29 23:44:37 +00:00
Hieu LE
cdd14f209e Init api-ref structure and requirements
This patch init api-ref document structure and
adding some requirements based on the guidance of
OpenStack API team.

Get ready for os-api-ref sphinx theme change

Change-Id: I896c8752fbcf15ec8e5bc6b3862a1ed040936215
Implements: blueprint magnum-doc-rest-api
2016-08-29 22:44:08 +07:00