summaryrefslogtreecommitdiffstats
path: root/tosca2heat/tosca-parser/toscaparser/tests/data/custom_types/compute_with_nested_atributes.yaml
blob: f23a8a164fe3f6b6b1547be117690e302d1d15e3 (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

description: Compute node type with capability with an atribute of type list

capability_types:

  tosca.capabilities.indigo.Endpoint:
    derived_from: tosca.capabilities.Endpoint
    attributes:
      credential:
        type: list
        entry_schema:
          type: tosca.datatypes.Credential

node_types:

  tosca.nodes.ComputeWithCapWithAttr:
    derived_from: tosca.nodes.Compute
    capabilities:
      endpoint:
        type: tosca.capabilities.indigo.Endpoint