import tosca bug
[sdc.git] / openecomp-be / lib / openecomp-tosca-converter-lib / openecomp-tosca-converter-core / src / test / resources / mock / toscaConverter / convertCsar / out / MainServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_1
2 metadata:
3   template_name: Main
4   resourceVendor: zte
5   name: SPGW
6   resourceVendorModelNumber: ''
7   description: SPGW
8   invariantUUID: 3c677981-34bf-47a0-a21b-c0d81f93d438
9   UUID: 5e74136f-3ca0-48eb-b0e7-b3740e170030
10   type: VF
11   category: Application L4+
12   subcategory: Firewall
13   resourceVendorRelease: v1.0
14 imports:
15 - openecomp_heat_index:
16     file: openecomp-heat/_index.yml
17 - GlobalSubstitutionTypes:
18     file: GlobalSubstitutionTypesServiceTemplate.yaml
19 topology_template:
20   inputs:
21     nf_naming:
22       type: org.openecomp.datatypes.Naming
23       default:
24         ecomp_generated_naming: true
25     nf_naming_code:
26       type: string
27       default: {
28         }
29     nf_function:
30       type: string
31       default: {
32         }
33     availability_zone_max_count:
34       type: integer
35       default: 1
36     nf_role:
37       type: string
38       default: {
39         }
40     max_instances:
41       type: integer
42       default: {
43         }
44     min_instances:
45       type: integer
46       default: {
47         }
48     nf_type:
49       type: string
50       default: {
51         }
52   node_templates:
53     Cpd 0:
54       type: tosca.nodes.nfv.VduCpd
55     BlockStorage 0:
56       type: tosca.nodes.BlockStorage
57     ExtCP 0:
58       type: org.openecomp.resource.cp.extCP
59       properties:
60         mac_requirements:
61           mac_count_required:
62             is_required: false
63         exCP_naming:
64           ecomp_generated_naming: true
65     Network 0:
66       type: tosca.nodes.network.Network
67       properties:
68         dhcp_enabled: true
69         ip_version: 4
70     Compute 0:
71       type: tosca.nodes.Compute
72   substitution_mappings:
73     node_type: org.openecomp.resource.vf.Spgw
74     capabilities:
75       extcp0.feature:
76       - ExtCP 0
77       - feature
78       compute0.binding:
79       - Compute 0
80       - binding
81       extcp0.internal_connectionPoint:
82       - ExtCP 0
83       - internal_connectionPoint
84       blockstorage0.feature:
85       - BlockStorage 0
86       - feature
87       compute0.feature:
88       - Compute 0
89       - feature
90       compute0.host:
91       - Compute 0
92       - host
93       network0.feature:
94       - Network 0
95       - feature
96       compute0.scalable:
97       - Compute 0
98       - scalable
99       compute0.endpoint:
100       - Compute 0
101       - endpoint
102       blockstorage0.attachment:
103       - BlockStorage 0
104       - attachment
105       compute0.os:
106       - Compute 0
107       - os
108       network0.link:
109       - Network 0
110       - link
111       cpd0.feature:
112       - Cpd 0
113       - feature
114     requirements:
115       extcp0.virtualBinding:
116       - ExtCP 0
117       - virtualBinding
118       blockstorage0.dependency:
119       - BlockStorage 0
120       - dependency
121       cpd0.dependency:
122       - Cpd 0
123       - dependency
124       compute0.dependency:
125       - Compute 0
126       - dependency
127       extcp0.external_virtualLink:
128       - ExtCP 0
129       - external_virtualLink
130       extcp0.dependency:
131       - ExtCP 0
132       - dependency
133       network0.dependency:
134       - Network 0
135       - dependency
136       cpd0.virtual_link:
137       - Cpd 0
138       - virtual_link
139       extcp0.virtualLink:
140       - ExtCP 0
141       - virtualLink
142       compute0.local_storage:
143       - Compute 0
144       - local_storage
145       cpd0.virtual_binding:
146       - Cpd 0
147       - virtual_binding