summaryrefslogtreecommitdiffstats
path: root/integration-tests/src/test/resources/ci/tests/importToscaResourceByCreateUrl/SameReqAsCompute.yml
blob: 9d8b2d83759b6e600bd9c1418d13e9d4a46fb113 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types:
  org.openecomp.resource.MyCompute1:
        derived_from: tosca.nodes.Compute
        attributes:
          private_address:
            type: string
          public_address:
            type: string
          networks:
            type: map
            entry_schema:
              type: tosca.datatypes.network.NetworkInfo
          ports:
            type: map
            entry_schema:
              type: tosca.datatypes.network.PortInfo
        requirements:
          - LOCAL_STORAGE: 
              capability: tosca.capabilities.Attachment
              node: tosca.nodes.BlockStorage
              relationship: tosca.relationships.AttachesTo
              occurrences: [0, 1]