nova/nova/tests/unit/policies
Ghanshyam Mann cd470539ed Add new default roles in shelve server policies
This adds new defaults roles in shelve server API policies.
This policy is default to
- PROJECT_MEMBER_OR_SYSTEM_ADMIN for shelve/unshelve
- SYSTEM_ADMIN for shelve offload.

Also add tests to simulates the future where we drop the deprecation
fall back in the policy by overriding the rules with a version where
there are no deprecated rule options. Operators can do the same by
adding overrides in their policy files that match the default but
stop the rule deprecation fallback from happening.

Partial implement blueprint policy-defaults-refresh

Change-Id: I63e65789e8cc48b75c9e6e4e333624172fd298d8
2020-04-09 18:20:09 +00:00
..
__init__.py
base.py Fix new context comparison workaround in base tests class 2020-04-06 18:26:02 +00:00
test_admin_actions.py Introduce scope_types in Admin Actions 2019-12-04 19:29:36 +00:00
test_admin_password.py [Trivial] Fix code comment of admin password tests 2020-03-09 09:50:22 +00:00
test_agents.py Add new default roles in os-agents policies 2020-03-30 14:38:31 -05:00
test_aggregates.py Introduce scope_types in os-aggregates policy 2020-03-06 10:02:25 +00:00
test_assisted_volume_snapshots.py Introduce scope_types in os-assisted_volume_snapshots policy 2020-03-02 11:47:19 +00:00
test_attach_interfaces.py Add new default roles in os-atttach-inerfaces policies 2020-03-07 06:28:14 +08:00
test_availability_zone.py Add new default roles in os-availability-zone policies 2020-02-12 22:41:47 +00:00
test_console_auth_tokens.py Introduce scope_types in os-console-auth-tokens 2020-03-04 19:38:09 +00:00
test_console_output.py Introduce scope_types in os-console-output 2020-03-06 01:29:33 +00:00
test_create_backup.py Add test coverage of existing create_backup policies 2020-03-06 01:39:22 +00:00
test_deferred_delete.py Add new default roles in os-deferred_delete policies 2020-03-05 13:20:30 -06:00
test_evacuate.py Add service version check for evacuate with qos 2020-03-18 19:06:45 +01:00
test_flavor_access.py Add new default roles in os-flavor-access policies 2020-03-18 14:16:48 -05:00
test_flavor_manage.py Add new default roles in os-flavor_manage policies 2020-04-06 02:37:50 +00:00
test_hypervisors.py Introduce scope_types in os-hypervisors 2020-03-31 00:42:48 +00:00
test_instance_actions.py Expose instance action event details out of the API 2020-03-27 08:20:12 +00:00
test_instance_usage_audit_log.py Add new default roles in os-instance-usage-audit-log policies 2020-03-30 15:46:01 +01:00
test_limits.py Add new default roles in limits policies 2020-04-03 02:22:05 +00:00
test_lock_server.py Pass the actual target in unlock override policy 2020-04-01 04:05:58 +00:00
test_migrate_server.py Pass the actual target in migrate server policy 2020-03-31 22:56:28 -05:00
test_migrations.py Add new default roles in migrations policies 2020-03-31 02:54:13 -05:00
test_pause_server.py Add new default roles in pause server policies 2020-03-31 02:47:05 -05:00
test_remote_consoles.py Add new default roles in remote console policies 2020-04-01 20:02:17 +00:00
test_rescue.py Add new default roles in rescue server policies 2020-04-01 01:37:01 -05:00
test_security_groups.py Add new default roles in security group policies 2020-04-03 17:28:44 -05:00
test_server_diagnostics.py Pass the actual target in server diagnostics policy 2020-04-02 19:38:54 -05:00
test_server_external_events.py Introduce scope_types in server external events 2020-04-02 21:37:01 -05:00
test_server_groups.py Add test coverage of existing server group policies 2020-04-02 23:39:51 -05:00
test_server_ips.py Add new default roles in os-ips policies 2020-03-29 02:09:17 +00:00
test_server_metadata.py Add new default roles in server metadata policies 2020-04-04 00:58:48 +00:00
test_server_migrations.py Pass the actual target in server migration policy 2020-04-05 23:03:29 +00:00
test_server_password.py Add new default roles in server password policies 2020-04-08 14:46:10 +01:00
test_server_tags.py Add new default roles in server tags policies 2020-04-07 00:27:17 -05:00
test_services.py Add new default roles in os-services API policies 2019-12-03 23:40:07 +00:00
test_shelve.py Add new default roles in shelve server policies 2020-04-09 18:20:09 +00:00
test_simple_tenant_usage.py Introduce scope_types in simple tenant usage 2020-04-05 04:26:46 -05:00
test_suspend_server.py Add new default roles in suspend server policies 2020-04-05 03:51:21 -05:00
test_volumes.py Separate update and swap volume policies 2020-04-08 08:21:26 +00:00