blob: b17513fdea2cec8f6ed53d8c6c8b5404212d4858 (
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
32
33
|
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
Node type that has a requirement of a capability with a defined value
capability_types:
tosca.capabilities.SomeCap:
derived_from: tosca.capabilities.Root
properties:
type:
type: string
required: true
default: someval
constraints:
- equal: someval
node_types:
tosca.nodes.SomeNode:
derived_from: tosca.nodes.Root
requirements:
- some_req:
capability: tosca.capabilities.SomeCap
node: tosca.nodes.NodeWithCap
relationship: tosca.relationships.HostedOn
tosca.nodes.NodeWithCap:
derived_from: tosca.nodes.Root
capabilities:
some_req:
type: tosca.capabilities.SomeCap
|