Merge "Do not prepand randomo str in key for vFW_NextGen"
authorMarco Platania <platania@research.att.com>
Fri, 19 Oct 2018 13:04:18 +0000 (13:04 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 19 Oct 2018 13:04:18 +0000 (13:04 +0000)
heat/vFW_NextGen/templates/base_template.yaml

index 1804fdd..9184fda 100644 (file)
@@ -74,20 +74,10 @@ parameters:
 #############
 
 resources:
-  random-str:
-    type: OS::Heat::RandomString
-    properties:
-      length: 4
-
   my_keypair:
     type: OS::Nova::KeyPair
     properties:
-      name:
-        str_replace:
-          template: base_rand
-          params:
-            base: { get_param: key_name }
-            rand: { get_resource: random-str }
+      name: { get_param: key_name }
       public_key: { get_param: pub_key }
       save_private_key: false