Merge "Fix volume type test extra_specs"
Zuul authored 2 months ago
Gerrit Code Review committed 2 months ago
| 40 | 40 | volume_type_name = 'vol-type-for-6e9266ff-a917-4dd5-aa4a-c36e59e7a2a6' |
| 41 | 41 | description = ('Generic volume_type for test ' |
| 42 | 42 | '6e9266ff-a917-4dd5-aa4a-c36e59e7a2a6') |
| 43 | proto = CONF.volume.storage_protocol | |
| 44 | vendor = CONF.volume.vendor_name | |
| 45 | extra_specs = {"storage_protocol": proto, | |
| 46 | "vendor_name": vendor} | |
| 47 | 43 | kwargs = {'description': description, |
| 48 | 'extra_specs': extra_specs, | |
| 49 | 44 | 'os-volume-type-access:is_public': True} |
| 50 | 45 | volume_type = self.create_volume_type(name=volume_type_name, |
| 51 | 46 | **kwargs) |