blob: 44c99b10eb83f90eb80d7c14b8fe656815c89fd7 (
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
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
|
module onf-core-model-conditional-packages {
namespace "urn:onf:params:xml:ns:yang:onf-core-model-conditional-packages";
prefix onf-core-model-conditional-packages;
import core-model {
prefix core-model;
}
import microwave-model {
prefix microwave-model;
}
organization "ONF (Open Networking Foundation) Open Transport Working Group - Wireless Transport Project";
contact "WG Web: <https://www.opennetworking.org/technical-communities/areas/specification/1931-optical-transport>
WG List: <mailto:wireless-transport@login.opennetworking.org>
WG Chair: Lyndon Ong
<mailto:lyong@ciena.com>
WG Chair: Giorgio Cazzaniga
<mailto:giorgio.cazzaniga@sm-optics.com>
Editors: Thorsten Heinze
<mailto:thorsten.heinze@telefonica.com>
Martin Skorupski
<mailto:martin.skorupski@highstreet-technologies.com>";
description "This model adds conditional packages to the ONF CoreModel in order to support fault management for object classes NetworkElement, Equipment and Holder.";
revision 2017-04-02 {
description "Initial version";
reference "ONF TR 532: A YANG Data Model for Wireless Networks.";
}
/***********************
* package type-definitions
**********************/
grouping current-problem-type-g {
leaf problem-name {
type string;
default "not-specified";
config false;
description "Name of the alarm according capability::supportedAlarms.";
}
uses microwave-model:mw-current-problem-g;
description "none";
}
grouping network-element-current-problem-type-g {
leaf problem-name {
type string;
default "not-specified";
config false;
description "Name of the alarm according capability::supportedAlarms.";
}
leaf object-reference {
type string;
config false;
description "An explaining string of the related object class. This is necesseary, because the current problem list of the NetworkElement object class acts as a container for all alarms, where its object classes are not modeled.";
}
uses microwave-model:mw-current-problem-g;
description "none";
}
grouping problem-severity-type-g {
leaf problem-type-name {
type string;
description "Name of the alarm according to Capability::supportedAlarms";
}
leaf problem-type-severity {
type microwave-model:severity-type;
description "Severity of this type of alarm.";
}
description "none";
}
typedef processing-type {
type enumeration {
enum done {
description "none";
}
enum processing {
description "none";
}
}
description "none";
}
/***********************
* package object-classes
**********************/
/***********************
* package network-element
**********************/
container network-element-pac {
leaf network-element {
type leafref {
path '/core-model:network-element/core-model:uuid';
}
description "none";
}
container network-element-capability {
config false;
uses network-element-capability-g;
description "none";
}
container network-element-configuration {
uses network-element-configuration-g;
description "none";
}
container network-element-status {
config false;
uses network-element-status-g;
description "none";
}
container network-element-current-problems {
config false;
uses network-element-current-problems-g;
description "none";
}
description "none";
}
grouping network-element-capability-g {
leaf-list supported-alarms {
type string;
config false;
description "none";
}
description "none";
}
grouping network-element-configuration-g {
list problem-type-severity-list {
key 'problem-type-name';
uses problem-severity-type-g;
description "Severity of the problem to be configured.";
}
leaf trigger-refresh {
type boolean;
description "A trigger to instruct the netconf server to refresh its internal database/cache.
It is primary used for alarms status, but could be used for anything else too.
It is assumed that the refresh mechanism takes some time.
In order to indicate the process to the controller a refreshStatus attribute is used.";
}
description "none";
}
grouping network-element-status-g {
leaf refresh-status {
type processing-type;
config false;
description "none";
}
description "none";
}
grouping network-element-current-problems-g {
list current-problem-list {
key 'sequence-number';
config false;
uses network-element-current-problem-type-g;
description "none";
}
description "none";
}
/***********************
* package equipment
**********************/
list equipment-pac {
key 'equipment';
leaf equipment {
type leafref {
path '/core-model:equipment/core-model:uuid';
}
description "none";
}
container equipment-capability {
config false;
uses equipment-capability-g;
description "none";
}
container equipment-configuration {
uses equipment-configuration-g;
description "none";
}
container equipment-status {
config false;
uses equipment-status-g;
description "none";
}
container equipment-current-problems {
config false;
uses equipment-current-problems-g;
description "none";
}
description "none";
}
grouping equipment-capability-g {
leaf-list supported-alarms {
type string;
config false;
description "Available alarms to be listed. Names are to be separated by commas.";
}
description "none";
}
grouping equipment-configuration-g {
list problem-type-severity-list {
key 'problem-type-name';
uses problem-severity-type-g;
description "Severity of the problem to be configured.";
}
description "none";
}
grouping equipment-status-g {
description "none";
}
grouping equipment-current-problems-g {
list current-problem-list {
key 'sequence-number';
config false;
uses current-problem-type-g;
description "none";
}
description "none";
}
/***********************
* package holder
**********************/
list holder-pac {
key 'holder';
leaf holder {
type leafref {
path '/core-model:equipment/core-model:contained-holder/core-model:uuid';
}
description "none";
}
container holder-capability {
config false;
uses holder-capability-g;
description "none";
}
container holder-configuration {
uses holder-configuration-g;
description "none";
}
container holder-status {
config false;
uses holder-status-g;
description "none";
}
container holder-current-problems {
config false;
uses holder-current-problems-g;
description "none";
}
description "none";
}
grouping holder-capability-g {
leaf-list supported-alarms {
type string;
config false;
description "Available alarms to be listed. Names are to be separated by commas.";
}
description "none";
}
grouping holder-configuration-g {
list problem-type-severity-list {
key 'problem-type-name';
uses problem-severity-type-g;
description "Severity of the problem to be configured.";
}
description "none";
}
grouping holder-status-g {
description "none";
}
grouping holder-current-problems-g {
list current-problem-list {
key 'sequence-number';
config false;
uses current-problem-type-g;
description "none";
}
description "none";
}
/***********************
* package connector
**********************/
list connector-pac {
key 'connector';
leaf connector {
type leafref {
path '/core-model:equipment/core-model:exposed-cable/core-model:connector/core-model:uuid';
}
description "none";
}
container connector-capability {
config false;
uses connector-capability-g;
description "none";
}
container connector-configuration {
uses connector-configuration-g;
description "none";
}
container connector-status {
config false;
uses connector-status-g;
description "none";
}
container connector-current-problems {
config false;
uses connector-current-problems-g;
description "none";
}
description "none";
}
grouping connector-capability-g {
leaf-list supported-alarms {
type string;
config false;
description "Available alarms to be listed. Names are to be separated by commas.";
}
description "none";
}
grouping connector-configuration-g {
list problem-type-severity-list {
key 'problem-type-name';
uses problem-severity-type-g;
description "Severity of the problem to be configured.";
}
leaf remote-end-point {
type string;
description "A network wide identifier of the remote connector. The value is used for topology discovery.
Please see also ConnectorStatus::localEndPoint.";
}
description "none";
}
grouping connector-status-g {
leaf local-end-point {
type string;
description "A network wide global identifier of the this connector, which can be used to discover the physical connectivitiy.
The value should contain the network element name, because the network element software can assume that the network element name is unique in the network.
The value should be formated:
<connector:uuid>@<network-element-name>
Please see also ConnectorConfiguration::remoteEndPoint";
}
description "none";
}
grouping connector-current-problems-g {
list current-problem-list {
key 'sequence-number';
config false;
uses current-problem-type-g;
description "none";
}
description "none";
}
}
|