aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/heat/onap-oom/onap-oom.yaml
diff options
context:
space:
mode:
authoreHanan <eoin.hanan@ericsson.com>2018-09-05 14:09:19 +0100
committerGary Wu <gary.i.wu@huawei.com>2018-09-07 11:02:55 -0700
commit97b7a9c998bbb8b31b8b04e7eae5d553bbaed738 (patch)
tree954f9370fa2e0ad828d2fc850b382ef4e3ea972f /deployment/heat/onap-oom/onap-oom.yaml
parent4d2cfb6d4df3f39d299012be1ed8fdb5b1cf460a (diff)
Deployment Script made more flexible
Change-Id: I8322b85afdd5dfc1a88b7dbf369d3c19399b5b1e Issue-ID: INT-611 Signed-off-by: eHanan <eoin.hanan@ericsson.com> Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'deployment/heat/onap-oom/onap-oom.yaml')
-rw-r--r--deployment/heat/onap-oom/onap-oom.yaml20
1 files changed, 14 insertions, 6 deletions
diff --git a/deployment/heat/onap-oom/onap-oom.yaml b/deployment/heat/onap-oom/onap-oom.yaml
index 5c99bdb75..e8b0ffa7d 100644
--- a/deployment/heat/onap-oom/onap-oom.yaml
+++ b/deployment/heat/onap-oom/onap-oom.yaml
@@ -138,6 +138,8 @@ resources:
router:
type: OS::Neutron::Router
properties:
+ name:
+ list_join: ['-', [{ get_param: 'OS::stack_name' }, 'router']]
external_gateway_info:
network: { get_param: public_net_id }
@@ -164,7 +166,8 @@ resources:
rancher_vm:
type: OS::Nova::Server
properties:
- name: rancher
+ name:
+ list_join: ['-', [{ get_param: 'OS::stack_name' }, 'rancher']]
image: { get_param: ubuntu_1604_image }
flavor: { get_param: rancher_vm_flavor }
key_name: { get_param: key_name }
@@ -227,7 +230,8 @@ resources:
k8s_1_vm:
type: OS::Nova::Server
properties:
- name: k8s_1
+ name:
+ list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s_1']]
image: { get_param: ubuntu_1604_image }
flavor: { get_param: k8s_vm_flavor }
key_name: { get_param: key_name }
@@ -262,7 +266,8 @@ resources:
k8s_2_vm:
type: OS::Nova::Server
properties:
- name: k8s_2
+ name:
+ list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s_2']]
image: { get_param: ubuntu_1604_image }
flavor: { get_param: k8s_vm_flavor }
key_name: { get_param: key_name }
@@ -297,7 +302,8 @@ resources:
k8s_3_vm:
type: OS::Nova::Server
properties:
- name: k8s_3
+ name:
+ list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s_3']]
image: { get_param: ubuntu_1604_image }
flavor: { get_param: k8s_vm_flavor }
key_name: { get_param: key_name }
@@ -332,7 +338,8 @@ resources:
k8s_4_vm:
type: OS::Nova::Server
properties:
- name: k8s_4
+ name:
+ list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s_4']]
image: { get_param: ubuntu_1604_image }
flavor: { get_param: k8s_vm_flavor }
key_name: { get_param: key_name }
@@ -367,7 +374,8 @@ resources:
k8s_5_vm:
type: OS::Nova::Server
properties:
- name: k8s_5
+ name:
+ list_join: ['-', [ { get_param: 'OS::stack_name' }, 'k8s_5']]
image: { get_param: ubuntu_1604_image }
flavor: { get_param: k8s_vm_flavor }
key_name: { get_param: key_name }