push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / heat / outputs / expectedoutputfiles / MainServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Main
4 imports:
5   ContrailComputeGlobalTypes:
6     file: ContrailComputeGlobalTypesServiceTemplate.yaml
7   CinderVolumeGlobalTypes:
8     file: CinderVolumeGlobalTypesServiceTemplate.yaml
9   ContrailVirtualNetworkGlobalType:
10     file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
11   AbstractSubstituteGlobalTypes:
12     file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
13   ContrailPortGlobalTypes:
14     file: ContrailPortGlobalTypesServiceTemplate.yaml
15   NeutronPortGlobalTypes:
16     file: NeutronPortGlobalTypesServiceTemplate.yaml
17   NeutronNetGlobalTypes:
18     file: NeutronNetGlobalTypesServiceTemplate.yaml
19   CommonGlobalTypes:
20     file: CommonGlobalTypesServiceTemplate.yaml
21   ContrailAbstractSubstituteGlobalTypes:
22     file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
23   ContrailNetworkRuleGlobalType:
24     file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
25   NeutronSecurityRulesGlobalTypes:
26     file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
27   NovaServerGlobalTypes:
28     file: NovaServerGlobalTypesServiceTemplate.yaml
29   ContrailV2VirtualMachineInterfaceGlobalType:
30     file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
31 topology_template:
32   node_templates:
33     jsa_net:
34       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
35       properties:
36         shared: true
37         network_name:
38           get_input: jsa_net_name
39     jsa_net_test_full_attribute:
40       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
41       properties:
42         dhcp_agent_ids:
43         - '1000'
44         - '1001'
45         - '1002'
46         tenant_id: 23456
47         port_security_enabled: true
48         shared: true
49         admin_state_up: false
50         qos_policy: full
51         network_name:
52           get_input: jsa_net_name
53         subnets:
54           jsa_net_test_full_attribute_subnet:
55             cidr:
56               get_input: jsa_cidr
57         value_specs:
58           key1: spec1
59           key2: spec2
60   groups:
61     outputs:
62       type: org.openecomp.groups.heat.HeatStack
63       properties:
64         heat_file: ../Artifacts/outputs.yaml
65         description: |
66           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
67       members:
68       - jsa_net
69       - jsa_net_test_full_attribute
70   outputs:
71     output_regular:
72       description: output_regula
73       value: regular
74     output_func_getParam:
75       description: output_func_getParam
76       value:
77         get_input: jsa_cidr
78     output_func_getAttr:
79       description: output_func_getAttr
80       value:
81         get_attribute:
82         - jsa_net_test_full_attribute
83         - network_name
84     output_func_getResource:
85       description: output_func_getResource
86       value: jsa_net_test_full_attribute