1 module NRP_Interface-ObjectClasses-NRP_BandwidthProfilePackage {
2 namespace "uri:onf:NRP_Interface-ObjectClasses-NRP_BandwidthProfilePackage";
3 prefix NRP_Interface-ObjectClasses-NRP_BandwidthProfilePackage;
4 import NRP_Interface-TypeDefinitions-NRP_Types {
5 prefix NRP_Interface-TypeDefinitions-NRP_Types;
8 grouping G_NRP_PcpCosId {
10 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_VlanTag;
11 description "Which vlan tag pcp to be used for cos identier, S tag or C tag. S tag is not valid for EvcEndPoint. ";
13 leaf-list nrp_pcpValue {
14 description "List of PCP values that map to the cos name.";
16 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_NaturalNumber;
21 description "Class of Service name.";
30 grouping G_NRP_DscpCosId {
32 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_IpVersion;
33 description "IPv4, or IPv6, or both IPv4 and IPv6.";
35 leaf-list nrp_dscpValue {
36 description "List DSCP values map to the same cos name.";
38 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_NaturalNumber;
43 description "Class of Service name.";
52 grouping G_NRP_PcpEecId {
54 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_VlanTag;
55 description "Which vlan tag pcp to be used for ceec identier, S tag or C tag. S tag is not valid for EvcEndPoint. ";
57 leaf-list nrp_pcpValue {
58 description "List of PCP values that map to the eec name.";
60 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_NaturalNumber;
65 description "Egress Equivelance Class name.";
74 grouping G_NRP_DscpEecId {
76 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_IpVersion;
77 description "IPv4, or IPv6, or both IPv4 and IPv6.";
79 leaf-list nrp_dscpValue {
80 description "List DSCP values map to the same eec name.";
82 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_NaturalNumber;
87 description "Egress Equivalence Class name.";
90 grouping G_NRP_ServiceAccessPointEecId {
93 description "Egress Equivalence Class name.";
96 list NRP_EecIdentifier {
100 uses G_NRP_EecIdentifier;
102 grouping G_NRP_EecIdentifier {
103 container nrp_pcpeecid {
107 container nrp_dscpeecid {
109 uses G_NRP_DscpEecId;
111 container nrp_serviceaccesspointeecid {
113 uses G_NRP_ServiceAccessPointEecId;
119 list NRP_PcpForColorEgressMap {
123 uses G_NRP_PcpForColorEgressMap;
125 grouping G_NRP_PcpForColorEgressMap {
127 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_VlanTag;
128 description "S tag or C tag for OvcEndPoint and C tag for EvcEndPoint.";
130 leaf nrp_ingressCosName {
132 description "Ingress CoS name.";
134 leaf nrp_ingressColor {
135 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_FrameColor;
136 description "The ingress color may be considered as part of the egress mapping. ";
139 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_PcpOrDiscard;
140 description "Egress frame PCP value (S tag ot C tag is from vlanTag attribute), mapping from ingress CoS name and ingress frame color. ";
147 uses G_NRP_EgressMap;
149 grouping G_NRP_EgressMap {
150 container nrp_deiforcoloregressmap {
152 uses G_NRP_DeiForColorEgressMap;
154 container nrp_pcpforcoloregressmap {
156 uses G_NRP_PcpForColorEgressMap;
162 list NRP_DeiForColorEgressMap {
166 uses G_NRP_DeiForColorEgressMap;
168 grouping G_NRP_DeiForColorEgressMap {
170 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_VlanTag;
171 description "S tag or C tag for OvcEndPoint and C tag for EvcEndPoint.";
173 leaf nrp_ingressCosName {
175 description "Ingress CoS name.";
177 leaf nrp_ingressColor {
178 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_FrameColor;
179 description "The ingress color may be considered as part of the egress mapping. ";
182 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_DeiOrDiscard;
183 description "Egress frame DEI value (S tag ot C tag is from vlanTag attribute), including the ingress color indication.";
192 grouping G_NRP_BwpFlow {
193 leaf nrp_bwpFlowIndex {
194 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_PositiveInteger;
195 description "The index i=1,2,…,n is used to index the Bandwidth Profile Flow among all Bandwidth Profile Flows that are mapped to a given Envelope";
198 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_NaturalNumber;
199 description "Committed Information Rate that limits the average rate of frames that will be declared Green. In bits per second.";
202 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_NaturalNumber;
203 description "Maximum Committed Information Rate that limits the rate of tokens added to the committed token bucket. In bits per second.";
206 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_NaturalNumber;
207 description "Committed Burst Size that limits the maximum number of bytes available for a burst of frames that will be declared Green, in bytes,";
210 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_NaturalNumber;
211 description "Excess Information Rate that limits the average rate of frames that will be declared Yellow, in bits per second.";
214 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_NaturalNumber;
215 description "Maximum Excess Infor-mation Rate that Limits the rate of tokens added to the excess token bucket, in bits per second.";
218 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_NaturalNumber;
219 description "Excessive Burst Size that limits the maximum number of bytes available for a burst of frames that will be declared Yellow, in bytes.";
221 leaf nrp_couplingFlag {
222 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_NaturalNumber;
223 description "Coupling Flag that Determines if overflow Green tokens can be used as Yellow tokens. Value 0 for NO and value 1 for YES.";
226 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_ColorMode;
227 description "Color Mode that Indicates whether the Color Identifier of the frame is considered by the Bandwidth Profile Algorithm.";
230 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_PositiveInteger;
231 description "Bandwidth prorile flow rank in an associated Envelope.";
233 leaf nrp_tokenRequestOffset {
234 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_NaturalNumber;
235 description "Adjusts the number of tokens requested for each external interface frame.";
237 leaf-list nrp_bwpflowrank {
240 path '/NRP_Interface-ObjectClasses-NRP_BandwidthProfilePackage:NRP_BwpFlowRank/NRP_Interface-ObjectClasses-NRP_BandwidthProfilePackage:id';
247 list NRP_IngressBwpPerCosName {
251 uses G_NRP_IngressBwpPerCosName;
253 grouping G_NRP_IngressBwpPerCosName {
256 description "Class of Service name.";
258 container nrp_bwpflow {
263 list NRP_EgressBwpPerEecName {
267 uses G_NRP_EgressBwpPerEecName;
269 grouping G_NRP_EgressBwpPerEecName {
272 description "Egress Equivelance Class name.";
275 grouping G_NRP_ServiceAccessPointColorId {
277 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_FrameColor;
278 description "Green or Yellow.";
281 grouping G_NRP_PcpColorId {
283 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_VlanTag;
284 description "Which vlan tag pcp to be used for color identier, S tag or C tag. S-tag is not valid for EvcEndPoint. ";
286 leaf-list nrp_pcpValue {
287 description "List PCP values map to the same color.";
289 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_NaturalNumber;
293 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_FrameColor;
294 description "Green or Yellow.";
297 grouping G_NRP_DeiColorId {
299 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_VlanTag;
300 description "Which vlan tag pcp to be used for color identier, S tag or C tag. S-tag is not valid for EvcEndPoint. ";
302 leaf-list nrp_deiValue {
303 description "DEI=0 or DEI=1";
305 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_NaturalNumber;
310 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_FrameColor;
311 description "Green or Yellow";
314 grouping G_NRP_DespColorId {
316 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_IpVersion;
317 description "IPv4, or IPv6, or both IPv4 and IPv6.";
319 leaf-list nrp_dscpValue {
320 description "List DSCP values map to the same color.";
322 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_NaturalNumber;
325 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_FrameColor;
326 description "Green or Yellow";
329 grouping G_NRP_ColorIdentifier {
330 container nrp_endPointColorId {
331 description "A choice that maps EVC End Point or OVC End Point to Color.";
333 uses G_NRP_ServiceAccessPointColorId;
335 container nrp_pcpColorId {
336 description "A choice that maps Vlan tag PCPs to Color.";
338 uses G_NRP_PcpColorId;
340 container nrp_deiColorId {
341 description "A choice that maps Vlan tag DEI to Color.";
343 uses G_NRP_DeiColorId;
345 container nrp_despColorId {
346 description "A choice that maps DSCP values to Color.";
348 uses G_NRP_DespColorId;
351 list NRP_BwpFlowRank {
355 uses G_NRP_BwpFlowRank;
357 grouping G_NRP_BwpFlowRank {
358 leaf nrp_bwpFlowRankInEnvelope {
359 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_NaturalNumber;
363 path '/NRP_Interface-ObjectClasses-NRP_BandwidthProfilePackage:NRP_BwpFlow/NRP_Interface-ObjectClasses-NRP_BandwidthProfilePackage:id';
371 key 'nrp_envelopeId';
376 grouping G_NRP_Envelope {
377 leaf nrp_envelopeId {
380 leaf nrp_couplingFlagForIndexZero {
381 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_NaturalNumber;
382 description "Coupling flag for index zero. 0 for NO and 1 for YES (overflow Green tokens can be used as Yellow tokens)";
384 leaf-list nrp_bwpflowrank {
387 path '/NRP_Interface-ObjectClasses-NRP_BandwidthProfilePackage:NRP_BwpFlowRank/NRP_Interface-ObjectClasses-NRP_BandwidthProfilePackage:id';
391 grouping G_NRP_EtherTypeL2cpId {
392 leaf nrp_etherTypeValue {
393 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_NaturalNumber;
394 description "EtherType, e.g., 0x8809";
396 leaf-list nrp_subType {
397 description "List of sub types. Can be NULL.";
399 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_NaturalNumber;
402 grouping G_NRP_LlcAddressL2cpId {
403 leaf nrp_llcAddress {
404 type NRP_Interface-TypeDefinitions-NRP_Types:NRP_NaturalNumber;
405 description "LLC Address";
408 grouping G_NRP_L2cpProtocolIdentifier {
409 container nrp_llcAddressL2cpId {
410 description "Choice of L2CP Protocol Identifier based on LLC Address.";
412 uses G_NRP_LlcAddressL2cpId;
414 container nrp_etherTypeL2cpId {
415 description "Choice of L2CP Protocol Identifier based on EtherType w/o SubTypes";
417 uses G_NRP_EtherTypeL2cpId;
423 grouping G_NRP_ServiceAccessPointCosId {
426 description "Class of Service name.";
428 list nrp_l2cpprotocolidentifier {
429 description "List of L2CP Protocol Identifiers that map to the CoS Name.";
433 uses G_NRP_L2cpProtocolIdentifier;
436 grouping G_NRP_DataFrameCosIdentifier {
437 container nrp_endPointCosId {
438 description "This is one choice of the CosProfile, for the EVC based CoS Identifier.";
440 uses G_NRP_ServiceAccessPointCosId;
443 description "This is one choice of the CosProfile, for the PCP based CoS Identifier.";
452 description "This is one choice of the CosProfile, for the DSCP based CoS Identifier.";
456 uses G_NRP_DscpCosId;