blob: 7e5e4075a2934759153575e0013da537d8915c4f [file] [log] [blame]
hirokid8fd7862018-10-09 15:24:24 +09001module tapi-eth {
2 namespace "urn:onf:otcc:yang:tapi-eth";
3 prefix tapi-eth;
4 import tapi-common {
5 prefix tapi-common;
6 }
7 import tapi-topology {
8 prefix tapi-topology;
9 }
10 import tapi-connectivity {
11 prefix tapi-connectivity;
12 }
13 import tapi-oam {
14 prefix tapi-oam;
15 }
16 organization "ONF OTCC (Open Transport Configuration & Control) Project";
17 contact "
18 Project Web: <https://wiki.opennetworking.org/display/OTCC/TAPI>
19 Project List: <mailto:transport-api@opennetworking.org>
20 Editor: Karthik Sethuraman
21 <mailto:karthik.sethuraman@necam.com>";
22 description "This module contains TAPI ETH Model definitions.
23 Source: TapiEth.uml
24 Copyright (c) 2018 Open Networking Foundation (ONF). All rights reserved.
25 License: This module is distributed under the Apache License 2.0";
26 revision 2018-10-16 {
27 description "ONF Transport API version 2.1.0.
28 - The TAPI YANG models included in this TAPI release (v2.1.0) are a *normative* part of the TAPI SDK.
29 - The YANG specifications have been generated from the corresponding UML model using the [ONF EAGLE UML2YANG mapping tool]
30 <https://github.com/OpenNetworkingFoundation/EagleUmlYang>
31 and further edited manually to comply with the [ONF IISOMI UML2YANG mapping guidelines]
32 <https://wiki.opennetworking.org/display/OIMT/UML+-+YANG+Guidelines>
33 - Status of YANG model artifacts can be determined by referring to the corresponding UML artifacts.
34 As described in the UML models, some artifacts are considered *experimental*, and thus the corresponding YANG artifacts.
35 - The ONF TAPI release process does not guarantee backward compatibility of YANG models across major versions of TAPI releases.
36 The YANG model backward compatibility criteria are outlined in section 11 of <https://tools.ietf.org/html/rfc7950>.
37 YANG models included in this release are not backward compatible with previous TAPI releases.
38 - Changes included in this TAPI release (v2.1.0) are listed in
39 <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.0.md>";
40 reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 7950, RFC 6087 and ONF TAPI UML model
41 <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";
42 }
43 revision 2018-03-07 {
44 description "ONF Transport API version 2.0.2
45 This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
46 Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.2.md>";
47 reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
48 <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.2/UML>";
49 }
50 revision 2018-02-16 {
51 description "ONF Transport API version 2.0.1
52 This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
53 Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.1.md>";
54 reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
55 <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.1/UML>";
56 }
57 revision 2018-01-02 {
58 description "ONF Transport API version 2.0.0
59 This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
60 Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.0.md>";
61 reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
62 <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.0/UML>";
63 }
64 augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:cep-list/tapi-connectivity:connection-end-point" {
65 container eth-connection-end-point-spec {
66 uses eth-connection-end-point-spec;
67 description "Augments the base LayerProtocol information in ConnectionEndPoint with ETH-specific information";
68 }
69 description "Augments the base LayerProtocol information in ConnectionEndPoint with ETH-specific information";
70 }
71 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job" {
72 container eth-loopback-job {
73 uses eth-loopback-job;
74 description "none";
75 }
76 description "none";
77 }
78 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:meg" {
79 container eth-meg-spec {
80 uses eth-meg-spec;
81 description "none";
82 }
83 description "none";
84 }
85 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:meg/tapi-oam:mep" {
86 container eth-mep-spec {
87 uses eth-mep-spec;
88 description "none";
89 }
90 description "none";
91 }
92 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:meg/tapi-oam:mip" {
93 container eth-mip-spec {
94 uses eth-mip-spec;
95 description "none";
96 }
97 description "none";
98 }
99 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job" {
100 container eth-pro-active-2way-measurement-job {
101 uses eth-pro-active-2way-measurement-job;
102 description "none";
103 }
104 description "none";
105 }
106 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job" {
107 container eth-link-trace-job {
108 uses eth-link-trace-job;
109 description "none";
110 }
111 description "none";
112 }
113 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job" {
114 container eth-test-job {
115 uses eth-test-job;
116 description "none";
117 }
118 description "none";
119 }
120 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job" {
121 container eth-pro-active-1way-measurement-job {
122 uses eth-pro-active-1way-measurement-job;
123 description "none";
124 }
125 description "none";
126 }
127 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
128 container eth-pro-active-dm-performance-data {
129 uses eth-pro-active-dm-performance-data;
130 description "none";
131 }
132 description "none";
133 }
134 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data/tapi-oam:pm-history-data" {
135 container eth-pro-active-dm-performance-data {
136 uses eth-pro-active-dm-performance-data;
137 description "none";
138 }
139 description "none";
140 }
141 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
142 container eth-pro-active-lm-performance-data {
143 uses eth-pro-active-lm-performance-data;
144 description "none";
145 }
146 description "none";
147 }
148 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data/tapi-oam:pm-history-data" {
149 container eth-pro-active-lm-performance-data {
150 uses eth-pro-active-lm-performance-data;
151 description "none";
152 }
153 description "none";
154 }
155 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
156 container eth-on-demand-dm-performance-data {
157 uses eth-on-demand-dm-performance-data;
158 description "none";
159 }
160 description "none";
161 }
162 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
163 container eth-on-demand-1-lm-performance-data {
164 uses eth-on-demand-1-lm-performance-data;
165 description "none";
166 }
167 description "none";
168 }
169 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
170 container eth-on-demand-1-dm-performance-data {
171 uses eth-on-demand-1-dm-performance-data;
172 description "none";
173 }
174 description "none";
175 }
176 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
177 container eth-pro-active-1-dm-performance-data {
178 uses eth-pro-active-1-dm-performance-data;
179 description "none";
180 }
181 description "none";
182 }
183 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data/tapi-oam:pm-history-data" {
184 container eth-pro-active-1-dm-performance-data {
185 uses eth-pro-active-1-dm-performance-data;
186 description "none";
187 }
188 description "none";
189 }
190 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
191 container eth-pro-active-1-lm-performance-data {
192 uses eth-pro-active-1-lm-performance-data;
193 description "none";
194 }
195 description "none";
196 }
197 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data/tapi-oam:pm-history-data" {
198 container eth-pro-active-1-lm-performance-data {
199 uses eth-pro-active-1-lm-performance-data;
200 description "none";
201 }
202 description "none";
203 }
204 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job" {
205 container eth-on-demand-1way-measurement-job {
206 uses eth-on-demand-1way-measurement-job;
207 description "none";
208 }
209 description "none";
210 }
211 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job" {
212 container eth-on-demand-2way-measurement-job {
213 uses eth-on-demand-2way-measurement-job;
214 description "none";
215 }
216 description "none";
217 }
218 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data/tapi-oam:pm-history-data" {
219 container eth-on-demand-1-dm-performance-data {
220 uses eth-on-demand-1-dm-performance-data;
221 description "none";
222 }
223 description "none";
224 }
225 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data/tapi-oam:pm-history-data" {
226 container eth-on-demand-1-lm-performance-data {
227 uses eth-on-demand-1-lm-performance-data;
228 description "none";
229 }
230 description "none";
231 }
232 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data/tapi-oam:pm-history-data" {
233 container eth-on-demand-dm-performance-data {
234 uses eth-on-demand-dm-performance-data;
235 description "none";
236 }
237 description "none";
238 }
239 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
240 container eth-on-demand-lm-performance-data {
241 uses eth-on-demand-lm-performance-data;
242 description "none";
243 }
244 description "none";
245 }
246 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data/tapi-oam:pm-history-data" {
247 container eth-on-demand-lm-performance-data {
248 uses eth-on-demand-lm-performance-data;
249 description "none";
250 }
251 description "none";
252 }
253 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-profile/tapi-oam:pm-threshold-data" {
254 container eth-1-dm-threshold-data {
255 uses eth-1-dm-threshold-data;
256 description "none";
257 }
258 description "none";
259 }
260 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-profile/tapi-oam:pm-threshold-data" {
261 container eth-1-lm-threshold-data {
262 uses eth-1-lm-threshold-data;
263 description "none";
264 }
265 description "none";
266 }
267 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-profile/tapi-oam:pm-threshold-data" {
268 container eth-dm-threshold-data {
269 uses eth-dm-threshold-data;
270 description "none";
271 }
272 description "none";
273 }
274 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-profile/tapi-oam:pm-threshold-data" {
275 container eth-lm-threshold-data {
276 uses eth-lm-threshold-data;
277 description "none";
278 }
279 description "none";
280 }
281 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
282 container eth-link-trace-result-data {
283 uses eth-link-trace-result-data;
284 description "none";
285 }
286 description "none";
287 }
288 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
289 container eth-test-result-data {
290 uses eth-test-result-data;
291 description "none";
292 }
293 description "none";
294 }
295 augment "/tapi-common:context/tapi-oam:oam-context/tapi-oam:oam-job/tapi-oam:pm-current-data" {
296 container eth-loopback-result-data {
297 uses eth-loopback-result-data;
298 description "none";
299 }
300 description "none";
301 }
302 /***********************
303 * package object-classes
304 **********************/
305 grouping eth-ctp-pac {
306 leaf-list auxiliary-function-position-sequence {
307 type uint64;
308 description "This attribute indicates the positions (i.e., the relative order) of all the MEP, MIP, and TCS objects which are associated with the CTP.";
309 }
310 leaf vlan-config {
311 type uint64;
312 description "This attribute models the ETHx/ETH-m_A_So_MI_Vlan_Config information defined in G.8021.
313 range of type : -1, 0, 1..4094";
314 }
315 leaf csf-rdi-fdi-enable {
316 type boolean;
317 description "This attribute models the MI_CSFrdifdiEnable information defined in G.8021.";
318 }
319 leaf csf-report {
320 type boolean;
321 description "This attribute models the MI_CSF_Reported information defined in G.8021.
322 range of type : true, false";
323 }
324 leaf-list filter-config-snk {
325 type mac-address;
326 description "This attribute models the FilteConfig MI defined in 8.3/G.8021. It indicates the configured filter action for each of the 33 group MAC addresses for control frames. The 33 MAC addresses are:
327 01-80-C2-00-00-10,
328 01-80-C2-00-00-00 to 01-80-C2-00-00-0F, and
329 01-80-C2-00-00-20 to 01-80-C2-00-00-2F.
330 The filter action is Pass or Block.
331 If the destination address of the incoming ETH_CI_D matches one of the above addresses, the filter process shall perform the corresponding configured filter action.
332 If none of the above addresses match, the ETH_CI_D is passed.";
333 }
334 leaf mac-length {
335 type uint64;
336 default "2000";
337 description "This attribute models the MAC_Lenght MI defined in 8.6/G.8021 for the MAC Length Check process. It indicates the allowed maximum frame length in bytes.
338 range of type : 1518, 1522, 2000";
339 }
340 container filter-config {
341 uses control-frame-filter;
342 description "This attribute models the FilterConfig MI defined in section 8.3/G.8021. It indicates the configured filter action for each of the 33 group MAC addresses for control frames. The 33 MAC addresses are:
343 - All bridges address: 01-80-C2-00-00-10,
344 - Reserved addresses: 01-80-C2-00-00-00 to 01-80-C2-00-00-0F,
345 - GARP Application addresses: 01-80-C2-00-00-20 to 01-80-C2-00-00-2F.
346 The filter action is Pass or Block.
347 If the destination address of the incoming ETH_CI_D matches one of the above addresses, the filter process shall perform the corresponding configured filter action.
348 If none of the above addresses match, the ETH_CI_D is passed.";
349 }
350 leaf is-ssf-reported {
351 type boolean;
352 description "This attribute provisions whether the SSF defect should be reported as fault cause or not.
353 It models the ETH-LAG_FT_Sk_MI_SSF_Reported defined in G.8021.";
354 }
355 leaf pll-thr {
356 type uint64;
357 description "This attribute provisions the threshold for the number of active ports. If the number of active ports is more than zero but less than the provisioned threshold, a cPLL (Partial Link Loss) is raised. See section 9.7.1.2 of G.8021.
358 range of type : 0..number of ports";
359 }
360 leaf actor-oper-key {
361 type uint64;
362 config false;
363 description "See 802.1AX:
364 The current operational value of the Key for the Aggregator. The administrative Key value may differ from the operational Key value for the reasons discussed in 5.6.2.
365 The meaning of particular Key values is of local significance.
366 range of type : 16 bit";
367 }
368 leaf actor-system-id {
369 type mac-address;
370 description "See 802.1AX:
371 A MAC address used as a unique identifier for the System that contains this Aggregator.";
372 }
373 leaf actor-system-priority {
374 type uint64;
375 description "See 802.1AX:
376 Indicating the priority associated with the Actors System ID.
377 range of type : 2-octet";
378 }
379 leaf collector-max-delay {
380 type uint64;
381 description "See 802.1AX:
382 The value of this attribute defines the maximum delay, in tens of microseconds, that may be imposed by the Frame Collector between receiving a frame from an Aggregator Parser, and either delivering the frame to its MAC Client or discarding the frame (see IEEE 802.1AX clause 5.2.3.1.1).
383 range of type : 16-bit";
384 }
385 leaf data-rate {
386 type uint64;
387 config false;
388 description "See 802.1AX:
389 The current data rate, in bits per second, of the aggregate link. The value is calculated as N times the data rate of a single link in the aggregation, where N is the number of active links.";
390 }
391 leaf partner-oper-key {
392 type uint64;
393 config false;
394 description "See 802.1AX:
395 The current operational value of the Key for the Aggregators current protocol Partner. If the aggregation is manually configured, this Key value will be a value assigned by the local System.
396 range of type : 16-bit";
397 }
398 leaf partner-system-id {
399 type mac-address;
400 config false;
401 description "See 802.1AX:
402 A MAC address consisting of the unique identifier for the current protocol Partner of this Aggregator. A value of zero indicates that there is no known Partner. If the aggregation is manually configured, this System ID value will be a value assigned by the local System.";
403 }
404 leaf partner-system-priority {
405 type uint64;
406 config false;
407 description "See 802.1AX:
408 Indicates the priority associated with the Partners System ID. If the aggregation is manually configured, this System Priority value will be a value assigned by the local System.
409 range of type : 2-octet";
410 }
411 leaf csf-config {
412 type csf-config;
413 description "This attribute models the combination of all CSF related MI signals (MI_CSF_Enable, MI_CSFrdifdi_Enable, MI_CSFdci_Enable) as defined in G.8021.
414 range of type : true, false";
415 }
416 container traffic-shaping {
417 uses traffic-shaping-pac;
418 description "none";
419 }
420 container traffic-conditioning {
421 uses traffic-conditioning-pac;
422 description "none";
423 }
424 description "none";
425 }
426 grouping eth-connection-end-point-spec {
427 container ety-term {
428 uses ety-termination-pac;
429 description "none";
430 }
431 container eth-term {
432 uses eth-termination-pac;
433 description "none";
434 }
435 container eth-ctp {
436 uses eth-ctp-pac;
437 description "none";
438 }
439 description "none";
440 }
441 grouping eth-termination-pac {
442 container priority-regenerate {
443 uses priority-mapping;
444 description "This attribute models the ETHx/ETH-m _A_Sk_MI_P_Regenerate information defined in G.8021.";
445 }
446 leaf ether-type {
447 type vlan-type;
448 description "This attribute models the ETHx/ETH-m _A_Sk_MI_Etype information defined in G.8021.";
449 }
450 leaf-list filter-config-1 {
451 type mac-address;
452 description "This attribute models the ETHx/ETH-m_A_Sk_MI_Filter_Config information defined in G.8021.
453 It indicates the configured filter action for each of the 33 group MAC addresses for control frames.
454 The 33 MAC addresses are:
455 01-80-C2-00-00-10,
456 01-80-C2-00-00-00 to 01-80-C2-00-00-0F, and
457 01-80-C2-00-00-20 to 01-80-C2-00-00-2F.
458 The filter action is Pass or Block.
459 If the destination address of the incoming ETH_CI_D matches one of the above addresses, the filter process shall perform the corresponding configured filter action.
460 If none of the above addresses match, the ETH_CI_D is passed.
461 range of type : MacAddress:
462 01-80-C2-00-00-10,
463 01-80-C2-00-00-00 to
464 01-80-C2-00-00-0F, and
465 01-80-C2-00-00-20 to
466 01-80-C2-00-00-2F;
467 ActionEnum:
468 PASS, BLOCK";
469 }
470 leaf frametype-config {
471 type frame-type;
472 description "This attribute models the ETHx/ETH-m_A_Sk_MI_Frametype_Config information defined in G.8021.
473 range of type : see Enumeration";
474 }
475 leaf port-vid {
476 type vid;
477 default "1";
478 description "This attribute models the ETHx/ETH-m _A_Sk_MI_PVID information defined in G.8021.";
479 }
480 leaf priority-code-point-config {
481 type pcp-coding;
482 description "This attribute models the ETHx/ETH-m _A_Sk_MI_PCP_Config information defined in G.8021.
483 range of type : see Enumeration";
484 }
485 description "This object class models the Ethernet Flow Termination function located at a layer boundary.";
486 }
487 grouping ety-termination-pac {
488 leaf is-fts-enabled {
489 type boolean;
490 description "This attribute indicates whether Forced Transmitter Shutdown (FTS) is enabled or not. It models the ETYn_TT_So_MI_FTSEnable information.";
491 }
492 leaf is-tx-pause-enabled {
493 type boolean;
494 description "This attribute identifies whether the Transmit Pause process is enabled or not. It models the MI_TxPauseEnable defined in G.8021.";
495 }
496 leaf phy-type {
497 type ety-phy-type;
498 config false;
499 description "This attribute identifies the PHY type of the ETY trail termination. See IEEE 802.3 clause 30.3.2.1.2.";
500 }
501 leaf-list phy-type-list {
502 type ety-phy-type;
503 config false;
504 description "This attribute identifies the possible PHY types that could be supported at the ETY trail termination. See IEEE 802.3 clause 30.3.2.1.3.";
505 }
506 description "none";
507 }
508 grouping traffic-conditioning-pac {
509 list prio-config-list {
Ai Hamano933b0fe2018-11-30 11:22:37 +0900510 key 'queue-id';
hirokid8fd7862018-10-09 15:24:24 +0900511 config false;
512 uses priority-configuration;
513 description "This attribute indicates the Priority Splitter function for the mapping of the Ethernet frame priority (ETH_CI_P) values to the output queue.";
514 }
515 list cond-config-list {
Ai Hamano933b0fe2018-11-30 11:22:37 +0900516 key 'queue-id';
hirokid8fd7862018-10-09 15:24:24 +0900517 config false;
518 uses traffic-conditioning-configuration;
519 description "This attribute indicates for the conditioner process the conditioning parameters:
520 - Queue ID: Indicates the Queue ID
521 - Committed Information Rate (CIR): number of bits per second
522 - Committed Burst Size (CBS): number of bytes
523 - Excess Information Rate (EIR): number of bits per second
524 - Excess Burst Size (EBS): number of bytes
525 - Coupling flag (CF): 0 or 1
526 - Color mode (CM): color-blind and color-aware.";
527 }
528 leaf codirectional {
529 type boolean;
530 config false;
531 description "This attribute indicates the direction of the conditioner. The value of true means that the conditioner (modeled as a TCS Sink according to G.8021) is associated with the sink part of the containing CTP. The value of false means that the conditioner (modeled as a TCS Sink according to G.8021) is associated with the source part of the containing CTP.";
532 }
533 description "This object class models the ETH traffic conditioning function as defined in G.8021.
534 Basic attributes: codirectional, condConfigList, prioConfigList";
535 }
536 grouping traffic-shaping-pac {
537 list prio-config-list {
Ai Hamano933b0fe2018-11-30 11:22:37 +0900538 key 'queue-id';
hirokid8fd7862018-10-09 15:24:24 +0900539 config false;
540 uses priority-configuration;
541 description "This attribute configures the Priority Splitter function for the mapping of the Ethernet frame priority (ETH_CI_P) values to the output queue.";
542 }
543 list queue-config-list {
Ai Hamano933b0fe2018-11-30 11:22:37 +0900544 key 'queue-id';
hirokid8fd7862018-10-09 15:24:24 +0900545 config false;
546 uses queue-configuration;
547 description "This attribute configures the Queue depth and Dropping threshold parameters of the Queue process. The Queue depth sets the maximum size of the queue in bytes. An incoming ETH_CI traffic unit is dropped if there is insufficient space in the queue to hold the whole unit. The Dropping threshold sets the threshold of the queue. If the queue is filled beyond this threshold, incoming ETH_CI traffic units accompanied by the ETH_CI_DE signal set are dropped.";
548 }
549 leaf sched-config {
550 type scheduling-configuration;
551 config false;
552 description "This attribute configures the scheduler process. The value of this attribute is for further study because it is for further study in G.8021.
553 Scheduler is a pointer to a Scheduler object, which is to be defined in the future (because in G.8021, this is FFS).
554 Note that the only significance of the GTCS function defined in G.8021 is the use of a common scheduler for shaping. Given that, G.8052 models the common scheduler feature by having a common value for this attribute.";
555 }
556 leaf codirectional {
557 type boolean;
558 config false;
559 description "This attribute indicates the direction of the shaping function. The value of true means that the shaping (modeled as a TCS Source according to G.8021) is associated with the source part of the containing CTP. The value of false means that the shaping (modeled as a TCS Source according to G.8021) is associated with the sink part of the containing CTP.";
560 }
561 description "This object class models the ETH traffic shaping function as defined in G.8021.
562 Basic attribute: codirectional, prioConfigList, queueConfigList, schedConfig";
563 }
564 grouping eth-meg-spec {
565 leaf client-mel {
566 type uint64;
567 description "none";
568 }
569 description "none";
570 }
571 grouping eth-mep-spec {
572 container eth-mep-common {
573 uses eth-mep-common;
574 description "none";
575 }
576 container eth-mep-source-pac {
577 uses eth-mep-source;
578 description "none";
579 }
580 container eth-mep-sink {
581 uses eth-mep-sink;
582 description "none";
583 }
584 description "none";
585 }
586 grouping eth-mip-spec {
587 leaf mip-mac {
588 type mac-address;
589 config false;
590 description "This attribute contains the MAC address of the MIP instance.";
591 }
592 leaf is-full-mip {
593 type boolean;
594 config false;
595 description "This attribute indicates whether the MIP is a full MIP (true) or a down-half MIP (false).";
596 }
597 description "none";
598 }
599 grouping eth-loopback-job {
600 container eth-lb-msg {
601 uses eth-oam-msg-common-pac;
602 description "none";
603 }
604 leaf number {
605 type uint64;
606 description "G.8052: This parameter specifies how many LB messages to be sent for the LB_Series process.";
607 }
608 description "This class represents the Loopback (LB) process (send a series of LB messages carrying a test pattern to a particular MEP). The termination occurs at specified stop time (schedule attribute of OamJob).
609 This class models also the 'loopback discover' process, when destinationAddress is multicast.
610 When number is greater than 1, then the process is to perform a Loopback (LB) Series process (send a series of N LB messages to a particular MEP/MIP. ";
611 }
612 grouping eth-mep-common {
613 leaf mep-mac {
614 type mac-address;
615 config false;
616 description "This attribute contains the MAC Address of the MEP.";
617 }
618 leaf is-cc-enabled {
619 type boolean;
620 description "This attribute models the MI_CC_Enable signal defined in G.8021 and configured as specified in G8051.";
621 }
622 leaf cc-period {
623 type oam-period;
624 description "This attribute models the MI_CC_Period signal defined in G.8021 and configured as specified in G8051.
625 It is the period at which the CCM message should be sent.
626 Default values are: 3.33 ms for PS, 100 ms for PM, 1 s for FM.";
627 }
628 leaf cc-priority {
629 type uint64 {
630 range "0..7";
631 }
632 default "7";
633 description "This attribute models the MI_CC_Pri signal defined in G.8021 and configured as specified in G8051. It is the priority at which the CCM message should be sent.";
634 }
635 leaf lck-period {
636 type oam-period;
637 description "This attribute models the MI_LCK_Period signal defined in G.8021 and configured as specified in G8051. It is the frequency at which the LCK messages should be sent.
638 range of type : 1s, 1min";
639 }
640 leaf lck-priority {
641 type uint64 {
642 range "0..7";
643 }
644 default "7";
645 description "This attribute models the MI_LCK_Pri signal defined in G.8021 and configured as specified in G8051. It is the priority at which the LCK messages should be sent.";
646 }
647 description "Basic attributes: adminState, clientMel, megIdentifier, mepMac
648 Continuity Check Process related attributes: ccPeriod, ccPriority, isCcEnabled
649 Lock Process related attributes: lckPeriod, lckPriority
650 This object class models the MEP functions that are common to MEP Sink and MEP Source.";
651 }
652 grouping eth-mep-sink {
653 leaf-list dm-1-priority {
654 type uint64;
655 description "This attribute indicates the list of 1DM priorities for the MepSink.";
656 }
657 leaf ais-priority {
658 type uint64 {
659 range "0..7";
660 }
661 default "7";
662 description "This attribute models the MI_AIS_Pri signal defined in G.8021 and configured as specified in G8051. It is the priority at which the AIS messages should be sent.";
663 }
664 leaf ais-period {
665 type oam-period;
666 description "This attribute models the MI_AIS_Period signal defined in G.8021 and configured as specified in G8051. It is the frequency at which the AIS messages should be sent.
667 range of type : 1s, 1min";
668 }
669 leaf is-csf-reported {
670 type boolean;
671 default "true";
672 description "This attribute models the MI_CSF_Reported signal defined in G.8021 and configured as specified in G8051. It configures whether the secondary failure CSF should be reported or not.";
673 }
674 leaf is-csf-rdi-fdi-enabled {
675 type boolean;
676 default "true";
677 description "This attribute models the MI_CSFrdifdiEnable signal defined in G.8021 and configured as specified in G8051.";
678 }
679 container bandwidth-report {
680 config false;
681 uses bandwidth-report;
682 description "This attribute models the content of the bandwidth report received by the MEP Sink from the peer MEP Source.";
683 }
684 leaf lm-degm {
685 type uint64;
686 default "10";
687 description "This attribute defines the number of consecutive bad seconds necessary for the 'degraded' detection. See also section 'Degraded signal defect (dDEG)' in G.8021.";
688 }
689 leaf lm-deg-thr {
690 type uint64;
691 default "30";
692 description "This attribute defines the threshold for declaring a 'bad second'. See also section 'Degraded signal defect (dDEG)' in G.8021.";
693 }
694 leaf lm-m {
695 type uint64 {
696 range "2..10";
697 }
698 default "10";
699 description "This attribute defines the number of consecutive good seconds necessary for the clearing of 'degraded'. See also section 'Degraded signal defect (dDEG)' in G.8021.";
700 }
701 leaf lm-tf-min {
702 type uint64;
703 description "This attribute defines the necessary number of transmitted frames to enable the detection of 'bad seconds'. See also section 'Degraded signal defect (dDEG)' in G.8021.";
704 }
705 description "1DM related attribute: 1DmPriority
706 AIS Process related attributes: aisPeriod, aisPriority
707 Bandwidth notification Process related attribute: bandwidthReport
708 Basic attribute: peerMepRefList
709 CSF Process related attributes: isCsfRdiFdiEnabled, isCsfReported
710 Defect correlation Process related attribute: currentProblemList
711 This object class models the MEP sink function. Instance of this object class can be created and contained by ETH CTP or TTP objects.
712 It also provides the management of the dual-ended maintenance job, such as test.
713 This object contains the configuration parameters for detecting 'degraded signal' (DEG).";
714 }
715 grouping eth-mep-source {
716 leaf aps-priority {
717 type uint64 {
718 range "0..7";
719 }
720 default "7";
721 description "This attribute specifies the priority of the APS messages.
722 See section 8.1.5 APS insert process in G.8021.";
723 }
724 leaf csf-priority {
725 type uint64 {
726 range "0..7";
727 }
728 default "7";
729 description "This attribute models the MI_CSF_Pri signal defined in G.8021 and configured as specified in G8051. It is the priority at which the CSF messages should be sent";
730 }
731 leaf csf-period {
732 type oam-period;
733 description "This attribute models the MI_CSF_Period signal defined in G.8021 and configured as specified in G8051. It is the period at which the CSF messages should be sent.
734 range of type : 1s, 1min";
735 }
736 leaf csf-config {
737 type csf-config;
738 description "This attribute models the combination of all CSF related MI signals (MI_CSF_Enable, MI_CSFrdifdi_Enable, MI_CSFdci_Enable) as defined in G.8021.";
739 }
740 description "APS Process related attribute: apsPriority
741 Basic attribute: mepIdentifier
742 CSF Process related attributes: csfConfig, csfPeriod, csfPriority
743 Link trace related operation: linkTrace
744 Loopback related operations: loopbackDiscover, loopbackSeries, loopbackTest, loopbackTestTerminate
745 On demand measurement job control related operation: establishOnDemandDualEndedMeasurementJobSource
746 Proactive measurement job control related operation: establishProActiveDualEndedMeasurementJobSource
747 Test related operations: testInitiatorStart, testInitiatorTerminate
748 This object class models the MEP source function. Instance of this object class can be created and contained by ETH CTP or TTP objects.
749 It also provides the management of single-ended maintenance jobs, such as loopback test, loopback discover, loopback series, link trace, and dual-ended maintenance job, such as test.";
750 }
751 grouping eth-link-trace-job {
752 container eth-lt-msg {
753 uses eth-oam-operation-common-pac;
754 description "none";
755 }
756 leaf time-to-live {
757 type uint64;
758 description "G.8052: This parameter provides the Time To Live (TTL) parameter of the Link Track protocol.
759 The TTL parameter allows the receiver (MIP or MEP) of the LTM frame to determine if the frame can be terminated. TTL is decremented every time the LTM frame is relayed. LTM frame with TTL<=1 is terminated and not relayed.";
760 }
761 description "This class represents the Link Trace (LT) process for fault localization or for discovering the intermediate MIPs along the link from the MEP Source to a target MEP or MIP. An LTM frame will be sent from the MEP source to the target MEP/MIP.
762 The termination occurs at specified stop time (schedule attribute of OamJob).";
763 }
764 grouping eth-test-job {
765 container eth-test-msg {
766 uses eth-oam-msg-common-pac;
767 description "none";
768 }
769 description "This class represents the 1-way on-demand in-service or out-of-service diagnostic test. The diagnostic test includes verifying bandwidth throughput, frame loss, bit errors, etc. TST frames are transmitted.
770 The termination occurs at specified stop time (schedule attribute of OamJob).";
771 }
772 grouping eth-on-demand-measurement-job-control-sink {
773 leaf responder-mep-id {
774 type string;
775 description "none";
776 }
777 leaf source-address {
778 type mac-address;
779 description "This attribute contains the MAC address of the peer MEP. See G.8013 for details.";
780 }
781 leaf priority {
782 type uint64;
783 default "7";
784 description "This attribute contains the priority of the OAM PDU frames.
785 range of type : 0, 1, 2, 3, 4, 5, 6, 7";
786 }
787 leaf test-identifier {
788 type uint64;
789 description "This attribute is used to distinguish each measurement session if multiple measurement sessions are simultaneously activated towards a peer MEP including concurrent on-demand and proactive tests. It must be unique at least within the context of any measurement type for the MEG and initiating MEP.
790 range of type : 0..(2^32) - 1";
791 }
792 description "This object class represents an on-demand measurement job controller sink for 1-way measurements. It is created as a result of an establishOnDemandDualEndedMeasurementJobSink() operation. It is deleted either automatically after the measurement job has completed (stop time reached) and the performance data AVC notification has been sent, or by an explicit abortOnDemandMeasurementJob() operation when the measurement job is running.";
793 }
794 grouping eth-on-demand-measurement-job-control-source {
795 leaf controller-mep-id {
796 type string;
797 description "none";
798 }
799 leaf oam-pdu-generation-type {
800 type oam-pdu-generation-type;
801 description "This attribute contains the pattern that is used for the generation of OAM PDUs.";
802 }
803 leaf destination-address {
804 type mac-address;
805 description "This attribute contains the MAC address of the peer MEP. See G.8013 for details.";
806 }
807 leaf priority {
808 type uint64;
809 default "7";
810 description "This attribute contains the priority of the OAM PDU frames.
811 range of type : 0, 1, 2, 3, 4, 5, 6, 7";
812 }
813 leaf message-period {
814 type message-period;
815 description "This attribute contains the frequency of the OAM message (PDU) generation within a series.
816 Note that the value 0 means that only one OAM message per measurement interval is generated.
817 range of type : See corresponding Enum.";
818 }
819 leaf repetition-period {
820 type repetition-period;
821 description "This attribute contains the time between the start of two measurement intervals. This IS applicable for the repetitive instance type and MAY be applicable for the repetitive series type.
822 Note that a value of 0 means not applicable (NA), which is for the cases of single instance, single series, or repetitive series without extra gap in between the measurement intervals (i.e., also as known as continuous series).";
823 }
824 leaf measurement-interval {
825 type uint64;
826 description "This attribute contains the discrete non overlapping periods of time (in seconds) during which measurements are performed (i.e., OAM messages are generated) and reports are gathered at the end of the measurement intervals. Note that the value 0 means a degenerated measurement interval with a single OAM message and the report is sent as immediately as possible.
827 range of type : Non-negative";
828 }
829 leaf test-identifier {
830 type uint64;
831 description "This attribute is used to distinguish each measurement session if multiple measurement sessions are simultaneously activated towards a peer MEP including concurrent on-demand and proactive tests. It must be unique at least within the context of any measurement type for the MEG and initiating MEP.
832 Note: The attribute is not used in case of LMM/LMR measurement.
833 range of type : 0..(2^32) - 1";
834 }
835 leaf data-tlv-length {
836 type uint64;
837 description "This parameter provides the size of the optional data TLV.
838 Non-negative integer represents the number of bytes for the length of the padding TLV.
839 Notes:
840 When configuring this parameter one should be aware of the maximum allowed total frame size limitation.
841 The attribute is not used in case of 2-way loss measurement.
842 range of type : Depends on the allowed MTU size.";
843 }
844 description "Basic attributes: destinationAddress, priority
845 Measurement configuration related attributes: oamPduGenerationType, startTime, stopTime, messagePeriod, repetitionPeriod, measurementInterval
846 Optional attributes: dataTlvLength, testIdentifier
847 This object class represents an on-demand measurement job controller source for 1-way measurements. It is created as a result of an establishOnDemandDualEndedMeasurementJobSource() operation. It is deleted either automatically after the measurement job has completed (stop time reached), or by an explicit abortOnDemandMeasurementJob() operation while the measurement job is running.";
848 }
849 grouping eth-pro-active-measurement-job-control-sink {
850 leaf responder-mep-id {
851 type string;
852 description "none";
853 }
854 leaf is-enabled {
855 type boolean;
856 default "true";
857 description "This attribute identifies the state of the measurement job. If set to TRUE, the MEP performs proactive Performance Measurement.";
858 }
859 leaf source-address {
860 type mac-address;
861 description "This attribute contains the MAC address of the peer MEP. See G.8013 for details.";
862 }
863 leaf test-identifier {
864 type uint64;
865 description "This attribute is used to distinguish each measurement session if multiple measurement sessions are simultaneously activated towards a peer MEP including concurrent on-demand and proactive tests. It must be unique at least within the context of any measurement type for the MEG and initiating MEP.
866 range of type : 0..(2^32) - 1";
867 }
868 description "This object class allows the control of the proactive 1-way measurement. It is created as a part of an establishProActiveDualEndedMeasurementJobSink() operation. Lifecycle: A pre-condition of deleting the object is that the Enable attribute should have the value FALSE.";
869 }
870 grouping eth-pro-active-measurement-job-control-source {
871 leaf controller-mep-id {
872 type string;
873 description "none";
874 }
875 leaf is-enabled {
876 type boolean;
877 default "true";
878 description "This attribute identifies the state of the measurement job. If set to TRUE, the MEP performs proactive Performance Measurement.";
879 }
880 leaf destination-address {
881 type mac-address;
882 description "This attribute provides the Unicast MAC address of the intented destination.";
883 }
884 leaf priority {
885 type uint64 {
886 range "0..7";
887 }
888 default "7";
889 description "This attribute contains the priority value on which the MEP performs the measurement. When the measurement is enabled, the MEP should use this value to encode the priority of generated measurement frames. The EMF usese this value to assign the P parameter of the measurement operation.";
890 }
891 leaf period {
892 type oam-period;
893 description "This attribute indicates the period (frequency) of the measurement frame transmission.
894 range of type : 100ms, 1s, 10s";
895 }
896 leaf test-identifier {
897 type uint64;
898 description "This attribute is used to distinguish each measurement session if multiple measurement sessions are simultaneously activated towards a peer MEP including concurrent on-demand and proactive tests. It must be unique at least within the context of any measurement type for the MEG and initiating MEP.
899 Note: The attribute is not used in case of 2-way loss measurement.
900 range of type : 0..(2^32) - 1";
901 }
902 leaf data-tlv-length {
903 type uint64;
904 description "This parameter provides the size of the optional data TLV.
905 Non-negative integer represents the number of bytes for the length of the padding TLV.
906 Notes:
907 When configuring this parameter one should be aware of the maximum allowed total frame size limitation.
908 The attribute is not used in case of 2-way loss measurement.
909 range of type : Depends on the allowed MTU size.";
910 }
911 description "This object class represents a proactive measurement job controller source for 1way measurements. It is created as a part of an establishProactiveDualEndedMeasurementJobSource() operation.";
912 }
913 grouping eth-pro-active-1-dm-performance-data {
914 container pro-active-near-end-1-dm-parameters {
915 uses statistical-dm-performance-parameters;
916 description "This attribute contains the statistical near end performnace parameters.";
917 }
918 description "This object class represents the PM current data collected in a pro-active delay measurement job (using 1DM).";
919 }
920 grouping eth-pro-active-1-lm-performance-data {
921 container pro-active-near-end-1-lm-parameters {
922 uses statistical-lm-performance-parameters;
923 description "This attribute contains the statistical near end performnace parameters.";
924 }
925 description "This object class represents the PM current data collected in a pro-active loss measurement job (using 1SL).";
926 }
927 grouping eth-pro-active-dm-performance-data {
928 container pro-active-bi-dir-dm-parameters {
929 uses statistical-dm-performance-parameters;
930 description "This attribute contains the statistical bidirectional performnace parameters.";
931 }
932 container pro-active-far-end-dm-parameters {
933 uses statistical-dm-performance-parameters;
934 description "This attribute contains the statistical far end performnace parameters.";
935 }
936 container pro-active-near-end-dm-parameters {
937 uses statistical-dm-performance-parameters;
938 description "This attribute contains the statistical near end performnace parameters.";
939 }
940 description "This object class represents the PM current data collected in a pro-active delay measurement job (using DMM/DMR).";
941 }
942 grouping eth-pro-active-lm-performance-data {
943 container pro-active-far-end-lm-parameters {
944 uses statistical-lm-performance-parameters;
945 description "This attribute contains the statistical far end performnace parameters.";
946 }
947 container pro-active-near-end-lm-parameters {
948 uses statistical-lm-performance-parameters;
949 description "This attribute contains the statistical near end performnace parameters.";
950 }
951 leaf bidirectional-uas {
952 type uint64;
953 description "This attribute contains the bidirectional UAS (unavailable seconds) detected in the monitoring interval.
954 range of type : 0..900 for 15min interval or 0..86400 for 24 hr interval.";
955 }
956 description "This object class represents the PM current data collected in a pro-active loss measurement job (using LMM/LMR or SLM/SLR).";
957 }
958 grouping eth-on-demand-1-dm-performance-data {
959 container on-demand-near-end-1-dm-parameters {
960 uses on-demand-dm-performance-parameters;
961 description "This attribute contains the results of an on-demand frame delay measurement job in the ingress direction.";
962 }
963 description "none";
964 }
965 grouping eth-on-demand-1-lm-performance-data {
966 container on-demand-near-end-1-lm-parameters {
967 uses on-demand-lm-performance-parameters;
968 description "This attribute contains the results of an on-demand synthetic loss measurement job in the ingress direction.";
969 }
970 description "none";
971 }
972 grouping eth-on-demand-dm-performance-data {
973 container on-demand-far-end-dm-parameters {
974 uses on-demand-dm-performance-parameters;
975 description "This attribute contains the results of an on-demand frame delay measurement job in the ingress direction.";
976 }
977 container on-demand-near-end-dm-parameters {
978 uses on-demand-dm-performance-parameters;
979 description "This attribute contains the results of an on-demand frame delay measurement job in the ingress direction.";
980 }
981 description "none";
982 }
983 grouping eth-on-demand-lm-performance-data {
984 container on-demand-far-end-lm-parameters {
985 uses on-demand-lm-performance-parameters;
986 description "This attribute contains the results of an on-demand synthetic loss measurement job in the egress direction.";
987 }
988 container on-demand-near-end-lm-parameters {
989 uses on-demand-lm-performance-parameters;
990 description "This attribute contains the results of an on-demand synthetic loss measurement job in the ingress direction.";
991 }
992 description "none";
993 }
994 grouping eth-pro-active-1way-measurement-job {
995 container pro-active-control-1way-source {
996 uses eth-pro-active-measurement-job-control-source;
997 description "none";
998 }
999 container pro-active-control-1way-sink {
1000 uses eth-pro-active-measurement-job-control-sink;
1001 description "none";
1002 }
1003 description "none";
1004 }
1005 grouping eth-pro-active-2way-measurement-job {
1006 container pro-active-control-2way-source {
1007 uses eth-pro-active-measurement-job-control-source;
1008 description "none";
1009 }
1010 description "none";
1011 }
1012 grouping eth-on-demand-2way-measurement-job {
1013 container on-demand-control-2way-source {
1014 uses eth-on-demand-measurement-job-control-source;
1015 description "none";
1016 }
1017 description "none";
1018 }
1019 grouping eth-on-demand-1way-measurement-job {
1020 container on-demand-control-1way-source {
1021 uses eth-on-demand-measurement-job-control-source;
1022 description "none";
1023 }
1024 container on-demand-control-1way-sink {
1025 uses eth-on-demand-measurement-job-control-sink;
1026 description "none";
1027 }
1028 description "none";
1029 }
1030 grouping eth-1-dm-threshold-data {
1031 container near-end-1-dm-cross-threshold {
1032 uses statistical-dm-performance-parameters;
1033 description "This attribute contains the near end cross threshold values of the delay measurements.";
1034 }
1035 container near-end-1-dm-clear-threshold {
1036 uses statistical-dm-performance-parameters;
1037 description "This attribute contains the near end clear threshold values of the delay measurements.";
1038 }
1039 description "This data type contains the threshold values for frame delay related 1-way measurements.";
1040 }
1041 grouping eth-1-lm-threshold-data {
1042 container near-end-1-lm-cross-threshold {
1043 uses statistical-lm-performance-parameters;
1044 description "This attribute contains the near end cross threshold values of the loss measurements.";
1045 }
1046 container near-end-1-lm-clear-threshold {
1047 uses statistical-lm-performance-parameters;
1048 description "This attribute is only valid for frame loss ratio parameters and counter type parameters working in the 'standing condition method' (see G.7710, section 10.1.7.2: Threshold reporting) and contains the near end clear threshold values of the loss measurements.";
1049 }
1050 description "This data type contains the threshold values for frame loss related 1-way measurements.";
1051 }
1052 grouping eth-dm-threshold-data {
1053 container near-end-dm-cross-threshold {
1054 uses statistical-dm-performance-parameters;
1055 description "This attribute contains the near end cross threshold values of the delay measurements.";
1056 }
1057 container near-end-dm-clear-threshold {
1058 uses statistical-dm-performance-parameters;
1059 description "This attribute contains the near end clear threshold values of the delay measurements.";
1060 }
1061 container far-end-dm-cross-threshold {
1062 uses statistical-dm-performance-parameters;
1063 description "This attribute contains the far end cross threshold values of the delay measurements.";
1064 }
1065 container far-end-dm-clear-threshold {
1066 uses statistical-dm-performance-parameters;
1067 description "This attribute contains the far end clear threshold values of the delay measurements.";
1068 }
1069 container bi-dir-dm-cross-threshold {
1070 uses statistical-dm-performance-parameters;
1071 description "This attribute contains the bidirectional cross threshold values of the delay measurements.";
1072 }
1073 container bi-dir-dm-clear-threshold {
1074 uses statistical-dm-performance-parameters;
1075 description "This attribute contains the bidirectional clear threshold values of the delay measurements.";
1076 }
1077 description "This data type contains the threshold values for frame delay related 2-way measurements.";
1078 }
1079 grouping eth-lm-threshold-data {
1080 container near-end-lm-cross-threshold {
1081 uses statistical-lm-performance-parameters;
1082 description "This attribute contains the near end cross threshold values of the loss measurements.";
1083 }
1084 container near-end-lm-clear-threshold {
1085 uses statistical-lm-performance-parameters;
1086 description "This attribute is only valid for frame loss ratio parameters and counter type parameters working in the 'standing condition method' (see G.7710, section 10.1.7.2: Threshold reporting) and contains the near end clear threshold values of the loss measurements.";
1087 }
1088 container far-end-lm-cross-threshold {
1089 uses statistical-lm-performance-parameters;
1090 description "This attribute contains the far end cross threshold values of the loss measurements.";
1091 }
1092 container far-end-lm-clear-threshold {
1093 uses statistical-lm-performance-parameters;
1094 description "This attribute is only valid for frame loss ratio parameters and counter type parameters working in the 'standing condition method' (see G.7710, section 10.1.7.2: Threshold reporting) and contains the far end clear threshold values of the loss measurements.";
1095 }
1096 leaf bi-dir-lm-uas-cross-threshold {
1097 type uint64;
1098 description "This attribute contains the bidirectional cross threshold value of the UAS loss measurement.";
1099 }
1100 leaf bi-dir-lm-uas-clear-threshold {
1101 type uint64;
1102 description "This attribute is only valid for the UAS parameter working in the 'standing condition method' (see G.7710, section 10.1.7.2: Threshold reporting) and contains the bidirectional clear threshold value of the UAS loss measurement.";
1103 }
1104 description "This data type contains the threshold values for frame loss related 2-way measurements.";
1105 }
1106 grouping eth-loopback-result-data {
1107 leaf rec-lbr-frames {
1108 type uint64;
1109 config false;
1110 description "G.8052: This parameter returns the total number of received LBR messages, including the out of order LBR frames.";
1111 }
1112 leaf out-of-order-lbr-frames {
1113 type uint64;
1114 config false;
1115 description "G.8052: This parameter returns the number of LBR traffic unites (messages) that were received out of order (OO).";
1116 }
1117 leaf sent-lbm-frames {
1118 type uint64;
1119 config false;
1120 description "G.8052: This parameter returns the total number of sent LBM frames.";
1121 }
1122 leaf crc-lbr-frames {
1123 type uint64;
1124 config false;
1125 description "G.8052: This parameter returns the number of LBR frames where the CRC in the pattern failed.";
1126 }
1127 leaf ber-lbr-frames {
1128 type uint64;
1129 config false;
1130 description "G.8052: This parameter returns the number of LBR frames where there was a bit error in the pattern.";
1131 }
1132 leaf-list detected-peer-mep {
1133 type mac-address;
1134 config false;
1135 description "G.8052: This parameter returns the MAC addresses of the discovered peer MEPs of the subject MEP.";
1136 }
1137 description "none";
1138 }
1139 grouping eth-link-trace-result-data {
1140 list result-list {
Ai Hamano933b0fe2018-11-30 11:22:37 +09001141 key 'source-address';
hirokid8fd7862018-10-09 15:24:24 +09001142 config false;
1143 uses link-trace-result;
1144 description "G.8052: This parameter returns the results of the LT process. It contains a list of the result received from the individual LTR frames.
1145 The result from the individual LTR frame include the Source Mac Address, the TTL, and TLV.";
1146 }
1147 description "none";
1148 }
1149 grouping eth-test-result-data {
1150 leaf sent-tst-frames {
1151 type uint64;
1152 config false;
1153 description "G.8052: This parameter returns the total number of sent TST frames.";
1154 }
1155 description "none";
1156 }
1157 grouping eth-oam-operation-common-pac {
1158 leaf destination-address {
1159 type mac-address;
1160 description "G.8052: This parameter provides the destination address, i.e., the MAC Address of the target MEP or MIP.";
1161 }
1162 leaf priority {
1163 type uint64;
1164 default "7";
1165 description "G.8052: This parameter provides the priority to be used in the LBM frame.";
1166 }
1167 description "none";
1168 }
1169 grouping eth-oam-msg-common-pac {
1170 leaf period {
1171 type oam-period;
1172 description "G.8052: This parameter provides the periodicity of the TST OAM messages.";
1173 }
1174 leaf drop-eligibility {
1175 type boolean;
1176 description "G.8052: This parameter provides the eligibility of frames with unicast ETH-TST information to be discarded when congestion conditions are encountered.";
1177 }
1178 leaf data-tlv-length {
1179 type uint64;
1180 description "G.8052: This parameter provides the length (in number of octet) of the optional Data TLV to be included in the TST frame.";
1181 }
1182 leaf test-pattern {
1183 type uint64;
1184 description "G.8052: This parameter provides the test pattern to be used in the optional Data TLV.
1185 Examples of test patterns include pseudo-random bit sequence (PRBS) 2^31-1 as specified in clause 5.8 of [ITU-T O.150], all '0' pattern, etc.
1186 The following values of pattern types are defined:
1187 0: 'Null signal without CRC-32'
1188 1: 'Null signal with CRC-32'
1189 2: 'PRBS 2^31-1 without CRC-32'
1190 3: 'PRBS 2^31-1 with CRC-32'.";
1191 }
1192 uses eth-oam-operation-common-pac;
1193 description "none";
1194 }
1195
1196 /***********************
1197 * package type-definitions
1198 **********************/
1199 identity ETH_OAM_JOB_TYPE {
1200 base tapi-oam:OAM_JOB_TYPE;
1201 description "none";
1202 }
1203 identity ETH_OAM_JOB_TYPE_ETH_1DM {
1204 base ETH_OAM_JOB_TYPE;
1205 description "none";
1206 }
1207 identity ETH_OAM_JOB_TYPE_ETH_1SLM {
1208 base ETH_OAM_JOB_TYPE;
1209 description "none";
1210 }
1211 identity ETH_OAM_JOB_TYPE_ETH_LM_CCM {
1212 base ETH_OAM_JOB_TYPE;
1213 description "none";
1214 }
1215 identity ETH_OAM_JOB_TYPE_ETH_LM_LMM {
1216 base ETH_OAM_JOB_TYPE;
1217 description "none";
1218 }
1219 identity ETH_OAM_JOB_TYPE_ETH_SLM {
1220 base ETH_OAM_JOB_TYPE;
1221 description "none";
1222 }
1223 identity ETH_OAM_JOB_TYPE_ETH_DM {
1224 base ETH_OAM_JOB_TYPE;
1225 description "none";
1226 }
1227 identity ETH_OAM_JOB_TYPE_ETH_LTC {
1228 base ETH_OAM_JOB_TYPE;
1229 description "none";
1230 }
1231 identity ETH_OAM_JOB_TYPE_ETH_LBK {
1232 base ETH_OAM_JOB_TYPE;
1233 description "none";
1234 }
1235 identity ETH_OAM_JOB_TYPE_ETH_TEST {
1236 base ETH_OAM_JOB_TYPE;
1237 description "none";
1238 }
1239 grouping priority-configuration {
1240 leaf priority {
1241 type uint64 {
1242 range "0..7";
1243 }
1244 description "none";
1245 }
1246 leaf queue-id {
1247 type uint64 {
1248 range "1..8";
1249 }
1250 description "none";
1251 }
1252 description "none";
1253 }
1254 grouping queue-configuration {
1255 leaf queue-id {
1256 type uint64;
1257 description "This attribute indicates the queue id.";
1258 }
1259 leaf queue-depth {
1260 type uint64;
1261 description "This attribute defines the depth of the queue in bytes.";
1262 }
1263 leaf queue-threshold {
1264 type uint64;
1265 description "This attribute defines the threshold of the queue in bytes.";
1266 }
1267 description "none";
1268 }
1269 grouping traffic-conditioning-configuration {
1270 leaf cir {
1271 type uint64;
1272 description "This attribute indicates the Committed Information Rate in bits/s.";
1273 }
1274 leaf cbs {
1275 type uint64;
1276 description "This attribute indicates the Committed Burst Size in bytes.";
1277 }
1278 leaf eir {
1279 type uint64;
1280 description "This attribute indicates the Excess Information Rate in bits/s.";
1281 }
1282 leaf ebs {
1283 type uint64;
1284 description "This attribute indicates the Excess Burst Size in bytes.";
1285 }
1286 leaf coupling-flag {
1287 type boolean;
1288 description "This attribute indicates the coupling flag.";
1289 }
1290 leaf colour-mode {
1291 type colour-mode;
1292 description "This attribute indicates the colour mode.";
1293 }
1294 leaf queue-id {
1295 type uint64 {
1296 range "1..8";
1297 }
1298 description "This attribute indicates the queue id.";
1299 }
1300 description "none";
1301 }
1302 typedef mac-address {
1303 type string;
1304 description "This primitive data type contains an Ethernet MAC address defined by IEEE 802a. The format of the address consists of 12 hexadecimal characters, grouped in pairs and separated by '-' (e.g., 03-27-AC-75-3E-1D).";
1305 }
1306 grouping priority-mapping {
1307 leaf priority-0 {
1308 type uint64 {
1309 range "0..7";
1310 }
1311 description "This attribute defines the new priority value for the old priority value 0.";
1312 }
1313 leaf priority-1 {
1314 type uint64 {
1315 range "0..7";
1316 }
1317 default "1";
1318 description "This attribute defines the new priority value for the old priority value 1.";
1319 }
1320 leaf priority-2 {
1321 type uint64 {
1322 range "0..7";
1323 }
1324 default "2";
1325 description "This attribute defines the new priority value for the old priority value 2.";
1326 }
1327 leaf priority-3 {
1328 type uint64 {
1329 range "0..7";
1330 }
1331 default "3";
1332 description "This attribute defines the new priority value for the old priority value 3.";
1333 }
1334 leaf priority-4 {
1335 type uint64 {
1336 range "0..7";
1337 }
1338 default "4";
1339 description "This attribute defines the new priority value for the old priority value 4.";
1340 }
1341 leaf priority-5 {
1342 type uint64 {
1343 range "0..7";
1344 }
1345 default "5";
1346 description "This attribute defines the new priority value for the old priority value 5.";
1347 }
1348 leaf priority-6 {
1349 type uint64 {
1350 range "0..7";
1351 }
1352 default "6";
1353 description "This attribute defines the new priority value for the old priority value 6.";
1354 }
1355 leaf priority-7 {
1356 type uint64 {
1357 range "0..7";
1358 }
1359 default "7";
1360 description "This attribute defines the new priority value for the old priority value 7.";
1361 }
1362 description "This data type provides the priority mapping done in the 'P Regenerate' process defined in G.8021.";
1363 }
1364 typedef vid {
1365 type string;
1366 description "This primitive type models the 12 Bit VLAN identifier of a VLAN tag.";
1367 }
1368 typedef modify-cross-connection-data {
1369 type string;
1370 description "none";
1371 }
1372 grouping address-tuple {
1373 leaf address {
1374 type mac-address;
1375 description "This attribute contains the MAC address of the address tuple.";
1376 }
1377 leaf-list port-list {
1378 type mac-address;
1379 description "This attribute contains the ports associated to the MAC address in the address tuple.";
1380 }
1381 description "This data type contains an address tuple consisting of a MAC address and a corresponding port list.";
1382 }
1383 typedef scheduling-configuration {
1384 type string;
1385 description "The syntax of this dataType is pending on the specification in G.8021, which is for further study.";
1386 }
1387 grouping control-frame-filter {
1388 leaf c-2-00-00-10 {
1389 type boolean;
1390 description "This attribute identifies the 'All LANs Bridge Management Group Address'.";
1391 }
1392 leaf c-2-00-00-00 {
1393 type boolean;
1394 description "This attribute identifies the STP/RSTP/MSTP protocol address.";
1395 }
1396 leaf c-2-00-00-01 {
1397 type boolean;
1398 description "This attribute identifies the IEEE MAC-specific Control Protocols group address (PAUSE protocol).";
1399 }
1400 leaf c-2-00-00-02 {
1401 type boolean;
1402 description "This attribute identifies the IEEE 802.3 Slow_Protocols_Multicast address (LACP/LAMP or Link OAM protocols).";
1403 }
1404 leaf c-2-00-00-03 {
1405 type boolean;
1406 description "This attribute identifies the Nearest non-TPMR Bridge group address (Port Authentication protocol).";
1407 }
1408 leaf c-2-00-00-04 {
1409 type boolean;
1410 description "This attribute identifies the IEEE MAC-specific Control Protocols group address.";
1411 }
1412 leaf c-2-00-00-05 {
1413 type boolean;
1414 description "Reserved for future standardization.";
1415 }
1416 leaf c-2-00-00-06 {
1417 type boolean;
1418 description "Reserved for future standardization.";
1419 }
1420 leaf c-2-00-00-07 {
1421 type boolean;
1422 description "This attribute identifies the Metro Ethernet Forum E-LMI protocol group address.";
1423 }
1424 leaf c-2-00-00-08 {
1425 type boolean;
1426 description "This attribute identifies the Provider Bridge Group address.";
1427 }
1428 leaf c-2-00-00-09 {
1429 type boolean;
1430 description "Reserved for future standardization.";
1431 }
1432 leaf c-2-00-00-0-a {
1433 type boolean;
1434 description "Reserved for future standardization.";
1435 }
1436 leaf c-2-00-00-0-b {
1437 type boolean;
1438 description "Reserved for future standardization.";
1439 }
1440 leaf c-2-00-00-0-c {
1441 type boolean;
1442 description "Reserved for future standardization.";
1443 }
1444 leaf c-2-00-00-0-d {
1445 type boolean;
1446 description "This attribute identifies the Provider Bridge MVRP address.";
1447 }
1448 leaf c-2-00-00-0-e {
1449 type boolean;
1450 description "This attribute identifies the Individual LAN Scope group address, Nearest Bridge group address (LLDP protocol).";
1451 }
1452 leaf c-2-00-00-0-f {
1453 type boolean;
1454 description "Reserved for future standardization.";
1455 }
1456 leaf c-2-00-00-20 {
1457 type boolean;
1458 description "This attribute identifies the Customer and Provider Bridge MMRP address.";
1459 }
1460 leaf c-2-00-00-21 {
1461 type boolean;
1462 description "This attribute identifies the Customer Bridge MVRP address.";
1463 }
1464 leaf c-2-00-00-22 {
1465 type boolean;
1466 description "Reserved for future standardization.";
1467 }
1468 leaf c-2-00-00-23 {
1469 type boolean;
1470 description "Reserved for future standardization.";
1471 }
1472 leaf c-2-00-00-24 {
1473 type boolean;
1474 description "Reserved for future standardization.";
1475 }
1476 leaf c-2-00-00-25 {
1477 type boolean;
1478 description "Reserved for future standardization.";
1479 }
1480 leaf c-2-00-00-26 {
1481 type boolean;
1482 description "Reserved for future standardization.";
1483 }
1484 leaf c-2-00-00-27 {
1485 type boolean;
1486 description "Reserved for future standardization.";
1487 }
1488 leaf c-2-00-00-28 {
1489 type boolean;
1490 description "Reserved for future standardization.";
1491 }
1492 leaf c-2-00-00-29 {
1493 type boolean;
1494 description "Reserved for future standardization.";
1495 }
1496 leaf c-2-00-00-2-a {
1497 type boolean;
1498 description "Reserved for future standardization.";
1499 }
1500 leaf c-2-00-00-2-b {
1501 type boolean;
1502 description "Reserved for future standardization.";
1503 }
1504 leaf c-2-00-00-2-c {
1505 type boolean;
1506 description "Reserved for future standardization.";
1507 }
1508 leaf c-2-00-00-2-d {
1509 type boolean;
1510 description "Reserved for future standardization.";
1511 }
1512 leaf c-2-00-00-2-e {
1513 type boolean;
1514 description "Reserved for future standardization.";
1515 }
1516 leaf c-2-00-00-2-f {
1517 type boolean;
1518 description "Reserved for future standardization.";
1519 }
1520 description "This data type identifies the filter action for each of the 33 group MAC addresses (control frames).
1521 Value 'false' means block: The frame is discarded by the filter process.
1522 Value 'true' means pass: The frame is passed unchanged through the filter process.";
1523 }
1524 grouping bandwidth-report {
1525 leaf source-mac-address {
1526 type mac-address;
1527 description "The sourceMacAddress is the address from the far end.";
1528 }
1529 leaf port-id {
1530 type uint64;
1531 description "This attribute returns the far end port identifier.";
1532 }
1533 leaf nominal-bandwidth {
1534 type uint64;
1535 description "This attribute returns the configured bandwidth";
1536 }
1537 leaf current-bandwidth {
1538 type uint64;
1539 description "This attribute returns the current bandwidth.";
1540 }
1541 description "Data type for the bandwidth report.";
1542 }
1543 typedef admin-state {
1544 type enumeration {
1545 enum LOCK {
1546 description "none";
1547 }
1548 enum NORMAL {
1549 description "none";
1550 }
1551 }
1552 description "none";
1553 }
1554 typedef colour-mode {
1555 type enumeration {
1556 enum COLOUR_BLIND {
1557 description "none";
1558 }
1559 enum COLOUR_AWARE {
1560 description "none";
1561 }
1562 }
1563 description "none";
1564 }
1565 typedef csf-config {
1566 type enumeration {
1567 enum DISABLED {
1568 description "This literal covers the following states of the CSF related MI informations:
1569 - MI_CSF_Enable is false
1570 - MI_CSFrdifdi_Enable is false
1571 - MI_CSFdci_Enable is false.";
1572 }
1573 enum ENABLED {
1574 description "This literal covers the following states of the CSF related MI informations:
1575 - MI_CSF_Enable is true
1576 - MI_CSFrdifdi_Enable is false
1577 - MI_CSFdci_Enable is false.";
1578 }
1579 enum ENABLED_WITH_RDI_FDI {
1580 description "This literal covers the following states of the CSF related MI informations:
1581 - MI_CSF_Enable is true
1582 - MI_CSFrdifdi_Enable is true
1583 - MI_CSFdci_Enable is false.";
1584 }
1585 enum ENABLED_WITH_RDI_FDI_DCI {
1586 description "This literal covers the following states of the CSF related MI informations:
1587 - MI_CSF_Enable is true
1588 - MI_CSFrdifdi_Enable is true
1589 - MI_CSFdci_Enable is true.";
1590 }
1591 enum ENABLED_WITH_DCI {
1592 description "This literal covers the following states of the CSF related MI informations:
1593 - MI_CSF_Enable is true
1594 - MI_CSFrdifdi_Enable is false
1595 - MI_CSFdci_Enable is true.";
1596 }
1597 }
1598 description "none";
1599 }
1600 typedef ety-phy-type {
1601 type enumeration {
1602 enum OTHER {
1603 description "none";
1604 }
1605 enum UNKNOWN {
1606 description "none";
1607 }
1608 enum NONE {
1609 description "none";
1610 }
1611 enum 2BASE_TL {
1612 description "none";
1613 }
1614 enum 10MBIT_S {
1615 description "none";
1616 }
1617 enum 10PASS_TS {
1618 description "none";
1619 }
1620 enum 100BASE_T4 {
1621 description "none";
1622 }
1623 enum 100BASE_X {
1624 description "none";
1625 }
1626 enum 100BASE_T2 {
1627 description "none";
1628 }
1629 enum 1000BASE_X {
1630 description "none";
1631 }
1632 enum 1000BASE_T {
1633 description "none";
1634 }
1635 enum 10GBASE-X {
1636 description "none";
1637 }
1638 enum 10GBASE_R {
1639 description "none";
1640 }
1641 enum 10GBASE_W {
1642 description "none";
1643 }
1644 }
1645 description "none";
1646 }
1647 typedef frame-type {
1648 type enumeration {
1649 enum ADMIT_ONLY_VLAN_TAGGED_FRAMES {
1650 description "none";
1651 }
1652 enum ADMIT_ONLY_UNTAGGED_AND_PRIORITY_TAGGED_FRAMES {
1653 description "none";
1654 }
1655 enum ADMIT_ALL_FRAMES {
1656 description "none";
1657 }
1658 }
1659 description "none";
1660 }
1661 typedef oam-period {
1662 type enumeration {
1663 enum 3_33MS {
1664 description "Default for protection.";
1665 }
1666 enum 10MS {
1667 description "none";
1668 }
1669 enum 100MS {
1670 description "none";
1671 }
1672 enum 1S {
1673 description "none";
1674 }
1675 enum 10S {
1676 description "none";
1677 }
1678 enum 1MIN {
1679 description "none";
1680 }
1681 enum 10MIN {
1682 description "none";
1683 }
1684 }
1685 description "Provides the frequency for the OAM PDU insertion.";
1686 }
1687 typedef pcp-coding {
1688 type enumeration {
1689 enum 8P0D {
1690 description "none";
1691 }
1692 enum 7P1D {
1693 description "none";
1694 }
1695 enum 6P2D {
1696 description "none";
1697 }
1698 enum 5P3D {
1699 description "none";
1700 }
1701 enum DEI {
1702 description "This enumeration value means that all priorities should be drop eligible.
1703 DEI = Drop Eligibility Indicator";
1704 }
1705 }
1706 description "This enum models the coding of the Priority Code Point as defined in section 'Priority Code Point encoding' of IEEE 802.1Q.";
1707 }
1708 typedef vlan-type {
1709 type enumeration {
1710 enum C_Tag {
1711 description "0x8100";
1712 }
1713 enum S_Tag {
1714 description "0x88a8";
1715 }
1716 enum I_Tag {
1717 description "88-e7";
1718 }
1719 }
1720 description "This enumeration contains the Ethertypes defined in IEEE 802.1Q.";
1721 }
1722 typedef repetition-period {
1723 type enumeration {
1724 enum 1MIN {
1725 description "none";
1726 }
1727 enum 1S {
1728 description "none";
1729 }
1730 enum 10S {
1731 description "none";
1732 }
1733 enum 0 {
1734 description "none";
1735 }
1736 }
1737 description "This enumeration defines the allowed values for the repetition period in on-demand measurements.
1738 Note: The value 0 means that the value is not relevant.";
1739 }
1740 typedef message-period {
1741 type enumeration {
1742 enum 10MS {
1743 description "none";
1744 }
1745 enum 100MS {
1746 description "none";
1747 }
1748 enum 1S {
1749 description "none";
1750 }
1751 enum 10S {
1752 description "none";
1753 }
1754 enum 0 {
1755 description "none";
1756 }
1757 }
1758 description "This enumeration defines the allowed values for the message period in on-demand measurements.
1759 Notes:
1760 The value 10ms is only used in synthetic loss measurements.
1761 The value 0 means that the value is not relevant.";
1762 }
1763 typedef oam-pdu-generation-type {
1764 type enumeration {
1765 enum SINGLE_INSTANCE {
1766 description "none";
1767 }
1768 enum REPETITIVE_INSTANCE {
1769 description "none";
1770 }
1771 enum SINGLE_SERIES {
1772 description "none";
1773 }
1774 enum REPETITIVE_SERIES {
1775 description "none";
1776 }
1777 }
1778 description "This enumeration defines the generation pattern of the on-demand OAM PDUs (messages). ";
1779 }
1780 grouping on-demand-dm-performance-parameters {
1781 leaf number-of-samples {
1782 type uint64;
1783 description "This attribute contains the number of received DM frames (successful samples) used for this frame delay measurement.
1784 range of type : non-negative";
1785 }
1786 leaf-list frame-delay-list {
1787 type uint64;
1788 description "This attribute contains the frame delays measured in ns (nano second, 1x10e-9 seconds). The multiplicity is defined by the numberOfSamples attribute.";
1789 }
1790 leaf-list frame-delay-variation-list {
1791 type uint64;
1792 description "This attribute contains the frame delay variations measured in ns (nano second). The multiplicity is defined by (numberOfSamples - 1, for numberOfSamples > 0).";
1793 }
1794 description "This data type contains the results of an on-demand delay measurement job.";
1795 }
1796 grouping on-demand-lm-performance-parameters {
1797 leaf total-transmitted-frames {
1798 type uint64;
1799 description "This attribute contains the total number of frames transmitted.";
1800 }
1801 leaf total-lost-frames {
1802 type uint64;
1803 description "This attribute contains the total number of frames lost.";
1804 }
1805 leaf total-frame-loss-ratio {
1806 type decimal64 {
1807 fraction-digits 7;
1808 }
1809 description "This attribute contains the frame loss ratio (number of lost frames divided by the number of total frames (N_LF / N_TF)).
1810 The accuracy of the value is for further study.";
1811 }
1812 description "This data type contains the results of an on-demand loss measurement job.";
1813 }
1814 grouping statistical-dm-performance-parameters {
1815 leaf minimum-frame-delay {
1816 type uint64;
1817 description "This attribute contains the minimum frame delay observed over the monitored period. It is measured in units of ns (nano second, 1x10e-9 seconds).";
1818 }
1819 leaf average-frame-delay {
1820 type uint64;
1821 description "This attribute contains the average frame delay observed over the monitored period. It is measured in units of ns (nano second, 1x10e-9 seconds).";
1822 }
1823 leaf maximum-frame-delay {
1824 type uint64;
1825 description "This attribute contains the maximum frame delay observed over the monitored period. It is measured in units of ns (nano second, 1x10e-9 seconds).";
1826 }
1827 leaf minimum-frame-delay-variation {
1828 type uint64;
1829 description "This attribute contains the minimum frame delay variation measured in units of ns (nano second, 1x10e-9 seconds).";
1830 }
1831 leaf average-frame-delay-variation {
1832 type uint64;
1833 description "This attribute contains the average frame delay variation measured in units of ns (nano second, 1x10e-9 seconds).";
1834 }
1835 leaf maximum-frame-delay-variation {
1836 type uint64;
1837 description "This attribute contains the maximum frame delay variation measured in units of ns (nano second, 1x10e-9 seconds).";
1838 }
1839 description "This data type contains the statistical delay measurement performance parameters.";
1840 }
1841 grouping statistical-lm-performance-parameters {
1842 leaf minimum-frame-loss-ratio {
1843 type decimal64 {
1844 fraction-digits 7;
1845 }
1846 description "This attribute contains the minimum frame loss ratio calculated over a period of time.
1847 The accuracy of the value is for further study.";
1848 }
1849 leaf average-frame-loss-ratio {
1850 type decimal64 {
1851 fraction-digits 7;
1852 }
1853 description "This attribute contains the average frame loss ratio calculated over a period of time.
1854 The accuracy of the value is for further study.";
1855 }
1856 leaf maximum-frame-loss-ratio {
1857 type decimal64 {
1858 fraction-digits 7;
1859 }
1860 description "This attribute contains the maximum frame loss ratio calculated over a period of time.
1861 The accuracy of the value is for further study.";
1862 }
1863 leaf ses {
1864 type uint64;
1865 description "This attribute contains the SES detected in the monitoring interval.
1866 range of type : 0..900 for 15min interval or 0..86400 for 24 hr interval.";
1867 }
1868 leaf uas {
1869 type uint64;
1870 description "This attribute contains UAS (unavailable seconds) detected in the monitoring interval.
1871 range of type : 0..900 for 15min interval or 0..86400 for 24 hr interval.";
1872 }
1873 description "This data type contains the statistical loss measurement performance parameters.";
1874 }
1875 typedef eth-oam-job-type {
1876 type identityref {
1877 base ETH_OAM_JOB_TYPE;
1878 }
1879 description "none";
1880 }
1881 grouping link-trace-result {
1882 leaf source-address {
1883 type mac-address;
1884 description "G.8052: This attribute contains the source MAC Address of an individual LTR frame result.";
1885 }
1886 leaf time-to-live {
1887 type uint64;
1888 description "G.8052: This attribute contains the Time To Live (TTL) value of an individual LTR frame result.";
1889 }
1890 leaf data-tlv-length {
1891 type uint64;
1892 description "G.8052: This attribute contains the length (in number of octets) of the Data TLV of an individual LTR frame result.";
1893 }
1894 description "G.8052: This data type contains the result from an individual LTR frame.";
1895 }
1896
1897}