aboutsummaryrefslogtreecommitdiffstats
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-18 01:26:31 +0000
commit5dac73aeeebf06e6a53a3d269b522c80d50b716c (patch)
tree785b8b09ac9fa4fe8201a0f66ffbc8b595ceff42 /deployment/heat/onap-oom/parts
parent5a04ed16eda2164e084a7540d1f74235458e9ec0 (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