blob: 0fa9a302f2398106aa073aa606a5003f1055480b (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types:
org.openecomp.resource.MyComputeTest:
derived_from: tosca.nodes.Root
properties:
myProp:
type: tosca.datatypes.Credential
descritpion: hey Desc
default:
"protocol" : hey1
"token_type" : hey2
"token" : hey3
"keys" : {"keyA" : "val1" , keyB : val2}
"user" : hey4
attributes:
private_address:
type: string
status: supported
default: myDefault
public_address:
type: string
networks:
type: map
default: {keyA : val1 , keyB : val2}
entry_schema:
type: string
ports:
type: tosca.datatypes.Credential
description: this is my description
default:
"protocol" : hey1
"token_type" : hey2
"token" : hey3
"keys" : {"keyA" : "val1" , keyB : val2}
"user" : hey4
requirements:
- local_storage:
capability: tosca.capabilities.Attachment
node: tosca.nodes.BlockStorage
relationship: tosca.relationships.AttachesTo
occurrences: [0, UNBOUNDED]
capabilities:
host:
type: tosca.capabilities.Container
valid_source_types: [tosca.nodes.SoftwareComponent]
endpoint :
type: tosca.capabilities.Endpoint.Admin
os:
type: tosca.capabilities.OperatingSystem
scalable:
type: tosca.capabilities.Scalable
binding:
type: tosca.capabilities.network.Bindable
|