383 Commits

Author SHA1 Message Date
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
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
Kevin_Zheng
f6ef9b4b28 Parameter verification of os-instance-actions.inc
This patch verifies the parameters of
os-instance-actions.inc

part of bp:api-ref-in-rst

Change-Id: I45f0aae2bdeea7603f8b7dce206bfdb1c4c38ccc
2016-07-06 16:32:34 +08:00
Karen Bradshaw
e551452d6c api-ref: os-volumes.inc
-Verified examples, parameters, body text.
-Added snapshot status values, new force parameter
 for snapshots.

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

Change-Id: I0c1d183c5aaf6fb796be30fa5627bd5644ea689f
2016-07-04 15:39:42 +00:00
Jenkins
94c96f226a Merge "api-ref: verify assisted-volume-snapshots.inc" 2016-07-04 14:51:03 +00:00
Sean Dague
039d0628a4 api-ref: merge multiple create to servers.inc
This creates a new way to describe multiple create as a dedicated
create call in the normal servers list. It only lists additional
parameters so that we're not copy / pasting between the 2 lists.

Part of bp:api-ref-in-rst

Change-Id: Ib15f224cf6a9432ae638c8b57a2156cd7b98215d
2016-07-04 13:57:18 +00:00
Sean Dague
c43e8bd9fa api-ref: add note about os-certificates API
The os-certificates API is weird, and only wasn't removed during the
ec2 drop because we exposed it in the osapi. It will be dropped in the
future, and we should tell people to not use it starting now.

Change-Id: I95f8a9620f7eb865298b656477f77257de91b2cc
2016-07-01 12:53:28 +00:00
ghanshyam
26d4c055cc api-ref: verify assisted-volume-snapshots.inc
This completes the verification of os-assisted-volume-snapshots.inc
for all required area(parameter, example, body)

Part of bp:api-ref-in-rst

Change-Id: I9544e9681bcdd83ca5d2bf6b8722db0a71665b8b
2016-07-01 07:23:33 +00:00
liyingjun
ec53c6c0ec Microversion 2.33 adds pagination support for hypervisors
When there are thousands of compute nodes, it would be slow to get the
whole hypervisor list, and it is bad for user experience to display
thousands of items in a table in horizon. This patch is proposed to
support pagination for hypervisor by adding `limit` and `marker` to
the list api.

Implements blueprint: pagination-for-hypervisor

Change-Id: Ie7f8b5c733b383f3e69fa23188e56257e503b5f7
2016-07-01 08:47:50 +08:00
Jenkins
7ffb5aac90 Merge "api-ref: Example verification for os-agents.inc" 2016-06-30 23:10:16 +00:00
stewie925
bc6c3434d9 Complete verification for os-floating-ips-bulk
This includes parameter, example, and body verifications
for api-ref os-floating-ips-bulk.

part of bp:api-ref-in-rst

Change-Id: I507958b4361b65da1cc510b0d81fe55466dd41c3
2016-06-30 08:47:38 -07:00
Artom Lifshitz
e83e114e1b Device tagging API support
This patch allows the user to specify a tag for a virtual network
interface and/or block device mapping when booting an instance.

Implements: blueprint bp/virt-device-role-tagging
Change-Id: I89247200f4cf1f644daf476727b4a6acb22b0cf6
2016-06-29 20:55:16 -07:00