aboutsummaryrefslogtreecommitdiffstats
path: root/asdc-tests/src/test/resources/CI/importResource/port/normative-types-new-port.yml
blob: 7cd71360f2c75c674a4e8c755a7410f88c75ce06 (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
tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types: 
  org.openecomp.resource.cp.Port:
      derived_from: tosca.nodes.Root
      properties:
        ip_address:
          type: string
          required: false
        order:
          type: integer
          required: true
          default: 0 
          constraints:
            - greater_or_equal: 0
        is_default:
          type: boolean
          required: false
          default: false
        ip_range_start:
          type: string
          required: false
        ip_range_end:
          type: string
          required: false  
      requirements:
       - link: 
          capability: tosca.capabilities.network.Linkable
          relationship: tosca.relationships.network.LinksTo 
       - binding:
          capability: tosca.capabilities.network.Bindable
          relationship: tosca.relationships.network.BindsTo