summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources/import/tosca/nfv-types/2.7.1/vipCp/vipCp.yml
blob: b1c80705fea7fe62a19791afa6d1040cb52c0112 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types:
    tosca.nodes.nfv.VipCp:
      derived_from: tosca.nodes.nfv.Cp
      description: Describes a connection point to allocate one or a set of virtual IP addresses
      properties:
        vip_function:
          type: string
          description: "Indicates the function the virtual IP address is used for: high availability or load balancing. When used for high availability, only one of the internal VDU CP instances or VNF external CP instances that share the virtual IP is bound to the VIP address at a time. When used for load balancing purposes all CP instances that share the virtual IP are bound to it." 
          required: true
          constraints:
            - valid_values: [ high_availability, load_balance ]
      requirements:
        - target:
            capability: tosca.capabilities.Node
            relationship: tosca.relationships.DependsOn
            occurrences: [ 1, UNBOUNDED ]
        - virtual_link:
            capability: tosca.capabilities.nfv.VirtualLinkable
            relationship: tosca.relationships.nfv.VipVirtualLinksTo
            occurrences: [1, 1]