Moves the lock/unlock server functionality out of admin_actions into
its own extension. This part of the larger
blueprint v3-api-admin-actions-split allows more selective enablement of
features contained in the admin actions extension.
Some setup work is done in the tests directory with an
admin_only_action_common.py file. This allows tests which are
split out from test_admin_actions (as their corresponding features
are separated from the admin_actions extension) can continue to
share code.
Note that XML api samples are no longer generated because
bp remove-v3-xml-api has been approved.
Partially implements bp v3-api-admin-actions-split
DocImpact: Adds os-lock-server extension and moves lock/unlock
functionality out of os-admin-actions into this new extension
Change-Id: Ie4b6e856c2f5c33de5575aa8666e0b2784b58d05
This is a step toward removing XML support from the v3 compute API.
First, we need to remove all of the tests that would fail once we start
ripping out the real code.
Part of blueprint remove-v3-xml-api
Change-Id: Ie2c280d5ea1e6b8756535deb05982a92561552db
The preserve_ephemeral option for rebuild will preserve the content of
the ephemeral partition, making stateful golden image based
deployments possible even when clouds haven't deployed Cinder, or the
hypervisor doesn't support Cinder (e.g. BareMetal / Ironic).
Partial-Bug: #1174154
blueprint: baremetal-preserve-ephemeral
Co-Authored-By: Robert Collins <rbtcollins@hp.com>
Change-Id: Id33d5d4107f89814842a3f0b7f33690dd7e3aadc
All pci passthrough code is merged into nova, but the APIs do not support.
this patch extends os-hypervisor to show PCI information for instance and
compute node. This is a part of PCI APIs, for more information see the
blueprint.
Partially implement blueprint pci-api-support
Change-Id: Ia366df257f077c74b1a6639b7078ba4230d3f1a7
As v3 api rules, the extended attribute should be with extension
alias as prefix. So fix this case for flavor-rxtx v3 extension.
Closes-bug: 1252986
DocImpact
Change-Id: I9f5984a406d039245db4bef2df53cfe10a331cc2
This patch removes disk-config extension for v3 api, and also
remove related tests. And remove resize extension point for
servers core because there isn't any extension using it anymore
and there isn't good way to test resize extension point.
Implements bp api-v3-remove-disk-config
DocImpact
Change-Id: I894ae6f4e0d6c9f956a71e8e061ccb3fa1b039d8
The ratelimit middleware isn't really useful. That is pointed out
by https://review.openstack.org/#/c/34821/. And it didn't get any
object from mail-list:
http://lists.openstack.org/pipermail/openstack-dev/2013-November/020291.html
This patch remove ratelimit middleware and limits extension. The config option
'api_rate_limit' is only valid in v2 api. The pipeline factory for v3 api won't
check that option anymore. For compatibility, if user is still using old
'api-paste.init', pipeline factory will ignore to load ratelimit middleware, and
print warning message to user for notice ratelimit is deprecated in v3 api.
Closes-bug: 1255471
DocImpact
Change-Id: Ifeae0504e11089f95e4d8af58bcb7372dca87f81
The injected_files, injected_file_content_bytes and
injected_file_path_bytes are all related to the
os-personalities extension which has been removed. They
can't be removed from the core quotas code as that has
to still support the V2 API. So for the V3 API we just
hide them.
DocImpact
Partially implements blueprint v3-api-remove-extensions
Change-Id: Iedb6e1427ac22f1926e929f3391e56403c37d088
All pci passthrough code is merged into nova, but the API does not support.
this patch extends the servers to show PCI information for instance and compute
node. This is a part of PCI APIs, for more information see the blueprint.
Partially implement blueprint pci-api-support
Change-Id: I99eeeca67983c49433ab0079f490a454d250f5e0
Adds api sample tests and api samples for shelve
Partially implements blueprint v3-api-unittests
Partially implements blueprint v3-api-specification
Change-Id: Ib485ab042a340c4672ad01fb35d065fd52889b07
Removes occurences of the personality extension from the V3 API
samples as the extension has been removed. Cleanup of consistency
of image and flavor ref examples for the api samples.
DocImpact
Partially implements blueprint v3-api-remove-extensions
Change-Id: I43a34097904d3d7e280039c3d5d76479a49e92d0
The parameter of agent update API has been changed from "para" to
"agent" since Nova v3 API, and this patch fixes the sample doc.
Partially implements blueprint v3-api-specification
Change-Id: Ic9c0f11a637e48daa9457ab9ae923fefc0fb350d
* Add expected_errors decorator.
* Remove 'absolute_limit' from response, that already return by
extension quota_sets. And update api samples.
Partially implements bp nova-v3-api
Change-Id: Iea3ff494b8abed77fdc4b9e5e552784ed3733c34
Adds the flavor-access plugin to the core list for the V3 API.
This is part of the process of adding all of the flavor related
extensions to core, with the exception of rxtx, as per the discussion
here: https://etherpad.openstack.org/p/NovaV3APICore
Note that since the alias changes from os-flavor-access to flavor-access
the api samples move directory and quite a few of other api samples
as well as flavor access is included by default.
Partially implements blueprint nova-v3-api
DocImpact
Change-Id: I9abc7df8f4620d462b0d381a2c0ed180c48f220e
Adds api sample tests and api samples for scheduler-hints
Partially implements blueprint v3-api-unittests
Partially implements blueprint v3-api-specification
Change-Id: If7bc47dc92c1e7f33f80ea567688d067c42fa219
This patch adds api sample tests and api samples for availability_zone.
Because the detail's response use host name as the key of dict and samples
tests didn't support replacing key with variable, so startup nova's service
with specific hostname instead of uuid.
Partially implements blueprint v3-api-unittests
Partially implements blueprint v3-api-specification
Change-Id: I9090a73a8293f26d63744a10d7ffbfc887e37e7c
Adds api sample tests and api samples for server's actions
Partially implements blueprint v3-api-unittests
Change-Id: I4b420f09f9fc9a7f6fab8dbaeaa9b93631909255
There are API parameters "admin_password" and "admin_pass" on some APIs:
* AdminPasswordController: admin_password
* EvacuateController : admin_password
* RescueController : admin_pass
* ServersController : admin_pass
These parameters mean the same thing, it is the admin password of a vm
instance. They should be the same parameter name because of the meaning.
DocImpact
Partially implements bp nova-v3-api
Change-Id: I452672e064d0dc4a1d5700bb96c01de8087f33d8
Adds api sample tests and api samples for config-drive
Partially implements blueprint v3-api-unittests
Partially implements blueprint v3-api-specification
Change-Id: Id589ddced8c30089bacbb3eca81d4b9238901a91
Adds V3 API sample tests and api samples for user-data
Partially implements blueprint v3-api-unittests
Partially implements blueprint v3-api-specification
Change-Id: I3a29490061632d7f728edcb942a061c3b65518bd
This patch enable extension access_ips, remove old 'access_ip_*'
attributes and related unittest from servers core. And remove
old attributes from api samples.
Partially implements bp nova-v3-api
DocImpact
Change-Id: Id4c8bb721550e317e0695d7876e2faa3d6e91a60
Adds api sample tests and and api samples for the
disk-config extension
Partially implements blueprint v3-api-unittests
Partially implements blueprint v3-api-specification
Change-Id: Ic5c1e4d4e8c6edf3fceef456a79c1f5b79a3b5aa
Adds api sample tests and api samples for console output
Partially implements blueprint v3-api-unittests
Partially implements blueprint v3-api-specification
Change-Id: I76664a1b0355011c7b42e8571eaf732faed44933
Adds api sample tests and api samples for admin-password
Partially implements blueprint v3-api-unittests
Change-Id: Iade39ff931471d1d68e358ac5d35a1921e85df66
Adds api sample tests and api samples for attach interfaces
Partially implements blueprint v3-api-unittests
Partially implements blueprint v3-api-specification
Change-Id: I54088cca1b83a8b92620062840606f2340a528c9
The status code of confirm_resize should be 202, but it
returns 204 now. That because it returns HTTPNoContent
that overwrites the status code of decorator 'wsgi.response(202)'
And adds API samples for confirm_resize that used to test
the status code of confirm_resize.
Partially implements blueprint v3-api-unittests
Closes-bug: #1233561
Change-Id: I50a3046866af0a1efdb5c41ded40f973b02843e8
a private flavor
In FlavorManage extension, a change has been made to
create flavor-access for a corresponding tenant on
creating a private flavor
This also requires the api-samples for flavor-access
to be changed, since there will be a flavor-access created
by default on creating a private flavor
This commit has a DocImpact
Change-Id: I7795fbd04ae9fc8b1ea6fb27203dfa5217d310ce
Fixes: bug 1209101