Worklow Operation output tosca
[sdc.git] / catalog-be / src / test / resources / normativeTypes / importToscaWithAttribute.yml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 node_types: 
3   org.openecomp.resource.MyComputeTest:
4     derived_from: tosca.nodes.Root
5     attributes:
6       private_address:
7         type: string
8         status: supported
9       public_address:
10         type: string
11       networks:
12         type: map
13         entry_schema:
14           type: tosca.datatypes.network.NetworkInfo
15       myAttr:
16         type: list
17         description: this is my description
18         entry_schema:
19           type: string
20       ports:
21         type: map
22         entry_schema:
23           type: tosca.datatypes.network.PortInfo
24     requirements:
25       - local_storage: 
26           capability: tosca.capabilities.Attachment
27           node: tosca.nodes.BlockStorage
28           relationship: tosca.relationships.AttachesTo
29           occurrences: [0, UNBOUNDED]  
30     capabilities:
31       host: 
32         type: tosca.capabilities.Container
33         valid_source_types: [tosca.nodes.SoftwareComponent] 
34       endpoint :
35         type: tosca.capabilities.Endpoint.Admin 
36       os: 
37         type: tosca.capabilities.OperatingSystem
38       scalable:
39         type: tosca.capabilities.Scalable
40       binding:
41         type: tosca.capabilities.network.Bindable