huawei-bras-wlan-access

Bras-wlan-access.

  • Version: 2020-03-18

    huawei-bras-wlan-access@2020-03-18


    
      module huawei-bras-wlan-access {
    
        yang-version 1;
    
        namespace
          'urn:huawei:yang:huawei-bras-wlan-access';
    
        prefix bras-wlan-access;
    
        import huawei-ifm {
          prefix ifm;
        }
        import huawei-bras-basic-access {
          prefix bras-basic-access;
        }
        import huawei-extension {
          prefix ext;
        }
    
        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-wlan-access.";
    
        revision "2020-03-18" {
          description "Modify description.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-03-26" {
          description "Initial revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "bras-control";
    
        container bras-wlan-access {
          description "Bras wlan access.";
          container nas-serial-number {
            description
              "Configure the AC serial number.";
            leaf number {
              type string {
                length "1..31";
                pattern '[!-~]{1,31}';
                pattern
                  "([^\"%'*/:<>\\?@|]{1,31})";
              }
              must
                "../number != '-' and ../number != '--'";
              description
                "Specifies the AC serial number.";
            }
          }  // container nas-serial-number
        }  // container bras-wlan-access
    
        augment /ifm:ifm/ifm:interfaces/ifm:interface/bras-basic-access:bas/bras-basic-access:access-type/bras-basic-access:layer2-subscriber/bras-basic-access:layer2-subscriber {
          description
            "Wlan access augment layer2 subscriber.";
          container ssid {
            description
              "Configure an (service set ID) SSID for WLAN services on a BAS interface. With this SSID, a fat access point (AP) can be connected to the BAS interface. By default, no SSID is configured on a BAS interface.";
            leaf name {
              type string {
                length "1..32";
                pattern '[!-~]{1,32}';
                pattern '([^%?]{1,32})';
              }
              description
                "Indicates the service set ID.";
            }
          }  // container ssid
    
          container wlan-option82-decode-ap-mac {
            description
              "Configure a BAS interface to parse the AP MAC address in Option 82.";
            choice mode {
              description
                "Parse AP MAC address mode.";
              case huawei {
                description
                  "Parse AP MAC address by huawei mode.";
                leaf type3 {
                  type empty;
                  description
                    "Indicates the AP MAC address to the mode type3.";
                }
              }  // case huawei
    
              case other {
                description
                  "Parse AP MAC address by other mode.";
                leaf type1 {
                  type empty;
                  description
                    "Indicates the AP MAC address to the mode type1.";
                }
    
                leaf type2 {
                  type empty;
                  description
                    "Indicates the AP MAC address to the mode type2.";
                }
              }  // case other
            }  // choice mode
          }  // container wlan-option82-decode-ap-mac
    
          container wlan-option82-decode-ssid {
            description
              "Configure a BAS interface to parse the SSID in Option 82.";
            choice mode {
              description "Parse SSID mode.";
              case huawei {
                description
                  "Parse SSID by huawei mode.";
                leaf type3 {
                  type empty;
                  description
                    "Indicates the ssid to the mode type3.";
                }
              }  // case huawei
    
              case other {
                description
                  "Parse SSID by other mode.";
                leaf type1 {
                  type empty;
                  description
                    "Indicates the ssid to the mode type1.";
                }
    
                leaf type2 {
                  type empty;
                  description
                    "Indicates the ssid to the mode type2.";
                }
              }  // case other
            }  // choice mode
          }  // container wlan-option82-decode-ssid
        }
      }  // module huawei-bras-wlan-access
    

© 2023 YumaWorks, Inc. All rights reserved.