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