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