aboutsummaryrefslogtreecommitdiffstats
path: root/asdc-tests/src/test/resources/CI/tests/importToscaResourceByCreateUrl/DifferentReqCapFromCompute1.yml
blob: c72d0ee62a82b39f2f54660b9c95e9805f98d373 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types: 
  org.openecomp.resource.MyCompute2:
    derived_from: org.openecomp.resource.MyCompute1
    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:
      - diff: 
          capability: tosca.capabilities.Container
          relationship: tosca.relationships.AttachesTo
          occurrences: [0, UNBOUNDED]