Commit Graph

157 Commits

Author SHA1 Message Date
Jenkins 62c07ef41c Merge "Add separated section for configure guest os" 2015-12-15 01:40:38 +00:00
Jenkins bb594e8165 Merge "Add separated section for extra specs and image properties" 2015-12-15 01:40:05 +00:00
Sean Dague 44a36ba7af simplify the request / response format document
This document previously existed to explain how to use either
application/json or application/xml with Nova. It's mostly confusing
in it's current state, and we're correctly defaulting to
application/json on request and response now.

Just remove most of what's confusing, users don't need to send
headers, we only do one thing now.

Change-Id: I597aeab73f1075f400f053016b4ea7bda01893a5
2015-12-14 12:35:14 -05:00
Ken'ichi Ohmichi 32ce20c41c Remove XML description from extension concept
XML API interface has been already removed from Nova completely,
and its description of the extension concept becomes meaningless now.
So this patch removes it.

A small amount of the JSON description is left. The details are
trimmed down, as we're actually trying to get people away from
extensions as a concept.

A big warning to that effect is added into the document.

Partially implements blueprint complete-todo-in-api-concept-doc

Change-Id: Icf8bf87f38733ba03cf5ce1225594b0b282fde56
2015-12-14 11:14:50 -05:00
jichenjc 326de7607a Remove incorrect comments about file injection
there is no method on 'BAK extension appended with a time stamp'
if this comes from some Active engine, we should let active
engine to document it instead of generialize it in nova

blueprint complete-todo-in-api-concept-doc

Closes-Bug: 1525137

Change-Id: Ibb05dc57f9be81de335ca4935c4c7fa59971de13
2015-12-12 09:45:06 +08:00
jichenjc 761437ec68 Remove a restriction on injection files
nova allows injections of zip or binary files, the doc
should not say 'You cannot inject binary or zip files into a new build'

blueprint complete-todo-in-api-concept-doc

Change-Id: I09b80268545ea0071946aefd3a566441296436ec
Closes-Bug: 1525132
2015-12-12 09:44:19 +08:00
jichenjc 534e34fd60 Add hypervisor, aggregates, migration description
Add hypervisor brief description on its concept and
how nova offer the ability to admin to interact with it;
Also add description for migraitons.
There is a doc about aggregates, so put the link
in general_info.rst.

blueprint complete-todo-in-api-concept-doc

Change-Id: I61f6999be62e3e689ca9bf8b28b08f6a0b4aa9df
2015-12-11 22:16:34 +08:00
Andreas Jaeger a54834df23 Report compute-api bugs against nova
For compute-api set the launchpad project users report bugs
against to "nova". Users can report bugs using the "bug icon" that will
directly link to the launchpad project, it currently goes to
"openstack-manuals" which is wrong for this content.

This variable is used by openstackdocstheme 1.2.6.

Closes-Bug: #1524476
Change-Id: I08ba11bb1c5388bc4611cea581274ac5d724c8d9
2015-12-11 06:58:33 +01:00
Jenkins b5890b3c36 Merge "Edit the text to be more native-English sounding" 2015-12-09 07:52:47 +00:00
He Jie Xu 912384e650 Add separated section for configure guest os
We have multiple concepts for configuring guest os. This patch
adds separated section for them, just like the 'move servers' section.

blueprint complete-todo-in-api-concept-doc

Change-Id: Ibbffdb00d1529a386f338da4776eb614891731c8
2015-12-09 14:01:04 +08:00
He Jie Xu faac6a59d2 Add separated section for extra specs and image properties
We should describe extra specs and image properties in concept doc
This patch add separated section for it.

blueprint complete-todo-in-api-concept-doc

Change-Id: I092c15c82666eeb113485aee3ea878888d6eaf2d
2015-12-09 13:59:03 +08:00
Jenkins ca40e31490 Merge "Fix the endpoint of /v2 on concept doc" 2015-12-09 04:05:41 +00:00
Jenkins da17a368e6 Merge "Add more concepts for servers" 2015-12-08 18:12:29 +00:00
Jenkins fc105fcd87 Merge "Make "ReSTful service" consistent" 2015-12-08 18:11:53 +00:00
Jenkins 92a4197545 Merge "docs: add microversions description in the concept doc" 2015-12-08 18:10:59 +00:00
EdLeafe 231c9a1589 Edit the text to be more native-English sounding
No substantial changes; just wanted to make the text sound more like
native English.

blueprint complete-todo-in-api-concept-doc

Change-Id: I9ff48113bf709f63e3654a5851aa8d6853b519b5
2015-12-08 14:58:00 +00:00
Ken'ichi Ohmichi 1c6076a2fb Fix the endpoint of /v2 on concept doc
As the folloing content of etc/nova/api-paste.ini, legacy v2
endpoint is /v2, not /v2.1.

 /v1.1: openstack_compute_api_v21_legacy_v2_compatible
 /v2: openstack_compute_api_v21_legacy_v2_compatible
 /v2.1: openstack_compute_api_v21

So this patch fixes the endpoint.

Partially implements blueprint complete-todo-in-api-concept-doc

Change-Id: I6d9346ced38f522c516778cadae217d1d5c9cff1
2015-12-08 12:50:54 +00:00
He Jie Xu 7b0b8c3754 docs: update old stuff in version section
The concept doc should only talk about v2.1 API. This pach corrects them.
Also use the current API response instead of the old one and correct some
old reference link.

blueprint complete-todo-in-api-concept-doc

Change-Id: I90b39959a6a13f37ec0c03cf6f86943eba6c47d1
2015-12-08 19:44:02 +08:00
He Jie Xu 50aa74f91d docs: add microversions description in the concept doc
This patch adds generic description for microversions. We will write
more use-cases in later patches.

blueprint complete-todo-in-api-concept-doc

Change-Id: I600ad4186a38eaffbec38bb15b2de0146c076abf
2015-12-08 14:17:36 +08:00
Ken'ichi Ohmichi da3001bc80 Make admin consistent
There are variety like "admin" or "administrator" on api-guide,
so this patch makes these words consistent for the readability.

Partially implements blueprint complete-todo-in-api-concept-doc

Change-Id: Id0a9444e5d48f62d6d02114f8668761647c2dae0
2015-12-08 05:36:11 +00:00
He Jie Xu d5fa24bb85 Add more concepts for servers
There still have some important concept in the docs, this patch adds
more to it.

blueprint complete-todo-in-api-concept-doc

Change-Id: I231f298d2c7ffa0736028db27fe54691ac4bd201
2015-12-08 11:05:07 +08:00
Ken'ichi Ohmichi 4ce28e5c2b Make "ReSTful service" consistent
Most parts contain "ReSTful HTTP service" instead of "ReSTful web
service". So this patch changes "ReSTful web service" for the word
consistency.

Partially implements blueprint complete-todo-in-api-concept-doc

Change-Id: I642ae649adad8f886bdb6bce979a1dd7d2430a80
2015-12-08 01:44:13 +00:00
Jenkins f2f6017f7b Merge "Add user data into general concept" 2015-12-04 09:07:34 +00:00
Jenkins c0be3f0479 Merge "Remove description about image from faults section" 2015-12-04 08:58:02 +00:00
Jenkins dce797b517 Merge "docs: using the correct format and real world example for fault message" 2015-12-03 23:04:10 +00:00
Jenkins 586b08ea4a Merge "doc: add server status to concept.rst" 2015-12-03 17:05:48 +00:00
Jenkins 9e4e9ce9f2 Merge "Docs: update the concept guide for Host topics" 2015-12-03 16:55:09 +00:00
He Jie Xu 10559e91e1 docs: using the correct format and real world example for fault message
This patch corrects the fault message format, and use an example which
existed in the real world.

blueprint complete-todo-in-api-concept-doc

Change-Id: I76706cca5a9fdcfa6c3e2c9d08aa8f94fb9471d8
2015-12-03 16:07:28 +00:00
Jenkins 4a9133d464 Merge "docs: remove duplicated section about error handling" 2015-12-03 15:29:15 +00:00
Jenkins 71f1c6ddf9 Merge "docs: update services description for concept guide" 2015-12-03 15:16:21 +00:00
He Jie Xu 78db34c0b5 docs: update services description for concept guide
This patch updates the API concept guide about services.

blueprint complete-todo-in-api-concept-doc

Change-Id: I9196cb6b700687d2a42d4bf32ecb02a7300a9475
2015-12-03 13:17:00 +08:00
He Jie Xu 4a2deac943 docs: remove duplicated section about error handling
There are two parts talk about error handling in nova api.
One is under general-info, and another one is under separated section
fault. This patch remove the empty one.

blueprint complete-todo-in-api-concept-doc

Change-Id: I4b9e79bf96fc5e8aa5a143f38a25e258a8be82f4
2015-12-03 05:07:50 +00:00
EdLeafe 86a4c8e143 Docs: update the concept guide for Host topics
Added text to the 'Hosts' and 'Host Actions' sections.

Change-Id: Ie139810b97ab0a9bb96c928ffb794353c6f0c0ae
2015-12-02 19:43:26 +00:00
He Jie Xu 2ee6ddf686 Remove description about image from faults section
There isn't 'fault' field in the response of image API. So remove
image stuff from the faults section.

blueprint complete-todo-in-api-concept-doc

Change-Id: I79d2b4a3dc492b8410b649756057c2d824f19989
2015-12-02 18:22:35 +08:00
John Garbutt dbf5dfa4dc api-guide: add note about users
In the introduction to the guide, note that there is a single API for
both end users and operators.

blueprint complete-todo-in-api-concept-doc

Change-Id: I726d1f230c0090ca8890195f56167e19a18e4665
2015-12-02 10:04:39 +00:00
Jenkins bfa6d51c1c Merge "api-guide: fix up navigation bar" 2015-12-02 02:37:08 +00:00
Jenkins 0f44add33f Merge "Correct some nits for moving servers in concept doc" 2015-11-30 10:15:42 +00:00
Jenkins ec45381882 Merge "Make server concept guide use 'server' consistently" 2015-11-30 10:15:10 +00:00
Jenkins 1427b9f5b6 Merge "docs: reorder move servers text" 2015-11-30 10:05:35 +00:00
Jenkins 7bc2171869 Merge "docs: add clarifications to move servers" 2015-11-26 07:47:17 +00:00
He Jie Xu 29847bb26c Correct some nits for moving servers in concept doc
* There isn't any support specify a host for cold migration API.
  Remove the words about cold migration can do explicitly decision.
* Use some cloud operators instead of some users for resource
  optimization case.

blueprint complete-todo-in-api-concept-doc

Change-Id: Iea266d61551666edfa4f6bb3d4f3d3f03c8b57f4
2015-11-26 15:07:53 +08:00
Paul Murray d93cedb8af Make server concept guide use 'server' consistently
The api guide server concepts section uses the terms
instance and server interchangably and inconsistently.
This patch fixes that.

blueprint complete-todo-in-api-concept-doc

Change-Id: Iafa57c90c010f4bfba493b917ee4f82986739769
2015-11-25 13:04:55 +00:00
John Garbutt fa602a3ff5 api-guide: fix up navigation bar
The current navigation bar includes a strange gap in it due to how the
toctrees are currently arranged in the document. This moves them into a
single list.

blueprint complete-todo-in-api-concept-doc

Change-Id: I3c6c68bafb589887e32a990e0cccf1bff9e68518
2015-11-25 12:56:29 +00:00
John Garbutt 9dcb598cd0 docs: reorder move servers text
I have moved the resize and shelved operations after the discussion of
the cloud operator initiated migrate. This adds better context around
the comments that say resize and shelved are unlikely to be initiated by
and operator.

blueprint complete-todo-in-api-concept-doc

Change-Id: I7fd72b5fd2d4e724d4465fe002f7951e60dcbe3d
2015-11-25 12:22:37 +00:00
John Garbutt 186d45cb4a docs: add clarifications to move servers
This adds in some titles, to replace the bold text that simulated
heading. It also changes the text into use cases rather than actions.

It includes a some additions around:
* resource optimization use cases for live-migration
* data loss during evacuate
* downtime during resize
* clearer description of why a user would call shelve

This does not complete this doc, but should help improve the readability.

blueprint complete-todo-in-api-concept-doc

Change-Id: Ib2cf479c14a1c2f3b119ba7f549a00c9bd541cf9
2015-11-25 12:19:34 +00:00
jichenjc 07c3d28263 Change some wording on server_concepts.rst
follow up patch for https://review.openstack.org/#/c/236947/
some comments made there and it's valuable, change the doc
according to the comments.

Partially implements blueprint complete-todo-in-api-concept-doc

Change-Id: Icc26a518d7e568041a938b76a6fe0fe580182ce3
2015-11-25 15:59:03 +08:00
Jenkins 8970fc9e4f Merge "docs: describe migration and other movement concepts" 2015-11-24 18:09:39 +00:00
Jenkins f8e1be2217 Merge "docs: update the concept guide shelve actions" 2015-11-24 16:48:20 +00:00
Paul Murray 192e6b1d03 docs: describe migration and other movement concepts
Migration (including cold and live migration), resize and shelve
are three concepts at the API level that support three distinct
sets of use cases. These all involve movement of servers and
so provide opportunity for operational efficiency.

This patch adds a section to the server concepts that outlines
the purpose behind the actions and the operational efficiencies
that can be gained by them.

blueprint complete-todo-in-api-concept-doc

Change-Id: I6b9c6c179c1bdd9400abae7deb1918b370ddaefd
2015-11-24 11:55:25 +00:00
jichenjc e4543e952a doc: add server status to concept.rst
some server status are missing, add them to the list.
also, remove a duplicate server status for creating server.

blueprint complete-todo-in-api-concept-doc

Change-Id: Ib25b57b5044df8dc8061a6de9978d9ee840885dd
2015-11-24 01:26:20 +08:00