2 namespace "http://metroethernetforum.org/ns/yang/mef-services";
4 import ietf-yang-types { prefix yang; }
5 import ietf-inet-types { prefix inet; }
6 import mef-types { prefix mef-types; }
7 import mef-global { prefix mef-global; }
8 import mef-interfaces { prefix mef-interfaces; }
9 import yang-ext {prefix ext; revision-date "2013-07-09";}
11 organization "Metro Ethernet Forum";
13 "Web URL: http://metroethernetforum.org/ E-mail: mibs@metroethernetforum.org
14 Postal: Metro Ethernet Forum 6033 W. Century Boulevard, Suite
15 1107 Los Angeles, CA 90045 U.S.A. Phone: +1 310-642-2800 Fax:
18 "This module implements the Carrier Ethernet Services as defined
19 in MEF 10.3, MEF 6.2, and MEF 7.2. Reference Overview: A number
20 of base documents have been used to create the MEF Services YANG
21 Module. The following are the abbreviations for the baseline documents:
22 [RFC 6991] refers to IETF RFC 6991 'Common YANG Data Types', 2013-07-15
23 [RFC 6643] refers to IETF RFC 6643 'Translation of Structure of
24 Management Information Version 2 (SMIv2) MIB Modules to YANG Modules',
25 2011-11-25 [802.1AB] refers to 'Station and Media Access Control
26 Connectivity Discovery', IEEE 802.1AB-2009, September 2009 [802.1q]
27 refers to IEEE 802.1Q-2011 'IEEE Standard for Local and metropolitan
28 area networks --Media Access Control (MAC) Bridges and Virtual
29 Bridged Local Area Networks, August 2011 [802-2001] refers to
30 'IEEE Standard for Local and Metropolitan Area Networks: Overview
31 and Architecture', IEEE 802-2001, February 2002 [MEF10.3] refers
32 to MEF 10.3 'Ethernet Services Attributes Phase 3', October 2013
33 [MEF6.2] refers to MEF 6.2 'EVC Ethernet Services Defintions Phase
34 3', August 2014 [MEF40] refers to MEF 40 'UNI and EVC Definition
35 of Managed Objects', April 2013 [MEF45] refers to MEF 45 'Multi-CEN
36 L2CP', August 2014 [MEF7.2] refers to MEF 7.2 'Carrier Ethernet
37 Management Information Model', April 2013 [MEF7.3] refers to MEF
38 7.3 'Carrier Ethernet Management Information Model', Working Draft
39 #1 2015 [RFC 2737] refers to IETF RFC 2737 'Entity MIB (Version
40 2)', December 1999 [RFC 2863] refers to IETF RFC 2863 'The Interfaces
41 Group MIB', June 2000 [RFC 3419] refers to IETF RFC 3419 'Textual
42 Conventions for Transport Addresses', December 2002 [Y.1731] refers
43 to ITU-T Y.1731 'OAM functions and mechanisms for Ethernet based
44 networks', July 2011 [Q.840.1] refers to ITU-T Q.840.1 'Requirements
45 and analysis for NMS-EMS management interface of Ethernet over
46 Transport and Metro Ethernet Network(EoT/MEN)' March 2007";
49 "Formal Project Review Draft 1.";
50 reference "EVC Ethernet Services Definitions YANG Modules " +
54 container mef-services {
58 must "(not(/mef-global:mef-global/mef-global:svc-providers)" +
61 "(/mef-global:mef-global/mef-global:svc-providers and " +
63 error-message "If the Service Providers list has been " +
64 "populated, a Service Provider ID must be " +
65 "configured for a Service.";
67 "A Service sees a single Service Provider. This must " +
68 "statement is effectively a 'mandatory true' when " +
69 "the Global Service Providers list is being used.";
73 unique "ipvc/ipvc-id";
75 "Metro Ethernet Forum's Ethernet Services.";
76 choice mef-service-choice {
81 key "uni-id ip-uni-id";
84 path "/mef-interfaces:mef-interfaces/" +
85 "mef-interfaces:unis/mef-interfaces:uni/" +
86 "mef-interfaces:uni-id";
90 type mef-types:identifier45;
93 container evc-uni-ce-vlans {
95 "EVC Per UNI CE-VLAN IDs.";
96 list evc-uni-ce-vlan {
99 "A list of the CE-VLAN IDs mapped to this UNI " +
101 reference "[MEF10.3] Section 8.6.1, [R24] " +
102 "[R25], Section 9.10.2, Section 9.12, " +
106 path "/mef-interfaces:mef-interfaces/" +
107 "mef-interfaces:unis/" +
108 "mef-interfaces:uni" +
109 "[mef-interfaces:uni-id = " +
110 "current()/../../../uni-id]" +
111 "/mef-interfaces:ce-vlans/" +
112 "mef-interfaces:ce-vlan/" +
113 "mef-interfaces:vid";
124 type mef-types:evc-id-type;
128 type mef-types:ipvc-type;
132 "This IPVC attribute describes the IPVC as either " +
133 "Cloud-access, Multipoint, or " +
134 "Rooted-Multipoint.";
141 must "not(sls-uni-inclusions) or " +
142 "(sls-uni-inclusions and not(sls-uni-exclusions))" {
143 error-message "The EVC Performance SLS Exclusions and " +
144 "Inclusions List cannot both be configured for " +
147 "The EVC Performance SLS Exclusions and Inclusions " +
148 "List cannot both be configured for an EVC.";
150 must "(evc-type != 'rooted-multipoint') or " +
151 "((evc-type = 'rooted-multipoint') and " +
152 "not(sls-uni-exclusions) )" {
153 error-message "If EVC Type is Rooted-Multipoint, " +
154 "sls-uni-inclusions must be used instead of " +
155 "sls-uni-exclusions.";
157 "If EVC Type is Rooted-Multipoint, " +
158 "sls-uni-inclusions must be used instead of " +
159 "sls-uni-exclusions.";
162 "Ethernet Virtual Circuit(EVC) Configuration and Status.";
165 "EVC Per Universal Network Interface(UNI) " +
166 "Configuration and Status.";
168 must "not(evc-uni-ce-vlans/evc-uni-ce-vlan[2]) or " +
169 "../../preserve-ce-vlan-id = 'true'" {
170 error-message "When more than one CE-VLAN-ID is " +
171 "mapped to an EVC at a UNI, the EVC must have " +
172 "CE-VLAN ID Preservation Enabled.";
174 "When more than one CE-VLAN-ID is mapped to " +
175 "an EVC at a UNI, the EVC must have CE-VLAN ID " +
176 "Preservation Enabled.";
178 must "/mef-interfaces:mef-interfaces/mef-interfaces:" +
179 "unis/mef-interfaces:uni" +
180 "[mef-interfaces:uni-id = current()/" +
181 "mef-services:uni-id]" +
182 "[mef-interfaces:uni-id/../mef-interfaces:" +
183 "max-svc-frame-size >= current()/../../" +
184 "mef-services:max-svc-frame-size]" {
185 error-message "The value of the EVC Maximum " +
186 "Service Frame Size must be less than " +
187 "or equal to all the UNI Maximum Service " +
190 "The value of the EVC Maximum Service Frame " +
191 "Size must be less than or equal to all the " +
192 "UNI Maximum Service Frame Sizes.";
194 must "(/mef-interfaces:mef-interfaces/mef-interfaces:" +
195 "unis/mef-interfaces:uni" +
196 "[mef-interfaces:uni-id = current()/" +
197 "mef-services:uni-id]" +
198 "[mef-interfaces:uni-id/../mef-interfaces:" +
199 "bundling-enabled = 'true']) or " +
200 "(/mef-interfaces:mef-interfaces/" +
201 "mef-interfaces:unis/mef-interfaces:uni" +
202 "[mef-interfaces:uni-id = current()/" +
203 "mef-services:uni-id]" +
204 "[mef-interfaces:uni-id/../mef-interfaces:" +
205 "all-to-one-bundling-enabled = 'true']) or " +
206 "not(evc-uni-ce-vlans/evc-uni-ce-vlan[2])" {
207 error-message "If both Bundling and All-to-One " +
208 "Bundling are disabled for a UNI, only one " +
209 "CE VLAN ID can be configured for a specific " +
212 "If both Bundling and All-to-One Bundling are " +
213 "disabled for a UNI, only one CE VLAN ID can be " +
214 "configured for a specific EVC on that UNI.";
216 must "(/mef-interfaces:mef-interfaces/mef-interfaces:" +
217 "unis/mef-interfaces:uni" +
218 "[mef-interfaces:uni-id = current()/" +
219 "mef-services:uni-id]" +
220 "[mef-interfaces:uni-id/../mef-interfaces:" +
221 "all-to-one-bundling-enabled = 'false']) or " +
222 "(count(/mef-services:mef-services/" +
223 "mef-service/evc/unis/uni[uni-id = " +
224 "current()/uni-id]) = 1)" {
225 error-message "If All-to-One Bundling is enabled " +
226 "for any UNI in an EVC, all CE-VLAN IDs " +
227 "mapped to any EVC for that UNI must map " +
228 "to the same EVC ID.";
230 "If All-to-One Bundling is enabled for any UNI " +
231 "in an EVC, all CE-VLAN IDs mapped to any EVC " +
232 "for that UNI must map to the same EVC ID.";
234 must "((/mef-interfaces:mef-interfaces/" +
235 "mef-interfaces:unis/mef-interfaces:uni" +
236 "[mef-interfaces:uni-id = current()/" +
237 "mef-services:uni-id]" +
238 "[mef-interfaces:uni-id/../mef-interfaces:" +
239 "ingress-bw-profile-per-uni]) or " +
240 "(/mef-services:mef-services/mef-service/" +
242 "[uni-id = current()/mef-services:uni-id]" +
243 "/ingress-bwp-flows-per-cos) or " +
244 "(/mef-services:mef-services/mef-service/" +
246 "[uni-id = current()/mef-services:uni-id]" +
247 "/ingress-bw-profile-per-evc)) or " +
248 "not(/mef-interfaces:mef-interfaces/" +
249 "mef-interfaces:unis/mef-interfaces:uni" +
250 "[mef-interfaces:uni-id = current()/" +
251 "mef-services:uni-id]" +
252 "/mef-interfaces:ingress-envelopes)" {
253 error-message "If no Ingress Bandwidth Profiles " +
254 "are specied for this UNI (BW Profile " +
255 "Per UNI, BWP Flows Per CoS, nor BW Profile " +
256 "Per EVC), then the UNI Ingress Envelopes " +
257 "list must be empty.";
259 "If no Ingress Bandwidth Profiles are specied " +
260 "for this UNI (BW Profile Per UNI, BWP Flows " +
261 "Per CoS, nor BW Profile Per EVC), then the " +
262 "UNI Ingress Envelopes list must be empty.";
264 must "((/mef-interfaces:mef-interfaces/" +
265 "mef-interfaces:unis/mef-interfaces:uni" +
266 "[mef-interfaces:uni-id = current()/" +
267 "mef-services:uni-id]" +
268 "[mef-interfaces:uni-id/../mef-interfaces:" +
269 "egress-bw-profile-per-uni]) or " +
270 "(/mef-services:mef-services/mef-service/" +
272 "[uni-id = current()/mef-services:uni-id]" +
273 "/egress-bwp-flows-per-eec) or " +
274 "(/mef-services:mef-services/mef-service/" +
276 "[uni-id = current()/mef-services:uni-id]" +
277 "/egress-bw-profile-per-evc)) or " +
278 "not(/mef-interfaces:mef-interfaces/" +
279 "mef-interfaces:unis/mef-interfaces:uni" +
280 "[mef-interfaces:uni-id = current()/" +
281 "mef-services:uni-id]" +
282 "/mef-interfaces:egress-envelopes)" {
283 error-message "If no Egress Bandwidth Profiles are " +
284 "specied for this UNI (BW Profile Per UNI, " +
285 "BWP Flows Per EEC, nor BW Profile Per EVC), " +
286 "then the UNI Egress Envelopes list must be " +
289 "If no Egress Bandwidth Profiles are specied " +
290 "for this UNI (BW Profile Per UNI, BWP Flows " +
291 "Per EEC, nor BW Profile Per EVC), then the UNI " +
292 "Egress Envelopes list must be empty.";
294 must "not(./ingress-bw-profile-per-evc) or " +
295 "((./ingress-bw-profile-per-evc) and " +
296 "not(./ingress-bwp-flows-per-cos))" {
297 error-message "If there is a per EVC Ingress " +
298 "Bandwidth Profile on an EVC, then there " +
299 "cannot be any per Class of Service Ingress " +
300 "Bandwidth Profiles on that EVC.";
302 "If there is a per EVC Ingress Bandwidth Profile " +
303 "on an EVC, then there cannot be any per " +
304 "Class of Service Ingress Bandwidth Profiles " +
307 must "not(./egress-bw-profile-per-evc) or " +
308 "((./egress-bw-profile-per-evc) and " +
309 "not(./egress-bwp-flows-per-eec))" {
310 error-message "If there is a per EVC Egress " +
311 "Bandwidth Profile on an EVC, then there " +
312 "cannot be any per Egress Equivalence " +
313 "Class Identifier Bandwidth Profiles on " +
316 "If there is a per EVC Egress Bandwidth " +
317 "Profile on an EVC, then there cannot be " +
318 "any per Egress Equivalence Class Identifier " +
319 "Bandwidth Profiles on that EVC.";
321 must "not(/mef-interfaces:mef-interfaces/" +
322 "mef-interfaces:unis/mef-interfaces:uni" +
323 "[mef-interfaces:uni-id = current()/" +
324 "mef-services:uni-id]" +
325 "/mef-interfaces:ingress-bw-profile-" +
327 "(/mef-global:mef-global/mef-global:" +
328 "profiles/mef-global:ingress-bwp-flows/" +
329 "mef-global:bwp-flow" +
330 "[mef-global:bw-profile = /mef-interfaces:" +
331 "mef-interfaces/mef-interfaces:unis/" +
332 "mef-interfaces:uni" +
333 "[mef-interfaces:uni-id = current()/" +
334 "mef-services:uni-id]" +
335 "/mef-interfaces:ingress-bw-profile-per-uni]" +
336 "[mef-global:cir = 0]) or " +
337 "(/mef-global:mef-global/mef-global:" +
338 "profiles/mef-global:ingress-bwp-flows/" +
339 "mef-global:bwp-flow" +
340 "[mef-global:bw-profile = /mef-interfaces:" +
341 "mef-interfaces/mef-interfaces:unis/" +
342 "mef-interfaces:uni" +
343 "[mef-interfaces:uni-id = current()/" +
344 "mef-services:uni-id]" +
345 "/mef-interfaces:ingress-bw-profile-per-uni]" +
346 "[mef-global:cbs >= current()/../../" +
347 "max-svc-frame-size])" {
348 error-message "Ingress Bandwidth Profile Per UNI: " +
349 "If CIR > 0, CBS must be greater than or " +
350 "equal to the EVC Max Service Frame Size " +
353 "Ingress Bandwidth Profile Per UNI: If CIR > 0, " +
354 "CBS must be greater than or equal to the " +
355 "EVC Max Service Frame Size for the EVC.";
357 must "not(/mef-interfaces:mef-interfaces/" +
358 "mef-interfaces:unis/mef-interfaces:uni" +
359 "[mef-interfaces:uni-id = current()/" +
360 "mef-services:uni-id]" +
361 "/mef-interfaces:egress-bw-profile-per-uni) " +
363 "(/mef-global:mef-global/mef-global:profiles/" +
364 "mef-global:egress-bwp-flows/mef-global:" +
366 "[mef-global:bw-profile = /mef-interfaces:" +
367 "mef-interfaces/mef-interfaces:unis/" +
368 "mef-interfaces:uni" +
369 "[mef-interfaces:uni-id = current()/" +
370 "mef-services:uni-id]" +
371 "/mef-interfaces:egress-bw-profile-per-uni]" +
372 "[mef-global:cir = 0]) or " +
373 "(/mef-global:mef-global/mef-global:profiles/" +
374 "mef-global:ingress-bwp-flows/mef-global:" +
376 "[mef-global:bw-profile = /mef-interfaces:" +
377 "mef-interfaces/mef-interfaces:unis/" +
378 "mef-interfaces:uni" +
379 "[mef-interfaces:uni-id = current()/" +
380 "mef-services:uni-id]" +
381 "/mef-interfaces:egress-bw-profile-per-uni]" +
382 "[mef-global:cbs >= current()/../../" +
383 "max-svc-frame-size])" {
384 error-message "Egress Bandwidth Profile Per UNI: " +
385 "If CIR > 0, CBS must be greater than or " +
386 "equal to the EVC Max Service Frame Size " +
389 "Egress Bandwidth Profile Per UNI: If CIR > 0, " +
390 "CBS must be greater than or equal to the " +
391 "EVC Max Service Frame Size for the EVC.";
393 must "not(/mef-interfaces:mef-interfaces/" +
394 "mef-interfaces:unis/mef-interfaces:uni" +
395 "[mef-interfaces:uni-id = current()/" +
396 "mef-services:uni-id]" +
397 "/mef-interfaces:ingress-envelopes) or " +
398 "(/mef-global:mef-global/mef-global:" +
399 "profiles/mef-global:ingress-bwp-flows/" +
400 "mef-global:bwp-flow" +
401 "[mef-global:bw-profile = /mef-interfaces:" +
402 "mef-interfaces/mef-interfaces:unis/" +
403 "mef-interfaces:uni" +
404 "[mef-interfaces:uni-id = current()/" +
405 "mef-services:uni-id]" +
406 "/mef-interfaces:ingress-envelopes/" +
407 "mef-interfaces:envelope/mef-interfaces:" +
408 "bwp-flows/mef-interfaces:bwp-flow/" +
409 "mef-interfaces:bw-profile]" +
410 "[mef-global:cir = 0]) or " +
411 "(/mef-global:mef-global/mef-global:" +
412 "profiles/mef-global:ingress-bwp-flows/" +
413 "mef-global:bwp-flow" +
414 "[mef-global:bw-profile = /mef-interfaces:" +
415 "mef-interfaces/mef-interfaces:unis/" +
416 "mef-interfaces:uni" +
417 "[mef-interfaces:uni-id = current()/" +
418 "mef-services:uni-id]" +
419 "/mef-interfaces:ingress-envelopes/" +
420 "mef-interfaces:envelope/mef-interfaces:" +
421 "bwp-flows/mef-interfaces:bwp-flow/" +
422 "mef-interfaces:bw-profile]" +
423 "[mef-global:cbs >= current()/../../" +
424 "max-svc-frame-size])" {
425 error-message "Ingress Bandwidth Profile Envelope: " +
426 "If CIR > 0, CBS must be greater than or " +
427 "equal to the EVC Max Service Frame Size " +
430 "Ingress Bandwidth Profile Envelope: " +
431 "If CIR > 0, CBS must be greater than " +
432 "or equal to the EVC Max Service Frame " +
435 must "not(/mef-interfaces:mef-interfaces/" +
436 "mef-interfaces:unis/mef-interfaces:uni" +
437 "[mef-interfaces:uni-id = current()/" +
438 "mef-services:uni-id]" +
439 "/mef-interfaces:egress-envelopes) or " +
440 "(/mef-global:mef-global/mef-global:" +
441 "profiles/mef-global:egress-bwp-flows/" +
442 "mef-global:bwp-flow" +
443 "[mef-global:bw-profile = " +
444 "/mef-interfaces:mef-interfaces/" +
445 "mef-interfaces:unis/mef-interfaces:uni" +
446 "[mef-interfaces:uni-id = current()/" +
447 "mef-services:uni-id]" +
448 "/mef-interfaces:egress-envelopes/" +
449 "mef-interfaces:envelope/mef-interfaces:" +
450 "bwp-flows/mef-interfaces:bwp-flow/" +
451 "mef-interfaces:bw-profile]" +
452 "[mef-global:cir = 0]) or " +
453 "(/mef-global:mef-global/mef-global:" +
454 "profiles/mef-global:egress-bwp-flows/" +
455 "mef-global:bwp-flow" +
456 "[mef-global:bw-profile = /mef-interfaces:" +
457 "mef-interfaces/mef-interfaces:unis/" +
458 "mef-interfaces:uni" +
459 "[mef-interfaces:uni-id = current()/" +
460 "mef-services:uni-id]" +
461 "/mef-interfaces:egress-envelopes/" +
462 "mef-interfaces:envelope/mef-interfaces:" +
463 "bwp-flows/mef-interfaces:bwp-flow/" +
464 "mef-interfaces:bw-profile]" +
465 "[mef-global:cbs >= current()/../../" +
466 "max-svc-frame-size])" {
467 error-message "Egress Bandwidth Profile " +
468 "Envelope: If CIR > 0, CBS must be greater " +
469 "than or equal to the EVC Max Service Frame " +
472 "Egress Bandwidth Profile Envelope: If CIR > 0, " +
473 "CBS must be greater than or equal to the " +
474 "EVC Max Service Frame Size for the EVC.";
476 must "not(/mef-interfaces:mef-interfaces/" +
477 "mef-interfaces:unis/mef-interfaces:uni" +
478 "[mef-interfaces:uni-id = current()/" +
479 "mef-services:uni-id]" +
480 "/mef-interfaces:ingress-bw-profile-per-uni) " +
482 "(/mef-global:mef-global/mef-global:profiles/" +
483 "mef-global:ingress-bwp-flows/mef-global:" +
485 "[mef-global:bw-profile = /mef-interfaces:" +
486 "mef-interfaces/mef-interfaces:unis/" +
487 "mef-interfaces:uni" +
488 "[mef-interfaces:uni-id = current()/" +
489 "mef-services:uni-id]/mef-interfaces:" +
490 "ingress-bw-profile-per-uni]" +
491 "[mef-global:eir = 0]) or " +
492 "(/mef-global:mef-global/mef-global:profiles/" +
493 "mef-global:ingress-bwp-flows/" +
494 "mef-global:bwp-flow" +
495 "[mef-global:bw-profile = /mef-interfaces:" +
496 "mef-interfaces/mef-interfaces:unis/" +
497 "mef-interfaces:uni" +
498 "[mef-interfaces:uni-id = current()/" +
499 "mef-services:uni-id]" +
500 "/mef-interfaces:ingress-bw-profile-per-uni]" +
501 "[mef-global:ebs >= current()/../../" +
502 "max-svc-frame-size])" {
503 error-message "Ingress Bandwidth Profile Per UNI: " +
504 "If EIR > 0, EBS must be greater than or " +
505 "equal to the EVC Max Service Frame Size " +
508 "Ingress Bandwidth Profile Per UNI: If EIR > 0, " +
509 "EBS must be greater than or equal to the " +
510 "EVC Max Service Frame Size for the EVC.";
512 must "not(/mef-interfaces:mef-interfaces/" +
513 "mef-interfaces:unis/mef-interfaces:uni" +
514 "[mef-interfaces:uni-id = current()/" +
515 "mef-services:uni-id]" +
516 "/mef-interfaces:egress-bw-profile-" +
518 "(/mef-global:mef-global/mef-global:" +
519 "profiles/mef-global:egress-bwp-flows/" +
520 "mef-global:bwp-flow" +
521 "[mef-global:bw-profile = /mef-interfaces:" +
522 "mef-interfaces/mef-interfaces:unis/" +
523 "mef-interfaces:uni" +
524 "[mef-interfaces:uni-id = current()/" +
525 "mef-services:uni-id]/mef-interfaces:" +
526 "egress-bw-profile-per-uni]" +
527 "[mef-global:eir = 0]) or " +
528 "(/mef-global:mef-global/mef-global:" +
529 "profiles/mef-global:ingress-bwp-flows/" +
530 "mef-global:bwp-flow" +
531 "[mef-global:bw-profile = /mef-interfaces:" +
532 "mef-interfaces/mef-interfaces:unis/" +
533 "mef-interfaces:uni" +
534 "[mef-interfaces:uni-id = current()/" +
535 "mef-services:uni-id]/mef-interfaces:" +
536 "egress-bw-profile-per-uni]" +
537 "[mef-global:ebs >= current()/../../" +
538 "max-svc-frame-size])" {
539 error-message "Egress Bandwidth Profile Per UNI: " +
540 "If EIR > 0, EBS must be greater than or " +
541 "equal to the EVC Max Service Frame Size " +
544 "Egress Bandwidth Profile Per UNI: If EIR > 0, " +
545 "EBS must be greater than or equal to the " +
546 "EVC Max Service Frame Size for the EVC.";
548 must "not(/mef-interfaces:mef-interfaces/" +
550 "unis/mef-interfaces:uni" +
551 "[mef-interfaces:uni-id = current()/" +
552 "mef-services:uni-id]" +
553 "/mef-interfaces:ingress-envelopes) or " +
554 "(/mef-global:mef-global/mef-global:profiles/" +
555 "mef-global:ingress-bwp-flows/mef-global:" +
557 "[mef-global:bw-profile = /mef-interfaces:" +
558 "mef-interfaces/mef-interfaces:unis/" +
559 "mef-interfaces:uni" +
560 "[mef-interfaces:uni-id = current()/" +
561 "mef-services:uni-id]" +
562 "/mef-interfaces:ingress-envelopes/" +
563 "mef-interfaces:envelope/mef-interfaces:" +
564 "bwp-flows/mef-interfaces:bwp-flow/" +
565 "mef-interfaces:bw-profile]" +
566 "[mef-global:eir = 0]) or " +
567 "(/mef-global:mef-global/mef-global:profiles/" +
568 "mef-global:ingress-bwp-flows/mef-global:" +
570 "[mef-global:bw-profile = /mef-interfaces:" +
571 "mef-interfaces/mef-interfaces:unis/" +
572 "mef-interfaces:uni" +
573 "[mef-interfaces:uni-id = current()/" +
574 "mef-services:uni-id]" +
575 "/mef-interfaces:ingress-envelopes/" +
576 "mef-interfaces:envelope/mef-interfaces:" +
577 "bwp-flows/mef-interfaces:bwp-flow/" +
578 "mef-interfaces:bw-profile]" +
579 "[mef-global:ebs >= current()/../../" +
580 "max-svc-frame-size])" {
581 error-message "Ingress Bandwidth Profile Envelope: " +
582 "If EIR > 0, EBS must be greater than or " +
583 "equal to the EVC Max Service Frame Size " +
586 "Ingress Bandwidth Profile Envelope: " +
587 "If EIR > 0, EBS must be greater than or equal " +
588 "to the EVC Max Service Frame Size for the EVC.";
590 must "not(/mef-interfaces:mef-interfaces/" +
591 "mef-interfaces:unis/mef-interfaces:uni" +
592 "[mef-interfaces:uni-id = current()/" +
593 "mef-services:uni-id]" +
594 "/mef-interfaces:egress-envelopes) or " +
595 "(/mef-global:mef-global/mef-global:" +
596 "profiles/mef-global:egress-bwp-flows/" +
597 "mef-global:bwp-flow" +
598 "[mef-global:bw-profile = /mef-interfaces:" +
599 "mef-interfaces/mef-interfaces:unis/" +
600 "mef-interfaces:uni" +
601 "[mef-interfaces:uni-id = current()/" +
602 "mef-services:uni-id]" +
603 "/mef-interfaces:egress-envelopes/" +
604 "mef-interfaces:envelope/mef-interfaces:" +
605 "bwp-flows/mef-interfaces:bwp-flow/" +
606 "mef-interfaces:bw-profile]" +
607 "[mef-global:eir = 0]) or " +
608 "(/mef-global:mef-global/mef-global:profiles/" +
609 "mef-global:egress-bwp-flows/mef-global:" +
611 "[mef-global:bw-profile = /mef-interfaces:" +
612 "mef-interfaces/mef-interfaces:unis/" +
613 "mef-interfaces:uni" +
614 "[mef-interfaces:uni-id = current()/" +
615 "mef-services:uni-id]" +
616 "/mef-interfaces:egress-envelopes/" +
617 "mef-interfaces:envelope/mef-interfaces:" +
618 "bwp-flows/mef-interfaces:bwp-flow/" +
619 "mef-interfaces:bw-profile]" +
620 "[mef-global:ebs >= current()/../../" +
621 "max-svc-frame-size])" {
622 error-message "Egress Bandwidth Profile Envelope: " +
623 "If EIR > 0, EBS must be greater than or " +
624 "equal to the EVC Max Service Frame Size " +
627 "Egress Bandwidth Profile Envelope: " +
628 "If EIR > 0, EBS must be greater than or " +
629 "equal to the EVC Max Service Frame Size " +
634 "EVC Flow Points and EVC-UNI List defines the " +
635 "roles of each UNI in the Service. One UNI can " +
636 "be used by 0 or more EVCs.";
637 reference "[MEF10.3] Section 8.3. " +
638 "[MEF7.3] Section 12.2.2.";
639 container evc-uni-ce-vlans {
641 "EVC Per UNI CE-VLAN IDs.";
642 list evc-uni-ce-vlan {
645 "A list of the CE-VLAN IDs mapped to this UNI " +
647 reference "[MEF10.3] Section 8.6.1, [R24] " +
648 "[R25], Section 9.10.2, Section 9.12, " +
652 path "/mef-interfaces:mef-interfaces/" +
653 "mef-interfaces:unis/" +
654 "mef-interfaces:uni" +
655 "[mef-interfaces:uni-id = " +
656 "current()/../../../uni-id]" +
657 "/mef-interfaces:ce-vlans/" +
658 "mef-interfaces:ce-vlan/" +
659 "mef-interfaces:vid";
661 must "not(current()/../../" +
662 "evc-uni-ce-vlan[2]) or " +
663 "(count(../../../../uni/evc-uni-ce-vlans/" +
665 "[vid = current()]) = " +
666 "count(../../../../uni))" {
667 error-message "If more than one CE-VLAN ID " +
668 "is configured for a UNI as part of " +
669 "an EVC, every CE VLAN-ID mapped to " +
670 "that EVC must be configured for all " +
671 "UNIs within that EVC.";
673 "If more than one CE-VLAN ID is configured " +
674 "for a UNI as part of an EVC, every " +
675 "CE VLAN-ID mapped to that EVC must be " +
676 "configured for all UNIs within that EVC.";
683 container ingress-bwp-flows-per-cos {
684 presence "Use Ingress Bandwidth Profiles Per CoS";
686 "EVC Per UNI Class of Service Identifiers " +
687 "corresponding to this EVC's Ingress Bandwidth " +
689 leaf coupling-enabled {
693 "EVC Per UNI Envelope Coupling Flag (CF) " +
695 reference "[MEF10.3] Section 12.1.";
697 list bwp-flow-per-cos {
700 "EVC Per UNI: The list of Class of Service " +
701 "Identifiers corresponding to this UNI's " +
702 "Ingress Bandwidth Profile Flow.";
705 path "/mef-global:mef-global/mef-global:" +
706 "profiles/mef-global:cos-names/" +
707 "mef-global:cos-name/mef-global:name";
710 "EVC Per UNI: Class of Service Identifier " +
711 "for this Bandwidth Profile Flow.";
712 reference "[MEF7.3] Section 12.1.2.";
716 path "/mef-interfaces:mef-interfaces/" +
717 "mef-interfaces:unis/" +
718 "mef-interfaces:uni" +
719 "[mef-interfaces:uni-id = " +
720 "current()/../../../uni-id]" +
721 "/mef-interfaces:ingress-envelopes/" +
722 "mef-interfaces:envelope/" +
723 "mef-interfaces:env-id";
727 "EVC Per UNI: Ingress Bandwidth Profile " +
728 "Envelope Per CoS ID. If this parameter " +
729 "is not configured (ie. 'No') this " +
730 "setting is configured else at the " +
732 reference "[MEF10.3] Section 10.6, Table 28. " +
733 "[MEF7.3] Section 12.1.2.";
737 container egress-bwp-flows-per-eec {
738 presence "Using Egress Bandwidth Profiles Per " +
739 "Egress Equivalence Class";
741 "EVC Per UNI: The Egress Equivalence Class " +
742 "Identifiers corresponding to this EVC's Egress " +
743 "Bandwidth Profile Flows.";
744 leaf coupling-enabled {
748 "EVC Per UNI: The Envelope Coupling Flag (CF) " +
750 reference "[MEF10.3] Section 12.1.";
752 list bwp-flow-per-eec {
755 "EVC Per UNI: The list of Egress Equivalence " +
756 "Class Identifiers corresponding to this " +
757 "EVC's Egress Bandwidth Profile Flow.";
760 path "/mef-global:mef-global/mef-global:" +
761 "profiles/mef-global:eec-names/" +
762 "mef-global:eec-name/mef-global:name";
765 "EVC Per UNI: Egress Equivalence Class " +
766 "Identifier for this Bandwidth Profile Flow.";
767 reference "[MEF7.3] Section 12.1.2.";
771 path "/mef-interfaces:mef-interfaces/" +
772 "mef-interfaces:unis/" +
773 "mef-interfaces:uni" +
774 "[mef-interfaces:uni-id = " +
775 "current()/../../../uni-id]" +
776 "/mef-interfaces:egress-envelopes/" +
777 "mef-interfaces:envelope/" +
778 "mef-interfaces:env-id";
782 "EVC Per UNI: Egress Bandwidth Profile " +
783 "Envelope Per Equivance Class. If this " +
784 "parameter is not configured (ie. 'No') " +
785 "this setting is configured else at the " +
787 reference "[MEF10.3] Section 10.6, Table 28. " +
788 "[MEF7.3] Section 12.1.2.";
794 "EVC Per UNI: This status group is related to " +
795 "the MEF 7.3 Service Endpoint";
796 leaf oper-state-enabled {
801 "EVC Per UNI: Operational Status of the " +
802 "Virtual Connection as Enabled/Disabled.";
803 reference "[MEF15]. [MEF7.3] Section 11.2.1.";
805 leaf available-status {
806 type mef-types:svc-endpoint-availability-type;
807 default "not-installed";
810 "EVC Per UNI: Availability Status of the " +
811 "Virtual Connection.";
812 reference "[MEF15]. [MEF7.3] Section 11.2.1.";
817 path "/mef-interfaces:mef-interfaces/" +
818 "mef-interfaces:unis/mef-interfaces:uni/" +
819 "mef-interfaces:uni-id";
822 "EVC Per UNI: The UNI ID paired with the EVC ID " +
823 "in the containing list.";
824 reference "[MEF10.3] Section 8.3, Section 10.1. " +
825 "[MEF7.3] Section 12.1.2.";
828 type mef-types:evc-uni-role-type;
831 "EVC Per UNI: The UNI Role MUST have the value " +
832 "of either 'root' or 'leaf'.";
833 reference "[MEF10.3] [R4], [R5], [R10], [R11], " +
834 "[R12]. [MEF7.3] Section 12.2.2.";
836 leaf admin-state-enabled {
840 "EVC Per UNI: Locked/Unlocked is inconsistent " +
841 "with Oper Status and will be confusing.";
842 reference "[MEF15]. [MEF7.3] Section 11.2.1.";
845 type mef-types:cos-color-identifier-type;
847 "EVC Per UNI: The Color Identifier for " +
849 reference "[MEF10.3] Section 10.3. " +
850 "[MEF7.3] Section 12.1.2.";
852 leaf data-svc-frm-cos {
854 path "/mef-global:mef-global/mef-global:profiles/" +
855 "mef-global:cos/mef-global:cos-profile/" +
858 must "not(/mef-global:mef-global/mef-global:" +
859 "profiles/mef-global:cos/" +
860 "mef-global:cos-profile" +
861 "[mef-global:id = current()]" +
862 "/mef-global:cos-pcp) or " +
863 "((/mef-global:mef-global/mef-global:" +
864 "profiles/mef-global:cos/" +
865 "mef-global:cos-profile" +
866 "[mef-global:id = current()]" +
867 "/mef-global:cos-pcp) and " +
868 "((../color-id = 'pcp') or " +
869 "(../color-id = 'dei')) )" {
870 error-message "When the Class of Service " +
871 "Identifier is based on PCP for a " +
872 "given EVC at a given UNI, the Color " +
873 "Identifier must be based on either " +
876 "When the Class of Service Identifier is " +
877 "based on PCP for a given EVC at a given UNI, " +
878 "the Color Identifier must be based on either " +
881 must "not(/mef-global:mef-global/mef-global:" +
882 "profiles/mef-global:cos/mef-global:" +
884 "[mef-global:id = current()]/mef-global:" +
886 "((/mef-global:mef-global/mef-global:" +
887 "profiles/mef-global:cos/mef-global:" +
889 "[mef-global:id = current()]/mef-global:" +
891 "(../color-id = 'dscp'))" {
892 error-message "When the Class of Service " +
893 "Identifier is based on DSCP for a " +
894 "given EVC at a given UNI, the Color " +
895 "Identifier must be based DSCP.";
897 "When the Class of Service Identifier is based " +
898 "on DSCP for a given EVC at a given UNI, the " +
899 "Color Identifier must be based DSCP.";
902 "EVC Per UNI: Ingress Data Service Frame " +
904 reference "[MEF10.3] Section 8.8, Section 10.2. " +
905 "[MEF7.3] Section 12.1.2.";
907 leaf l2cp-svc-frm-cos {
909 path "/mef-global:mef-global/mef-global:" +
910 "profiles/mef-global:l2cp-cos/mef-global:" +
911 "l2cp-profile/mef-global:id";
914 "EVC Per UNI: Ingress Layer 2 Control Protocol " +
916 reference "[MEF10.3] Section 8.8, Section 10.2. " +
917 "[MEF7.3] Section 12.1.2.";
919 leaf soam-svc-frm-cos {
921 path "/mef-global:mef-global/mef-global:profiles/" +
922 "mef-global:cos/mef-global:cos-profile/" +
925 must "(not(.) and not(../data-svc-frm-cos)) or " +
926 "(. = ../data-svc-frm-cos)" {
927 error-message "For a given EVC at a given UNI, " +
928 "the basis for the Class of Service " +
929 "Identifier for ingress SOAM Service " +
930 "Frames must be the same as that for " +
931 "ingress Data Service Frames.";
933 "For a given EVC at a given UNI, the basis " +
934 "for the Class of Service Identifier for " +
935 "ingress SOAM Service Frames must be the " +
936 "same as that for ingress Data Service Frames.";
939 "EVC Per UNI: Ingress SOAM Service Frames.";
940 reference "[MEF7.3] Section 12.1.2.";
942 leaf data-svc-frm-eec {
944 path "/mef-global:mef-global/mef-global:profiles/" +
945 "mef-global:eec/mef-global:eec-profile/" +
948 must "not(/mef-global:mef-global/mef-global:" +
949 "profiles/mef-global:eec/mef-global:" +
951 "[mef-global:id = current()]" +
952 "/mef-global:eec-pcp) or " +
953 "((/mef-global:mef-global/mef-global:" +
954 "profiles/mef-global:eec/mef-global:" +
956 "[mef-global:id = current()]" +
957 "/mef-global:eec-pcp) and " +
958 "((../color-id = 'pcp') or " +
959 "(../color-id = 'dei')) )" {
960 error-message "When the Egress Equivalence " +
961 "Class Identifier is based on PCP " +
962 "for a given EVC at a given UNI, " +
963 "the Color Identifier must be based " +
964 "on either DEI or PCP.";
966 "When the Egress Equivalence Class Identifier " +
967 "is based on PCP for a given EVC at a " +
968 "given UNI, the Color Identifier must " +
969 "be based on either DEI or PCP.";
971 must "not(/mef-global:mef-global/mef-global:" +
972 "profiles/mef-global:eec/mef-global:" +
974 "[mef-global:id = current()]" +
975 "/mef-global:eec-dscp) or " +
976 "((/mef-global:mef-global/mef-global:" +
977 "profiles/mef-global:eec/mef-global:" +
979 "[mef-global:id = current()]" +
980 "/mef-global:eec-dscp) and " +
981 "(../color-id = 'dscp'))" {
982 error-message "When the Egress Equivalence " +
983 "Class Identifier is based on DSCP for " +
984 "a given EVC at a given UNI, the Color " +
985 "Identifier must be based DSCP.";
987 "When the Egress Equivalence Class Identifier " +
988 "is based on DSCP for a given EVC at a given " +
989 "UNI, the Color Identifier must be based DSCP.";
992 "EVC Per UNI: Egress Data Service Frame Processing.";
993 reference "[MEF10.3] Section 10.4. " +
994 "[MEF7.3] Section 12.1.2.";
996 leaf l2cp-svc-frm-eec {
998 path "/mef-global:mef-global/mef-global:profiles/" +
999 "mef-global:l2cp-eec/mef-global:" +
1000 "l2cp-profile/mef-global:id";
1003 "EVC Per UNI: Egress Layer 2 Control Protocol " +
1005 reference "[MEF10.3] Section 10.4. " +
1006 "[MEF7.3] Section 12.1.2.";
1008 leaf soam-svc-frm-eec {
1010 path "/mef-global:mef-global/mef-global:" +
1011 "profiles/mef-global:eec/mef-global:" +
1012 "eec-profile/mef-global:id";
1014 must "(not(.) and not(../data-svc-frm-eec)) or " +
1015 "(. = ../data-svc-frm-eec)" {
1016 error-message "For a given EVC at a given UNI, " +
1017 "the basis for the Egress Equivalence " +
1018 "Class Identifier for egress SOAM " +
1019 "Service Frames must be the same as " +
1020 "that for egress Data Service Frames.";
1022 "For a given EVC at a given UNI, the basis " +
1023 "for the Egress Equivalence Class Identifier " +
1024 "for egress SOAM Service Frames must be " +
1025 "the same as that for egress Data " +
1029 "EVC Per UNI: Egress SOAM Service Frames.";
1030 reference "[MEF10.3] Section 10.4. " +
1031 "[MEF7.3] Section 12.1.2.";
1033 leaf ingress-bw-profile-per-evc {
1035 path "/mef-interfaces:mef-interfaces/" +
1036 "mef-interfaces:unis/" +
1037 "mef-interfaces:uni" +
1038 "[mef-interfaces:uni-id = " +
1039 "current()/../uni-id]" +
1040 "/mef-interfaces:ingress-envelopes/" +
1041 "mef-interfaces:envelope/" +
1042 "mef-interfaces:env-id";
1045 "EVC Per UNI: Ingress Bandwidth Profile " +
1046 "Envelope Per EVC. If this parameter is " +
1047 "not configured (ie. 'No') this setting " +
1048 "is configured else at the UNI Level.";
1049 reference "[MEF10.3] Section 10.5. " +
1050 "[MEF7.3] Section 12.1.2.";
1052 leaf egress-bw-profile-per-evc {
1054 path "/mef-interfaces:mef-interfaces/" +
1055 "mef-interfaces:unis/" +
1056 "mef-interfaces:uni" +
1057 "[mef-interfaces:uni-id = " +
1058 "current()/../uni-id]" +
1059 "/mef-interfaces:egress-envelopes/" +
1060 "mef-interfaces:envelope/mef-interfaces:" +
1064 "EVC Per UNI: Egress Bandwidth Profile Envelope " +
1065 "Per EVC. If this parameter is not configured " +
1066 "(ie. 'No') this setting is configured else at " +
1068 reference "[MEF10.3] Section 10.7. " +
1069 "[MEF7.3] Section 12.1.2.";
1071 leaf src-mac-addr-limit-enabled {
1075 "EVC Per UNI: Source MAC Address Limit " +
1076 "Enable / Disable. If Enabled, the values " +
1077 "for the Source MAC Address Limit and Source " +
1078 "MAC Address Interval must be set.";
1079 reference "[MEF10.3] Section 10.9. " +
1080 "[MEF7.3] Section 12.1.2.";
1082 leaf src-mac-addr-limit {
1087 "EVC Per UNI: Source MAC Address Limit. " +
1088 "This value is used when the Source MAC Address " +
1089 "Limit Enabled is true.";
1090 reference "[MEF10.3] Section 10.9.";
1092 leaf src-mac-addr-limit-interval {
1093 type yang:timeticks;
1096 "EVC Per UNI: Source MAC Address Limit " +
1097 "Interval. This value is used when the " +
1098 "Source MAC Address Limit Enabled is true.";
1099 reference "[MEF10.3] Section 10.9.";
1101 leaf test-meg-enabled {
1105 "EVC Per UNI: Test MEG Enabled / Disabled.";
1106 reference "[MEF10.3] Section 10.10. " +
1107 "[MEF7.3] Section 12.1.2.";
1110 type mef-types:identifier45;
1112 "EVC Per UNI: Test MEG Identifier.";
1113 reference "[MEF7.3] Section 12.1.2.";
1115 leaf subscriber-meg-mip-enabled {
1119 "EVC Per UNI: Subscriber MEG MIP " +
1120 "Enabled / Disabled.";
1121 reference "[MEF10.3] Section 10.11. " +
1122 "[MEF7.3] Section 12.1.2.";
1124 leaf subscriber-meg-mip {
1125 type mef-types:identifier45;
1127 "EVC Per UNI: Subscriber MEG MIP Identifier.";
1128 reference "[MEF7.3] Section 12.1.2.";
1134 "This status group is related to the MEF 7.3 Virtual " +
1136 leaf oper-state-enabled {
1141 "EVC Operational Status of the Virtual Connection " +
1142 "as Enabled/Disabled.";
1143 reference "[MEF7.3] Section 11.1.1.";
1145 leaf available-status {
1146 type mef-types:virt-cx-availability-type;
1147 default "not-installed";
1150 "EVC Availability Status of the Virtual Connection.";
1151 reference "[MEF7.3] Section 11.1.1.";
1154 container sls-inclusions-by-cos {
1156 "SLS Inclusions by CoS: For this EVC, the following " +
1157 "CoS Names/Labels are applicable.";
1158 list sls-inclusion-by-cos {
1164 path "/mef-global:mef-global/mef-global:profiles/" +
1165 "mef-global:cos-names/mef-global:" +
1166 "cos-name/mef-global:name";
1169 "EVC: This attribute identifies the name of " +
1170 "a class of service (CoS) instance to be used " +
1171 "for EVC Performance.";
1175 container sls-uni-inclusions {
1176 presence "EVC: Defines the EVC Flow Points (UNI) Pairs " +
1177 "that must conform to the EVC's SLS Performance " +
1180 "SLS UNI Inclusions List. The following pairs of UNI " +
1181 "Interconnections are to required to meet the " +
1182 "SLS Performance Objectives. Configing both SLS " +
1183 "UNI Inclusions and SLS UNI Exclusions is not " +
1185 list sls-uni-inclusion-set {
1186 must "uni-id1 != uni-id2" {
1187 error-message "The two UNI IDs for a given " +
1188 "inclusion cannot be the same.";
1190 "The two UNI IDs for a given inclusion " +
1191 "cannot be the same.";
1193 must "(../../evc-type != 'rooted-multipoint') or " +
1194 "((../../evc-type = 'rooted-multipoint') " +
1196 "not((../../unis/uni[uni-id = " +
1197 "current()/uni-id1]/role = 'leaf') and " +
1198 "(../../unis/uni[uni-id = current()/uni-id2]" +
1199 "/role = 'leaf')))" {
1200 error-message "If EVC Type is Rooted-Multipoint, " +
1201 "sls-uni-inclusion UNI Pairs cannot both " +
1204 "If EVC Type is Rooted-Multipoint, " +
1205 "sls-uni-inclusion UNI Pairs cannot " +
1206 "both be role 'leaf'.";
1208 key "pm-type pm-id uni-id1 uni-id2";
1210 "EVC: Defines the EVC Flow Points (UNI) Pairs that " +
1211 "must conform to the EVC's SLS Performance " +
1212 "Metrics. Use of this list indicates that a " +
1213 "complete set of UNI Pairs has been specified " +
1214 "for the Performance Metrics defined in the " +
1218 path "/mef-global:mef-global/mef-global:slss/" +
1220 "[mef-global:sls-id = current()/../../../" +
1221 "evc-performance-sls]" +
1222 "/mef-global:perf-objs/mef-global:" +
1223 "perf-obj/mef-global:pm-type";
1226 "EVC: Performance Metric.";
1227 reference "[MEF10.3] Section 8.8.";
1231 path "/mef-global:mef-global/mef-global:slss/" +
1233 "[mef-global:sls-id = current()/../../../" +
1234 "evc-performance-sls]" +
1235 "/mef-global:perf-objs/mef-global:perf-obj" +
1236 "[mef-global:pm-type = current()/../" +
1238 "/mef-global:pm-id";
1241 "EVC: This is a friendly name for specific " +
1242 "performance profile.";
1246 path "../../../unis/uni/uni-id";
1249 "EVC: The UNI ID paired with the EVC ID in the " +
1251 reference "[MEF10.3] Section 8.3, Section 10.1. " +
1252 "[MEF7.3] Section 12.1.2.";
1256 path "../../../unis/uni/uni-id";
1259 "EVC: The UNI ID paired with the EVC ID in the " +
1261 reference "[MEF10.3] Section 8.3, Section 10.1. " +
1262 "[MEF7.3] Section 12.1.2.";
1266 container sls-uni-exclusions {
1267 presence "Not all EVC Flow Points (UNI) must conform " +
1268 "to the EVC SLS Performance Metrics.";
1270 "EVC: Not all EVC Flow Points (UNI) must conform to " +
1271 "the EVC SLS Performance Metrics. Use of this " +
1272 "list indicates that all UNI Pairs EXCEPT for " +
1273 "the ones indicated (per Performance Metric) must " +
1274 "conform to the SLS.";
1275 list sls-uni-exclusion-set {
1276 must "uni-id1 != uni-id2" {
1277 error-message "The two UNI IDs for a given " +
1278 "exclusion cannot be the same.";
1280 "The two UNI IDs for a given exclusion cannot " +
1281 "be the same as these pairs are invalid as " +
1282 "defined in MEF 10.3.";
1284 key "pm-type pm-id uni-id1 uni-id2";
1286 "SLS UNI Exclusions List. The following pairs " +
1287 "of UNI Interconnections are not required " +
1288 "meet the SLS Performance Objectives. " +
1289 "Configing both SLS UNI Inclusions and SLS " +
1290 "UNI Exclusions is not permitted.";
1293 path "/mef-global:mef-global/mef-global:" +
1294 "slss/mef-global:sls" +
1295 "[mef-global:sls-id = current()/../../../" +
1296 "evc-performance-sls]" +
1297 "/mef-global:perf-objs/mef-global:" +
1298 "perf-obj/mef-global:pm-type";
1301 "EVC: Performance Metric.";
1302 reference "[MEF10.3] Section 8.8.";
1306 path "/mef-global:mef-global/mef-global:slss/" +
1308 "[mef-global:sls-id = current()/../../../" +
1309 "evc-performance-sls]" +
1310 "/mef-global:perf-objs/mef-global:perf-obj" +
1311 "[mef-global:pm-type = current()/../" +
1313 "/mef-global:pm-id";
1316 "EVC: This is a friendly name for specific " +
1317 "performance profile.";
1321 path "../../../unis/uni/uni-id";
1324 "EVC: The UNI ID paired with the EVC ID in the " +
1326 reference "[MEF10.3] Section 8.3, Section 10.1. " +
1327 "[MEF7.3] Section 12.1.2.";
1331 path "../../../unis/uni/uni-id";
1334 "EVC: The UNI ID paired with the EVC ID in the " +
1336 reference "[MEF10.3] Section 8.3, Section 10.1. " +
1337 "[MEF7.3] Section 12.1.2.";
1342 type mef-types:evc-id-type;
1345 "The EVC ID must be unique across all EVCs in the CEN." +
1346 " The EVC ID must be non-NULL.";
1347 reference "[MEF10.3] Section 8.2 [R7]. " +
1348 "[MEF7.3] Section 11.1.1, Section 12.2.2.";
1351 type mef-types:evc-status-type;
1354 "EVC Operational Status.";
1355 reference "[MEF16] Section 5.3.";
1358 type mef-types:evc-type;
1359 must "(. != 'point-to-point') or " +
1360 "((. = 'point-to-point') and " +
1361 "(count(../unis/uni[role = 'leaf']) = 0))" {
1362 error-message "If EVC Type is Point-to-Point, all " +
1363 "UNI Roles must be root.";
1365 "If EVC Type is Point-to-Point, all UNI Roles must " +
1368 must "(. != 'multipoint-to-multipoint') or " +
1369 "((. = 'multipoint-to-multipoint') and " +
1370 "(count(../unis/uni[role = 'leaf']) = 0))" {
1371 error-message "If EVC Type is " +
1372 "Multipoint-to-Multipoint, all UNI Roles " +
1375 "If EVC Type is Multipoint-to-Multipoint, all UNI " +
1376 "Roles must be root.";
1378 must "(. != 'rooted-multipoint') or " +
1379 "((. = 'rooted-multipoint') and " +
1380 "(count(../unis/uni[role = 'root']) > 0) )" {
1381 error-message "If EVC Type is Rooted-Multipoint, one " +
1382 "or more UNI Roles must be root.";
1384 "If EVC Type is Rooted-Multipoint, one or more " +
1385 "UNI Roles must be root.";
1387 must "(. != 'point-to-point') or " +
1388 "((. = 'point-to-point') and " +
1389 "(count(../unis/uni) = 2))" {
1390 error-message "If EVC Type is Point-to-Point, there " +
1391 "must be exactly 2 UNI configured for the EVC.";
1393 "If EVC Type is Point-to-Point, there must be " +
1394 "exactly 2 UNI configured for the EVC.";
1396 must "(. != 'multipoint-to-multipoint') or " +
1397 "((. = 'multipoint-to-multipoint') and " +
1398 "(count(../unis/uni) > 1) and " +
1399 "(count(../unis/uni) <= ../max-uni-count))" {
1400 error-message "If EVC Type is " +
1401 "Multipoint-to-Multipoint, " +
1402 "there must be 2 or more UNI configured " +
1405 "If EVC Type is Multipoint-to-Multipoint, " +
1406 "there must be 2 or more UNI configured for " +
1409 must "(. != 'rooted-multipoint') or " +
1410 "((. = 'rooted-multipoint') and " +
1411 "(count(../unis/uni) > 1) and " +
1412 "(count(../unis/uni) <= ../max-uni-count))" {
1413 error-message "If EVC Type is Rooted-Multipoint, " +
1414 "there must be 2 or more UNI configured for the EVC.";
1416 "If EVC Type is Rooted-Multipoint, there must " +
1417 "be 2 or more UNI configured for the EVC.";
1419 must "(. != 'point-to-point') or " +
1420 "((. = 'point-to-point') and " +
1421 "(../max-uni-count = 2))" {
1422 error-message "If EVC Type is Point-to-Point, " +
1423 "the value of max-uni-count must be 2.";
1425 "If EVC Type is Point-to-Point, the value of " +
1426 "max-uni-count must be 2.";
1428 must "(. != 'multipoint-to-multipoint') or " +
1429 "((. = 'multipoint-to-multipoint') and " +
1430 "(../max-uni-count > 2))" {
1431 error-message "If EVC Type is " +
1432 "Multipoint-to-Multipoint, the value of " +
1433 "max-uni-count must be at least 3.";
1435 "If EVC Type is Multipoint-to-Multipoint, the " +
1436 "value of max-uni-count must be at least 3.";
1438 must "(. != 'rooted-multipoint') or " +
1439 "((. = 'rooted-multipoint') and " +
1440 "(../max-uni-count > 2))" {
1441 error-message "If EVC Type is Rooted-Multipoint, " +
1442 "the value of max-uni-count must be at " +
1445 "If EVC Type is Rooted-Multipoint, the value " +
1446 "of max-uni-count must be at least 3.";
1450 "This EVC attribute describes the EVC as either " +
1451 "Multipoint-To-Multipoint, Point-To-Point, or " +
1452 "Rooted-Multipoint.";
1453 reference "[MEF10.3] Section 8.1, [R4], [R5], " +
1454 "[R10], [R11], [R12], [R13] and [R14]. " +
1455 "[MEF7.3] Section 12.2.2.";
1457 leaf admin-state-enabled {
1461 "EVC: Locked/Unlocked is inconsistent with " +
1462 "Oper Status and will be confusing.";
1463 reference "[MEF15]. [MEF7.3] Section 11.1.1.";
1465 leaf elastic-enabled {
1469 "EVC: Elastic Enabled/Disabled.";
1470 reference "[MEF7.3] Section 11.1.1.";
1472 leaf elastic-service {
1473 type mef-types:identifier45;
1475 "EVC: Related to CE4Cloud Information Model.";
1476 reference "[MEF7.3] Section 11.1.1.";
1478 leaf max-uni-count {
1482 must "(. > 2) or ((. = 2) and " +
1483 "(../evc-type = 'point-to-point'))" {
1484 error-message "If EVC Type is Point-to-Point, the " +
1485 "max-uni-count value must be 2.";
1487 "If EVC Type is Point-to-Point, the max-uni-count " +
1490 must "(. = 2) or ((. > 2) and " +
1491 "((../evc-type = 'multipoint-to-multipoint') or " +
1492 "(../evc-type = 'rooted-multipoint')))" {
1493 error-message "If EVC Type is " +
1494 "Multipoint-to-Multipoint or " +
1495 "Rooted-Multipoint, the max-uni-count value " +
1496 "must be at least 3.";
1498 "If EVC Type is Multipoint-to-Multipoint or " +
1499 "Rooted-Multipoint, the max-uni-count value " +
1500 "must be at least 3.";
1504 "EVC:The Maximum Number of UNIs this EVC can be " +
1505 "configured for (Default 2).If EVC Type is " +
1506 "Multipoint-to-Multipoint or Rooted-Multipoint, " +
1507 "the max-uni-count value must be at least 3. " +
1508 "This value must be 2 for point-to-point mode.";
1509 reference "[MEF10.3] [R14]. [MEF7.3] Section 12.2.2.";
1511 leaf preserved-vlan {
1514 leaf preserve-ce-vlan-id {
1518 "EVC:An EVC with more than one CE-VLAN ID mapping " +
1519 "to it must have the same list of CE-VLAN IDs " +
1520 "mapping to the EVC at each UNI in the EVC.";
1521 reference "[MEF10.3] Section 8.6.1, [R24] [R25], " +
1522 "Section 9.10.2, Section 9.12, [R81], Figure 20. " +
1523 "[MEF7.3] Section 12.2.2.";
1525 leaf cos-preserve-ce-vlan-id {
1529 "EVC: Preserve CE-VLAN ID for CoS.";
1530 reference "[MEF10.3] Section 8.6.2, [R26]. " +
1531 "[MEF7.3] Section 12.2.2.";
1533 leaf evc-performance-sls {
1535 path "/mef-global:mef-global/mef-global:slss/" +
1536 "mef-global:sls/mef-global:sls-id";
1539 "EVC: EVC-specific performance objectives and " +
1540 "parameters. Note that an SLS can also specify " +
1541 "performance objectives spanning more than one EVC. " +
1542 "By default, all the UNI associated with the EVC " +
1543 "have this SLS applied for them.";
1544 reference "[MEF10.3] Section 8.8, Section 10. " +
1545 "[MEF7.3] Section 12.2.2.";
1547 leaf unicast-svc-frm-delivery {
1548 type mef-types:data-svc-frame-delivery-type;
1549 default "unconditional";
1551 "EVC: Unicast Data Service Frame Delivery Mode " +
1552 "(unconditional[default], conditional, or discard).";
1553 reference "[MEF10.3] Section 8.5.2,[R16], [R17], " +
1554 "Section 8.8, Section 11. [MEF7.3] Section 12.2.2.";
1556 leaf multicast-svc-frm-delivery {
1557 type mef-types:data-svc-frame-delivery-type;
1558 default "unconditional";
1560 "EVC: Multicast Data Service Frame Delivery Mode " +
1561 "(unconditional[default], conditional, or discard).";
1562 reference "[MEF10.3] Section 8.5.2, [R16], [R18], " +
1563 "Section 8.8, Section 11. [MEF7.3] Section 12.2.2.";
1565 leaf broadcast-svc-frm-delivery {
1566 type mef-types:data-svc-frame-delivery-type;
1567 default "unconditional";
1569 "EVC: Broadcast Data Service Frame Delivery Mode " +
1570 "(unconditional[default], conditional, or discard).";
1571 reference "[MEF10.3] Section 8.5.2, [R16], [R19], " +
1572 "Section 8.8, Section 11. [MEF7.3] Section 12.2.2.";
1575 type mef-types:identifier45;
1577 "EVC: Identifies the Maintenance Entity Group (MEG) " +
1579 reference "[MEF7.3] Section 12.2.2. MEF 35.1.";
1581 leaf max-svc-frame-size {
1582 type mef-types:max-svc-frame-size-type;
1585 "EVC: This attribute describes the maximum service " +
1586 "frame size for the EVC.";
1587 reference "[MEF10.3] Section 8.9, Section 9.7, [R71], " +
1588 "[MEF6.2] Section 8.2.2 and MEF 22.1: [D2]. " +
1589 "[MEF7.3] Section 12.2.2.";
1595 type mef-types:retail-svc-id-type;
1597 "The MEF Service ID is a simple key used to " +
1598 "distinguish MEF Service Configuration Groups.";
1599 reference "[MEF10.3] Section 7.";
1602 when "/mef-global:mef-global/mef-global:svc-providers" {
1604 "Only configure when the Global Service Providers " +
1605 "list has been populated.";
1608 path "/mef-global:mef-global/mef-global:svc-providers/" +
1609 "mef-global:svc-provider/mef-global:sp-id";
1612 "The MEF Service Provider ID must be globally unique " +
1613 "as all CENs and Subscribers must be supported by a " +
1614 "specific Service Provider(SP). A SP can support " +
1616 reference "[MEF10.3] Section 7.";
1619 type mef-types:mef-service-type;
1620 must "(. != 'epl') or ((. = 'epl') and " +
1621 "(count(/mef-interfaces:mef-interfaces/" +
1622 "mef-interfaces:unis/mef-interfaces:uni" +
1623 "[mef-interfaces:uni-id = current()/../" +
1624 "mef-services:evc/mef-services:unis/mef-services:" +
1625 "uni/mef-services:uni-id]" +
1626 "[mef-interfaces:uni-id/../mef-interfaces:" +
1627 "svc-mux-enabled = 'true']) = 0))" {
1628 error-message "For EPL, Service Multiplexing must be " +
1629 "disabled for all UNIs in the EVC UNI List.";
1631 "For EPL, Service Multiplexing must be disabled for " +
1632 "all UNIs in the EVC UNI List.";
1634 must "(. != 'epl') or ((. = 'epl') and " +
1635 "(count(/mef-interfaces:mef-interfaces/" +
1636 "mef-interfaces:unis/mef-interfaces:uni" +
1637 "[mef-interfaces:uni-id = current()/../" +
1638 "mef-services:evc/mef-services:unis/mef-services:" +
1639 "uni/mef-services:uni-id]" +
1640 "[mef-interfaces:uni-id/../mef-interfaces:" +
1641 "bundling-enabled = 'true']) = 0))" {
1642 error-message "For EPL, Bundling must be disabled for " +
1643 "all UNIs in the EVC UNI List.";
1645 "For EPL, Bundling must be disabled for all UNIs in " +
1646 "the EVC UNI List.";
1648 must "(. != 'epl') or ((. = 'epl') and " +
1649 "(count(/mef-interfaces:mef-interfaces/" +
1650 "mef-interfaces:unis/mef-interfaces:uni" +
1651 "[mef-interfaces:uni-id = current()/../" +
1652 "mef-services:evc/mef-services:unis/" +
1653 "mef-services:uni/mef-services:uni-id]" +
1654 "[mef-interfaces:uni-id/../mef-interfaces:" +
1655 "all-to-one-bundling-enabled = 'false']) = 0))" {
1656 error-message "For EPL, All-to-One Bundling must be " +
1657 "enabled for all UNIs in the EVC UNI List.";
1659 "For EPL, All-to-One Bundling must be enabled for " +
1660 "all UNIs in the EVC UNI List.";
1662 must "(. != 'epl') or ((. = 'epl') and " +
1663 "(count(/mef-interfaces:mef-interfaces/" +
1664 "mef-interfaces:unis/mef-interfaces:uni" +
1665 "[mef-interfaces:uni-id = current()/../" +
1666 "mef-services:evc/mef-services:unis/mef-services:" +
1667 "uni/mef-services:uni-id]" +
1668 "[mef-interfaces:uni-id/../mef-interfaces:" +
1669 "max-evc-count != 1]) = 0))" {
1670 error-message "For EPL, Max EVC Count must be 1 for " +
1671 "all UNIs in the EVC UNI List.";
1673 "For EPL, Max EVC Count must be 1 for all UNIs " +
1674 "in the EVC UNI List.";
1676 must "(. != 'epl') or ((. = 'epl') and " +
1677 "(count(../evc/unis/uni/egress-bwp-flows-per-eec/" +
1678 "bwp-flow-per-eec) = 0))" {
1679 error-message "For EPL, Egress Bandwidth Profile per " +
1680 "Egress Equivalence Class cannot be set for " +
1681 "all UNIs in the EVC per UNI List.";
1683 "For EPL, Egress Bandwidth Profile per Egress " +
1684 "Equivalence Class cannot be set for all UNIs in the " +
1685 "EVC per UNI List.";
1687 must "(. != 'epl') or ((. = 'epl') and " +
1688 "(count(../evc/unis/uni" +
1689 "[src-mac-addr-limit-enabled = 'true']) = 0) )" {
1690 error-message "For EPL, Source MAC Address Limit must " +
1693 "For EPL, Source MAC Address Limit must be disabled.";
1695 must "(. != 'epl') or ((. = 'epl') and " +
1696 "(../evc/evc-type = 'point-to-point'))" {
1697 error-message "For EPL, EVC Type must be Point-to-Point.";
1699 "For EPL, EVC Type must be Point-to-Point.";
1701 must "(. != 'epl') or ((. = 'epl') and " +
1702 "(../evc/unicast-svc-frm-delivery = " +
1703 "'unconditional'))" {
1704 error-message "For EPL, unicast-svc-frm-delivery " +
1705 "must be unconditional.";
1707 "For EPL, unicast-svc-frm-delivery must be " +
1710 must "(. != 'epl') or ((. = 'epl') and " +
1711 "(../evc/multicast-svc-frm-delivery = " +
1712 "'unconditional'))" {
1713 error-message "For EPL, multicast-svc-frm-delivery " +
1714 "must be unconditional.";
1716 "For EPL, multicast-svc-frm-delivery must be " +
1719 must "(. != 'epl') or ((. = 'epl') and " +
1720 "(../evc/broadcast-svc-frm-delivery = " +
1721 "'unconditional'))" {
1722 error-message "For EPL, broadcast-svc-frm-delivery " +
1723 "must be unconditional.";
1725 "For EPL, broadcast-svc-frm-delivery must be " +
1728 must "(. != 'epl') or ((. = 'epl') and " +
1729 "(../evc/preserve-ce-vlan-id = 'true'))" {
1730 error-message "For EPL, CE-VLAN ID Preservation " +
1733 "For EPL, CE-VLAN ID Preservation must be enabled.";
1735 must "(. != 'epl') or ((. = 'epl') and " +
1736 "(../evc/cos-preserve-ce-vlan-id = 'true'))" {
1737 error-message "For EPL, CE-VLAN ID CoS Preservation " +
1740 "For EPL, CE-VLAN ID CoS Preservation must be enabled.";
1742 must "(. != 'evpl') or ((. = 'evpl') and " +
1743 "(count(/mef-interfaces:mef-interfaces/" +
1744 "mef-interfaces:unis/mef-interfaces:uni" +
1745 "[mef-interfaces:uni-id = current()/../" +
1746 "mef-services:evc/mef-services:unis/mef-services:" +
1747 "uni/mef-services:uni-id]" +
1748 "[mef-interfaces:uni-id/../mef-interfaces:" +
1749 "all-to-one-bundling-enabled = 'true']) = 0))" {
1750 error-message "For EVPL, All-to-One Bundling must be " +
1751 "disabled for all UNIs in the EVC UNI List.";
1753 "For EVPL, All-to-One Bundling must be disabled for " +
1754 "all UNIs in the EVC UNI List.";
1756 must "(. != 'evpl') or ((. = 'evpl') and " +
1757 "((../evc/unicast-svc-frm-delivery != " +
1758 "'unconditional') or " +
1759 "(../evc/multicast-svc-frm-delivery != " +
1760 "'unconditional') or " +
1761 "(../evc/broadcast-svc-frm-delivery != " +
1762 "'unconditional') or " +
1763 "count(../evc/unis/uni" +
1764 "[src-mac-addr-limit-enabled = 'true']) = 0))" {
1765 error-message "For EVPL, Source MAC Address Limit must " +
1766 "be disabled for all UNIs in the EVC per " +
1767 "UNI List if all 3 -svc-frm-delivery values " +
1768 "are unconditional.";
1770 "For EVPL, Source MAC Address Limit must be disabled " +
1771 "for all UNIs in the EVC per UNI List if all " +
1772 "3 -svc-frm-delivery values are unconditional.";
1774 must "(. != 'evpl') or ((. = 'evpl') and " +
1775 "(../evc/evc-type = 'point-to-point'))" {
1776 error-message "For EVPL, EVC Type must be Point-to-Point.";
1778 "For EVPL, EVC Type must be Point-to-Point.";
1780 must "(. != 'eplan') or ((. = 'eplan') and " +
1781 "(count(/mef-interfaces:mef-interfaces/" +
1782 "mef-interfaces:unis/mef-interfaces:uni" +
1783 "[mef-interfaces:uni-id = current()/../" +
1784 "mef-services:evc/mef-services:unis/mef-services:" +
1785 "uni/mef-services:uni-id]" +
1786 "[mef-interfaces:uni-id/../mef-interfaces:" +
1787 "svc-mux-enabled = 'true']) = 0))" {
1788 error-message "For EP-LAN, Service Multiplexing must " +
1789 "be disabled for all UNIs in the EVC UNI List.";
1791 "For EP-LAN, Service Multiplexing must be disabled " +
1792 "for all UNIs in the EVC UNI List.";
1794 must "(. != 'eplan') or ((. = 'eplan') and " +
1795 "(count(/mef-interfaces:mef-interfaces/" +
1796 "mef-interfaces:unis/mef-interfaces:uni" +
1797 "[mef-interfaces:uni-id = current()/../" +
1798 "mef-services:evc/mef-services:unis/mef-services:" +
1799 "uni/mef-services:uni-id]" +
1800 "[mef-interfaces:uni-id/../mef-interfaces:" +
1801 "bundling-enabled = 'true']) = 0))" {
1802 error-message "For EP-LAN, Bundling must be disabled " +
1803 "for all UNIs in the EVC UNI List.";
1805 "For EP-LAN, Bundling must be disabled for all UNIs " +
1806 "in the EVC UNI List.";
1808 must "(. != 'eplan') or ((. = 'eplan') and " +
1809 "(count(/mef-interfaces:mef-interfaces/" +
1810 "mef-interfaces:unis/mef-interfaces:uni" +
1811 "[mef-interfaces:uni-id = current()/../" +
1812 "mef-services:evc/mef-services:unis/" +
1813 "mef-services:uni/mef-services:uni-id]" +
1814 "[mef-interfaces:uni-id/../mef-interfaces:" +
1815 "all-to-one-bundling-enabled = 'false']) = 0))" {
1816 error-message "For EP-LAN, All-to-One Bundling " +
1817 "must be enabled for all UNIs in the " +
1820 "For EP-LAN, All-to-One Bundling must be enabled " +
1821 "for all UNIs in the EVC UNI List.";
1823 must "(. != 'eplan') or ((. = 'eplan') and " +
1824 "(count(/mef-interfaces:mef-interfaces/" +
1825 "mef-interfaces:unis/mef-interfaces:uni" +
1826 "[mef-interfaces:uni-id = current()/../" +
1827 "mef-services:evc/mef-services:unis/" +
1828 "mef-services:uni/mef-services:uni-id]" +
1829 "[mef-interfaces:uni-id/../mef-interfaces:" +
1830 "max-evc-count != 1]) = 0))" {
1831 error-message "For EP-LAN, Max EVC Count must be 1 " +
1832 "for all UNIs in the EVC UNI List.";
1834 "For EP-LAN, Max EVC Count must be 1 for all UNIs in " +
1835 "the EVC UNI List.";
1837 must "(. != 'eplan') or ((. = 'eplan') and " +
1838 "(../evc/evc-type = 'multipoint-to-multipoint'))" {
1839 error-message "For EP-LAN, EVC Type must be " +
1840 "Multipoint-to-Multipoint.";
1842 "For EP-LAN, EVC Type must be " +
1843 "Multipoint-to-Multipoint.";
1845 must "(. != 'eplan') or ((. = 'eplan') and " +
1846 "(../evc/preserve-ce-vlan-id = 'true'))" {
1847 error-message "For EP-LAN, CE-VLAN ID Preservation " +
1850 "For EP-LAN, CE-VLAN ID Preservation must be enabled.";
1852 must "(. != 'eplan') or ((. = 'eplan') and " +
1853 "(../evc/cos-preserve-ce-vlan-id = 'true'))" {
1854 error-message "For EP-LAN, CE-VLAN ID CoS Preservation " +
1857 "For EP-LAN, CE-VLAN ID CoS Preservation must be " +
1860 must "(. != 'evplan') or ((. = 'evplan') and " +
1861 "(../evc/evc-type = 'multipoint-to-multipoint'))" {
1862 error-message "For EVP-LAN, EVC Type must be " +
1863 "Multipoint-to-Multipoint.";
1865 "For EVP-LAN, EVC Type must be " +
1866 "Multipoint-to-Multipoint.";
1868 must "(. != 'evplan') or ((. = 'evplan') and " +
1869 "(count(/mef-interfaces:mef-interfaces/" +
1870 "mef-interfaces:unis/mef-interfaces:uni" +
1871 "[mef-interfaces:uni-id = current()/../" +
1872 "mef-services:evc/mef-services:unis/mef-services:" +
1873 "uni/mef-services:uni-id]" +
1874 "[mef-interfaces:uni-id/../mef-interfaces:" +
1875 "all-to-one-bundling-enabled = 'true']) = 0))" {
1876 error-message "For EVP-LAN, All-to-One Bundling must " +
1877 "be disabled for all UNIs in the EVC UNI List.";
1879 "For EVP-LAN, All-to-One Bundling must be disabled " +
1880 "for all UNIs in the EVC UNI List.";
1882 must "(. != 'eptree') or ((. = 'eptree') and " +
1883 "(count(/mef-interfaces:mef-interfaces/" +
1884 "mef-interfaces:unis/mef-interfaces:uni" +
1885 "[mef-interfaces:uni-id = current()/../" +
1886 "mef-services:evc/mef-services:unis/mef-services:" +
1887 "uni/mef-services:uni-id]" +
1888 "[mef-interfaces:uni-id/../mef-interfaces:" +
1889 "svc-mux-enabled = 'true']) = 0))" {
1890 error-message "For EP-TREE, Service Multiplexing " +
1891 "must be disabled for all UNIs in the " +
1894 "For EP-TREE, Service Multiplexing must be disabled " +
1895 "for all UNIs in the EVC UNI List.";
1897 must "(. != 'eptree') or ((. = 'eptree') and " +
1898 "(count(/mef-interfaces:mef-interfaces/" +
1899 "mef-interfaces:unis/mef-interfaces:uni" +
1900 "[mef-interfaces:uni-id = current()/../" +
1901 "mef-services:evc/mef-services:unis/mef-services:" +
1902 "uni/mef-services:uni-id]" +
1903 "[mef-interfaces:uni-id/../mef-interfaces:" +
1904 "bundling-enabled = 'true']) = 0))" {
1905 error-message "For EP-TREE, Bundling must be disabled " +
1906 "for all UNIs in the EVC UNI List.";
1908 "For EP-TREE, Bundling must be disabled for all UNIs " +
1909 "in the EVC UNI List.";
1911 must "(. != 'eptree') or ((. = 'eptree') and " +
1912 "(count(/mef-interfaces:mef-interfaces/" +
1913 "mef-interfaces:unis/mef-interfaces:uni" +
1914 "[mef-interfaces:uni-id = current()/../" +
1915 "mef-services:evc/mef-services:unis/" +
1916 "mef-services:uni/mef-services:uni-id]" +
1917 "[mef-interfaces:uni-id/../mef-interfaces:" +
1918 "all-to-one-bundling-enabled = 'false']) = 0))" {
1919 error-message "For EP-TREE, All-to-One Bundling must " +
1920 "be enabled for all UNIs in the EVC UNI List.";
1922 "For EP-TREE, All-to-One Bundling must be enabled " +
1923 "for all UNIs in the EVC UNI List.";
1925 must "(. != 'eptree') or ((. = 'eptree') and " +
1926 "(count(/mef-interfaces:mef-interfaces/" +
1927 "mef-interfaces:unis/mef-interfaces:uni" +
1928 "[mef-interfaces:uni-id = current()/../" +
1929 "mef-services:evc/mef-services:unis/" +
1930 "mef-services:uni/mef-services:uni-id]" +
1931 "[mef-interfaces:uni-id/../mef-interfaces:" +
1932 "max-evc-count != 1]) = 0))" {
1933 error-message "For EP-TREE, Max EVC Count must be 1 " +
1934 "for all UNIs in the EVC UNI List.";
1936 "For EP-TREE, Max EVC Count must be 1 for all UNIs " +
1937 "in the EVC UNI List.";
1939 must "(. != 'eptree') or ((. = 'eptree') and " +
1940 "(../evc/evc-type = 'rooted-multipoint'))" {
1941 error-message "For EP-TREE, EVC Type must be " +
1942 "Rooted-Multipoint.";
1944 "For EP-TREE, EVC Type must be Rooted-Multipoint.";
1946 must "(. != 'eptree') or ((. = 'eptree') and " +
1947 "(../evc/preserve-ce-vlan-id = 'true'))" {
1948 error-message "For EP-TREE, CE-VLAN ID Preservation " +
1951 "For EP-TREE, CE-VLAN ID Preservation must be enabled.";
1953 must "(. != 'eptree') or ((. = 'eptree') and " +
1954 "(../evc/cos-preserve-ce-vlan-id = 'true'))" {
1955 error-message "For EP-TREE, CE-VLAN ID " +
1956 "CoS Preservation must be enabled.";
1958 "For EP-TREE, CE-VLAN ID CoS Preservation must be " +
1961 must "(. != 'evptree') or ((. = 'evptree') and " +
1962 "(count(/mef-interfaces:mef-interfaces/" +
1963 "mef-interfaces:unis/mef-interfaces:uni" +
1964 "[mef-interfaces:uni-id = current()/../" +
1965 "mef-services:evc/mef-services:unis/mef-services:" +
1966 "uni/mef-services:uni-id]" +
1967 "[mef-interfaces:uni-id/../mef-interfaces:" +
1968 "all-to-one-bundling-enabled = 'true']) = 0))" {
1969 error-message "For EVP-TREE, All-to-One Bundling " +
1970 "must be disabled for all UNIs in the EVC UNI List.";
1972 "For EVP-TREE, All-to-One Bundling must be disabled " +
1973 "for all UNIs in the EVC UNI List.";
1975 must "(. != 'evptree') or ((. = 'evptree') and " +
1976 "(../evc/evc-type = 'rooted-multipoint'))" {
1977 error-message "For EVP-TREE, EVC Type must be " +
1978 "Rooted-Multipoint.";
1980 "For EVP-TREE, EVC Type must be Rooted-Multipoint.";
1983 "The MEF Service Type.";
1986 type mef-types:identifier45;
1988 "This MEF user label is set by the user to a value " +
1989 "that is easier to identify than the Service ID.";
1992 type mef-types:service-entity-type;
1995 "MEF Service Entity.";
1996 reference "[MEF12.2] Table 3.";
2000 path "/mef-global:mef-global/mef-global:tenants-instances/mef-global:tenant-list/mef-global:name";
2006 augment "/mef-services:mef-services/mef-services:mef-service/mef-services:mef-service-choice/mef-services:evc-choice/mef-services:evc" {
2007 ext:augment-identifier "evc-elan";
2008 leaf elan-id {type string;}
2011 leaf port-id {type string;}
2015 augment "/mef-services:mef-services/mef-services:mef-service/mef-services:mef-service-choice/mef-services:ipvc-choice/mef-services:ipvc" {
2016 ext:augment-identifier "ipvc-vpn";
2017 leaf vpn-id {type string;}
2019 key "uni-id ip-uni-id";
2020 leaf uni-id {type mef-types:identifier45;}
2021 leaf ip-uni-id {type mef-types:identifier45;}
2022 leaf elan-id {type string;}
2023 leaf elan-port {type string;}
2026 leaf subnet {type string;}