aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/inputfiles/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/inputfiles/main.yml')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/inputfiles/main.yml90
1 files changed, 90 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/inputfiles/main.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/inputfiles/main.yml
new file mode 100644
index 0000000000..f7079ce7ce
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/inputfiles/main.yml
@@ -0,0 +1,90 @@
+heat_template_version: 2013-05-23
+
+description: cmaui server template for vMMSC
+
+parameters:
+ net:
+ type: string
+ description: UID of network
+ p1:
+ type: string
+ description: p1
+ p2:
+ type: string
+ description: p2
+ myIPs:
+ type: string
+ description: ip1
+ availability_zone_1:
+ type: string
+ description: myAvailability_zone_1
+ names:
+ type: string
+ image:
+ type: string
+ flavor:
+ type: string
+resources:
+
+ myNovaServer1:
+ type: OS::Nova::Server
+ properties:
+ name: { get_param: [names, 0]}
+ image: { get_param: image }
+ availability_zone: { get_param: availability_zone_1 }
+ flavor: { get_param: flavor }
+ networks:
+ - port: { get_resource: myPort1 }
+ - port: { get_resource: myPort2 }
+
+
+ myNovaServer2:
+ type: OS::Nova::Server
+ properties:
+ name: { get_param: [names, 0]}
+ image: { get_param: image }
+ availability_zone: { get_param: availability_zone_1 }
+ flavor: { get_param: flavor }
+ networks:
+ - port: { get_resource: myPort3 }
+ - port: { get_resource: myPort4 }
+
+ myPort1:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: net }
+ fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
+ security_groups: [{get_param: p1}]
+ replacement_policy: AUTO
+
+ myPort2:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: net }
+ fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
+ security_groups: [{get_param: p2}]
+ replacement_policy: AUTO
+
+ myPort3:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: net }
+ fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
+ security_groups: [{get_param: p1}]
+ replacement_policy: AUTO
+
+ myPort4:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: net }
+ fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
+ security_groups: [{get_param: p2}]
+ replacement_policy: AUTO
+ SVCgroup1:
+ type: ATT::Valet::GroupAssignment
+ properties:
+ group_type: diversity
+ group_name: simpleGroup
+ level: host
+ resources:
+ - { get_resource: myNovaServer1}