aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/resources/node-types/resource-Extcp-template.yml
blob: 4302a129d7493590aedce11d8f15a6bc6c948f0c (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
tosca_definitions_version: tosca_simple_yaml_1_3
metadata:
  invariantUUID: 93047af6-cd60-401a-b60b-346d67314aeb
  UUID: e6e6753a-11a7-41d3-b563-90e4a2e5606d
  name: ExtCP
  description: The AT&T Connection Point base type all other CP derive from
  model:
  category: Generic
  type: CP
  subcategory: Network Elements
  resourceVendor: ONAP (Tosca)
  resourceVendorRelease: 1.0.0.wd03
  reourceVendorModelNumber: ''
imports:
- nodes:
    file: nodes.yml
- datatypes:
    file: data.yml
- capabilities:
    file: capabilities.yml
- relationships:
    file: relationships.yml
- groups:
    file: groups.yml
- policies:
    file: policies.yml
node_types:
  org.openecomp.resource.cp.extCP:
    derived_from: tosca.nodes.Root
    description: The AT&T Connection Point base type all other CP derive from
    properties:
      ip_requirements:
        type: list
        description: identifies IP requirements to the CP
        required: true
        entry_schema:
          type: org.openecomp.datatypes.network.IpRequirements
      network_role:
        type: string
        description: identical to VL network_role
        required: true
      subnetpoolid:
        type: string
        required: false
      mac_requirements:
        default:
          mac_count_required:
            is_required: false
        type: org.openecomp.datatypes.network.MacRequirements
        description: identifies MAC address assignments to the CP
        required: false
      exCP_naming:
        default:
          ecomp_generated_naming: true
        type: org.openecomp.datatypes.Naming
        required: false
      vlan_requirements:
        type: list
        description: identifies vlan address assignments to the CP
        required: false
        entry_schema:
          type: org.openecomp.datatypes.network.VlanRequirements
      network_role_tag:
        type: string
        description: Must correlate to the set of defined network-role tag identifiers
          from the associated HEAT template
        required: true
    capabilities:
      internal_connectionPoint:
        type: tosca.capabilities.Node
        occurrences:
        - 0
        - UNBOUNDED
        valid_source_types:
        - tosca.nodes.network.Port
    requirements:
    - virtualBinding:
        occurrences:
        - 0
        - UNBOUNDED
        capability: tosca.capabilities.network.Bindable
        relationship: tosca.relationships.network.BindsTo
    - virtualLink:
        occurrences:
        - 0
        - UNBOUNDED
        capability: tosca.capabilities.network.Linkable
        relationship: tosca.relationships.network.LinksTo
    - external_virtualLink:
        occurrences:
        - 0
        - UNBOUNDED
        capability: tosca.capabilities.network.Linkable
        node: org.openecomp.resource.vl.VL
        relationship: tosca.relationships.network.LinksTo