nova/nova/api/openstack/compute/views
melanie witt f9c6089244 Add new policy rule for viewing host status UNKNOWN
Currently, the os_compute_api:servers:show:host_status controls whether
a user can view the host status of a server including UP, DOWN,
MAINTENANCE, and UNKNOWN. When communication with nova-compute is
experiencing problems, users can get a hint about it from the server
host status, if enabled by policy. However, not all operators may want
to expose all possible host statuses to end users and instead would
prefer to expose only the UNKNOWN host status.

This adds a new policy rule:

  os_compute_api:servers:show:host_status:unknown-only

which controls whether a user can view the host status of UNKNOWN only.
This way, operators can allow users to get a hint about what to expect
when using their server without exposing too much information about the
underlying cloud details.

Implements blueprint policy-rule-for-host-status-unknown

Change-Id: I55bf78e63f68f8167249edc3327b024d9ecb0af2
2019-10-28 15:40:08 +00:00
..
__init__.py Implements blueprint separate-nova-volumeapi 2012-01-13 09:06:55 -08:00
addresses.py Merge v21 view builder for ips API 2016-12-05 18:11:25 +09:00
flavors.py Multiple API cleanup changes 2019-08-12 08:52:38 -05:00
hypervisors.py Microversion 2.33 adds pagination support for hypervisors 2016-07-01 08:47:50 +08:00
images.py Merge image_size extension response into image view builder 2018-10-18 01:59:34 +00:00
instance_actions.py Add pagination and changes-since for instance-actions 2017-12-14 07:42:17 +00:00
keypairs.py Adds view builders for keypairs controller 2019-10-22 18:02:45 +00:00
limits.py Merge used_limits extension response into limit view builder 2018-10-11 10:00:31 +00:00
migrations.py Add pagination and Changes-since filter support for os-migrations. 2018-01-10 14:02:53 -05:00
server_diagnostics.py Standardization of VM diagnostics info API. 2017-06-05 07:45:51 +00:00
server_tags.py Added server tags controller 2016-04-06 16:37:22 +03:00
servers.py Add new policy rule for viewing host status UNKNOWN 2019-10-28 15:40:08 +00:00
usages.py Simple tenant usage pagination 2016-12-14 03:33:50 +00:00
versions.py Replace os.path.join() for URLs 2015-12-08 17:46:34 +00:00