Commit Graph

848 Commits

Author SHA1 Message Date
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
jichenjc 35b0a1236a Complet Method Verification of simple tenant usage
verified the API doc for os-simple-tenant-usage,
remove some common error code like 500, 503 etc

Part of bp:api-ref-in-rst

Change-Id: I90d6899cdb9dc9983fdbfd5156b369ab2fb88226
2016-04-23 01:48:40 +08:00
jichenjc ef2dfbf717 Complet Method Verification of os-services
This complete the Method Verification of os-services,
http://paste.openstack.org/show/495349/
has the method call and return sample value. also,
clean and correct some error return code.

Part of bp:api-ref-in-rst

Change-Id: Ie4662e033b3b2235e62fd95ea50291ae91362d21
2016-04-22 17:15:42 +08:00
jichenjc 4478ce8233 Complet Method Verification of server diag
This complete the Method Verification of server diagnostics,
as this is the only method supported.
http://paste.openstack.org/show/495198/ has the method call and return
sample value.

also, clean default policy value and correct some error return code.

Part of bp:api-ref-in-rst

Change-Id: I8e63cdb30e5da34522790f110ecaff79f7577eb1
2016-04-22 15:37:01 +08:00
jichenjc 918560396e Complet Method Verification of limits
This complete the Method Verification of limits,
as this is the only method supported.
http://paste.openstack.org/show/495202/
has the method call and return sample value.

also, clean and correct some error return code.

Part of bp:api-ref-in-rst

Change-Id: Ic1dca126d1acef3eaa8a56ef764f3ddefcb28ba4
2016-04-22 08:06:28 +08:00
Sean Dague d929b9fc76 add tags to files for the content verification phase
This adds a set of tags in comments to the beginning of files so that
we can process them according to the documentation here:
https://wiki.openstack.org/wiki/NovaAPIRef

Part of bp:api-ref-in-rst

Change-Id: I17cf584dafb5bd969c12f51b7e7185d92365bf93
2016-04-20 16:21:58 -04:00
Jenkins 9702e5d2e9 Merge "Final warnings removals for api-ref" 2016-04-20 18:10:59 +00:00
Jenkins 4b16974756 Merge "change host to host_migration" 2016-04-20 16:50:29 +00:00
Jenkins 397a3a3ef1 Merge "modify duplicate // to / in doc" 2016-04-20 15:46:16 +00:00
Sean Dague 1555736e3c Final warnings removals for api-ref
This removes the final warnings from the api-ref code base, and flips
the sphinx switch to enforce warnings as errors.

It also adds code to the rest_parameters extension to make it more
clear where a problem is when it comes to included parameters. This
puts us in a place where we can start doing the file per file look at
content.

Part of bp:api-ref-in-rst

Change-Id: Ic2c99d96d6addcafa00b9f16785c2fe59b1798d3
2016-04-20 11:25:30 -04:00
Jenkins db06f9aa61 Merge "Fix remaining json reference warnings" 2016-04-20 14:25:05 +00:00
Jenkins 9a0a52bf42 Merge "Fix os-server-groups.inc" 2016-04-20 14:23:12 +00:00
Sean Dague f208917c52 Fix remaining json reference warnings
This fixes the last json reference warning which exist. It also trims
out the baremetal API calls that we don't support any more (we only
have the readonly proxy). That was erroneously added to the compute
API docs in refactors of api-site last cycle.

Change-Id: I08be639b610304049b0959902ed8876559111274
2016-04-20 08:42:24 -04:00
Jenkins b87e6723ef Merge "Update 'os-hypervisors.inc' in api-ref" 2016-04-20 11:16:36 +00:00
Jenkins 1e391f8dd6 Merge "Fix the parameters for os-agents API" 2016-04-20 11:15:38 +00:00
Jenkins d6426141d2 Merge "Fix content and sample file for keypair, migration, networks" 2016-04-20 11:14:39 +00:00
Jenkins 99ad35a621 Merge "Fix sample file path for fixed, floating ips API" 2016-04-20 11:06:49 +00:00
Jenkins 3ed55c2f80 Merge "Fix all remaining sample file path" 2016-04-20 11:05:51 +00:00
Jenkins 9504797297 Merge "Change adminPass for several server actions" 2016-04-20 11:04:20 +00:00
Jenkins 23c8c8e322 Merge "Fix sample path for aggregate, certificate, console" 2016-04-20 11:03:25 +00:00
Jenkins f3531de86c Merge "Add remaining image API ref" 2016-04-20 11:02:27 +00:00
Jenkins 7b783196ab Merge "Remove duplicate api ref for os-networks/actions" 2016-04-20 09:45:08 +00:00
Jenkins 0e7a20a946 Merge "Fix sample file path for 4 files" 2016-04-20 09:44:12 +00:00
ghanshyam d0eb85880c Remove duplicate api ref for os-networks/actions
This remove the duplicate entry of os-networks/actions api ref
and add the action name in their content.

Part of bp:api-ref-in-rst

Change-Id: I3ca28793b6bcf390c8a2bfa1dfcf0213cf6bd428
2016-04-20 17:11:06 +09:00
ghanshyam 24d380b4d0 Fix all remaining sample file path
This patch fix sample file path in all remaining api ref files.

Part of bp:api-ref-in-rst

Change-Id: I214b3a5bedea44cdfeba644ef3796938b709f4bf
2016-04-20 16:56:47 +09:00
ghanshyam 4d421c7151 Fix sample file path for 4 files
This fix sample file path and status code of evacuate

Part of bp:api-ref-in-rst

Change-Id: I3bec0fcf622c0a1c85bbfea53283bd73fd613c75
2016-04-20 15:34:02 +09:00
ghanshyam 1d6cd1277b Fix content and sample file for keypair, migration, networks
This fix some content and sample file path for:
-os-keypairs
-os-migrations
-os-networks

Part of bp:api-ref-in-rst

Change-Id: I6ae6d38207c5a9552bab9a42b2800449e4ad040a
2016-04-20 12:03:04 +09:00
ghanshyam aa0bb597c6 Fix sample file path for os-i* API
This patch fix sample files path for os-i* APIs

Part of bp:api-ref-in-rst

Change-Id: I0d8de9aaef7ffe5e0dfe09f38246b1f57ac814cb
2016-04-20 11:38:31 +09:00
He Jie Xu 469771a3b5 Fix the parameters for os-agents API
* Add notes for API bug: update return string type's agent id
* Fix the parameters for create agent
* Fix the description of agent id in the update url.

Part of bp:api-ref-in-rst

Change-Id: I5c102ef8a08123089ec4a85dde5716eda12fb8c7
2016-04-20 10:23:47 +08:00
ghanshyam ca65bf4e91 Fix sample file path for fixed, floating ips API
This fix sample file path and some satatus code for
-fixed ips
-floating ips

Part of bp:api-ref-in-rst

Change-Id: I33341d67e678f70b1a4feb9b39a14f5ac81e8c65
2016-04-20 11:05:26 +09:00
Jenkins 8e811ec838 Merge "fix samples references in security group files" 2016-04-20 02:05:21 +00:00
Jenkins e0f911cae4 Merge "fix samples references in os-services" 2016-04-20 02:04:27 +00:00
Jenkins aa7a87ccba Merge "Fix api samples references in 3 more files" 2016-04-20 02:03:34 +00:00
Jenkins 9619136e31 Merge "Fix os-virtual-interfaces and flavors api-ref" 2016-04-20 02:02:01 +00:00
ghanshyam 90d64f229c Fix sample path for aggregate, certificate, console
This fix all sample file path for
-os-aggregates
-os-certificates
-os-consoles

Part of bp:api-ref-in-rst

Change-Id: I949f3625b7bad4f316ee4b5723fba8e95a205afd
2016-04-20 10:35:37 +09:00
ghanshyam 27778e5d04 Add remaining image API ref
This commit adds remaining image and metadata API ref
and also correct the existing one with status code and
sample file name.

Part of bp:api-ref-in-rst

Change-Id: I9db88b0ad042501406d512e417440a1146027326
2016-04-19 23:31:47 +00:00
Jenkins 2325ee56f3 Merge "Fix api ref for os-hosts, os-quota-sets and os-fping" 2016-04-19 23:25:53 +00:00
Jenkins 68020b1740 Merge "Fix api ref for os-cells, os-cloudpipe and server-action-shelve" 2016-04-19 23:24:58 +00:00
Jenkins 6775cddb54 Merge "Fix api sample references in 2 more files." 2016-04-19 23:16:21 +00:00
Jenkins 0d06a331da Merge "Fix flavor-access and flavor-extras api-ref" 2016-04-19 22:32:41 +00:00
Jenkins c787a8361f Merge "Fix diagnostics, extensions api ref" 2016-04-19 22:31:08 +00:00
Jenkins 66d38b1692 Merge "Fix api ref for ips, limits, metdata and agent" 2016-04-19 22:29:53 +00:00