nova/nova/tests/unit
Ghanshyam Mann dd2b748e58 Add new default roles in os-instance-usage-audit-log policies
This adds new defaults roles in os-instance-usage-audit-log
API policies. This policy is default to SYSTEM_READER role.

Policy rules are made more granular to adopt the new defaults.

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: I749300f949d9c46e79accbf847b3edb6864ff41b
2020-03-30 15:46:01 +01:00
..
accelerator Delete ARQs for an instance when the instance is deleted. 2020-03-24 22:44:18 -07:00
api Merge "Add test coverage of existing instance usage log policies" 2020-03-30 12:01:46 +00:00
cmd Merge "Add a placement audit command" 2020-03-30 12:01:33 +00:00
compute Merge "Enable start/stop of instances with accelerators." 2020-03-27 15:38:49 +00:00
conductor Delete ARQs for an instance when the instance is deleted. 2020-03-24 22:44:18 -07:00
conf
console Merge "Allow TLS ciphers/protocols to be configurable for console proxies" 2020-02-24 17:27:02 +00:00
db Merge "db: Remove unused ec2 DB APIs" 2020-03-18 17:53:31 +00:00
fake_loadables
image Improve error log when snapshot fails 2019-11-06 22:54:05 +00:00
keymgr
network Merge "nova-net: Remove unused parameters" 2020-03-26 21:46:16 +00:00
notifications Remove 'nova.image.api' module 2020-02-18 11:45:39 +00:00
objects Store instance action event exc_val fault details 2020-03-21 06:08:34 +00:00
pci support pci numa affinity policies in flavor and image 2019-12-11 14:39:12 +00:00
policies Add new default roles in os-instance-usage-audit-log policies 2020-03-30 15:46:01 +01:00
privsep nova-net: Kill it 2020-01-14 21:25:56 +00:00
scheduler Add transform_image_metadata request filter 2020-03-24 17:28:50 +00:00
servicegroup Handle ServiceNotFound in DbDriver._report_state 2019-12-04 09:50:17 -05:00
ssl_cert
virt Merge "Enable hard/soft reboot with accelerators." 2020-03-27 15:32:05 +00:00
volume Fix exception translation when creating volume 2019-10-10 02:38:33 +00:00
__init__.py
cast_as_call.py
conf_fixture.py nova-net: Kill it 2020-01-14 21:25:56 +00:00
fake_block_device.py
fake_build_request.py
fake_console_auth_token.py
fake_crypto.py
fake_diagnostics.py
fake_flavor.py
fake_hosts.py
fake_instance.py Claim resources in resource tracker 2019-09-13 08:50:35 +00:00
fake_ldap.py
fake_network.py nova-net: Kill it 2020-01-14 21:25:56 +00:00
fake_network_cache_model.py
fake_notifier.py
fake_pci_device_pools.py
fake_policy.py Add new default roles in os-instance-usage-audit-log policies 2020-03-30 15:46:01 +01:00
fake_processutils.py
fake_request_spec.py Fix resetting non-persistent fields when saving obj 2019-02-26 09:26:52 +09:00
fake_requests.py
fake_server_actions.py Store instance action event exc_val fault details 2020-03-21 06:08:34 +00:00
fake_volume.py
image_fixtures.py
matchers.py fix bug with XML matcher handling missing children 2019-03-01 18:19:01 +00:00
policy_fixture.py Fix the suppress of policy deprecation warnings 2020-01-07 17:58:09 +00:00
test_api_validation.py Don't hardcode Python versions in test 2019-12-12 15:16:21 +00:00
test_availability_zones.py trivial: Fetch 'Service' objects once when building AZs 2020-02-05 21:26:23 +00:00
test_baserpc.py
test_block_device.py
test_cache.py
test_cinder.py
test_conf.py test cleanup: Make base TestCase subclass oslotest 2019-11-22 22:38:22 +00:00
test_configdrive2.py
test_context.py Revert "Log CellTimeout traceback in scatter_gather_cells" 2019-10-22 17:12:28 -04:00
test_crypto.py We no longer need rootwrap. 2019-02-27 05:06:31 +00:00
test_exception.py
test_fake_notifier.py
test_fixtures.py nova-net: Remove layer of indirection in 'nova.network' 2020-01-15 14:57:49 +00:00
test_flavors.py Remove deprecated 'default_flavor' config option 2019-04-30 13:01:40 +00:00
test_hacking.py nova-net: Remove firewall support (pt. 3) 2020-01-08 13:53:00 +00:00
test_hooks.py
test_identity.py
test_instance_types_extra_specs.py
test_json_ref.py Tests: autospecs all the mock.patch usages 2019-08-19 09:43:10 -05:00
test_loadables.py
test_matchers.py fix bug with XML matcher handling missing children 2019-03-01 18:19:01 +00:00
test_metadata.py Support large network queries towards neutron 2020-02-16 23:38:48 -08:00
test_notifications.py nova-net: Remove dependency on nova-net from fake cache 2020-01-08 13:54:12 +00:00
test_notifier.py
test_policy.py Add new default roles in os-instance-usage-audit-log policies 2020-03-30 15:46:01 +01:00
test_profiler.py Remove 'nova.image.api' module 2020-02-18 11:45:39 +00:00
test_quota.py nova-net: Convert remaining unit tests to neutron 2019-12-16 09:58:42 +00:00
test_rpc.py test_rpc: Stop f****** with global state 2019-04-26 12:21:16 +01:00
test_safeutils.py
test_service.py nova-net: Remove final references to nova-network 2020-01-08 13:54:12 +00:00
test_service_auth.py
test_test.py Move selective patching of open() to nova.test for reuse 2019-05-25 02:49:40 +00:00
test_test_utils.py
test_utils.py trivial: Remove 'run_once' helper 2020-02-06 15:49:07 +00:00
test_versions.py Move selective patching of open() to nova.test for reuse 2019-05-25 02:49:40 +00:00
test_weights.py
test_wsgi.py
utils.py nova-net: Kill it 2020-01-14 21:25:56 +00:00