summaryrefslogtreecommitdiffstats
path: root/cns-libs/cnslibs/common/dynamic_provisioning.py
diff options
context:
space:
mode:
Diffstat (limited to 'cns-libs/cnslibs/common/dynamic_provisioning.py')
-rw-r--r--cns-libs/cnslibs/common/dynamic_provisioning.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cns-libs/cnslibs/common/dynamic_provisioning.py b/cns-libs/cnslibs/common/dynamic_provisioning.py
index fea44b4b..7c1d0168 100644
--- a/cns-libs/cnslibs/common/dynamic_provisioning.py
+++ b/cns-libs/cnslibs/common/dynamic_provisioning.py
@@ -159,6 +159,7 @@ def create_storage_class_file(hostname, sc_name, resturl,
restsecretnamespace:str
ex: restsecretnamespace:"storage-project"
restsecretname:str ex: restsecretname:"heketi-secret"
+ volumenameprefix:str ex: "dept_qe"
Returns:
bool: True if successful,
otherwise False
@@ -173,7 +174,7 @@ def create_storage_class_file(hostname, sc_name, resturl,
for key in ('secretnamespace', 'restuser', 'secretname',
'restauthenabled', 'restsecretnamespace',
'restsecretname', 'hacount', 'clusterids',
- 'chapauthenabled'):
+ 'chapauthenabled', 'volumenameprefix'):
if kwargs.get(key):
data['parameters'][key] = kwargs.get(key)