[SDC] rebase 1710 code
[sdc.git] / catalog-be / src / main / resources / import / tosca / heat-types / extCp / extCp.yml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 node_types:
3   org.openecomp.resource.cp.extCP:
4     derived_from: tosca.nodes.Root
5     description: The SDC Connection Point base type all other CP derive from
6     properties:
7       network_role: 
8         type: string
9         required: true
10         description: identical to VL network_role
11       order:
12         type: integer
13         required: true
14         description: The order of the CP on the compute instance (e.g. eth2).
15       network_role_tag:
16         type: string
17         required: true
18         description: Must correlate to the set of defined “network-role” tag identifiers from the associated HEAT template
19       mac_requirements:
20         type: org.openecomp.datatypes.network.MacRequirements
21         required: false
22         description: identifies MAC address assignments to the CP
23       vlan_requirements:
24         type: list
25         entry_schema:
26           type: org.openecomp.datatypes.network.VlanRequirements
27         required: false
28         description: identifies vlan address assignments to the CP
29       ip_requirements:
30          type: list
31          entry_schema:
32            type: org.openecomp.datatypes.network.IpRequirements
33          required: true
34          description: identifies IP requirements to the CP 
35       exCP_naming:
36           type: org.openecomp.datatypes.Naming
37       subnetpoolid:
38           type: string    
39     requirements: 
40     - virtualLink:
41         capability: tosca.capabilities.network.Linkable
42         relationship: tosca.relationships.network.LinksTo 
43     - virtualBinding:
44         capability: tosca.capabilities.network.Bindable
45         relationship: tosca.relationships.network.BindsTo
46     - external_virtualLink:
47         capability: tosca.capabilities.network.Linkable
48         relationship: tosca.relationships.network.LinksTo
49         node: org.openecomp.resource.vl.VL
50     capabilities:
51       internal_connectionPoint:
52          type: tosca.capabilities.Node
53          valid_source_type: [tosca.nodes.network.Port]