Requirements
Requirements let you define how nodes relate to one another. For example, a web_server
node can be contained_in
a VM node or an application node can be connected_to
a database node.
Declaration
<requirement_definition_name>:
capability: <capability_type_name>
node: <node_type_name>
relationship: <relationship_type or template name or inline relationship template>
occurrences: [ <min_occurrences>, <max_occurrences> ]
node_filter: <node_filter>
See also
For more information, refer to TOSCA Requirement Section