summaryrefslogtreecommitdiffstats
path: root/s3p/templates/pciNumDevices/Definitions/resource-Vgw1181049-template.yml
blob: 73c054543ef5884168aacf5e63e418ddd465c9a3 (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
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
tosca_definitions_version: tosca_simple_yaml_1_1
metadata:
  invariantUUID: b233407f-fe4e-474e-af23-5ddca98639b2
  UUID: 9119a7bd-859b-46ae-825f-47aa7570220d
  name: ##RANDOM_RESOURCE_NAME##
  description: test
  type: VF
  category: Generic
  subcategory: Infrastructure
  resourceVendor: vendor
  resourceVendorRelease: '1.0'
  resourceVendorModelNumber: ''
imports:
- nodes:
    file: nodes.yml
- datatypes:
    file: data.yml
- capabilities:
    file: capabilities.yml
- relationships:
    file: relationships.yml
- groups:
    file: groups.yml
- policies:
    file: policies.yml
- annotations:
    file: annotations.yml
- resource-vgw1181049-interface:
    file: resource-Vgw1181049-template-interface.yml
- resource-VNF:
    file: resource-Vnf-template.yml
- resource-VnfVirtualLink:
    file: resource-Vnfvirtuallink-template.yml
- resource-VDU Cp:
    file: resource-VduCp-template.yml
- resource-VDU VirtualStorage:
    file: resource-VduVirtualstorage-template.yml
- resource-VDU Compute:
    file: resource-VduCompute-template.yml
topology_template:
  inputs:
    nf_naming:
      default:
        ecomp_generated_naming: true
      type: org.openecomp.datatypes.Naming
      required: false
    multi_stage_design:
      default: false
      type: boolean
      required: false
    nf_function:
      type: string
      required: false
    nf_naming_code:
      type: string
      required: false
    availability_zone_max_count:
      default: 1
      type: integer
      required: false
    nf_role:
      type: string
      required: false
    min_instances:
      type: integer
      required: false
    max_instances:
      type: integer
      required: false
    nf_type:
      type: string
      required: false
  node_templates:
    LLU_VNF:
      type: tosca.nodes.nfv.VNF
      metadata:
        invariantUUID: 7f6227f9-771a-4d25-86bb-2b3ba809e81c
        UUID: d5c50615-de40-4a8a-a2a6-9eae9bd5b30f
        customizationUUID: 06bffc87-30c7-42ad-b99d-19c6c13405dc
        version: '1.0'
        name: VNF
        description: VNF
        type: VFC
        category: Generic
        subcategory: Infrastructure
        resourceVendor: ATT (Tosca)
        resourceVendorRelease: 1.0.0.wd03
        resourceVendorModelNumber: ''
      properties:
        descriptor_id: b1bb0ce7-2222-4fa7-95ed-4840d70a1177
        provider: onap
        vnfm_info:
        - gvnfm
        flavour_id: simple
        descriptor_version: '1.0'
        software_version: '1.0'
        flavour_description: simple
        product_name: vcpe_vgw
    VL_mux_gw_private_net:
      type: tosca.nodes.nfv.VnfVirtualLink
      metadata:
        invariantUUID: eb48e8b6-1ad6-48c1-91d2-f77c5792a624
        UUID: 4ded12c9-0565-446a-82f6-eac26b0d4031
        customizationUUID: fbea54ef-8f8b-4f35-81d6-997a47282698
        version: '1.0'
        name: VnfVirtualLink
        description: VnfVirtualLink
        type: VL
        category: Generic
        subcategory: Infrastructure
        resourceVendor: ATT (Tosca)
        resourceVendorRelease: 1.0.0.wd03
        resourceVendorModelNumber: ''
      properties:
        vl_profile:
          min_bit_rate_requirements:
            root: 10000000
            leaf: 10000000
          max_bit_rate_requirements:
            root: 10000000
            leaf: 10000000
          networkName: mux_gw_private_net_id
          cidr: 192.168.0.0/24
          dhcpEnabled: false
        connectivity_type:
          layer_protocol: ipv4
    VDU_vgw_0:
      type: tosca.nodes.nfv.Vdu.Compute
      metadata:
        invariantUUID: 545f0f07-e4b4-483c-8976-87d6b2585976
        UUID: 705026b1-0e14-4c4c-b203-9aa5002616a8
        customizationUUID: 93c3f2e3-67e7-4bb4-be11-8a48df924c4c
        version: '1.0'
        name: VDU Compute
        description: VDU Compute
        type: VFC
        category: Generic
        subcategory: Infrastructure
        resourceVendor: ATT (Tosca)
        resourceVendorRelease: 1.0.0.wd03
        resourceVendorModelNumber: ''
      properties:
        configurable_properties:
          additional_vnfc_configurable_properties: {
            }
        name: vdu_vgw_0
        description: vgw
        vdu_profile:
          watchdog: none
          min_number_of_instances: 1
          max_number_of_instances: 1
      requirements:
      - virtual_storage:
          capability: virtual_storage
          node: VirtualStorage_root_all
      capabilities:
        virtual_compute:
          properties:
            virtual_memory:
              virtual_mem_size: 4096 MB
            virtual_cpu:
              cpu_architecture: generic
              num_virtual_cpu: 2
    VirtualStorage_root_all:
      type: tosca.nodes.nfv.Vdu.VirtualStorage
      metadata:
        invariantUUID: a2b52b7f-dcc1-4ac9-9333-db87b5393841
        UUID: e7153786-05ac-4911-a125-0560f7e62ec9
        customizationUUID: dc20e1ad-aed9-4154-b2b4-3a702eee49a7
        version: '1.0'
        name: VDU VirtualStorage
        description: VDU VirtualStorage
        type: VFC
        category: Generic
        subcategory: Infrastructure
        resourceVendor: ATT (Tosca)
        resourceVendorRelease: 1.0.0.wd03
        resourceVendorModelNumber: ''
      properties:
        size_of_storage: 40 GB
        type_of_storage: root
    Cp_vgw_mux_gw_private_net:
      type: tosca.nodes.nfv.VduCp
      metadata:
        invariantUUID: 05cfefb0-25e0-4aa6-a5c3-bb96a34372a0
        UUID: 1da2c936-84df-4a98-a6aa-a53847cbebc9
        customizationUUID: b5ff315f-effc-46e9-a0c5-aec1954845e0
        version: '1.0'
        name: VDU Cp
        description: VDU Cp
        type: CP
        category: Generic
        subcategory: Network Elements
        resourceVendor: ATT (Tosca)
        resourceVendorRelease: 1.0.0.wd03
        resourceVendorModelNumber: ''
      properties:
        trunk_mode: false
        protocol_data:
        - asscociated_layer_protocol: ipv4
          address_data:
            address_type: ip_address
            l3_address_data:
              fixed_ip_address:
              - 192.168.0.1
              ip_address_assignment: false
              floating_ip_activated: false
        layer_protocol:
        - ipv4
        virtual_network_interface_requirements:
        - name: "sriov-support"
          support_mandatory: true
          # Uncomment when POLICY-1254 fixed
          #network_interface_requirements:
          #  interfaceType: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform":"generic", "mandatory": "true", "configurationValue": "PCI-Passthrough"}'
          nic_io_requirements:
            logical_node_requirements:
              pciNumDevices: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "1"}'
      requirements:
      - virtual_link:
          capability: virtual_linkable
          node: VL_mux_gw_private_net
      - virtual_binding:
          capability: virtual_binding
          node: VDU_vgw_0
  substitution_mappings:
    node_type: org.openecomp.resource.vf.Vgw1181049
    capabilities:
      vl_mux_gw_private_net.feature:
      - vl_mux_gw_private_net
      - feature
      cp_vgw_mux_gw_private_net.feature:
      - cp_vgw_mux_gw_private_net
      - feature
      vdu_vgw_0.virtual_compute:
      - vdu_vgw_0
      - virtual_compute
      vdu_vgw_0.virtual_binding:
      - vdu_vgw_0
      - virtual_binding
      virtualstorage_root_all.virtual_storage:
      - virtualstorage_root_all
      - virtual_storage
      llu_vnf.feature:
      - llu_vnf
      - feature
      vl_mux_gw_private_net.virtual_linkable:
      - vl_mux_gw_private_net
      - virtual_linkable
      vl_mux_gw_private_net.monitoring_parameter:
      - vl_mux_gw_private_net
      - monitoring_parameter
      vdu_vgw_0.monitoring_parameter:
      - vdu_vgw_0
      - monitoring_parameter
      virtualstorage_root_all.feature:
      - virtualstorage_root_all
      - feature
      vdu_vgw_0.feature:
      - vdu_vgw_0
      - feature
    requirements:
      vdu_vgw_0.virtual_storage:
      - vdu_vgw_0
      - virtual_storage
      vl_mux_gw_private_net.dependency:
      - vl_mux_gw_private_net
      - dependency
      virtualstorage_root_all.dependency:
      - virtualstorage_root_all
      - dependency
      vdu_vgw_0.dependency:
      - vdu_vgw_0
      - dependency
      cp_vgw_mux_gw_private_net.virtual_binding:
      - cp_vgw_mux_gw_private_net
      - virtual_binding
      cp_vgw_mux_gw_private_net.dependency:
      - cp_vgw_mux_gw_private_net
      - dependency
      llu_vnf.dependency:
      - llu_vnf
      - dependency
      llu_vnf.virtual_link:
      - llu_vnf
      - virtual_link
      cp_vgw_mux_gw_private_net.virtual_link:
      - cp_vgw_mux_gw_private_net
      - virtual_link