aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/devicemanager-onap/onf14/provider/src/test/resources/currentRevision/cera-microwave-model@2022-10-10.yang
blob: ca7c349d2c8deb37520b854978bb9e67f6ead459 (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
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
module cera-microwave-model {
  yang-version 1.1;
  namespace "urn:onf:params:xml:ns:yang:cera-microwave-model";
  prefix cera-microwave-model;

  import core-model-1-4 {
    prefix core-model;
  }
  import air-interface-2-0 {
    prefix air-interface;
  }
  import wire-interface-2-0 {
    prefix wire-interface;
  }
  import ethernet-container-2-0 {
    prefix ethernet-container;
  }
  import alarms-1-0 {
    prefix alarms;
  }

  organization
    "Ceragon Networks";
  contact
    "
     Editors:  Alex Stancu
               <mailto:alexandrus@ceragon.com>
               Dragos Dosan
               <mailto:dragosd@ceragon.com>
               Dragos Dan (Software Developer)
               <mailto:ddan@ddan.io>
     ";
  description
    "This model contains a collection of YANG definitions for managing Ceragon wireless network equipment.";

  revision 2022-10-10 {
    description
      "Add new Ceragon augmentations to the ONF YANG models.";
    reference
      "";
  }
  revision 2022-06-22 {
    description
      "Adapt PMs to the new ONF modules";
    reference
      "";
  }
  revision 2019-08-07 {
    description
      "New leaf in container-performance-type-xcrg-g was added: radio-ethernet-capacity-pm-peak";
    reference
      "";
  }
  revision 2019-01-23 {
    description
      "Initial version";
    reference
      "";
  }

  grouping air-interface-performance-type-xcrg-g {
    description
      "Performance Monitoring interface attributes";
    leaf rf-pm-tx-level-thresh1-exceeded {
      type int32;
      units "seconds";
      config false;
      description
        "The number of seconds in the interval that the TSL (Transmit Signal Level) exceeded threshold";
    }
    leaf rf-pm-rx-level-thresh1-exceeded {
      type int32;
      units "seconds";
      config false;
      description
        "The number of seconds in the interval that the RSL (Received Signal Level) exceeded threshold1";
    }
    leaf rf-pm-rx-level-thresh2-exceeded {
      type int32;
      units "seconds";
      config false;
      description
        "The number of seconds in the interval that the RSL (Received Signal Level) exceeded threshold2";
    }
    leaf modem-ber-pm-bbe {
      type int32;
      config false;
      description
        "This value indicates the BBE value (Background Block Error).";
    }
    leaf modem-mse-pm-mse-min {
      type int32;
      units "dB";
      default "0";
      config false;
      description
        "This parameter holds the minimum MSE value that is measured in the interval";
    }
    leaf modem-mse-pm-mse-max {
      type int32;
      units "dB";
      default "-99";
      config false;
      description
        "This parameter holds the maximum  MSE value that is measured in the interval";
    }
    leaf modem-mse-pm-above-mse-threshold-sec-counter {
      type int32;
      units "seconds";
      config false;
      description
        "This parameter holds the number of seconds that the MSE exceeded the configured threshold.";
    }
    leaf modem-xpi-pm-xpi-min {
      type int32;
      units "dB";
      default "99";
      config false;
      description
        "This parameter holds the minimum XPI value detected in the interval";
    }
    leaf modem-xpi-pm-xpi-max {
      type int32;
      units "dB";
      default "0";
      config false;
      description
        "This parameter holds the maximum XPI value detected in the interval";
    }
    leaf modem-xpi-pm-below-xpi-threshold-sec-counter {
      type int32;
      units "seconds";
      config false;
      description
        "This parameter holds the number of seconds in the interval that the XPI value was below the configured threshold";
    }
    leaf mrmc-acm-pm-min-profile {
      type uint32;
      default "0";
      config false;
      description
        "The minimum profile that was measured during the interval";
    }
    leaf mrmc-acm-pm-max-profile {
      type uint32;
      default "0";
      config false;
      description
        "The maximum profile that was measured during the interval";
    }
    leaf mrmc-acm-pm-min-bitrate {
      type uint32;
      units "Mbps";
      default "0";
      config false;
      description
        "The minimum bitrate that was measured during the interval";
    }
    leaf mrmc-acm-pm-max-bitrate {
      type uint32;
      units "Mbps";
      default "0";
      config false;
      description
        "The maximum bitrate that was measured during the interva";
    }
  }

  grouping container-performance-type-xcrg-g {
    description
      "Performance Monitoring containertes";
    leaf radio-ethernet-capacity-pm-peak {
      type uint32;
      units "Mbps";
      default "0";
      config false;
      description
        "Peak radio Ethernet capacity in the PM time interval";
    }
    leaf radio-ethernet-capacity-pm-average {
      type uint32;
      units "Mbps";
      default "0";
      config false;
      description
        "Average radio Ethernet capacity in the PM time interval";
    }
    leaf radio-ethernet-capacity-pm-over-threshold {
      type uint32;
      units "seconds";
      default "0";
      config false;
      description
        "Number of seconds in the PM time interval that exceede radio capacity threshold";
    }
    leaf radio-ethernet-throughput-pm-peak {
      type uint32;
      units "Mbps";
      default "0";
      config false;
      description
        "Peak radio throughput in the PM time interval";
    }
    leaf radio-ethernet-throughput-pm-average {
      type uint32;
      units "Mbps";
      default "0";
      config false;
      description
        "Average radio Ethernet throughput in the PM time interval";
    }
    leaf radio-ethernet-throughput-pm-over-threshold {
      type uint32;
      units "seconds";
      default "0";
      config false;
      description
        "Number of seconds in the PM time interval that exceede radio throughput threshold";
    }
    leaf radio-ethernet-utilization-pm-peak-utilization {
      type uint32;
      units "%";
      default "0";
      config false;
      description
        "Peak radio utilization in the PM time interval";
    }
    leaf radio-ethernet-utilization-pm-average-utilization {
      type uint32;
      units "%";
      default "0";
      config false;
      description
        "Average radio utilization in the PM time interval";
    }
    leaf radio-ethernet-utilization-pm-over-threshold-utilization {
      type uint32;
      units "seconds";
      default "0";
      config false;
      description
        "Number of seconds in the PM time interval that exceede radio utilization threshold";
    }
  }

  grouping transmission-mode-g {
    leaf mrmc-profile-attribute-tx-bitrate {
      type uint32;
      units "Kbps";
      default "0";
      config false;
      description
        "Indicates the TX bit-rate of the profile";
    }
  }

  grouping wire-interface-status-g {
    leaf local-end-point-id {
      type string;
      default "not-supported";
      config false;
      description
        "The value of the localEndPointId is a vendor specific identifier of the wire interface, used by the node to discover a link.";
    }
    leaf remote-end-point-id {
      type string;
      default "not-supported";
      config false;
      description
        "The value of the remoteEndPointId is a vendor specific identifier of the wire interface at the remote side, used to by the node to discover a link.";
    }
  }

  grouping alarm-event-notification-extra-g {
    description
      "Extra information to be provided in the notifications.";
    leaf is-clearable {
      type boolean;
      default "false";
      config false;
      description
        "True if the alarm/event represents a condition that can be cleared at a later time (or is itself a clear); false otherwise.";
    }
  }

  grouping alarm-extra-g {
    description
      "Extra information to be provided in the alarms and notifications.";
    leaf resource-ifindex {
      type string;
      config false;
      description
        "The ifindex of the generating entity.";
    }
  }

  grouping alarm-event-records-extra-g {
    description
      "Extra information to be provided in the alarms and notifications.";
    leaf alarm-services-sequence-count {
      type uint32;
      config false;
      description
        "Event log last change sequence count.";
    }
  }

  augment "/core-model:control-construct/core-model:logical-termination-point/core-model:layer-protocol/air-interface:air-interface-pac/air-interface:air-interface-current-performance/air-interface:current-performance-data-list/air-interface:performance-data" {
    description
      "Ceragon air interface augmentation";
    uses air-interface-performance-type-xcrg-g;
  }
  augment "/core-model:control-construct/core-model:logical-termination-point/core-model:layer-protocol/air-interface:air-interface-pac/air-interface:air-interface-historical-performances/air-interface:historical-performance-data-list/air-interface:performance-data" {
    description
      "Ceragon air interface augmentation";
    uses air-interface-performance-type-xcrg-g;
  }
  augment "/core-model:control-construct/core-model:logical-termination-point/core-model:layer-protocol/ethernet-container:ethernet-container-pac/ethernet-container:ethernet-container-current-performance/ethernet-container:current-performance-data-list/ethernet-container:performance-data" {
    description
      "Ceragon air interface augmentation";
    uses container-performance-type-xcrg-g;
  }
  augment "/core-model:control-construct/core-model:logical-termination-point/core-model:layer-protocol/ethernet-container:ethernet-container-pac/ethernet-container:ethernet-container-historical-performances/ethernet-container:historical-performance-data-list/ethernet-container:performance-data" {
    description
      "Ceragon air interface augmentation";
    uses container-performance-type-xcrg-g;
  }
  augment "/core-model:control-construct/core-model:logical-termination-point/core-model:layer-protocol/air-interface:air-interface-pac/air-interface:air-interface-capability/air-interface:transmission-mode-list" {
    description
      "Ceragon transmission mode list augmentations";
    uses transmission-mode-g;
  }
  augment "/core-model:control-construct/core-model:logical-termination-point/core-model:layer-protocol/wire-interface:wire-interface-pac/wire-interface:wire-interface-status" {
    description
      "Ceragon wire interface status augmentations";
    uses wire-interface-status-g;
  }
  augment "/alarms:alarm-event-notification" {
    description
      "Ceragon alarm event notification augmentations";
    uses alarm-event-notification-extra-g;
    uses alarm-extra-g;
  }
  augment "/core-model:control-construct/alarms:alarm-pac/alarms:current-alarms/alarms:current-alarm-list" {
    description
      "Ceragon alarm augmentations";
    uses alarm-extra-g;
  }
  augment "/core-model:control-construct/alarms:alarm-pac/alarms:alarm-event-records" {
    description
      "Ceragon events augmentations";
    uses alarm-event-records-extra-g;
  }

  rpc get-uuid {
    description
      "This RPC is used to retrieve the yang UUID value.";

    input {
      leaf ifindex {
        type uint32;
        description
          "The ifindex of an interface.";
      }
      leaf uuid-type {
        type enumeration {
          enum "device";
          enum "card";
          enum "radio-unit";
          enum "sfp";
          enum "air-interface-ltp";
          enum "pure-ethernet-ltp";
          enum "wire-interface-ltp";
          enum "abc-profile";
          enum "linkbonding-profile";
          enum "radioprotection-profile";
          enum "lag-profile";
          enum "co-channel-profile";
          enum "advancedradio-profile";
        }
        mandatory true;
        description
          "The type of the UUID to be retrieved.";
      }
    }
    output {
      leaf uuid {
        type string;
        description
          "The yang UUID value.";
      }
    }
  }
}