Commit Graph

94 Commits

Author SHA1 Message Date
Jenkins 100305c2bf Merge "api-ref: parameter verification for os-aggregates" 2016-06-15 22:28:27 +00:00
Jenkins 68209e222f Merge "api-ref: add version 2.3 parameters to servers" 2016-06-14 13:26:38 +00:00
Sean Dague 036833d57c api-ref: add version 2.3 parameters to servers
This adds the microversion 2.3 parameters to servers display calls.

Part of bp:api-ref-in-rst

Change-Id: I71d45fbff2bfca553128b375e6494d003dbc3759
2016-06-14 12:44:13 +00:00
Kevin_Zheng 2057ed76d2 api-ref: parameter verification for os-aggregates
checked parameters

Part of bp:api-ref-in-rst

Change-Id: I8fe3825243f8b94d5c3f382ebc30c342bffafcac
2016-06-12 06:52:28 +00:00
Jenkins e52d84968d Merge "api-ref: verify keypairs" 2016-06-08 15:02:53 +00:00
Sean Dague f06a12623b api-ref: verify keypairs
This verifies all the parts of keypairs, including filling out all the
details for microversion 2.2 and 2.10 which change it.

Part of bp:api-ref-in-rst

Change-Id: Iab88dc75cdb7b5f91e46afd29ee61e38b325e180
2016-06-08 08:23:33 -04:00
Jenkins 74a772398a Merge "api-ref: parameter verification for os-hypervisors" 2016-06-07 20:59:48 +00:00
Kevin_Zheng 126400a1c9 api-ref: parameter verification for os-hypervisors
checked parameters

Part of bp:api-ref-in-rst

Change-Id: I6078a0ee0914f3c5cc92d9c17f0d19146f9d373b
2016-06-07 13:57:13 +00:00
Sylvain Bauza 7aa2285e72 API change for verifying the scheduler when live migrating
After modifying the evacuate action, we now add a new microversion
change for modifying the live-migrate call so that the scheduler is
called when the admin user provides an hostname unless the force
field is provided.

APIImpact

Implements: blueprint check-destination-on-migrations-newton

Change-Id: I212cbb44f46d7cb36b5d8c74a79065d38fc526d8
2016-06-06 11:44:06 +02:00
Jenkins 45ded00b7c Merge "API change for verifying the scheduler when evacuating" 2016-06-03 17:16:28 +00:00
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
2016-06-03 08:47:33 -04:00
Sylvain Bauza 86706785ff API change for verifying the scheduler when evacuating
Adding a new microversion for changing the evacuate action behaviour
to call the scheduler anyway unless the admin user provides a force
flag that then keeps the previous behaviour by forcing the conductor
to call the destination without verifying it.

Implements: blueprint check-destination-on-migrations

APIImpact

Change-Id: I9ecbe3d481bf17b12072511da4bb106ff1b6404e
2016-06-02 15:03:39 +02: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
Jenkins da8e677a8f Merge "Enable 'null' value for user_data in V2.1 API" 2016-05-29 22:33:13 +00:00
Jenkins 036ea5bd78 Merge "api-ref: Add fault parameter details" 2016-05-28 01:07:02 +00:00
Jenkins 5ae26d2a7a Merge "verify api-ref metadata.inc" 2016-05-25 13:28:17 +00: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
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
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
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
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
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
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
Sean Dague d790fe0087 api-ref: complete verification of servers-action-crash-dump.inc
This processes all 4 phases of the crash-dump action

* method verified, error codes cleaned up (extra explanation added where appropriate)
* action parameter added
* example verified
* body adds warning and versionadded stanzas

Part of bp:api-ref-in-rst

Change-Id: I6571a3981d25ab4b5459715c9d2061ad19f07f26
2016-05-16 08:50:59 -04:00
Kevin_Zheng 2813c837f6 api-ref: parameter verification for os-quota-sets
checked parameters

Part of bp:api-ref-in-rst

Change-Id: I0c43e83214aa4a0a54d553ab5c2ef79413753664
2016-05-16 14:48:06 +08:00
Sean Dague 94010b52ff api-ref: reorder parameters.yaml
This reorder's parameters.yaml to the correct sort order, and turns
the info message about incorrect ordering into a warning. After this
lands parameters.yaml changes will always require that the items stay
in the sorted order enforced by the extension.

Part of bp:api-ref-in-rst

Change-Id: Ib890d369a8b50a8cd920f7b19ef13f44b3e657df
2016-05-13 16:51:23 -04:00
Jenkins 103eeb8247 Merge "api-ref: Parameter verification for os-volume_attachments.inc" 2016-05-13 18:38:30 +00:00
Jenkins 903cf595d4 Merge "api-ref: finish validation for os-server-external-events.inc" 2016-05-13 17:54:01 +00:00
Takashi NATSUME 05b0da8062 api-ref: Parameter verification for os-volume_attachments.inc
Change-Id: I3789a4ad36e30728024f2aa122403b0e53b1e741
Implements: blueprint api-ref-in-rst
2016-05-13 14:38:13 +00:00
Sean Dague 36c688f694 api-ref: finish validation for os-server-external-events.inc
This completes the validation for the admin event interface, including
detailing the codes we currently return in the parameter list.

Because os-service was incorrectly using the 'status' key, when I
renamed status => event_status I needed to also create a
service_status to make things compile. It's accurate enough to move
forward.

Because this is really a Neutron only API, this is moved towards the
bottom of the API list, to make it clear this isn't really designed to
be used by end user apps.

Part of bp:api-ref-in-rst

Change-Id: I3ed46eec1c33a63b7a89d6d6b5eeda574effdc56
2016-05-13 13:35:24 +00:00
Jenkins 74b115a473 Merge "api-ref: parameter validation for os-security-group-rules" 2016-05-13 13:16:00 +00:00
Jenkins a7f09fe706 Merge "api-ref: ips.inc parameter verification" 2016-05-13 11:07:22 +00:00
Jenkins 80fa358e86 Merge "api-ref: complete verification for extensions resource" 2016-05-13 00:56:21 +00:00
Sean Dague 04f8612aa9 api-ref: complete verification for extensions resource
This completes all 4 phases of the extensions resource.

* List method was added
* Error codes updated as exist in code
* Updates parameters.yaml to match actual descriptions for parameters
* Update body to be a lot stronger about what our deprecation means and why.

Part of bp:api-ref-in-rst

Change-Id: I003fc1cc84cd429fbdc0c4f0847be81d920d3561
2016-05-12 14:35:48 -04:00