diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2018-07-02 15:28:51 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2018-07-02 15:28:51 +0800 |
commit | c82b69ccdf5638dec12fd68079f6b77f75bace17 (patch) | |
tree | 96f5c964f87857c949db4cd9ded7018136d53680 /deploy/compass_conf/package_metadata | |
parent | 8d2dd5e06e5f1a3983b93cc39022c3e622268ee1 (diff) |
Add cluster_param in DHA file
JIRA: COMPASS-603
Users may need some extra parameters
to further customize the deployment.
Change-Id: I64f7f39a49f17350d159b3733f34ffd816849174
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'deploy/compass_conf/package_metadata')
-rwxr-xr-x | deploy/compass_conf/package_metadata/kubernetes.conf | 8 | ||||
-rwxr-xr-x | deploy/compass_conf/package_metadata/openstack.conf | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/deploy/compass_conf/package_metadata/kubernetes.conf b/deploy/compass_conf/package_metadata/kubernetes.conf index d5e9a50f..c9853d17 100755 --- a/deploy/compass_conf/package_metadata/kubernetes.conf +++ b/deploy/compass_conf/package_metadata/kubernetes.conf @@ -129,6 +129,14 @@ METADATA = { 'default_value': '[]' } }, + 'cluster_param': { + '_self': { + 'mapping_to': 'cluster_param', + 'field': 'general_list', + 'is_required':False, + 'default_value': '[]' + } + }, 'ha_network': { '_self': { 'mapping_to': 'ha_network', diff --git a/deploy/compass_conf/package_metadata/openstack.conf b/deploy/compass_conf/package_metadata/openstack.conf index 6027cb1a..1a0545ad 100755 --- a/deploy/compass_conf/package_metadata/openstack.conf +++ b/deploy/compass_conf/package_metadata/openstack.conf @@ -129,6 +129,14 @@ METADATA = { 'default_value': '[]' } }, + 'cluster_param': { + '_self': { + 'mapping_to': 'cluster_param', + 'field': 'general_list', + 'is_required':False, + 'default_value': '[]' + } + }, 'ha_network': { '_self': { 'mapping_to': 'ha_network', |