huawei-qos-bras

Quality of service for bras.

  • Version: 2020-03-03

    huawei-qos-bras@2020-03-03


    
      module huawei-qos-bras {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-qos-bras";
    
        prefix qos-bras;
    
        import huawei-extension {
          prefix ext;
        }
        import huawei-aaa {
          prefix aaa;
        }
        import huawei-bras-basic-access {
          prefix bras-basic-access;
        }
        import huawei-bras-qos {
          prefix bras-qos;
        }
        import huawei-qos {
          prefix qos;
        }
        import huawei-ifm {
          prefix ifm;
        }
        import huawei-ethernet {
          prefix ethernet;
        }
    
        organization
          "Huawei Technologies Co., Ltd.";
    
        contact
          "Huawei Industrial Base
         Bantian, Longgang
         Shenzhen 518129
         People's Republic of China
         Website: http://www.huawei.com
         Email: support@huawei.com";
    
        description
          "Quality of service for bras.";
    
        revision "2020-03-03" {
          description
            "Modify descriptions and add new nodes.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-12-02" {
          description "Add new nodes.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-09-20" {
          description "Add new nodes.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-04-06" {
          description "Initial revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "qos";
    
        typedef aaa-stream-flag {
          type enumeration {
            enum "up-stream" {
              value 1;
              description "Trust DS domain.";
            }
          }
          description "Stream flag.";
        }
    
        typedef aaa-map-type {
          type enumeration {
            enum "inner-8021p" {
              value 1;
              description
                "Inner 802.1p Priority.";
            }
            enum "outer-8021p" {
              value 2;
              description
                "Outer 802.1p Priority.";
            }
            enum "dscp" {
              value 3;
              description "Dscp Type.";
            }
            enum "mpls-exp" {
              value 4;
              description "MPLS-eXP Type.";
            }
          }
          description "Map type.";
        }
    
        typedef aaa-trust-type {
          type enumeration {
            enum "trust-8021p-inner" {
              value 9;
              description "Trust-8021p-inner.";
            }
            enum "trust-8021p-outer" {
              value 10;
              description "Trust-8021p-outer.";
            }
            enum "trust-dscp-inner" {
              value 13;
              description "Trust-dscp-inner.";
            }
            enum "trust-dscp-outer" {
              value 8;
              description "Trust-dscp-outer.";
            }
            enum "trust-exp-inner" {
              value 11;
              description "Trust-exp-inner.";
            }
            enum "trust-exp-outer" {
              value 12;
              description "Trust-exp-outer.";
            }
            enum "unchangeable" {
              value 15;
              description "Unchangeable.";
            }
          }
          description "Trust type.";
        }
    
        typedef aaa-direction-type {
          type enumeration {
            enum "up-stream" {
              value 1;
              description "Upstream.";
            }
            enum "down-stream" {
              value 2;
              description "Downstream.";
            }
          }
          description "AAA direction type.";
        }
    
        typedef exclude-type {
          type enumeration {
            enum "user-queue" {
              value 1;
              description "User queue.";
            }
            enum "car" {
              value 2;
              description "Car.";
            }
            enum "all" {
              value 0;
              description "All.";
            }
          }
          description
            "Session group exclude type.";
        }
    
        typedef aaa-l2-trust-type {
          type enumeration {
            enum "trust-8021p-inner" {
              value 9;
              description
                "L2 trust 8021p inner.";
            }
            enum "trust-8021p-outer" {
              value 10;
              description
                "L2 trust 8021p outer.";
            }
            enum "trust-dscp-outer" {
              value 8;
              description "L2 trust dscp outer.";
            }
          }
          description "L2 trust type.";
        }
    
        typedef rate-mode-type {
          type enumeration {
            enum "car" {
              value 0;
              description "Car.";
            }
            enum "user-queue" {
              value 1;
              description "User queue.";
            }
          }
          description "Rate limit mode type.";
        }
    
        typedef granularity-type {
          type enumeration {
            enum "1" {
              value 1;
              description "1kbps.";
            }
            enum "16" {
              value 16;
              description "16kbps.";
            }
            enum "32" {
              value 32;
              description "32kbps.";
            }
            enum "64" {
              value 64;
              description "64kbps.";
            }
            enum "128" {
              value 128;
              description "128kbps.";
            }
            enum "256" {
              value 256;
              description "256kbps.";
            }
            enum "512" {
              value 512;
              description "512kbps.";
            }
            enum "1024" {
              value 1024;
              description "1024kbps.";
            }
          }
          description "Granularity type.";
        }
      }  // module huawei-qos-bras
    

© 2023 YumaWorks, Inc. All rights reserved.