5d1db0211de3913a97a2169f91cb52454129fc21
[sdc.git] / catalog-be / src / main / resources / import / tosca / nfv-types / 4.1.1 / vduCp / vduCp.yml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 node_types:
3     tosca.nodes.nfv.VduCp:
4       derived_from: tosca.nodes.nfv.Cp
5       description: describes network connectivity between a VNFC instance based on this VDU and an internal VL
6       properties:
7         bitrate_requirement:
8           type: integer   # in bits per second
9           description: Bitrate requirement in bit per second on this connection point
10           required: false
11           constraints:
12             - greater_or_equal: 0
13         virtual_network_interface_requirements:
14           type: list
15           description: Specifies requirements on a virtual network interface realising the CPs instantiated from this CPD
16           required: false
17           entry_schema:
18             type: tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements
19         order:
20           type: integer
21           description: The order of the NIC on the compute instance (e.g.eth2)
22           required: false
23           constraints:
24             - greater_or_equal: 0
25         vnic_type:
26           type: string
27           description: Describes the type of the virtual network interface realizing the CPs instantiated from this CPD
28           required: false
29           constraints:
30           - valid_values: [ normal, macvtap, direct, baremetal, virtio-forwarder, direct-physical, smart-nic, bridge, ipvlan, loopback, macvlan, ptp, vlan, host-device ] 
31       requirements:
32         - virtual_link:
33             capability: tosca.capabilities.nfv.VirtualLinkable
34             relationship: tosca.relationships.nfv.VirtualLinksTo
35             occurrences: [0, 1]
36         - virtual_binding:
37             capability: tosca.capabilities.nfv.VirtualBindable
38             relationship: tosca.relationships.nfv.VirtualBindsTo
39             node: tosca.nodes.nfv.Vdu.Compute
40             occurrences: [0, 1]
41         - container_binding:
42             capability: tosca.capabilities.nfv.VirtualBindable
43             relationship: tosca.relationships.nfv.ContainerBindsTo
44             node: tosca.nodes.nfv.Vdu.OsContainerGroup
45             occurrences: [0, 1]