From 63c0ecf637aa2ad45fd3c97c5508286d6c554517 Mon Sep 17 00:00:00 2001 From: Veda Talakad Date: Wed, 26 Feb 2020 11:53:48 -0800 Subject: [PATCH] New label to support source volume based provision (#1423) (#1443) Signed-off-by: veda --- api/api.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/api/api.go b/api/api.go index 68951873f..05f05d5d8 100644 --- a/api/api.go +++ b/api/api.go @@ -67,8 +67,12 @@ const ( // the VolumeSpec.force_unsupported_fs_type. When set to true it asks // the driver to use an unsupported value of VolumeSpec.format if possible SpecForceUnsupportedFsType = "force_unsupported_fs_type" - SpecNodiscard = "nodiscard" - StoragePolicy = "storagepolicy" + // SpecMatchSrcVolProvision defaults to false. Applicable to cloudbackup restores only. + // If set to "true", cloudbackup restore volume gets provisioned on same pools as + // backup, allowing for inplace restore after. + SpecMatchSrcVolProvision = "match_src_vol_provision" + SpecNodiscard = "nodiscard" + StoragePolicy = "storagepolicy" ) // OptionKey specifies a set of recognized query params.