aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/heat/onap-oom/parts
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/heat/onap-oom/parts')
-rw-r--r--deployment/heat/onap-oom/parts/onap-oom-1.yaml2
-rw-r--r--deployment/heat/onap-oom/parts/onap-oom-2.yaml3
2 files changed, 4 insertions, 1 deletions
diff --git a/deployment/heat/onap-oom/parts/onap-oom-1.yaml b/deployment/heat/onap-oom/parts/onap-oom-1.yaml
index 8031505b7..ab79b1ed5 100644
--- a/deployment/heat/onap-oom/parts/onap-oom-1.yaml
+++ b/deployment/heat/onap-oom/parts/onap-oom-1.yaml
@@ -135,6 +135,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 }
diff --git a/deployment/heat/onap-oom/parts/onap-oom-2.yaml b/deployment/heat/onap-oom/parts/onap-oom-2.yaml
index 463635b8a..e01ba132d 100644
--- a/deployment/heat/onap-oom/parts/onap-oom-2.yaml
+++ b/deployment/heat/onap-oom/parts/onap-oom-2.yaml
@@ -15,7 +15,8 @@
${K8S_VM_NAME}_vm:
type: OS::Nova::Server
properties:
- name: ${K8S_VM_NAME}
+ name:
+ list_join: ['-', [ { get_param: 'OS::stack_name' }, '${K8S_VM_NAME}']]
image: { get_param: ubuntu_1604_image }
flavor: { get_param: k8s_vm_flavor }
key_name: { get_param: key_name }