Codebase list cinder-tempest-plugin / 6083ccc
Merge "Add 'encryption_id' parameter to enc type calls" Zuul authored 1 year, 5 months ago Gerrit Code Review committed 1 year, 5 months ago
1 changed file(s) with 6 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
8181 cls.encryption_type = \
8282 cls.admin_encryption_types_client.create_encryption_type(
8383 volume_type['id'], **cls.create_kwargs)['encryption']
84 # NOTE: strictly speaking, this is NOT a volume_type field;
85 # we save it for convenience in these tests
86 volume_type['encryption_id'] = cls.encryption_type['encryption_id']
8487
8588 if cleanup:
8689 cls.addClassResourceCleanup(
308311 method='delete_encryption_type',
309312 expected_status=expected_status,
310313 client=self.encryption_types_client,
311 volume_type_id=volume_type['id']
314 volume_type_id=volume_type['id'],
315 encryption_id=volume_type['encryption_id']
312316 )
313317
314318 def _create_encryption_type(self, expected_status):
332336 expected_status=expected_status,
333337 client=self.encryption_types_client,
334338 volume_type_id=self.volume_type['id'],
339 encryption_id=self.volume_type['encryption_id'],
335340 **update_kwargs
336341 )
337342