2 * Copyright (c) 2016 Cisco Systems, Inc. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
9 namespace "urn:mef:nrp-specs";
12 import onf-core-network-module {
16 import mef-nrp-types {
20 import mef-nrp-bandwidth-profile {
24 import network-topology {
31 augment "/onf-cn:forwarding-constructs/onf-cn:forwarding-construct/onf-cn:fcSpec" {
32 container nrp-ce-fcspec-attrs {
37 grouping G_NRP_CeFcSpec {
39 type nrp-types:NRP_ConnectionType;
40 description "Virtual connection (EVC or OVC).";
42 leaf unicastFrameDelivery {
43 type nrp-types:NRP_ServiceFrameDelivery;
44 description "A Data Service Frame with a unicast Destination MAC Address is defined to be a Multicast Data
45 Service Frame. Reference MEF 10.3, Section 8.5.2.";
47 leaf multicastFrameDelivery {
48 type nrp-types:NRP_ServiceFrameDelivery;
50 leaf broadcastFrameDelivery {
51 type nrp-types:NRP_ServiceFrameDelivery;
52 description "A Data Service Frame with a broadcast Destination MAC Address is defined to be a Broadcast Data
53 Service Frame. Reference MEF 10.3, Section 8.5.2 for EVC and MEF 26.1, Section x.y for OVC.";
55 leaf vcMaxServiceFrame {
56 type nrp-types:NRP_PositiveInteger;
57 description "The value for the EVC or OVC Maximum Service Frame Size is a positive integer in
58 bytes. Reference MEF 10.3, Section 8.9 for EVC and MEF 26.1 Section x.y for OVC.";
61 type nrp-types:NRP_PositiveInteger;
62 description "The EVC ID is an arbitrary string administered by the Service Provider that is used to identify
63 an EVC within the CEN. MEF 10.3, Section 8.2.";
67 augment "/nt:network-topology/nt:topology/nt:node/nt:termination-point/onf-cn:ltp-attrs/onf-cn:lpList/onf-cn:lpSpec/onf-cn:terminationSpec" {
68 container nrp-termination-spec-attrs {
69 uses G_NRP_TerminationSpec;
71 container nrp-uni-termination-attrs {
72 uses G_NRP_UNI_TerminationSpec;
76 grouping G_NRP_TerminationSpec {
78 type nrp-types:NRP_PhysicalLayer;
79 description "This attribute is a list of physical layers, one for each physical link implementing the UNI or
80 ENNI. Different physical links can use different physical layers. The Physical Layer for each
81 physical link implementing the UNI or ENNI MUST be one of the PHYs listed in IEEE Std 802.3 -
82 2012 but excluding 1000BASE-PX-D and 1000BASE-PX-U. Reference MEF 10.3, Section 9.2.";
85 description "<p>The Synchronous Mode Service Attribute is a list with one item for each of the physical
86 links. When the value of an item is "Enabled," the bits transmitted from the CEN to
87 the CE on the physical link corresponding to the item can be used by the CE as a bit clock
88 reference. Reference MEF 10.3, Section 9.3.</p>
93 uses nrp-types:G_NRP_SyncModePerLink;
96 type nrp-types:NRP_NaturalNumber;
97 description "This attribute specifies the number of links at the Ethernet Service Interface (UNI or ENNI).
98 MEF 10.3, Section 9.4.";
101 type nrp-types:NRP_InterfaceResiliency;
102 description "This attribute value is one of None, 2-Link Active/Standby, All Active, or Other. MEF 10.3,
103 Section 9.5. MEF 10.3.2, MEF 26.2
106 container portConvsIdToAggLinkMap {
107 description "The Port Conversation ID to Aggregation Link Map Attribute is applicable only when the
108 EthernetServiceInterface resiliency attribute has the value of All Active. Its value is a Port
109 Conversation ID to Aggregation Link Map as defined in IEEE Std 802.1AX - 2014. MEF 10.3.2";
111 uses nrp-types:G_NRP_ConversationIdToAggrgationLinkMap;
114 type nrp-types:NRP_NaturalNumber;
115 description "This value limits the length of frames carried by an EVC/OVC that associates an EVC/OVC End
116 Point. The minimum of this maxinum number for UNI and ENNI are different. MEF 10.3, Section
119 leaf linkOamEnabled {
121 description "When the value of the Link OAM attribute is Enabled, Link OAM musd tbe run on all physical links
122 in the UNI/ENNI. MEF 10.3, Section 9.16.";
124 leaf tokenShareEnabled {
126 description "When the value of the Token Share Service attribute is Enabled, at least one Envelope at the
127 UNI/ENNI MUST be able to have two or more Bandwidth Profiles mapped to it. MEF 6.2, Section
130 leaf serviceProviderUniId {
132 description "MEF 10.3, Section 9.1.";
136 grouping G_NRP_UNI_TerminationSpec {
137 leaf defaultCeVlanId {
138 description "This is the CE-VLAN ID value assigned to Untagged Service Frames and Priority Tagged Service
139 Frames. In MEF 10.3, it is called CE Vlan ID for untagged and priority tagged service frames.
140 MEF 10.3, Section 9.9.";
142 type nrp-types:NRP_PositiveInteger;
146 description "When the value of the UNI MEG Service Attribute is Enabled, the CEN MUST meet the mandatory
147 requirements in MEF 30.1 that apply to the UNI MEG MEF 10.3, Section 9.17.";
151 description "When the value of the E-LMI Service Attribute is Enabled, the CEN MUST meet the mandatory
152 requirements in MEF 16 that apply to the UNI-N. MEF 10.3, Section 9.18";
154 leaf serviceprovideruniprofile {
157 leaf operatoruniprofile {
160 container ingressBwpUni {
161 description "MEF 10.3, Section 9.14";
163 uses nrp-bwp:G_NRP_BwpFlow;
165 container egressBwpUni {
166 description "MEF 10.3, Section 9.15";
168 uses nrp-bwp:G_NRP_BwpFlow;
172 augment "/nt:network-topology/nt:topology/nt:node/nt:termination-point/onf-cn:ltp-attrs/onf-cn:lpList/onf-cn:lpSpec/onf-cn:adapterSpec" {
173 container nrp-conn-adapt-spec-attrs {
174 uses G_NRP_ConnAdaptSpec;
176 container nrp-ivc-endpoint-conn-adapt-spec-attrs {
177 uses G_NRP_IvcEndpoint_ConnAdaptSpec;
179 container nrp-evc-endpoint-conn-adapt-spec-attrs {
180 uses G_NRP_EvcEndpoint_ConnAdaptSpec;
184 grouping G_NRP_ConnAdaptSpec {
185 container sourceMacAddressLimit {
186 description "MEF 10.3, Section 10.9";
188 uses nrp-types:G_NRP_SourceMacAddressLimit;
190 container CeExternalInterface {
192 uses G_NRP_TerminationSpec;
194 container coloridentifier {
196 uses nrp-bwp:G_NRP_ColorIdentifier;
198 container ingressBwpFlow {
200 uses nrp-bwp:G_NRP_BwpFlow;
202 container egressBwpFlow {
204 uses nrp-bwp:G_NRP_BwpFlow;
206 leaf l2cpAddressSet {
207 type nrp-types:NRP_L2cpAddressSet;
210 description "The L2CP Peering service attribute value MUST be an empty list, or a list
211 of entries identifying protocols to be Peered where each entry consists of
212 {Destination Address, Protocol Identifier} or {Destination Address, Protocol
213 Identifier, Link Identifier}.
214 MEF 45, Section 8.2";
218 uses nrp-types:G_NRP_L2cpPeering;
222 grouping G_NRP_EvcEndpoint_ConnAdaptSpec {
223 uses G_NRP_ConnAdaptSpec;
225 type nrp-types:NRP_PositiveInteger;
226 description "The EVC End Point Identification. This attribute is adapted from MEF 26.2. MEF 10.3 uses \"EVC
227 per UNI\" for EVC End Point, therefore there is no identificaiton attribute.";
229 leaf testMegEnabled {
231 description "When the value of the Test MEG Service Attribute is Enabled, the CEN MUST meet the mandatory
232 requirements in Section 7.5 of MEF 30.1. that apply to the Test MEG";
234 leaf evcEndPointRole {
235 type nrp-types:NRP_EvcEndPointRole;
236 description "The EVC End Point Role is ROOF or LEAF.";
238 list evcEndPointMap {
239 description "This attribute provides the list of CE-VLAN IDs that maps to the EVC. MEF 10.3 and MEF 6.2 list
240 this attriubte (CE-VLAN ID/EVC map) as UNI service attribute while MEF 26.2 decided to move this
241 on as endpoint service attribute, just as MEF 10.1 and MEF 6.1 did. Decided to move this one to
242 endpoint to be consistent. To be consitent, changing its name to EvcEntPointMap (MEF 26.2 lists
243 as OVC Endpoint Map).
247 type nrp-types:NRP_PositiveInteger;
252 leaf subscriberMegMipEbabled {
254 description "When the value of the Subscriber MEG MIP Service Attribute is Enabled, the CEN MUST instantiate
255 a Subscriber Level MIP.";
259 grouping G_NRP_IvcEndpoint_ConnAdaptSpec {
262 description "The EVC End Point Identification. This attribute is adapted from MEF 26.2. MEF 10.3 uses \"EVC
263 per UNI\" for EVC End Point, therefore there is no identificaiton attribute.";
265 leaf testMegEnabled {
267 description "When the value of the Test MEG Service Attribute is Enabled, the CEN MUST meet the mandatory
268 requirements in Section 7.5 of MEF 30.1. that apply to the Test MEG";
270 leaf ivcEndPointRole {
271 type nrp-types:NRP_EndPointRole;
272 description "The EVC End Point Role is ROOF or LEAF.";
274 list ivcEndPointMap {
275 description "This attribute provides the list of CE-VLAN IDs that maps to the EVC. MEF 10.3 and MEF 6.2 list
276 this attriubte (CE-VLAN ID/EVC map) as UNI service attribute while MEF 26.2 decided to move this
277 on as endpoint service attribute, just as MEF 10.1 and MEF 6.1 did. Decided to move this one to
278 endpoint to be consistent. To be consitent, changing its name to EvcEntPointMap (MEF 26.2 lists
279 as OVC Endpoint Map).
284 uses G_NRP_EndPointMap;
286 leaf subscriberMegMipEnabled {
288 description "When the value of the Subscriber MEG MIP Service Attribute is Enabled, the CEN MUST instantiate
289 a Subscriber Level MIP.";
293 grouping G_NRP_EndPointMap {
295 type nrp-types:NRP_PositiveInteger;
297 choice endpoint-map-form {
302 type nrp-types:NRP_PositiveInteger;
308 type nrp-types:NRP_PositiveInteger;
311 type nrp-types:NRP_PositiveInteger;
316 type nrp-types:NRP_PositiveInteger;
321 type nrp-types:NRP_PositiveInteger;
329 type nrp-types:NRP_PositiveInteger;