aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources/import/tosca/nfv-types/vduCp/vduCp.yml
blob: 664c4f59d92c041a0bc3d58beb9c63da42b671f0 (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
tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types:
    tosca.nodes.nfv.VduCp:
      derived_from: tosca.nodes.nfv.Cp
      description: describes network connectivity between a VNFC instance based on this VDU and an internal VL
      properties:
        bitrate_requirement:
          type: integer   # in bits per second
          description: Bitrate requirement in bit per second on this connection point
          required: false
          constraints:
            - greater_or_equal: 0
        virtual_network_interface_requirements:
          type: list
          description: Specifies requirements on a virtual network interface realising the CPs instantiated from this CPD
          required: false
          entry_schema:
            type: tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements
        order:
          type: integer
          description: The order of the NIC on the compute instance (e.g.eth2)
          required: false
          constraints:
            - greater_or_equal: 0
        vnic_type:
          type: string
          description: Describes the type of the virtual network interface realizing the CPs instantiated from this CPD
          required: false
          constraints:
          - valid_values: [ normal, virtio, direct-physical ]
        vnic_name: # Introduced from Beijing release, aligned with ONAP resource IM, outside the scope of SOL001 v2.5.1
          type: string
          required: false
      requirements:
        - virtual_link:
            capability: tosca.capabilities.nfv.VirtualLinkable
            relationship: tosca.relationships.nfv.VirtualLinksTo
        - virtual_binding:
            capability: tosca.capabilities.nfv.VirtualBindable
            relationship: tosca.relationships.nfv.VirtualBindsTo
            node: tosca.nodes.nfv.Vdu.Compute