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