180 Commits

Author SHA1 Message Date
Jenkins
504679cc40 Merge "method verification of os-server-external-events" 2016-05-11 21:40:50 +00:00
Jenkins
593fbdd1ef Merge "method verification for server-action-remote-consoles" 2016-05-11 21:33:38 +00:00
Jenkins
e4991112a5 Merge "api-ref: Method verification for os-floating-ips" 2016-05-11 19:30:53 +00:00
Pushkar Umaranikar
d68e80ce44 method verification for server-action-remote-consoles
Verify and update the response codes for the methods based
on what is in the code.

part of blueprint: api-ref-in-rst

Change-Id: Ia84f61c8529a20f2d5ebe97939dc8ee45d8679b9
2016-05-11 19:27:12 +00:00
Sivasathurappan Radhakrishnan
671ad712ed method verification of os-server-external-events
Verified the API document for os-server-external-events
with source for methods available and response codes.

Part of bp:api-ref-in-rst

Change-Id: I5e647588f463db480cf99672385bbc8252d6e5ad
2016-05-11 17:43:47 +00:00
Jenkins
167a203d84 Merge "api-ref host verification (os-hosts.inc)" 2016-05-11 16:58:20 +00:00
Jenkins
504a840008 Merge "api-ref verify os-floating-ip-pools.inc" 2016-05-11 16:57:23 +00:00
Jenkins
6bc1e381b2 Merge "method verification of os-assisted-volume-snapshots" 2016-05-11 16:56:15 +00:00
Jenkins
25ac5a2756 Merge "Added fault response parameter to Show Server Details API." 2016-05-11 15:20:59 +00:00
Pushkar Umaranikar
247cb293e5 api-ref: Method verification for os-floating-ips
Verify and update the response codes for the methods
based on what is in the code.

part of blueprint: api-ref-in-rst

Change-Id: I4049504baa7aa0423337f0f104e3dae9a5e4b37b
2016-05-11 14:16:50 +00:00
Jenkins
12d4272081 Merge "Complete method verification of os-cloudpipe.inc" 2016-05-11 13:56:48 +00:00
Jenkins
e788d9632c Merge "api-ref: servers-action-shelve.inc" 2016-05-11 13:55:40 +00:00
Jenkins
0b36cf34e4 Merge "method verification for servers-action-fixed-ip" 2016-05-11 13:50:57 +00:00
Karen Bradshaw
0d4127aac9 api-ref: servers-action-shelve.inc
-Fixed headers to match method names.
-Verified methods and content.
-Verified parameters in parameters.yaml.
-Removed empty response sections and added
 a line between request param table and example.
-Todo: verify the example string for each action (null).

Change-Id: I611cef4949856ceb9be19af670401cb90a4eddbf
2016-05-11 08:45:51 -04:00
sharat.sharma
54dfffb842 Added fault response parameter to Show Server Details API.
The Show Server Details returns fault field in the failed
responses. This patch adds the fault field to the response
parameter table.

Change-Id: I413a098061eb58ba70b3a18d646398dfdac590aa
Closes-Bug: #1545972
2016-05-11 11:44:03 +00:00
sharat.sharma
3300cdfcfb Corrected the typo.
Change-Id: Id542ba32d95f67820da112bfc994b9878c998aaa
Closes-Bug: #1580536
2016-05-11 16:02:28 +05:30
Jenkins
a99d74155b Merge "api-ref: perform all 4 phases of verification for action console output" 2016-05-11 06:55:10 +00:00
Jenkins
97c05f5950 Merge "Complete method verification of os-migrations" 2016-05-10 23:06:58 +00:00
Sivasathurappan Radhakrishnan
fcce6781e2 method verification of os-assisted-volume-snapshots
Verified the API document for os-assisted-volume-snapshots
with source for methods available and response codes.

Part of bp:api-ref-in-rst

Change-Id: I9357377750e7c373c283edd73cbf65ad42c22e66
2016-05-10 23:05:30 +00:00
Sujitha
a7b1d22959 Complete method verification of os-cloudpipe.inc
Corrects the error status responses for os-cloudpipe

Part of bp:api-ref-in-rst

Change-Id: I735a14464abbad8f714e84754a38c85b5b0d3b5c
2016-05-10 21:38:48 +00:00
Pushkar Umaranikar
f6ac9f3257 method verification for servers-action-fixed-ip
Verify and Update the response codes for the methods based
on what is in the code.

part of blueprint: api-ref-in-rst

Change-Id: I08d4cbf17fdc0efa42efe9beaa0012ca92320b09
2016-05-10 19:56:35 +00:00
Jenkins
421c52d9d3 Merge "api-ref: complete verification for diagnostics.inc" 2016-05-10 15:37:47 +00:00
Jenkins
cb0740aa2d Merge "api-ref: update parameter validation on servers" 2016-05-10 15:36:48 +00:00
Jenkins
4f100c1819 Merge "Complete method verification of os-fping" 2016-05-10 12:02:02 +00:00
Jenkins
628aaa3816 Merge "Complete method verification of os-security-groups" 2016-05-10 12:01:14 +00:00
Sivasathurappan Radhakrishnan
d8d8adf7fe Complete method verification of os-fping
Verified the API document for os-fping with source
for methods available and response codes.

Part of bp:api-ref-in-rst

Change-Id: Iab4fda784734337da25202ebba567a01ca63ae9e
2016-05-10 10:49:49 +00:00
Jenkins
503fe694fa Merge "Complete method verification of os-quotas" 2016-05-10 10:38:03 +00:00
Jenkins
43d7f7f052 Merge "Complete method verification of os-security-group-rules" 2016-05-10 10:31:39 +00:00
Ronald Bradford
3860d7e671 Complete method verification of os-security-group-rules
Verified the API document with source for methods available and
response codes used.

Part of bp:api-ref-in-rst

Change-Id: I7e332f1b18083a7d5edb07d7fb65b3757bea131a
2016-05-10 10:12:48 +00:00
Jenkins
e7fa45c7e0 Merge "Complete Verification of server-metadata" 2016-05-10 10:01:23 +00:00
Jenkins
4f8761682a Merge "api-ref: add url parameter to expand all sections" 2016-05-10 10:00:36 +00:00
Jenkins
a0252eb1a3 Merge "Remove 404 for list and details actions of servers" 2016-05-10 09:55:59 +00:00
He Jie Xu
1fce522362 Remove 404 for list and details actions of servers
Just found when the marker can't be found, we won't return 404,
instead of we will return 400. This patch removes the 404 code from
list and details doc.

Part of bp:api-ref-in-rst

Change-Id: I03e76a3a45f2d59c8fb01610cbd751d5b91f5964
2016-05-10 02:37:45 +00:00
Jenkins
e1f3d30c2b Merge "Complete method verification of os-tenant-networks" 2016-05-10 01:48:01 +00:00
Sujitha
f8870c6d26 Complete method verification of os-migrations
Corrects the error status responses for os-migrations

Part of bp:api-ref-in-rst

Change-Id: Ia4aa0e6378e1b327fb75b2f630279b35835ba095
2016-05-09 22:10:24 +00:00
Sean Dague
549fe62bba api-ref: perform all 4 phases of verification for action console output
This provides the verification of the action console output.

* Return codes updated based on what's in the code
* Parameters fixed (length -1 is not actually a thing, it's suggestion
  for future enhancement; console output described; server_id should be in path).
* Add preamble for request example
* Clean up language on preamble

Part of bp:api-ref-in-rst

Change-Id: I7071a1e528b0aa8df16589facee4ed4fd62f7b4b
2016-05-09 16:48:34 -04:00
Sean Dague
534320c875 api-ref: add url parameter to expand all sections
When attempting to link to a specific element that is inside of a
collaspable section, the anchors don't work because they are not
visible. A relatively low complexity work around is to add an
?expand_all parameter, which allows one to specify the url as a page
that should be fully expanded. Then any deep linking will take people
to the right place.

Part of bp:api-ref-in-rst

Change-Id: Iae7bc4b2cee9ef76323877d502035e878d0d7182
2016-05-09 16:35:30 -04:00
Sean Dague
8f4e803634 api-ref: complete verification for diagnostics.inc
This completes the verification for the diagnostics API. As the
response is still dumping out raw hypervisor stats (for compatibility
7529b94f4a/nova/api/openstack/compute/server_diagnostics.py (L38-L44))
the best we can say about the response is it's hypervisor specific and
don't use it.

In future we should use the standardized format that was defined
during the v3 effort.

Part of bp:api-ref-in-rst

Change-Id: Id2cca6a2f79542bec17a34aa3d31924e8ed7b9e5
2016-05-09 16:23:17 -04:00
Sean Dague
e131317430 api-ref: update parameter validation on servers
This updates all the v2.1 parameters for servers, as well as some of
the microversions added parameters. It makes us more accurate than the
existing api-site.

This specificially *does not* include the additional response
parameters for microversions > 2.1 (tags, ext attrs for ec2, etc).

Part of bp:api-ref-in-rst

Change-Id: Ic03c0e6486a300c3cd724b798850dedeae014faf
2016-05-09 16:23:10 -04:00
Ronald Bradford
68e7462d08 Complete method verification of os-tenant-networks
Verified the API document with source for methods available and response
codes used.
Recorded HTTP methods to match wiki.

Part of bp:api-ref-in-rst

Change-Id: I4a007d23285b10725123cbfe5554c0964ae798a0
2016-05-09 16:21:54 -04:00
Ronald Bradford
ca690257d4 Complete method verification of os-security-groups
Verified the API document with source for methods available and
response codes used.

Part of bp:api-ref-in-rst

Change-Id: Ie3e9e39f5547a3172483b42d21536acf46b445d3
2016-05-09 16:01:48 -04:00
Sean Dague
daad02b41d api-ref: method verification and fixes for servers.inc
Update the response codes for the methods based on what is in the
code. This follows the pattern of updating these error codes when
doing method verification that jichen has been doing.

Some notes are left for the body_verification phase later, as that is
going to take a while for this file.

Part of bp:api-ref-in-rst

Change-Id: I8d8bd09f72572caed1a45fa23f95a15d330c2f26
2016-05-09 12:37:22 -04:00
Jenkins
1801a48cc6 Merge "Complete method Verification of os-hypervisors" 2016-05-09 15:32:13 +00:00
Jenkins
095a30834f Merge "Compelete method verification of os-servers-admin" 2016-05-09 14:07:13 +00:00
Jenkins
e116f238e3 Merge "Complete method verification of os-shevle" 2016-05-09 14:06:34 +00:00
Jenkins
74a8d820eb Merge "Complete method verification of os-fixed-ips" 2016-05-09 11:41:06 +00:00
He Jie Xu
e7bf2d7dc6 Complete method verification of os-quotas
Adjust the order of method and correct the error status code. Also
add missing method of detail.

Part of bp:api-ref-in-rst

Change-Id: I394e906c05475d133a89d098e8282e047ebc6c31
2016-05-09 10:09:40 +00:00
He Jie Xu
e3b0edbbe3 Compelete method verification of os-servers-admin
Corrects the error status responses for os-servers-admin

Part of bp:api-ref-in-rst

Change-Id: I3385834ed13104b49fbc4d2a566f9553da046c4b
2016-05-09 11:21:57 +08:00
He Jie Xu
6939da33e3 Complete method verification of os-shevle
Correct the error status responses for os-shelve's methods

Part of bp:api-ref-in-rst

Change-Id: Id917c0a8bfde655ef4ca875eed5d54e82778b040
2016-05-09 11:08:13 +08:00
Ronald Bradford
a91d24e536 Complete method verification of os-agents
Verified the API document for os-agents with source for methods
available and response codes used.
Recorded HTTP methods to match wiki.

Part of bp:api-ref-in-rst

Change-Id: Ia601f26741ebb4b60e9e9ea4c9b8ba5c260896fe
2016-05-06 13:45:46 -04:00