418 Commits

Author SHA1 Message Date
jichenjc
59dd4a48b9 fix broken link in api-ref
the link is broken, replace with new link

Change-Id: Ic38600f06519c3fa509dfba1b2c614c9330e35fd
Implements: blueprint api-ref-in-rst
2016-09-09 10:40:19 +08:00
Jenkins
355b94f3c3 Merge "[api-ref]: Correcting server_groups_list parameter's type." 2016-09-14 16:51:15 +00:00
Jenkins
62412ad454 Merge "[api-ref]: Update link reference" 2016-09-14 16:50:30 +00:00
Jenkins
04e94df911 Merge "Fix api-ref doc for server-rebuild" 2016-09-14 15:31:47 +00:00
Jenkins
0f9de41cba Merge "[api-ref] fix availability_zone for server create" 2016-09-14 12:46:57 +00:00
Jenkins
d3c9c476fc Merge "Complete verification for os-cloudpipe.inc" 2016-09-14 11:46:13 +00:00
ghanshyam
485ae14c9c Correct image.inc for heading
This commit updates image.inc to remove create
and update image from title

Partially implements blueprint api-ref-in-rst

Change-Id: Ib9aea5fd26585f6b81addfe4f0cdea00f2b2eaf5
2016-09-14 16:11:12 +09:00
ghanshyam
3309ad7338 Complete verification for os-cloudpipe.inc
This commit verify everything for cloudpipe.inc

Also mark this API deprecated as it works only for
nova-networks.

Partially implements blueprint api-ref-in-rst

Change-Id: I415760ff634dd85974f0c3f79e788e633852efb5
2016-09-14 07:06:06 +00:00
Jenkins
4014ebec5e Merge "Correct address, version parameter in ips.inc" 2016-09-13 20:34:02 +00:00
Jenkins
7e8fbabf45 Merge "Correct sort_key and sort_dir parameter for flavor" 2016-09-13 20:33:34 +00:00
Jenkins
30998a18c9 Merge "Fix server group name on api-ref" 2016-09-13 14:34:29 +00:00
ghanshyam
d7948387b1 Correct sort_key and sort_dir parameter for flavor
This commits define new parameter sort_key_flavor
and sort_dir_flavor for flavor List API and define
the correct default values for those.

Partially implements blueprint api-ref-in-rst

Change-Id: I2915a5bccebfeddf66c825b0272af86e3fd7da19
2016-09-13 08:28:26 +00:00
ghanshyam
b343e96fb4 Correct address, version parameter in ips.inc
'osapi_hide_server_address_states' does not hide the
address field in server/ips APIs so address paramater
for this API is wrong and this commit fis the same.

Also fixing the 'version' parameter.

Partially implements blueprint api-ref-in-rst

Change-Id: I22d6ab97d14779fe3a32c23a5148b4eb59f1034f
2016-09-13 05:52:39 +00:00
Jenkins
5b207f9a13 Merge "Example & Parameter verification of os-security-group-default-rules.inc" 2016-09-13 01:46:47 +00:00
Jenkins
ba718e35db Merge "fixing block_device_mapping_v2 data_type" 2016-09-13 00:18:00 +00:00
Ken'ichi Ohmichi
99e012290b Fix server group name on api-ref
The parameter 'name' is for security group, not server group.
This patch fixes the description.

Partially implements blueprint api-ref-in-rst

Change-Id: I954b91c47bf4766be430ace2783089c7f59f9324
2016-09-12 14:37:57 -07:00
tengqm
73c4c001d6 [api-ref] fix availability_zone for server create
The 'availability_zone' parameter was incorrectly documented as
'os-availability-zone:availability_zone'. This patch fixes it.

Change-Id: I9837a747b40c9ef933a89acbdab9360ade1012a8
2016-09-12 05:47:47 -04:00
tengqm
fc9a540482 Fix api-ref doc for server-rebuild
This fixes the name parameter which should be referencing the optional
server name instead of the security group name. It also deletes an entry
in the parameters.yaml which is not referenced anywhere.

Change-Id: I38abe55aa46f54a22468e21188e0cd5ef2c63244
2016-09-08 23:04:43 -04:00
ghanshyam
f5b7a333ff Example & Parameter verification of os-security-group-default-rules.inc
This patch verifies the example & parameters of
os-security-group-default-rules.inc

part of bp:api-ref-in-rst

Change-Id: I1e94aad4c9f763c41d921d761c215cc2de03af5a
2016-09-07 12:31:25 +00:00
Nguyen Phuong An
c2cc95097b [api-ref]: Correcting server_groups_list parameter's type.
This patch changes type 'list' to 'array' in server_groups_list because
we don't have 'list' type.

Change-Id: Ibb443ab6f88da7c4cfc53bfbf102c518abaea9ac
2016-09-06 02:13:05 +00:00
tamilhce
2ad6aa9116 fixing block_device_mapping_v2 data_type
'block_device_mapping_v2' should be an list type
Closes-Bug: #1619833

Change-Id: Id7fa0e1dc2cff6438e82ad83b2087f67e0fa628b
2016-09-03 16:09:27 +00:00
Jenkins
5bdf06ea96 Merge "Make api-ref bug link point to nova" 2016-08-31 14:28:46 +00:00
Sean Dague
476f126c66 Make api-ref bug link point to nova
The openstackdocstheme includes a bug reference link, which defaults
to openstack manuals. We want to update this to be a Nova bug instead.

This also cleans up the pre openstackdocstheme support code

Change-Id: Iace4619c37b04b1504a7051e9e5274b2a3b77c24
2016-08-30 12:33:00 -04:00
Jenkins
32c583ebe7 Merge "Api-ref: Improve os-migrateLive input parameters" 2016-08-30 13:01:00 +00:00
Pushkar Umaranikar
d6d41bf888 Api-ref: Improve os-migrateLive input parameters
Modified type of block_migration from input params
of os-migrateLive API based on API version 2.25

Change-Id: I82c6537d137b462dbe6d05c07a9b3afb5a1501d5
Closes-Bug: #1551782
2016-08-30 11:35:30 +00:00
Jenkins
77f80e8150 Merge "Verify os-aggregates.inc on sample files" 2016-08-25 14:53:02 +00:00
Jenkins
e2f1af2193 Merge "Get ready for os-api-ref sphinx theme change" 2016-08-25 04:23:22 +00:00
Graham Hayes
389ded42e0 Get ready for os-api-ref sphinx theme change
We need some magic to keep the build working as we move away from
oslosphinx and towards openstackdocstheme, the theme we are going to
use for all the docs.

For more details see:
http://lists.openstack.org/pipermail/openstack-dev/2016-August/101996.html

Change-Id: I378b1afade4725758c024e06b239b0af64d1b19a
2016-08-24 09:15:49 +00:00
Ha Van Tu
b5073eb735 [api-ref]: Update link reference
This patch updates link reference for "create keypair" in
Compute API create server [1].
Current reference link:
http://developer.openstack.org/api-ref-compute-v2.1.html#createKeypair
http://developer.openstack.org/api-ref-compute-v2.1.html#createFloatingIP
http://developer.openstack.org/api-ref-compute-v2.1.html#addFloatingIp
http://developer.openstack.org/api-ref-compute-v2.1.html#removeFloatingIp
Update reference link:
http://developer.openstack.org/api-ref/compute/#create-or-import-keypair
http://developer.openstack.org/api-ref/compute
/#create-allocate-floating-ip-address
http://developer.openstack.org/api-ref/compute
/#delete-deallocate-floating-ip-address
[1] http://developer.openstack.org/api-ref/compute/?expanded=
create-server-detail#create-server

Change-Id: I421b559a7c127abb8c8c97d08b579bedb080bbe4
Closes-Bug: #1615948
2016-08-24 09:42:53 +07:00
panbalag
e0d6e46b52 Added min_version field to 'host_status' in 'api-ref'
Change-Id: I137b99a3e0da1a72151a13c0a21ce9172e57ac8b
2016-08-19 15:19:32 -04:00
Matt Riedemann
d727795d66 Add REST API support for get me a network
This adds the 2.37 microversion to the REST API for automatically
allocating a network, i.e. get me a network.

The majority of the changes to the REST API concern request
validation. 'networks' is now required in the server POST body
after this microversion. The 'auto' or 'none' special network
uuid values are used, but if specified, can not be specified
with any other requested network values.

The other special case that is checked is when the minimum
compute service version is not new enough to support this change,
i.e. a Mitaka compute will not have the network API code that
knows how to deal with the special auto/none network IDs. Because
the REST API is checking the service version, the service caches
the service version after the first check. Once all computes are
updated to Newton then a restart of the nova-api service(s) will
be required to flush the cache. A release note is provided for
this situation.

The api-ref docs are also updated for this microversion including
an example API sample request.

The matching Tempest change to test this is here:

I89b18709e0cfbbcbf9be96a91a13a1356cdf85b0

The matching python-novaclient change is here:

I6636ddcd3be7bf393d2d69cc6c1ba5c7d65ff674

Implements blueprint get-me-a-network

Change-Id: I89b18709e0cfbbcbf9be96a91a13a1356cdf85b0
2016-08-15 14:10:42 -04:00
Takashi NATSUME
51073b3132 api-ref: Example verification for os-simple-tenant-usage.inc
Change-Id: I575412d578d670bdc598c687256a33f0b579a99e
Implements: blueprint api-ref-in-rst
2016-08-09 23:52:42 +00:00
Takashi NATSUME
8e0b98f54e api-ref: Parameter verification for os-simple-tenant-usage.inc
Change-Id: I20adb72e928e8d21696699975953021b38fd31dc
Implements: blueprint api-ref-in-rst
2016-08-04 22:00:26 +00:00
Jenkins
29e03572cb Merge "Strict ImageRef validation to UUID only" 2016-08-04 12:21:30 +00:00
ghanshyam
cbd3ec476f Strict ImageRef validation to UUID only
Currently imageRef in server create, rebuild and rescue
operation can be accepted as random url which contains image
UUID and fetch the UUID from that.

As /images proxy APIs are deprecated, and ImageRef in
server creation etc are UUID only and valid against glance.

This patch makes imageRef handling as UUID only and
return 400 if non UUID are requested.

NOTE- Previously nova use to allow the empty string which was
      ok in case of boot from volume.
      We will keep the same behavior of allowing empty string in case of
      boot from volume only and 400 in all other case.

Closes-Bug: #1607229

Change-Id: I49f4da62c1b5b3fd8c5f67039ae113f76722b26c
2016-08-04 02:22:15 +00:00
Jenkins
49ddf8c684 Merge "Fix misspellings" 2016-08-03 02:59:30 +00:00
Jenkins
b695b6faa6 Merge "Mention proxy API deprecation microversion in api-ref" 2016-08-01 20:43:47 +00:00
Takashi NATSUME
9561d47b7a Fix misspellings
adminstrative -> administrative
compatability -> compatibility
specfic -> specific

TrivialFix
Change-Id: Ic1670c2898b24c210e2e615f6cee194fa8cce951
2016-08-01 06:48:19 +00:00
ghanshyam
60935aa688 Trivial: add 'DEPRECATED' for os-certificates API ref
os-certificates API has been deprecated in
I0ffa9200d8b4f52da4751e731aecffe09fd3d4be

This patch just add 'DEPRECATED' in its heading in api-ref
to make it more clear.

Change-Id: I5ef30330e033eeb0576d3b4d31441d5481cc7d2e
2016-08-01 15:08:42 +09:00
ghanshyam
b4d0b9a11c Mention proxy API deprecation microversion in api-ref
Proxy APIs are deprecated in microversion 2.36 which means
all proxy APIs will return 404 after 2.35 version.

It will be nice to mention that explicitly in api-ref too.

Partially implements blueprint deprecate-api-proxies

Change-Id: Iad210d215fb98bc247f049b23b97d8d7d4265c82
2016-08-01 14:59:53 +09:00
Jenkins
286046b537 Merge "Fixed typos in api-ref and releasenotes directory" 2016-07-29 20:25:36 +00:00
Jenkins
afa9084909 Merge "Deprecate os-certificates" 2016-07-28 20:02:06 +00:00
Jenkins
dc5db6013f Merge "Complete verification of os-instance-actions.inc" 2016-07-27 15:09:24 +00:00
Jenkins
406b8c36f8 Merge "Separate api-ref for list security groups by server" 2016-07-27 01:41:54 +00:00
Sean Dague
789edad0e8 Deprecate os-certificates
Coming out of the Nova midcycle we decided we really needed to
deprecate the os-certificates API and service. It is not used by any
of the rest of Nova. It's an API that requires a dedicated daemon to
be run. It's making Nova assume the responsibility for generating
secure certificates, even though it's not really managing entropy in
any sane way (which is why nova-cert is a service, so you could stick
these on all your computes so as to not run out of entropy).

Change-Id: I0ffa9200d8b4f52da4751e731aecffe09fd3d4be
2016-07-26 10:42:41 -04:00
Jenkins
e08b4bcabf Merge "Fix links to network APIs from api-ref" 2016-07-26 14:28:14 +00:00
Kevin_Zheng
974535bacf Complete verification of os-instance-actions.inc
This patch verifies the examples and body of
os-instance-actions.inc

part of bp:api-ref-in-rst

Change-Id: I271629553c6705f9cce74a23b8335c2fd23e9f09
2016-07-26 02:53:42 +00:00
Matt Riedemann
d2bd83bec9 Fix links to network APIs from api-ref
This fixes the direct links to the security groups, security
group rules and floating IPs (layer 3) extensions in the
neutron api-ref.

Part of blueprint deprecate-api-proxies

Change-Id: Ib2c4ed478714b187fde8b7c42da15cc56b26675e
2016-07-25 17:13:05 -04:00
jichenjc
f277d643c2 Verify os-aggregates.inc on sample files
verified all sample files is correct and adjust
some format of the request Json file

part of bp:api-ref-in-rst

Change-Id: Ie9dd24858056337bcae9b03259d4f84de4fc1ab8
2016-07-26 02:06:28 +08:00
Chen Fan
f27a0e7ccc api-ref: unify the no response output in delete operation
Change-Id: Ia90a5ef1cd1b432e68130313960a015b45fe63e0
Implements: blueprint api-ref-in-rst
2016-07-25 16:13:45 +08:00