Correct the node_with_cap.yaml file.

Add the capability_types section to put the tosca.capabilities.SomeCap inside it.

Change-Id: I812a9cf0586ab8f5e661c57d31243266f763379d
This commit is contained in:
Miguel Caballer
2016-07-07 09:38:17 +02:00
parent 54c1b00149
commit cf4f9e183f

View File

@@ -3,7 +3,8 @@ tosca_definitions_version: tosca_simple_yaml_1_0
description: >
Node type that has a requirement of a capability with a defined value
node_types:
capability_types:
tosca.capabilities.SomeCap:
derived_from: tosca.capabilities.Root
properties:
@@ -14,6 +15,8 @@ node_types:
constraints:
- equal: someval
node_types:
tosca.nodes.SomeNode:
derived_from: tosca.nodes.Root
requirements: