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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user