As nova extensions has been deprecated already and goal is to
merge all scattered code into main controller side.
Currently schema and request/response extended code are there
among all extensions.
This commit merge the extended_status extension resposne into server
view builder.
Partially implements: blueprint api-extensions-merge-stein
Change-Id: I35b933a9fa4ab263f5302463a0f3a5b96a99f855
API extensions policies have been deprecated in 17.0.0
release[1]. This commit removes them.
[1] Ie05f4e84519f8a00ffb66ea5ee920d5c7722a66b
Change-Id: Ib3faf85c78bc2cdee13175560dc1458ddb6cb7a8
The extension will be removed from the Nova API totally. The extension_info
API is just for backward compatibility. And there is no way to disable/enable
the extension, also the discovery policy rules are removed, so it is time
to just hard-code most of the logic at here.
Partial-implement-blueprint api-no-more-extensions-pike
Change-Id: I56d859beb675199b209587bfe0a23cd9b75233ad
Adds 'fatal' argument (with default value True) to context.
If the argument is False, if a nova.exception.Forbidden
is raised, False is returned instead. This is the equivalent of
soft_authorize.
Adds docstring to nova.context.RequestContext.can.
Adds unit tests for nova.context.RequestContext.can.
Partially-Implements: bp policy-in-code
Change-Id: Ib6388822da3d3eb9b8fbd9b5c341cd8efeb790fe
The 2.3 microversion used the OS-EXT-SRV-ATTR prefix for
compat with v2.0 for the ec2 API split out of nova.
The 2.16 microversion added the 'host_status' extended
server attribute and doesn't use the prefix.
This adds a note that nothing after the 2.3 microversion
should be using the OS-EXT-SRV-ATTR prefix since it's an
artifact of v2.0 and extensions which are deprecated in
v2.1.
Similar notes are added for other extensions that add
extended attribute names to other resources like AZs,
volumes and images.
Change-Id: I60a53e13121b7280a41c3889ba86edcd2ae7bf83