ciena-mef-meter-profile

This YANG module defines the Meter Profile configuration requirements.

  • Version: 2017-10-23

    ciena-mef-meter-profile@2017-10-23


    
      module ciena-mef-meter-profile {
    
        yang-version 1;
    
        namespace
          "urn:ciena:params:xml:ns:yang:ciena-pn::ciena-mef-meter-profile";
    
        prefix meter;
    
        organization "Ciena Corporation";
    
        contact
          "Web URL: http://www.ciena.com/
    E-mail:  yang@ciena.com
    Postal:  7035 Ridge Road
    	 Hanover, Maryland 21076
    	 U.S.A.
    Phone:   +1 800-921-1144
    Fax:     +1 410-694-5750";
    
        description
          "This YANG module defines the Meter Profile configuration
    requirements.";
    
        revision "2017-10-23" {
          description
            "Added missing reference and description for container and list.";
          reference
            "RFC 6020: YANG - A Data Modeling Language for
            the Network Configuration Protocol (NETCONF).
            No specific reference; standard not available.";
    
        }
    
        revision "2015-07-16" {
          description "Initial revision.";
          reference
            "RFC 6020: YANG - A Data Modeling Language for
            the Network Configuration Protocol (NETCONF).
            No specific reference; standard not available.";
    
        }
    
    
        typedef meter-ref {
          type leafref {
            path "/meter:meter-profiles/meter:meter-profile/meter:name";
          }
          description
            "This type is used by data models that need to reference
    configured meter profiles.";
        }
    
        container meter-profiles {
          description
            "Configuration Data for Meter Profiles.";
          list meter-profile {
            key "name";
            description
              "This denotes list of Meter Profiles.";
            leaf name {
              type string;
              description
                "A unique identifier for the profile that is either
    set as part of configuration or set by the system.";
            }
    
            leaf description {
              type string;
              description
                "A more detailed description of the profile.";
            }
    
            leaf cir {
              type uint32;
              description
                "Committed Information Rate (CIR). CIR is a Bandwidth
    Profile parameter. It defines the average rate in
    Kbits/s of Service Frames up to which the network
    delivers Service Frames and meets the performance
    objectives defined by the CoS Service Attribute.";
            }
    
            leaf eir {
              type uint32;
              description
                "Excess Information Rate (EIR). EIR is a Bandwidth Profile
    parameter. It defines the average rate in Kbits/s of
    Service Frames up to which the network may deliver
    Service Frames but without any performance objectives.";
            }
    
            leaf cbs {
              type uint32;
              description
                "Commited Burst Size (CBS). CBS is a Bandwidth Profile
    parameter. It limits the maximum number of bytes
    available for a burst of Service Frames sent at the UNI
    speed to remain CIR-conformant.";
            }
    
            leaf ebs {
              type uint32;
              description
                "Excess Burst Size (EBS). EBS is a Bandwidth Profile
    parameter. It limits the maximum number of bytes
    available for a burst of Service Frames sent at the UNI
    speed to remain EIR-conformant.";
            }
    
            leaf color-aware {
              type boolean;
              description
                "The Bandwidth Profile algorithm is said to be in color
    aware mode when each Service Frame already has a level
    of compliance (i.e., a color) associated with it and
    that color is taken into account in determining the
    level of compliance  by the Bandwidth Profile
    algorithm. The Bandwidth Profile algorithm is said to be
    in color blind mode when the color (if any) already
    associated with each Service Frame is ignored by the
    Bandwidth Profile Algorithm.";
            }
    
            leaf coupling-flag {
              type boolean;
              description
                "CF is a Bandwidth Profile parameter. The Coupling Flag
    allows the choice between two modes of operation of the
    rate enforcement algorithm. It takes a value of 0 or 1
    only.";
              reference
                "MEF 10.2, Section 7.11.1, Standard Bandwidth Profile
                and Parameters.";
    
            }
          }  // list meter-profile
        }  // container meter-profiles
      }  // module ciena-mef-meter-profile
    

© 2023 YumaWorks, Inc. All rights reserved.