[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-enrichment-lib / openecomp-sdc-enrichment-impl / src / test / resources / mock / toscaGlobalServiceTemplates / tosca / data.yml
1 tosca_definitions_version: tosca_simple_yaml_1_0
2 metadata:
3   filename: tosca/data.yml
4   version: '1.0'
5 imports:
6 - tosca_index:
7     file: _index.yml
8 data_types:
9   tosca.datatypes.Root:
10     description: The TOSCA root Data Type all other TOSCA base Data Types derive from
11   string:
12     derived_from: tosca.datatypes.Root
13   integer:
14     derived_from: tosca.datatypes.Root
15   boolean:
16     derived_from: tosca.datatypes.Root
17   float:
18     derived_from: tosca.datatypes.Root
19   range:
20     derived_from: tosca.datatypes.Root
21   list:
22     derived_from: tosca.datatypes.Root
23   map:
24     derived_from: tosca.datatypes.Root
25   timestamp:
26     derived_from: tosca.datatypes.Root
27   version:
28     derived_from: tosca.datatypes.Root
29   scalar-unit.size:
30     derived_from: tosca.datatypes.Root
31   scalar-unit.frequency:
32     derived_from: tosca.datatypes.Root
33   scalar-unit.time:
34     derived_from: tosca.datatypes.Root
35   tosca.datatypes.network.NetworkInfo:
36     derived_from: tosca.datatypes.Root
37     description: The Network type is a complex TOSCA data type used to describe logical network information.
38     properties:
39       network_name:
40         type: string
41         description: The name of the logical network. e.g., "public", "private", "admin". etc.
42         required: false
43         status: SUPPORTED
44       network_id:
45         type: string
46         description: The unique ID of for the network generated by the network provider.
47         required: false
48         status: SUPPORTED
49       addresses:
50         type: list
51         description: The list of IP addresses assigned from the underlying network.
52         required: false
53         status: SUPPORTED
54         entry_schema:
55           type: string
56   tosca.datatypes.TimeInterval:
57     derived_from: tosca.datatypes.Root
58     properties:
59       start_time:
60         type: timestamp
61         required: true
62         status: SUPPORTED
63       end_time:
64         type: timestamp
65         required: true
66         status: SUPPORTED
67   tosca.datatypes.network.PortSpec:
68     derived_from: tosca.datatypes.Root
69     description: The PortSpec type is a complex TOSCA data Type used when describing port specifications for a network connection.
70     properties:
71       protocol:
72         type: string
73         description: The required protocol used on the port.
74         required: true
75         default: tcp
76         status: SUPPORTED
77         constraints:
78         - valid_values:
79           - udp
80           - tcp
81           - igmp
82       source:
83         type: tosca.datatypes.network.PortDef
84         description: The optional source port.
85         required: false
86         status: SUPPORTED
87       source_range:
88         type: range
89         description: The optional range for source port.
90         required: false
91         status: SUPPORTED
92         constraints:
93         - in_range:
94           - 1
95           - 65535
96       target:
97         type: tosca.datatypes.network.PortDef
98         description: The optional target port.
99         required: false
100         status: SUPPORTED
101       target_range:
102         type: range
103         description: The optional range for target port.
104         required: false
105         status: SUPPORTED
106         constraints:
107         - in_range:
108           - 1
109           - 65535
110   tosca.datatypes.network.PortDef:
111     derived_from: integer
112     description: The PortDef type is a TOSCA data Type used to define a network port.
113     constraints:
114     - in_range:
115       - 1
116       - 65535
117   tosca.datatypes.network.PortInfo:
118     derived_from: tosca.datatypes.Root
119     description: The PortInfo type is a complex TOSCA data type used to describe network port information.
120     properties:
121       port_name:
122         type: string
123         description: The logical network port name.
124         required: false
125         status: SUPPORTED
126       port_id:
127         type: string
128         description: The unique ID for the network port generated by the network provider.
129         required: false
130         status: SUPPORTED
131       network_id:
132         type: string
133         description: The unique ID for the network.
134         required: false
135         status: SUPPORTED
136       mac_address:
137         type: string
138         description: The unique media access control address (MAC address) assigned to the port.
139         required: false
140         status: SUPPORTED
141       addresses:
142         type: list
143         description: The list of IP address(es) assigned to the port.
144         required: false
145         status: SUPPORTED
146         entry_schema:
147           type: string
148   tosca.datatypes.Credential:
149     derived_from: tosca.datatypes.Root
150     description: The Credential type is a complex TOSCA data Type used when describing authorization credentials used to access network accessible resources.
151     properties:
152       protocol:
153         type: string
154         description: The optional protocol name.
155         required: false
156         status: SUPPORTED
157       token_type:
158         type: string
159         description: The required token type.
160         required: true
161         default: password
162         status: SUPPORTED
163       token:
164         type: string
165         description: The required token used as a credential for authorization or access to a networked resource.
166         required: true
167         status: SUPPORTED
168       keys:
169         type: map
170         description: The optional list of protocol-specific keys or assertions.
171         required: false
172         status: SUPPORTED
173         entry_schema:
174           type: string
175       user:
176         type: string
177         description: The optional user (name or ID) used for non-token based credentials.
178         required: false
179         status: SUPPORTED