Commit Graph

137 Commits

Author SHA1 Message Date
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
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 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 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
Jenkins 2a8d726124 Merge "Deprecated the concept of extensions in v2.1." 2016-05-04 00:13:54 +00:00
Jenkins cdd0125ae9 Merge "Changed the storage size from GB to GiB." 2016-05-04 00:11:06 +00:00
Jenkins 096677323e Merge "[doc] fix 5 typos" 2016-05-03 13:19:19 +00:00
Jenkins 7cc43f10d7 Merge "Complet Method Verification of server group" 2016-04-28 19:28:09 +00:00
Atsushi SAKAI 340b7e9404 [doc] fix 5 typos
tweek        => tweak
adminstrator => administrator
mulitple     => multiple
definied     => defined (2-locations)

Change-Id: Ibe2c04e1b225515f7a6c83b5a4a8d91e8385140a
2016-04-28 20:40:18 +09:00
sharat.sharma 4c5ba52b74 Changed the storage size from GB to GiB.
Change-Id: Iede32b2764b9329bf9dc3d8aec02064db1f16d05
Closes-Bug: #1521791
2016-04-27 16:40:01 +05:30
sharat.sharma 75280e582e Deprecated the concept of extensions in v2.1.
The extensions in api-ref-compute-v2.1 is deprecated. This patch
depricates the extension infrastructure in v2.1.

Change-Id: Ie7731c25ee7c5c662c22835add3314ffa51f37bc
Closes-Bug: #1490531
2016-04-27 15:26:03 +05:30
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
Jenkins a4e15e329f Merge "Add links to API guide to describe links" 2016-04-26 05:56:38 +00:00
Jenkins abff097b24 Merge "Complet Method Verification of os-services" 2016-04-26 05:54:18 +00:00
Jenkins cb2b15038c Merge "Complet Method Verification of server diag" 2016-04-26 05:33:58 +00:00
jichenjc 96e9d88026 Complete Method Verification of ips
This complete the Method Verification of ips,
also, clean and correct some error return code.

Part of bp:api-ref-in-rst

Change-Id: I7eaee7f373edbaa00fdd599a44b587b1a3f49552
2016-04-25 11:29:25 +08:00
jichenjc 205a91a772 Complete method Verification of consoles
verified the API doc for os-consoles and os-console-auth-token,
Adjust GET/POST sequence in the doc Also,
remove some common error code like 500, 503 etc

Part of bp:api-ref-in-rst

Change-Id: If03d3b23246cc8af639c4a08bb22129937efeaeb
2016-04-25 04:00:05 +08:00
jichenjc fa89d6bfe5 Complete Verification of os-server-password
verified the API doc for os-server-password,
remove some common error code like 500, 503

etc Part of bp:api-ref-in-rst

Change-Id: Iab9f712fbf09bc141276fa32865b8b5b72de73be
2016-04-24 18:52:09 +08:00
jichenjc c2b45cd5cf Complete Verification of os-hosts
verified the API doc for os-hosts,
Adjust GET/POST sequence in the doc
Also, remove some common error code like 500, 503 etc

Part of bp:api-ref-in-rst

Change-Id: Id8c77d53a589d4203308b8135d5413d00d64d6f1
2016-04-24 08:06:42 +08:00
Sean Dague 9f6b96e333 Add links to API guide to describe links
We have a pretty generic parameter for links, which lets us reuse it,
which is good. This updates the description to link to the API guide
to explain the concepts on links.

Part of bp:api-ref-in-rst

Change-Id: Ic05428cf20ee8652c09b993046d491453c328a4c
2016-04-23 19:00:19 -04:00
jichenjc 0e5000887b Complete Method Verification of os-interface
verified the API doc for os-interface, changes sequence of
POST/GET and remove some common error code like 500, 503 etc

Part of bp:api-ref-in-rst

Change-Id: I9d825e278a3f02e397b6258f193e3236f9f499da
2016-04-23 22:54:22 +08:00
jichenjc ccfadb0b88 Complet Method Verification of flavor-access
verified the API doc for os-flavor-access,
changes several incorrect path per test result
Also, remove some common error code like 500, 503 etc

detail log: http://paste.openstack.org/show/495498/

Part of bp:api-ref-in-rst

Change-Id: Ia8c4e5ada61a279a26b58081a0b771b5b8bd75f3
2016-04-23 22:33:54 +08:00
jichenjc ff00644cbd Complete Verification of os-virtual-interfaces
verified the API doc for os-virtual-interfaces,
Also, remove some common error code like 500, 503 etc

Part of bp:api-ref-in-rst

Change-Id: Iaaae9932d27d8fe7db529d101536bcd3dacb33cb
2016-04-23 22:31:48 +08:00
jichenjc 896062a383 Complet Method Verification of os-instance-actions
verified the API doc for os-instance-actions, changes some
wording and the title,
Also, remove some common error code like 500, 503 etc

Part of bp:api-ref-in-rst

Change-Id: Icaf84d86c773ad4173c662dc148219b3aba4a9fc
2016-04-23 22:13:01 +08:00
jichenjc 4f4841d1d5 Complete Verification of os-flavor-extra-specs
verified the API doc for os-flavor-extra-specs,
changes the sequence of GET/POST,
Also, remove some common error code like 500, 503 etc

Part of bp:api-ref-in-rst

Change-Id: I14c02e42f2cbb7979436add78feb19a41944a1c7
2016-04-23 21:55:29 +08:00
jichenjc 479df531fa Complet Method Verification of flavor
verified the API doc for flavors, adjust the sequence
Also, remove some common error code like 500, 503 etc

Part of bp:api-ref-in-rst

Change-Id: I75ea9462ef8daea490f5f1a88f155073d794414a
2016-04-23 10:36:29 +08:00
jichenjc 5ead13913f Complet Method Verification of server group
verified the API doc for os-server-groups,
Also, remove some common error code like 500, 503 etc

detail log: http://paste.openstack.org/show/495341/

Part of bp:api-ref-in-rst

Change-Id: I0654ef2e1c937d1328b9ab4c434596035d53e0ee
2016-04-23 10:16:05 +08:00
jichenjc d963a27fa6 Complet Method Verification of keypair
verified the API doc for os-keypairs,
Also, remove some common error code like 500, 503 etc

detail log: http://paste.openstack.org/show/495427

Part of bp:api-ref-in-rst

Change-Id: Id74692af6e2ffde58a344d47968370ac54d5ce5e
2016-04-23 02:36:51 +08:00
jichenjc ffee1b3444 Complet Method Verification of availability-zone
verified the API doc for os-availability-zone, Added
one description for default policy
Also, remove some common error code like 500, 503 etc

detail log: http://paste.openstack.org/show/495423/

Part of bp:api-ref-in-rst

Change-Id: Icb898f0482e8a17289cd5047ef1c64a2481ccabb
2016-04-23 01:56:55 +08:00