summaryrefslogtreecommitdiffstats
path: root/deployment/heat/onap-oom/parts
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-11-17 17:14:38 -0800
committerGary Wu <gary.i.wu@huawei.com>2018-11-17 17:25:57 -0800
commitb8be70a59f82cfb8473fe293f55111dbe2aff790 (patch)
tree436b59e9737fa0f8583632e3e350898734bf03c2 /deployment/heat/onap-oom/parts
parentcef8b722ac852acd0f2b8e6fe8e04e40a4665862 (diff)
Add mtu parameter to OOM heat template
Change-Id: Ia478de1f3484fa9b32fe34cf0ec8a5defe118f2e Issue-ID: INT-586 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'deployment/heat/onap-oom/parts')
-rw-r--r--deployment/heat/onap-oom/parts/onap-oom-1.yaml4
-rw-r--r--deployment/heat/onap-oom/parts/onap-oom-2.yaml1
2 files changed, 5 insertions, 0 deletions
diff --git a/deployment/heat/onap-oom/parts/onap-oom-1.yaml b/deployment/heat/onap-oom/parts/onap-oom-1.yaml
index ba3933b76..5f117acb8 100644
--- a/deployment/heat/onap-oom/parts/onap-oom-1.yaml
+++ b/deployment/heat/onap-oom/parts/onap-oom-1.yaml
@@ -93,6 +93,10 @@ parameters:
description: Set to "true" if you want to use a RAM disk for /dockerdata-nfs/.
default: "false"
+ mtu:
+ type: number
+ default: 1500
+
resources:
random-str:
type: OS::Heat::RandomString
diff --git a/deployment/heat/onap-oom/parts/onap-oom-2.yaml b/deployment/heat/onap-oom/parts/onap-oom-2.yaml
index 34fc0d78f..721f3cdc4 100644
--- a/deployment/heat/onap-oom/parts/onap-oom-2.yaml
+++ b/deployment/heat/onap-oom/parts/onap-oom-2.yaml
@@ -32,6 +32,7 @@
__rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] }
__rancher_private_ip_addr__: { get_attr: [rancher_floating_ip, fixed_ip_address] }
__host_private_ip_addr__: { get_attr: [${VM_TYPE}_${VM_NUM}_floating_ip, fixed_ip_address] }
+ __mtu__: { get_param: mtu }
template:
get_file: k8s_vm_install.sh
- path: /opt/k8s_vm_init.sh