Commit Graph

393 Commits

Author SHA1 Message Date
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
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
ghanshyam bceeecc296 Separate api-ref for list security groups by server
All proxy APIs are now deprecated which includes
sec grp APIs also.

But list sec grps by server API-
(/servers/{server_id}/os-security-groups) is not
deprecated so this should be separated from deprecated
sec grp APIs in api-ref.

Partially implements blueprint deprecate-api-proxies

Change-Id: I9f9e2cf5f8e390cecd9e1794a0af1a3fcc24f149
2016-07-21 16:42:57 +09:00
Jenkins 3320424a80 Merge "Example and body verification of os-quota-sets.inc" 2016-07-20 21:09:19 +00:00
Jenkins e4be1c8c66 Merge "Complete verification for api-ref os-flavor-extra-specs" 2016-07-20 21:06:04 +00:00
Jenkins 6e884cdd6e Merge "Complete verification for os-floating-ips-bulk" 2016-07-20 21:04:51 +00:00
Jenkins f7d9b63c99 Merge "api-ref: os-volumes.inc" 2016-07-20 21:03:42 +00:00
Alex Szarka 2a1aad9de7 Fixed typos in api-ref and releasenotes directory
This patchset fixes the typo errors in api-ref and
releasenotes directories.
TrivialFix

Change-Id: Ib72e5c4ac7539c1b08adc858b9b3a0071cb3c866
2016-07-20 09:08:50 +00:00
Jenkins 3f6ae25b27 Merge "api-ref: merge multiple create to servers.inc" 2016-07-19 01:50:38 +00:00
Kevin_Zheng 391911028c Example and body verification of os-quota-sets.inc
This patch verifies the examples and body of
os-quota-set.inc

part of bp:api-ref-in-rst

Change-Id: I1e044c0dc9dbe4e5d123d6d8254a5a9347187f83
2016-07-15 10:12:56 +08:00
Jenkins ad4a6e9502 Merge "Example verification for os-fixed-ips.inc" 2016-07-13 05:35:12 +00:00
Pavel Kholkin 47358449d3 Microversion 2.35 adds keypairs pagination support
After this microversion Nova API allows to get several keypairs
with the help of new optional parameters 'limit' and 'marker'
which were added to GET /os-keypairs request.

Partial-Bug: #1599904

Implements blueprint: keypairs-pagination

Change-Id: Idd3757f5be90ec4af1bd1a7ca3f9c20319dbfd33
2016-07-12 19:48:05 +03:00
Jenkins 294c85787b Merge "Add user_id request parameter in os-keypairs list" 2016-07-12 08:38:55 +00:00
Jenkins 500239d5be Merge "rest api version bumped for async pre live migration checks" 2016-07-12 08:17:34 +00:00
Timofey Durakov 452be384cd rest api version bumped for async pre live migration checks
pre live-migration checks now are done in async way. This patch
updates rest api version to keep this tracked.

bp: async-live-migration-rest-check

Change-Id: I9fed3079d0f1b7de3ad1b3ecd309c93785fd11fe
2016-07-11 14:57:54 -07:00
Sujitha 05c7b6fa30 Add user_id request parameter in os-keypairs list
Added user_id in request parameter section of the
os-keypairs LIST method api-ref docs.

Closes bug: #1599911

Change-Id: Ibb52663b2890f6d46b125903b438c0142aba92f5
2016-07-11 20:56:05 +00:00
Jenkins 9cc9226eb2 Merge "api-ref: Parameter verification for servers-actions.inc Part 1" 2016-07-11 20:09:07 +00:00
Jenkins 75b2f9af29 Merge "Parameter verification of os-instance-actions.inc" 2016-07-11 18:43:07 +00:00
Jenkins aca1bcebce Merge "Body verification of os-interface.inc" 2016-07-08 20:44:15 +00:00
Jenkins 855c47e23f Merge "api-ref: body verification of os-agents" 2016-07-08 20:41:31 +00:00
Jenkins bcb4ebc4f1 Merge "api-ref: fix wrong description about response example in os-hypervisor" 2016-07-08 05:01:54 +00:00
Chen Fan f860cb5cf9 api-ref: fix wrong description about response example in os-hypervisor
change response sample file description from request to response

Change-Id: I50a5d7f2edf24f5a2c4beb84e303e95921b6f208
Implements: blueprint api-ref-in-rst
2016-07-08 10:38:17 +08:00
zhoujunqiang 04de167e37 api-ref: body verification of os-agents
part of bp:api-ref-in-rst

Change-Id: Ie82a63b0544c155e1e262f0f775f3da1bc412a06
2016-07-08 02:03:07 +00:00
Chen Fan 377948b059 api-ref: unify the delete response infomation
part of bp:api-ref-in-rst

Change-Id: I924a632253b8b1c25f987c259d255cc6440f52f2
2016-07-07 10:23:34 +08:00
Tang Chen 43158382d9 api-ref: Parameter verification for servers-actions.inc Part 1
Since servers-actions.inc is too big, this job will be divided
into several patches.
Change Ia1409a4414248702718f64851b7dc892ea71d9c7 will be the
last one.

This patch fixes the following common problems in the file:
1. Parameter ``server_id`` is in the path, so it should be
   ``server_id_path``.
2. Add description for those responses without any content.
3. Remove useless words.

Change-Id: I81118d7890f37ee3124513136ef52af93d7c5dc0
Implements: blueprint api-ref-in-rst
2016-07-06 16:59:38 +08:00
Kevin_Zheng 61e5232c38 Body verification of os-interface.inc
This patch verifies the body of
os-interface.inc

part of bp:api-ref-in-rst

Change-Id: Ie7a127b66f1b740d5b6f4bd434b62a06af2a3209
2016-07-06 16:54:46 +08:00