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