cinder/cinder/tests/unit/policies
Alan Bishop d59e41fb3c Add support for transferring encrypted volumes
A new microversion 3.70 adds the ability to transfer a volume's
encryption key when transferring a volume to another project.

When the volume transfer is initiated, the volume's encryption
secret is essentially transferred to the cinder service.
- The cinder service creates a new encryption_key_id that contains
  a copy of the volume's encryption secret.
- The volume (and its snapshots) is updated with the new
  encryption_key_id (the one owned by the cinder service).
- The volume's original encryption_key_id (owned by the volume's
  owner) is deleted.

When the transfer is accepted, the secret is transferred to the
user accepting the transfer.
- A new encryption_key_id is generated on behalf of the new user
  that contains a copy of the volume's encryption secret.
- The volume (and its snapshots) is updated with the new
  encryption_key_id (the one owned by the user).
- The intermediate encryption_key_id owned by the cinder service
  is deleted.

When a transfer is cancelled (deleted), the same process is used
to transfer ownship back to the user that cancelled the transfer.

Implements: blueprint transfer-encrypted-volume
Change-Id: I459f06504e90025c9c0b539981d3d56a2a9394c7
2022-08-26 06:32:41 -07:00
..
__init__.py Refactor on policy in code 2019-01-15 01:22:37 +00:00
base.py Add infrastructure for testing new RBAC policies 2021-08-31 15:41:17 -07:00
test_attachments.py Add request method to test requests 2021-09-13 15:28:06 -04:00
test_backups.py Implement project personas for backups API 2021-09-14 19:39:31 -07:00
test_base.py Default type overrides 2020-09-16 14:05:31 +00:00
test_default_volume_types.py Update project personas for default_types 2021-09-09 15:23:27 -04:00
test_group_actions.py Implement Xena project personas for group_actions 2021-09-13 22:18:55 -04:00
test_group_snapshots.py Implement Xena project personas for group snapshots 2021-09-15 08:44:31 -04:00
test_group_types.py Implement project personas group_types 2021-09-10 12:58:48 -04:00
test_groups.py Implement Xena personas for volume groups 2021-09-11 11:23:16 -04:00
test_limits.py Implement project personas for the limits API 2021-09-10 12:39:06 -07:00
test_messages.py Implement project personas for messages 2021-08-31 15:43:11 -07:00
test_quota_class.py Implement project personas for quotas and quota_classes 2021-09-08 16:35:54 -07:00
test_quotas.py Implement project personas for quotas and quota_classes 2021-09-08 16:35:54 -07:00
test_snapshot_actions.py Implement secure RBAC for snapshot actions 2021-09-10 12:55:46 -07:00
test_snapshot_metadata.py Implement project personas for snapshot metadata 2021-09-15 08:56:09 -04:00
test_snapshots.py Implement project personas for snapshots 2021-09-10 13:12:31 -07:00
test_type_extra_specs.py Update policies related to user visible extra specs 2021-09-15 14:47:00 -07:00
test_volume.py Implement project personas for volume API 2021-09-09 15:23:17 +00:00
test_volume_access.py Xena project personas for volume type access API 2021-09-10 17:33:38 -04:00
test_volume_actions.py Implement project personas for volume actions 2021-09-14 21:59:42 +00:00
test_volume_metadata.py Implement project personas for volume metadata API 2021-09-10 12:46:23 -07:00
test_volume_transfers.py Add support for transferring encrypted volumes 2022-08-26 06:32:41 -07:00
test_volume_type.py Update policies related to user visible extra specs 2021-09-15 14:47:00 -07:00