summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/resources/mock/toscaConverter/convertCsar/in/MainServiceTemplate.yaml
blob: e6a873a6b41ee1fe43a5e493a8404bf2bd0152ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
tosca_definitions_version: tosca_simple_yaml_1_1
metadata:
  invariantUUID: 3c677981-34bf-47a0-a21b-c0d81f93d438
  UUID: 5e74136f-3ca0-48eb-b0e7-b3740e170030
  name: SPGW
  description: SPGW
  type: VF
  category: Application L4+
  subcategory: Firewall
  resourceVendor: zte
  resourceVendorRelease: v1.0
  resourceVendorModelNumber: ''
imports:
- nodes:
    file: Definitions/nodes.yml
- datatypes:
    file: Definitions/data.yml
- capabilities:
    file: Definitions/capabilities.yml
- relationships:
    file: Definitions/relationships.yml
- groups:
    file: Definitions/groups.yml
- policies:
    file: Definitions/policies.yml
- resource-SPGW-interface:
    file: Definitions/resource-Spgw-template-interface.yml
- resource-Compute:
    file: Definitions/resource-Compute-template.yml
- resource-Cpd:
    file: Definitions/resource-Cpd-template.yml
- resource-ExtCP:
    file: Definitions/resource-Extcp-template.yml
- resource-Network:
    file: Definitions/resource-Network-template.yml
- resource-BlockStorage:
    file: Definitions/resource-Blockstorage-template.yml
topology_template:
  inputs:
    nf_naming:
      type: org.openecomp.datatypes.Naming
      default:
        ecomp_generated_naming: true
    nf_naming_code:
      type: string
      default: {
        }
    nf_function:
      type: string
      default: {
        }
    availability_zone_max_count:
      type: integer
      default: 1
    nf_role:
      type: string
      default: {
        }
    max_instances:
      type: integer
      default: {
        }
    min_instances:
      type: integer
      default: {
        }
    nf_type:
      type: string
      default: {
        }
  node_templates:
    Cpd 0:
      type: tosca.nodes.nfv.VduCpd
      metadata:
        invariantUUID: 77336b37-f7b2-4226-a347-158d9c5a90b3
        UUID: 06e09b93-d4aa-4d08-a2e5-99dbe80fb556
        customizationUUID: fbf85c13-570f-415b-8eef-477341fcc6dc
        version: '2.0'
        name: Cpd
        description: Cpd desc.
        type: CP
        category: Nfvo
        subcategory: Network Elements
        resourceVendor: ATT (Tosca)
        resourceVendorRelease: 1.0.0.wd03
        resourceVendorModelNumber: ''
    BlockStorage 0:
      type: tosca.nodes.BlockStorage
      metadata:
        invariantUUID: cbb3a953-20e4-49cd-b957-4d7a3232e2fc
        UUID: 505ee1a0-68bb-4a85-a5ed-78ffa1a93a9b
        customizationUUID: 9440174f-f641-44ba-8a93-6c3c8c6e17b9
        version: '1.0'
        name: BlockStorage
        description: Represents a server-local block storage device (i.e., not shared) offering evenly sized blocks of data from which raw storage volumes can be created.
        type: VFC
        category: Generic
        subcategory: Infrastructure
        resourceVendor: ATT (Tosca)
        resourceVendorRelease: 1.0.0.wd03
        resourceVendorModelNumber: ''
    ExtCP 0:
      type: org.openecomp.resource.cp.extCP
      metadata:
        invariantUUID: eee70cdb-7632-4f4b-8a69-e1d7230a3263
        UUID: 74db9efa-f694-4a7b-8056-6145372b37c4
        customizationUUID: b6bc4c89-f2e3-4d14-8fb2-8535f42331a7
        version: '3.0'
        name: ExtCP
        description: The AT&T Connection Point base type all other CP derive from
        type: CP
        category: Generic
        subcategory: Network Elements
        resourceVendor: ATT (Tosca)
        resourceVendorRelease: 1.0.0.wd03
        resourceVendorModelNumber: ''
      properties:
        mac_requirements:
          mac_count_required:
            is_required: false
        exCP_naming:
          ecomp_generated_naming: true
    Network 0:
      type: tosca.nodes.network.Network
      metadata:
        invariantUUID: e9f16c37-4632-4e1b-ba2f-10e2f9ade337
        UUID: 2a34714c-84fa-4f74-b118-b87d25b6d0eb
        customizationUUID: f7bb69e3-2b97-4fcd-b18d-5eba059a37b1
        version: '1.0'
        name: Network
        description: Represents a simple , logical network service.
        type: VL
        category: Generic
        subcategory: Infrastructure
        resourceVendor: ATT (Tosca)
        resourceVendorRelease: 1.0.0.wd03
        resourceVendorModelNumber: ''
      properties:
        dhcp_enabled: true
        ip_version: 4
    Compute 0:
      type: tosca.nodes.Compute
      metadata:
        invariantUUID: 2d9b896d-13ea-4a32-9d59-2966b4925aea
        UUID: fb2c9fe0-bea9-4945-9e31-04709bcda292
        customizationUUID: ffee7d61-f396-4630-ba3c-f5c6b514816f
        version: '1.0'
        name: Compute
        description: Represents a real or virtual machine or server. Information specified on the Compute node will be used to find the machine that fits the given requirements in the cloud available machines. If no sizing information are specified the cloud provider default machine will be used. It is strongly recommended to specify the required CPUs and memory at least.
        type: VFC
        category: Generic
        subcategory: Infrastructure
        resourceVendor: ATT (Tosca)
        resourceVendorRelease: 1.0.0.wd03
        resourceVendorModelNumber: ''
  substitution_mappings:
    node_type: org.openecomp.resource.vf.Spgw
    capabilities:
      extcp0.feature:
      - ExtCP 0
      - feature
      compute0.binding:
      - Compute 0
      - binding
      extcp0.internal_connectionPoint:
      - ExtCP 0
      - internal_connectionPoint
      blockstorage0.feature:
      - BlockStorage 0
      - feature
      compute0.feature:
      - Compute 0
      - feature
      compute0.host:
      - Compute 0
      - host
      network0.feature:
      - Network 0
      - feature
      compute0.scalable:
      - Compute 0
      - scalable
      compute0.endpoint:
      - Compute 0
      - endpoint
      blockstorage0.attachment:
      - BlockStorage 0
      - attachment
      compute0.os:
      - Compute 0
      - os
      network0.link:
      - Network 0
      - link
      cpd0.feature:
      - Cpd 0
      - feature
    requirements:
      extcp0.virtualBinding:
      - ExtCP 0
      - virtualBinding
      blockstorage0.dependency:
      - BlockStorage 0
      - dependency
      cpd0.dependency:
      - Cpd 0
      - dependency
      compute0.dependency:
      - Compute 0
      - dependency
      extcp0.external_virtualLink:
      - ExtCP 0
      - external_virtualLink
      extcp0.dependency:
      - ExtCP 0
      - dependency
      network0.dependency:
      - Network 0
      - dependency
      cpd0.virtual_link:
      - Cpd 0
      - virtual_link
      extcp0.virtualLink:
      - ExtCP 0
      - virtualLink
      compute0.local_storage:
      - Compute 0
      - local_storage
      cpd0.virtual_binding:
      - Cpd 0
      - virtual_binding