summaryrefslogtreecommitdiffstats
path: root/test-apis-ci/src/test/resources/CI/tests/importToscaResourceByCreateUrl/DifferentReqCapFromCompute2.yml
blob: 7132ca493a3b85f85ad6e6b30ef8ae44e754092d (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
tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types: 
  org.openecomp.resource.MyCompute3:
    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]  
    capabilities:
      deff: 
        type: tosca.capabilities.Container