StorPool: declare the clone_across_pools capability

Depends-on: blueprint clone-across-pools
Change-Id: I5338c6c4f53a448e495f695cd64b36b722cd947d
This commit is contained in:
Peter Penchev 2022-06-22 10:48:25 +03:00 committed by Kiran Pawar
parent e73954d56d
commit c0e31e787f
2 changed files with 7 additions and 0 deletions

View File

@ -362,6 +362,7 @@ class StorPoolDriver(driver.VolumeDriver):
'driver_version': self.VERSION,
'storage_protocol': constants.STORPOOL,
# Driver capabilities
'clone_across_pools': True,
'sparse_copy_volume': True,
# The actual pools data
'pools': pools

View File

@ -0,0 +1,6 @@
---
features:
- |
The StorPool driver now declares the "clone across pools" capability,
which allows it to create a volume into an arbitrary StorPool-backed
volume type from a StorPool-backed Glance image.