Commit Graph

160 Commits

Author SHA1 Message Date
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
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
https://github.com/openstack/nova/blob/7529b94f4a0be17fb3988362619f83b404ccad86/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
Ronald Bradford 04fb00d539 Complete method verification of os-fixed-ips
Verified the API document for os-fixed-ips with source for methods
available and response codes.

Part of bp:api-ref-in-rst

Change-Id: I60096911a7895d989e056958e175477987cc72f8
2016-05-06 12:30:28 -04:00
Jenkins 26a8155dd8 Merge "Complete Verification of os-virtual-interfaces" 2016-05-04 17:15:06 +00:00
Jenkins 84ce67ae1c Merge "Complete Method Verification of os-interface" 2016-05-04 17:14:11 +00:00
Jenkins 172d8eddfb Merge "Complet Method Verification of flavor-access" 2016-05-04 17:13:23 +00:00
Jenkins 54e66dd5a3 Merge "Complete Verification of os-flavor-extra-specs" 2016-05-04 17:12:16 +00:00
Jenkins a0cea4e5a3 Merge "Complet Method Verification of os-instance-actions" 2016-05-04 17:10:58 +00:00
Jenkins 7a5f1a804c Merge "Complet Method Verification of flavor" 2016-05-04 17:10:09 +00:00
Jenkins f39743a1e6 Merge "Complete Verification of os-hosts" 2016-05-04 16:45:13 +00:00
Jenkins bfca4bec87 Merge "Complete method Verification of consoles" 2016-05-04 15:59:02 +00:00
Jenkins d2bf3ef0a2 Merge "Complete Verification of os-server-password" 2016-05-04 15:57:56 +00:00
Jenkins ce46dc3823 Merge "complete Method Verification of aggregates" 2016-05-04 15:56:55 +00:00
jichenjc b6fed91bdc Complete Verification of server-metadata
verified the API doc for server-metadata,
remove some common error code like 500, 503 etc

Part of bp:api-ref-in-rst

Change-Id: Ice8776d559b7f8770a86039d1ce0f316fd55899c
2016-04-25 20:09:31 +08:00
Jenkins 7cc43f10d7 Merge "Complet Method Verification of server group" 2016-04-28 19:28:09 +00:00
Jenkins 166f6ac325 Merge "Complet Method Verification of simple tenant usage" 2016-04-27 04:37:37 +00:00
Jenkins 9d57fa3b94 Merge "Complet Method Verification of availability-zone" 2016-04-27 04:29:48 +00:00
jichenjc 5b9a51af72 Complete method Verification of os-hypervisors
verified the API doc for os-hypervisors,
added policy description as this is admin action by default,
Also, remove some common error code like 500, 503 etc

Part of bp:api-ref-in-rst

Change-Id: Ic81eac06cb238d0940feac41940433f9e3befc29
2016-04-25 19:58:53 +08:00
jichenjc 47ef16d431 complete Method Verification of aggregates
This complete the Method Verification of aggregates,
adjust the sequence of GET/POST,
also, clean and correct some error return code.

Part of bp:api-ref-in-rst

Change-Id: I1536b804fbbd887fa4da2c35282add7e3994727a
2016-04-25 12:46:22 +08:00
Jenkins 035fed4e9c Merge "Fix doc build if git is absent" 2016-05-04 00:14:36 +00:00