huawei-bras-qos

Bras-qos.

  • Version: 2020-03-03

    huawei-bras-qos@2020-03-03


    
      module huawei-bras-qos {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-bras-qos";
    
        prefix bras-qos;
    
        import huawei-radius {
          prefix radius;
        }
        import huawei-aaa {
          prefix aaa;
        }
        import huawei-extension {
          prefix ext;
        }
        import huawei-ifm {
          prefix ifm;
        }
        import huawei-bras-basic-access {
          prefix bras-basic-access;
        }
        import huawei-qos {
          prefix qos;
        }
        import huawei-time-range {
          prefix timerange;
        }
    
        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 "Bras-qos.";
    
        revision "2020-03-03" {
          description "Modify description.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-04-03" {
          description "Initial revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "bras-radius";
    
        container bras-qos {
          description "Bras qos.";
          container user-qos-cir-zero {
            must
              "not(cir-zero-unlimit='true' and user-cir) and not(cir-zero-unlimit='false' and not(user-cir))";
            description
              "Configure the CAR of user traffic when the CIR and PIR delivered by the RADIUS server are both 0s.";
            leaf cir-zero-unlimit {
              type boolean;
              default "true";
              description
                "Enable/disable the CAR when the CIR and PIR delivered by the RADIUS server are both 0s.";
            }
    
            leaf user-cir {
              when
                "../cir-zero-unlimit = 'false'";
              type uint32;
              units "bit/s";
              description
                "Specifies the CAR when the CIR and PIR delivered by the RADIUS server are both 0s.";
            }
          }  // container user-qos-cir-zero
    
          container user-queue-resource-policy {
            description
              "Configure a policy when user queue resources fail to be allocated.";
            leaf allocate-fail-policy {
              type enumeration {
                enum "online" {
                  value 0;
                  description
                    "Allows users to keep online.";
                }
                enum "offline" {
                  value 1;
                  description
                    "Users get offline.";
                }
              }
              default "online";
              description
                "Specifies the case that if the user queue resources fail to be allocated, the user then is no longer provided with the online service.";
            }
          }  // container user-queue-resource-policy
        }  // container bras-qos
      }  // module huawei-bras-qos
    

© 2023 YumaWorks, Inc. All rights reserved.