275 Commits

Author SHA1 Message Date
Jenkins
de6b96b782 Merge "api-ref: Example verification for os-interface.inc" 2016-06-01 16:25:42 +00:00
Jenkins
e5c8b0ad69 Merge "api-ref verify of servers-admin-action.inc" 2016-06-01 16:21:58 +00:00
Jenkins
19476e8058 Merge "verify api-ref os-migrations.inc" 2016-06-01 13:06:45 +00:00
jichenjc
a7dde84ba1 verify api-ref os-migrations.inc
verify the parameters of os-migrations.inc including response and
request. And, add warning for deprecation and incorrect wording of
policy default rule.

looks like the new migration is missing in doc, follow up patch will
add it.

Part of bp:api-ref-in-rst

Change-Id: I8fed7374c34c5c857c8c55f56f86ad4c744844e9
2016-06-01 11:12:08 +00:00
Jenkins
25fdf64fdc Merge "api-ref: os-consoles.inc" 2016-05-30 07:54:51 +00:00
Karen Bradshaw
a29c26308e api-ref: os-consoles.inc
-Verified methods, examples, parameters, body text.
-Added console, consoles parameters.

Part of blueprint api-ref-in-rst

Change-Id: Ifd0b751e521a96ec82c78cd6354055d315596038
2016-05-30 15:13:15 +08:00
Takashi NATSUME
fc529deaa4 api-ref: Example verification for os-interface.inc
Add an example creating an interface with net_id
and fixed_ips in addition to an example with port_id.
The example and the sample test have been added in
I6b2567db82d000e4b1cdf46020ce1b57103c3f46.

Change-Id: Ia71ecf3dd633409f9bb5156c5e68f6bb878eee71
Implements: blueprint api-ref-in-rst
2016-05-30 10:25:09 +09:00
Jenkins
da8e677a8f Merge "Enable 'null' value for user_data in V2.1 API" 2016-05-29 22:33:13 +00:00
Jenkins
bbdfffc42b Merge "api-ref verify servers-action-deferred-delete.inc" 2016-05-28 01:44:04 +00:00
Jenkins
036ea5bd78 Merge "api-ref: Add fault parameter details" 2016-05-28 01:07:02 +00:00
Jenkins
f57aecfaba Merge "verify api-ref os-instance-usage-audit-log.inc" 2016-05-28 01:02:30 +00:00
jichenjc
703839142d api-ref verify servers-action-deferred-delete.inc
verify the parameters of servers-action-deferred-delete.inc
including response and request.

Part of bp:api-ref-in-rst

Change-Id: Ie91e80c6c8a66095c56b7ccb5bdf6b6e4e4ddc64
2016-05-27 23:57:35 +00:00
Jenkins
220439fcd6 Merge "Make available to build docs with python3" 2016-05-26 17:24:03 +00:00
Jenkins
dbf9bf0703 Merge "Support for both microversion headers" 2016-05-26 12:55:33 +00:00
Chris Dent
bd199e3f9b Support for both microversion headers
In this change the new OpenStack-API-Version headers is allowed,
but not required, for requesting a microversion.

Both headers are accepted in the request and both headers are sent in
the response (both the header and its value, and the addition to the Vary
header).

Many tests which explicitly use a microversion header have been
updated to use both. This change is not 100% as most of the tests
are testing the handling of the value of the header, not which
header is involved.

Partially-Implements: blueprint modern-microversions
Change-Id: I68da13b5ba0c2f3357523e765a5b9db81899daf1
2016-05-25 21:41:27 +00:00
Jenkins
5ae26d2a7a Merge "verify api-ref metadata.inc" 2016-05-25 13:28:17 +00:00
Augustina Ragwitz
09875f6752 limits.inc example verification
Part of bp:api-ref-in-rst

Change-Id: I0004a2c95b01e87ebfea1ed70e35219c7a468af0
2016-05-24 16:17:02 -07:00
Jenkins
33652a1724 Merge "verify api-ref os-server-password.inc" 2016-05-23 21:14:09 +00:00
Jenkins
b1a172ee46 Merge "api-ref: limits.inc validate parameters" 2016-05-23 15:52:07 +00:00
Jenkins
8fac8cf5c7 Merge "api-ref: Parameter verification for os-interface.inc" 2016-05-23 13:27:12 +00:00
Jenkins
7c3d810977 Merge "api-ref: parameter verification for os-server-groups" 2016-05-23 13:26:22 +00:00
Augustina Ragwitz
8e0d8b7f9f api-ref: limits.inc validate parameters
Part of blueprint api-ref-in-rst

Change-Id: I1b39ef719aa9dfcaec83b0d444baf41bb27ee813
2016-05-23 13:05:11 +00:00
Andrey Volkov
9053a4685b Make available to build docs with python3
On Ubuntu 16.04 a tox package is for python3 by default
and this causes errors in building docs in tox enviroment.

In these changes iterators are replaced with lists where it's needed.
Also external command calls result are decoded from bytes to unicode.

Change-Id: I88ef54405b4bc13c269bdda55ae8289676311ee1
2016-05-23 15:30:20 +03:00
Jenkins
bb50389bb6 Merge "api-ref, os-fping.inc" 2016-05-23 08:20:10 +00:00
Takashi NATSUME
0c183948f4 api-ref: Parameter verification for os-interface.inc
Change-Id: I5c72c685b6cb39151e9d0c6c563ef6919a79e249
Implements: blueprint api-ref-in-rst
2016-05-23 12:34:49 +09:00
Karen Bradshaw
1f3345593e api-ref, os-fping.inc
-Updated response parameters in parameters.yaml.
-Verified body text, methods, parameters.

Change-Id: I35c9e95c8223072c37da33fddf9633bba82a2544
2016-05-21 19:48:37 -04:00
Jenkins
fdeaa50dd2 Merge "api-ref: verify flavors.inc" 2016-05-20 14:59:36 +00:00
Atsushi SAKAI
4f3d13c851 api-ref: Add fault parameter details
Add fault parameter details, according to following code.
https://github.com/openstack/nova/blob/stable/mitaka/nova/api/openstack/compute/views/servers.py#L239

This information is useful for troubleshooting.

Change-Id: I3a46c9aa87667e6eea07a5c560d0e108a1c03658
2016-05-20 21:02:22 +09:00
Jenkins
541552a06f Merge "Fix the versions API for api-ref" 2016-05-20 11:25:40 +00:00
He Jie Xu
22c87390a3 Enable 'null' value for user_data in V2.1 API
The legacy v2 API allow the 'null' value for user_data. Unfortunately
the v2.1 API didn't match that in the input validation. This patch
enables 'null' value, at sametime, it enables for v2.1 compat mode
also.

Change-Id: Iae614035efd4b37c214754ad12b17ca224b8fd92
Closes-Bug: #1582911
2016-05-20 14:05:43 +08:00
Jenkins
813787644b Merge "api-ref: complete verification of baremetal api" 2016-05-19 18:57:24 +00:00
Sean Dague
e2688277bc api-ref: verify flavors.inc
This completes the verification of flavors.inc across all
phases. References to the 500 error that create could do have been
removed because it turns out that code isn't reachable any more (see
Ic848db8c3df75054c389e87b2405134262b531e2)

Part of bp:api-ref-in-rst

Change-Id: I9e89a737df558c930a2ca028ed169a5b3e383a3d
2016-05-19 08:12:46 -04:00
He Jie Xu
8811989bff Fix the versions API for api-ref
* Add doc for request without version in the url
* Add a link reference for microversion detail

Part of bp:api-ref-in-rst

Change-Id: Iadee4623fe70c43ad38c087e027f7e4cf01fea12
2016-05-19 14:44:32 +08:00
Sean Dague
0e5aa68f16 api-ref: complete verification of baremetal api
This cleans up the baremetal proxy, which was horribly inaccurate (the
paths weren't right after the method verification)

A warning is stuck in the preamble, we really don't want people using
this. Parameters are documented as best as we could from Nova
source. Honestly, people should just talk to ironic directly and use
their docs.

Part of bp:api-ref-in-rst

Change-Id: I66e85f414e5f0edbf052ba56691294a94615c619
2016-05-18 21:20:33 +00:00
Jenkins
c477f14205 Merge "Trivial: remove os-security-groups needs:method_verification line" 2016-05-18 13:33:44 +00:00
Jenkins
8e418561f0 Merge "api-ref: servers-action-evacuate.inc" 2016-05-18 13:26:02 +00:00
Jenkins
0cd418ed3e Merge "api-ref: Fix parameters in servers-action-shelve.inc" 2016-05-18 13:25:18 +00:00
Takashi NATSUME
03c1161fcb api-ref: Example verification for servers-action-shelve.inc
The example string for each action (null) has been verified.

Change-Id: Id90ef732698ab2af800d7f2bcb1c766f1879e925
Implements: blueprint api-ref-in-rst
2016-05-18 14:02:11 +09:00
Takashi NATSUME
7d56f8982c api-ref: Fix parameters in servers-action-shelve.inc
The server_id should be a path parameter instead of
a body parameter.

TrivialFix
Change-Id: Ic43b8cbbad580c77d02bebb2296e4cb8ed9acc80
2016-05-18 11:16:16 +09:00
Kevin_Zheng
e7d2a1d1a5 api-ref: parameter verification for os-server-groups
checked parameters

Part of bp:api-ref-in-rst

Change-Id: I32e2da99c797903333447afacd6dbccc89c75603
2016-05-18 09:48:47 +08:00
Karen Bradshaw
39fc07b9c5 api-ref: servers-action-evacuate.inc
-Verify evacuate action method, examples, params.
-Update parameters.yaml with request
 parameter, on_shared_storage. Added
 field max_version, required == true.
 Update adminPass_evacuate_rebuild
 with max_version field for response.
-Updated headers with action name.

Change-Id: I974b23b6e26cea01c3d41e22cc83c421ca2ebca0
2016-05-17 17:23:39 -04:00
Augustina Ragwitz
775bda6445 Trivial: remove os-security-groups needs:method_verification line
These methods were already verified in another change. The author forgot to
remove the needs:method_verification line from their change.

See change#314255

Part of bp:api-ref-in-rst

Change-Id: I13fb305f58df0b864bc27db5107601e4ee8842de
2016-05-17 09:41:54 -07:00
Jenkins
76fd3d013d Merge "Add a note about egress rules to os-security-group-rules api-ref" 2016-05-17 10:18:15 +00:00
Jenkins
575d669318 Merge "api-ref: complete verification for os-flavor-access" 2016-05-17 10:15:30 +00:00
Jenkins
240cedf420 Merge "api-ref: complete verification of servers-action-crash-dump.inc" 2016-05-17 10:10:20 +00:00
Jenkins
2b538d9a6a Merge "migrate to os-api-ref" 2016-05-17 07:58:06 +00:00
Jenkins
7c8b7943b4 Merge "api-ref: os-certificates.inc method verification" 2016-05-17 06:20:53 +00:00
Matt Riedemann
9bc797c80f api-ref: complete verification for os-flavor-access
This completes the parameter, example and body verification
for the os-flavor-access API.

The tenant_id_body parameter description was made more generic
to be able to reuse it here.

Part of blueprint api-ref-in-rst

Change-Id: I78755f0f92f8e742b668102b98ae15d94f8bf941
2016-05-16 12:54:08 -04:00
Jenkins
6a39fad56c Merge "api-ref: parameter verification for os-quota-sets" 2016-05-16 16:12:46 +00:00
Jenkins
0458f3e78e Merge "api-ref: ips.inc example verification" 2016-05-16 14:54:56 +00:00