forked from oasis-open/tosca-community-contributions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
data.yaml
115 lines (105 loc) · 2.85 KB
/
data.yaml
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
tosca_definitions_version: tosca_simple_yaml_1_0
namespace: http://docs.oasis-open.org/tosca/ns/simple/yaml/1.0
metadata:
template_name: tosca-normative-data-types
template_author: TOSCA TC
template_version: 1.0.0
description: >-
This TOSCA definitions document contains the TOSCA Simple Profile
data types as defined in the TOSCA Simple Profile for YAML v1.0
specification.
data_types:
tosca.datatypes.Root:
description: >-
The TOSCA root Data Type all other TOSCA base Data Types derive
from.
tosca.datatypes.Credential:
derived_from: tosca.datatypes.Root
description: >-
The Credential type is a complex TOSCA data Type used when
describing authorization credentials used to access network
accessible resources.
properties:
protocol:
type: string
description: >-
The optional protocol name.
required: false
token_type:
type: string
description: >-
The required token type.
default: password
token:
type: string
description: >-
The required token used as a credential for authorization or
access to a networked resource.
keys:
type: map
description: >-
The optional list of protocol-specific keys or assertions.
required: false
entry_schema:
type: string
user:
type: string
description: >-
The optional user (name or ID) used for non-token based
credentials.
required: false
tosca.datatypes.network.NetworkInfo:
derived_from: tosca.datatypes.Root
properties:
network_name:
type: string
network_id:
type: string
addresses:
type: list
entry_schema:
type: string
tosca.datatypes.network.PortInfo:
derived_from: tosca.datatypes.Root
properties:
port_name:
type: string
port_id:
type: string
network_id:
type: string
mac_address:
type: string
addresses:
type: list
entry_schema:
type: string
tosca.datatypes.network.PortDef:
derived_from: integer
constraints:
- in_range: [ 1, 65535 ]
tosca.datatypes.network.PortSpec:
derived_from: tosca.datatypes.Root
properties:
protocol:
type: string
required: true
default: tcp
constraints:
- valid_values: [ udp, tcp, igmp ]
target:
type: tosca.datatypes.network.PortDef
required: false
target_range:
type: range
required: false
constraints:
- in_range: [ 1, 65535 ]
source:
type: tosca.datatypes.network.PortDef
required: false
source_range:
type: range
required: false
constraints:
- in_range: [ 1, 65535 ]