315 Commits

Author SHA1 Message Date
stewie925
bc6c3434d9 Complete verification for os-floating-ips-bulk
This includes parameter, example, and body verifications
for api-ref os-floating-ips-bulk.

part of bp:api-ref-in-rst

Change-Id: I507958b4361b65da1cc510b0d81fe55466dd41c3
2016-06-30 08:47:38 -07:00
Jenkins
a919ea33c8 Merge "api-ref: docs for microversion v2.28" 2016-06-22 11:43:06 +00:00
Jenkins
2d5460d085 Merge "Publish proxy APIs deprecation in api ref doc" 2016-06-22 06:18:25 +00:00
Jenkins
0685e7762c Merge "api-ref: console types." 2016-06-21 21:35:04 +00:00
Jenkins
7bf7ddad9c Merge "Fix some typos" 2016-06-21 20:50:54 +00:00
Pavel Kholkin
ebe8fd945b api-ref: docs for microversion v2.28
Part of bp nova-api-hypervsor-cpu-info
Part of bp api-ref-in-rst

Change-Id: I48a5824c653825b9fdc6cd4d5a2f6ade03fff011
2016-06-21 17:40:06 +03:00
Takashi NATSUME
a7cbc90fb1 api-ref: Improve os-instance_usage_audit_log samples
Improve api samples for os-instance_usage_audit_log
and fix a parameter.

Change-Id: I8436a6ab0610e41d8c6c95c55a263fdfbbf58476
Implements: blueprint api-ref-in-rst
2016-06-21 20:30:11 +09:00
Jenkins
dec5bbecc4 Merge "fix errors in revert resize api docs" 2016-06-20 20:14:40 +00:00
Jenkins
8c9df1ec4f Merge "api-ref: parameter verification os-fixed-ips" 2016-06-20 17:38:11 +00:00
Ronald Bradford
37376b9acd api-ref: parameter verification os-fixed-ips
Change-Id: I0140ee7e49ffa39be07fe3f9a6ad24123be2a723
2016-06-17 11:43:17 -04:00
Jenkins
aaac7c4f6a Merge "api-ref: Fix parameters in os-instance-usage-audit-log" 2016-06-16 18:22:44 +00:00
Matthew Edmonds
ce01ef30e3 fix errors in revert resize api docs
The revert resize action's documentation appears to have been copied
from the documentation for confirm resize, and missed replacing the
word 'confirm' with 'revert' in one case. This fixes that.

It also gives incorrect information about the states involved through
the revert process. This also corrects that.

Change-Id: Ib2436da238a4a7b71454ecfee81ede4054b3018e
Closes-Bug: #1593295
2016-06-16 12:55:04 -04:00
Jenkins
100305c2bf Merge "api-ref: parameter verification for os-aggregates" 2016-06-15 22:28:27 +00:00
csatari
32d45f15dc api-ref: console types.
Documentation change in api-ref.

type is added to the parameter lists of Get RDP console, Get serial console,
Get SPICE console, Get VNC console.

Closes-Bug: 1587117
Closes-Bug: 1587118
Closes-Bug: 1587119
Closes-Bug: 1587121

Change-Id: I73823fd6fb0886e2fff0da4838fe868f578bba6d
Signed-off-by: csatari <gergely.csatari@nokia.com>
2016-06-14 15:58:32 +02: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
ghanshyam
40ea165e81 Publish proxy APIs deprecation in api ref doc
As first step to deprecate the proxy APIs,
this commit publish the deprecation of proxy APIs
in api ref doc.

Partially implements blueprint deprecate-api-proxies

Change-Id: Ie19ec5e27fef956061786646e8f9cc4e44d8ef0f
2016-06-14 15:31:18 +09:00
Takashi NATSUME
58785c4a67 api-ref: Fix parameters in os-instance-usage-audit-log
The parameters have been verified in
Ia7af3cab3c0ed82418a6fa140fea061074ccd8b5.
But response parameters are missing, so fix them.
And fix some wrong description.

Change-Id: Ic1a307c405f769cadd037ae45e921d88b6a2bea5
Implements: blueprint api-ref-in-rst
2016-06-14 13:58:54 +09:00
JiaLei Shi
9fd3e02760 Fix some typos
Fix typos detected by toolkit misspellings.

* pip install misspellings
* git ls-files | grep -v locale | misspellings -f -

Change-Id: I858b3fea4badcf6d2af3405b278b243e12fce7e2
2016-06-13 13:44:53 +08: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
ghanshyam
f44d1aff9d Enable all extension for all remaining sample tests
As extensions options has been deprecated, API sample tests
should run against all extension enable.

This commit enables all extensions for all the remaining sample tests
and remove extensions specific tests and sample files.

Also remove extension setting specific logic from base test class
along with TODOs.

Partially implements blueprint api-sample-tests-with-all-extensions

Change-Id: I66b593760789e5b3b92137a672246f8d91e44cba
2016-06-10 06:03:02 +00:00
ghanshyam
f26f18e20c Enable all extension for server API tests part-1
As extensions options has been deprecated, API sample tests
should run against all extension enable.

This commit enables all extensions for server API tests and remove its specific
extensions tests and sample files.

Partially implements blueprint api-sample-tests-with-all-extensions

Change-Id: I7e12a4491738c2908c1dd134c05f38e0db497ee7
2016-06-09 08:53:30 -04: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
Jenkins
7d7506c2b6 Merge "api-ref: verfiy limits body" 2016-06-07 18:51:33 +00:00
Jenkins
7a21e141dc Merge "api-ref: body verification of ips.inc" 2016-06-07 18:50:43 +00:00
Jenkins
4692a33945 Merge "api-ref: verify os-server-groups.inc" 2016-06-07 16:51:38 +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
Jenkins
df9e74ca35 Merge "Fix white spaces in api-ref" 2016-06-06 20:55:37 +00:00
Jenkins
2bd6b6be8b Merge "api-ref method verification for os-cells" 2016-06-06 20:12:16 +00:00
Chris Dent
cc47acaf8d api-ref method verification for os-cells
Confirm and correct list methods and response codes in os-cells.

This is mostly just checking, correcting and adding methods, but
in the process of doing that it became clear that there was quite
a bit missing so several TODO notes have been left in place so that
the next stages of work are a bit more obvious.

* 405 has been removed everywhere as we don't send that response
* 400 badRequest is required anywhere, as that's what you'll get if
  tenant_id does not match the context's project_id
* 503 does not happen as there's no application controlled proxying
  in this api
* the URL for listing cells with details was incorrect
* the example response for cells with details was an empty list,
  this is now a todo suggesting an as yet non-existent file
* capacities was not listed, now is
* not clear what capacities really are, so a TODO
* creating a new cell (via POST) was not there, so that is now added
  as a method
* for that POST, request and response bodies, parameters currently a
  TODO
* Update (PUT) and DELETE of a cell has been added, but details are TODO

Part of bp:api-ref-in-rst

Change-Id: I3f123f821820e5a5a4deff61fb716d43dc486142
2016-06-06 10:55:13 +01: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
Takashi NATSUME
9d41696515 Fix white spaces in api-ref
TrivialFix
Change-Id: Icd7cd923522b6d97e19c89ad417eb5560649f6ba
2016-06-06 12:04:54 +09: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
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