2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at
6 # http://www.apache.org/licenses/LICENSE-2.0
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
15 tosca_definitions_version: tosca_simple_yaml_1_1
18 filename: onap/nodes.yml
27 tosca.nodes.nfv.NS.vEPC_NS:
28 derived_from: tosca.nodes.nfv.NS
60 capability: tosca.capabilities.nfv.VirtualLinkable
65 tosca.nodes.nfv.NS.vIMS_NS:
66 derived_from: tosca.nodes.nfv.NS
98 capability: tosca.capabilities.nfv.VirtualLinkable
104 derived_from: tosca.nodes.Root
120 capability: tosca.capabilities.nfv.VirtualLinkable
125 tosca.nodes.nfv.Vdu.Compute:
126 derived_from: tosca.nodes.Root
140 type: map # Align with IM, it shoul be a array of KeyValuePair/NameValuePair
144 configurable_properties:
145 type: map #In the IM, the multipilicity of VnfcConfigurableProperties is 1, not a map.
147 type: tosca.datatypes.nfv.VnfcConfigurableProperties
150 type: tosca.datatypes.nfv.VduProfile
152 inject_files: # Used for vCPE usecase Aligned with ONAP R2 IM. not defined in IFA011 v2.4.1 and SOL001 v0.6.0.
153 type: tosca.datatypes.nfv.injectFile
154 required: false #Aligned with ONAP R2 IM. it should be false.
155 meta_data: #metadata attached to the VM or container
160 user_data: #cloudinit userdata script support
165 type: tosca.capabilities.nfv.VirtualCompute
167 type: tosca.capabilities.nfv.VirtualBindable
171 monitoring_parameter:
172 type: tosca.capabilities.nfv.Metric
178 capability: tosca.capabilities.nfv.VirtualStorage
179 relationship: tosca.relationships.nfv.Vdu.AttachedTo
180 node: tosca.nodes.nfv.VDU.VirtualStorage
187 type: tosca.artifacts.nfv.SwImage
190 tosca.nodes.nfv.Vdu.VirtualStorage:
191 derived_from: tosca.nodes.Root
198 - valid_values: [volume, object, root, block]
201 type: scalar-unit.size
203 vdu_storage_requirements:
213 type: tosca.capabilities.nfv.VirtualStorage
217 type: tosca.artifacts.Deployment.Image
219 tosca.nodes.nfv.ext.zte.VNF:
222 type: tosca.capabilities.nfv.Forwarder
223 derived_from: tosca.nodes.Root
225 request_reclassification:
243 vmnumber_overquota_alarm:
283 capability: tosca.capabilities.nfv.Forwarder
288 capability: tosca.capabilities.nfv.VirtualLinkable
294 derived_from: tosca.nodes.Root
301 - valid_values: [ethernet, mpls, odu2, ipv4, ipv6, pseudo_wire ]
303 role: #Name in ETSI NFV IFA011 v0.7.3 cpRole
306 - valid_values: [ root, leaf ]
314 type: tosca.datatypes.nfv.CpProtocolData
319 allowed_address_data: # Aligned with ONAP R2 Im.not defined in IFA011 v2.4.1 and SOL001 v0.6.0.
320 type: tosca.datatypes.nfv.AddressData #In the IM, it is a array, but here it is not a array. TBD.
325 derived_from: tosca.nodes.Root
327 descriptor_id: # instead of vnfd_id
330 descriptor_version: # instead of vnfd_version
333 provider: # instead of vnf_provider
336 product_name: # instead of vnf_product_name
339 software_version: # instead of vnf_software_version
342 product_info_name: # instead of vnf_product_info_name
345 product_info_description: # instead of vnf_product_info_description
353 localization_languages:
358 default_localization_language:
361 configurable_properties:
362 type: tosca.datatypes.nfv.VnfConfigurableProperties
364 # modifiable_attributes:
365 # type: tosca.datatypes.nfv.VnfInfoModifiableAttributes
366 # required: false # true in IFA011, but all of members are false. Align with the IM, it is false
374 # monitoring_parameter:
375 # modelled as ad hoc capabilities in the VNF node template
378 capability: tosca.capabilities.nfv.VirtualLinkable
379 relationship: tosca.relationships.nfv.VirtualLinksTo
380 node: tosca.nodes.nfv.VnfVirtualLink
386 type: tosca.interfaces.node.lifecycle.Standard
388 tosca.nodes.nfv.VduCp:
389 derived_from: tosca.nodes.nfv.Cp
394 vnic_name: # Aligned with ONAP R2 Im.not defined in IFA011 v2.4.1 and SOL001 v0.6.0.
397 vnic_order: # Aligned with ONAP R2 Im. not defined in IFA011 v2.4.1 and SOL001 v0.6.0.
400 vnic_type: # Aligned with ONAP R2 Im. not defined in IFA011 v2.4.1 and SOL001 v0.6.0
403 - valid_values: [normal, macvtap, direct, baremetal, direct-physical, virtio-forwarder]
405 virtual_network_interface_requirements:
408 type: tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements
410 # order: #there is no this attribute in IM.
414 # - greater_or_equal: 0
417 capability: tosca.capabilities.nfv.VirtualLinkable
418 relationship: tosca.relationships.nfv.VirtualLinksTo
419 node: tosca.nodes.nfv.VnfVirtualLink
421 capability: tosca.capabilities.nfv.VirtualBindable
422 relationship: tosca.relationships.nfv.VirtualBindsTo
423 node: tosca.nodes.nfv.Vdu.Compute
425 tosca.nodes.nfv.VnfVirtualLink:
426 derived_from: tosca.nodes.Root
429 type: tosca.datatypes.nfv.ConnectivityType
440 type: tosca.datatypes.nfv.VlProfile
443 monitoring_parameter: # this is not a very clear data structure enough to be coded, suggest to be annotated.
444 type: tosca.capabilities.nfv.Metric
449 type: tosca.capabilities.nfv.VirtualLinkable