junos-nfx-conf-wlan

Junos wlan configuration module

  • Version: 2019-01-01

    junos-nfx-conf-wlan@2019-01-01


    
      module junos-nfx-conf-wlan {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos-nfx/conf/wlan";
    
        prefix jc-wlan;
    
        import junos-common-types {
          prefix jt;
          revision-date "2019-01-01";
        }
        import junos-nfx-conf-root {
          prefix jc;
          revision-date "2019-01-01";
        }
    
        organization "Juniper Networks, Inc.";
    
        contact "yang-support@juniper.net";
    
        description
          "Junos wlan configuration module";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        augment /jc:configuration {
          uses wlan-group;
        }
    
        augment /jc:configuration/jc:groups {
          uses wlan-group;
        }
    
        grouping wlan-group {
          container wlan {
            presence "enable wlan";
            description
              "Wireless access point configuration";
            uses apply-advanced;
    
            container admin-authentication {
              description
                "Authentication information for WLAN access points";
              uses apply-advanced;
    
              leaf encrypted-password {
                type jt:unreadable;
                description "Encrypted password";
              }
            }  // container admin-authentication
    
            list access-point {
              key "name";
              ordered-by user;
              description
                "WLAN access point configuration";
              leaf name {
                type string;
                description
                  "Specify the access point name";
              }
    
              uses apply-advanced;
    
              leaf description {
                type string {
                  length "1 .. 64";
                }
                description
                  "Specify the access point description";
              }
    
              list interface {
                key "name";
                ordered-by user;
                description
                  "Interface device name";
                uses ap-interface-list-type;
              }  // list interface
    
              leaf mac-address {
                type jt:mac-unicast;
                description
                  "Access point ethernet port MAC address";
              }
    
              leaf location {
                type string {
                  length "1 .. 64";
                }
                description
                  "Location of the access point";
              }
    
              choice access-point-type {
                container external {
                  presence "enable external";
                  description
                    "External type access point";
                  uses apply-advanced;
    
                  container system {
                    description
                      "System information";
                    uses apply-advanced;
    
                    leaf ntp-server {
                      type string {
                        length "1 .. 256";
                      }
                      status deprecated;
                      description
                        "NTP server name";
                    }
    
                    container ports {
                      description
                        "Port configuration";
                      uses apply-advanced;
    
                      container ethernet {
                        description
                          "Ethernet settings";
                        uses apply-advanced;
    
                        leaf management-vlan {
                          type union {
                            type string {
                              pattern "<.*>|$.*";
                            }
                            type int32 {
                              range "1 .. 4094";
                            }
                          }
                          default "1";
                          description
                            "Management VLAN identifier";
                        }
    
                        leaf untagged-vlan {
                          type union {
                            type string {
                              pattern "<.*>|$.*";
                            }
                            type int32 {
                              range "1 .. 4094";
                            }
                          }
                          default "1";
                          description
                            "Untagged VLAN identifier";
                        }
    
                        choice inet-address {
                          container static {
                            presence
                              "enable static";
                            description
                              "Specify static parameters";
                            uses apply-advanced;
    
                            leaf address {
                              type jt:ipv4prefix;
                              description
                                "Static IP address";
                            }
    
                            leaf default-gateway {
                              type jt:ipaddr;
                              description
                                "Default gateway IP";
                            }
                          }  // container static
                        }  // choice inet-address
    
                        leaf-list name-server {
                          type jt:ipaddr;
                          max-elements 2;
                          ordered-by user;
                          description
                            "Domain name server IP address";
                        }
                      }  // container ethernet
                    }  // container ports
    
                    container console {
                      uses apply-advanced;
    
                      leaf baud-rate {
                        type union {
                          type int32;
                          type string {
                            pattern "<.*>|$.*";
                          }
                        }
                        default "115200";
                        description
                          "Baud-rate values are 9600,19200,38400,57600,115200";
                      }
                    }  // container console
    
                    container services {
                      description
                        "System services configuration";
                      uses apply-advanced;
    
                      leaf ssh {
                        type empty;
                        description
                          "Enable SSH service on the access point";
                      }
                    }  // container services
                  }  // container system
    
                  container dot1x-supplicant {
                    uses apply-advanced;
    
                    leaf username {
                      type string {
                        length "1 .. 64";
                      }
                      description "Username";
                    }
    
                    leaf password {
                      type string {
                        length "1 .. 64";
                      }
                      description
                        "Dot1x supplicant mode password";
                    }
                  }  // container dot1x-supplicant
                }  // container external
              }  // choice access-point-type
    
              container access-point-options {
                description
                  "Configure access point options";
                uses ap-options-type;
              }  // container access-point-options
    
              container logging-options {
                description
                  "Configure access point logging options";
                uses log-options-type;
              }  // container logging-options
    
              container captive-portal {
                presence "enable captive-portal";
                description
                  "Access point captive portal settings";
                uses apply-advanced;
    
                container authentication {
                  presence
                    "enable authentication";
                  description
                    "Authentication settings for captive portal";
                  uses captive-portal-auth-type;
                }  // container authentication
    
                container dhcp {
                  presence "enable dhcp";
                  description "DHCP settings";
                  uses apply-advanced;
    
                  leaf gateway {
                    type jt:ipaddr;
                    description
                      "Set DHCP server IP address";
                  }
    
                  leaf port {
                    type union {
                      type string {
                        pattern "<.*>|$.*";
                      }
                      type uint16 {
                        range "1 .. 65535";
                      }
                    }
                    default "67";
                    description
                      "Set DHCP server port";
                  }
    
                  leaf relay-agent {
                    type jt:ipprefix;
                    description
                      "Set DHCP relay agent";
                  }
                }  // container dhcp
    
                container splash-page {
                  presence "enable splash-page";
                  description
                    "Splash page settings";
                  uses apply-advanced;
    
                  container title {
                    presence "enable title";
                    description
                      "Specify the title of splash page";
                    uses splash-page-title-type;
                  }  // container title
    
                  container header {
                    presence "enable header";
                    description
                      "Specify the header of splash page";
                    uses splash-page-header-type;
                  }  // container header
    
                  container footer {
                    presence "enable footer";
                    description
                      "Specify the footer of splash page";
                    uses splash-page-footer-type;
                  }  // container footer
    
                  leaf background-color {
                    type string;
                    description
                      "Specify the background color of splash page";
                  }
    
                  container logo-image {
                    presence "enable logo-image";
                    description
                      "Specify the logo image for splash page";
                    uses splash-page-logo-image-type;
                  }  // container logo-image
                }  // container splash-page
    
                container ssl {
                  presence "enable ssl";
                  description "SSL settings";
                  uses apply-advanced;
    
                  choice enable-ssl {
                    leaf on {
                      type empty;
                      description "Turn on ssl";
                    }
                    leaf off {
                      type empty;
                      description "Turn off ssl";
                    }
                  }  // choice enable-ssl
    
                  leaf cert-file {
                    type string;
                    description
                      "Specify the certification file";
                  }
                }  // container ssl
    
                leaf session-timeout {
                  type union {
                    type uint32;
                    type string {
                      pattern "<.*>|$.*";
                    }
                  }
                  units "seconds";
                  default "300";
                  description
                    "Specify the session timeout";
                }
    
                leaf idle-timeout {
                  type union {
                    type uint32;
                    type string {
                      pattern "<.*>|$.*";
                    }
                  }
                  units "seconds";
                  default "180";
                  description
                    "Specify the idle timeout";
                }
              }  // container captive-portal
    
              list radio {
                key "name";
                max-elements 2;
                ordered-by user;
                description
                  "Access point radio settings";
                leaf name {
                  type union {
                    type string {
                      pattern "<.*>|$.*";
                    }
                    type int32 {
                      range "1 .. 2";
                    }
                  }
                  description
                    "Specify radio identifier value (1: 5GHz; 2: 2.4GHz)";
                }
    
                uses apply-advanced;
    
                container radio-options {
                  description
                    "Configure radio options";
                  uses apply-advanced;
    
                  leaf radio-off {
                    type empty;
                    description "Radio is off";
                  }
    
                  leaf dfs-off {
                    type empty;
                    description
                      "Dynamic frequency selection turn off";
                  }
    
                  leaf disable-dot11d {
                    type empty;
                    description
                      "Disable dot11d regulatory domain support";
                  }
    
                  leaf mode {
                    type enumeration {
                      enum "an" {
                        value 0;
                        description
                          "Wireless Mode a/n  (IEEE 802.11a/n)";
                      }
                      enum "5GHz" {
                        value 1;
                        description
                          "Radio Frequency -5GHz-n";
                      }
                      enum "2.4GHz" {
                        value 2;
                        description
                          "Radio Frequency -2.4GHz-n";
                      }
                      enum "acn" {
                        value 3;
                        description
                          "Wireless Mode ac/n (IEEE 802.11ac/n)";
                      }
                      enum "gn" {
                        value 4;
                        description
                          "Wireless Mode g/n (IEEE 802.11g/n)";
                      }
                      enum "g" {
                        value 5;
                        description
                          "Wireless Mode g (IEEE 802.11g)";
                      }
                    }
                    description
                      "Mode for radio operation";
                  }
    
                  container channel {
                    description
                      "Configure channel settings";
                    uses apply-advanced;
    
                    leaf number {
                      type enumeration {
                        enum "1" {
                          value 0;
                          description
                            "Channel 1";
                        }
                        enum "2" {
                          value 1;
                          description
                            "Channel 2";
                        }
                        enum "3" {
                          value 2;
                          description
                            "Channel 3";
                        }
                        enum "4" {
                          value 3;
                          description
                            "Channel 4";
                        }
                        enum "5" {
                          value 4;
                          description
                            "Channel 5";
                        }
                        enum "6" {
                          value 5;
                          description
                            "Channel 6";
                        }
                        enum "7" {
                          value 6;
                          description
                            "Channel 7";
                        }
                        enum "8" {
                          value 7;
                          description
                            "Channel 8";
                        }
                        enum "9" {
                          value 8;
                          description
                            "Channel 9";
                        }
                        enum "10" {
                          value 9;
                          description
                            "Channel 10";
                        }
                        enum "11" {
                          value 10;
                          description
                            "Channel 11";
                        }
                        enum "12" {
                          value 11;
                          description
                            "Channel 12";
                        }
                        enum "13" {
                          value 12;
                          description
                            "Channel 13";
                        }
                        enum "36" {
                          value 13;
                          description
                            "Channel 36";
                        }
                        enum "40" {
                          value 14;
                          description
                            "Channel 40";
                        }
                        enum "44" {
                          value 15;
                          description
                            "Channel 44";
                        }
                        enum "48" {
                          value 16;
                          description
                            "Channel 48";
                        }
                        enum "52" {
                          value 17;
                          description
                            "Channel 52";
                        }
                        enum "56" {
                          value 18;
                          description
                            "Channel 56";
                        }
                        enum "60" {
                          value 19;
                          description
                            "Channel 60";
                        }
                        enum "64" {
                          value 20;
                          description
                            "Channel 64";
                        }
                        enum "100" {
                          value 21;
                          description
                            "Channel 100";
                        }
                        enum "104" {
                          value 22;
                          description
                            "Channel 104";
                        }
                        enum "108" {
                          value 23;
                          description
                            "Channel 108";
                        }
                        enum "112" {
                          value 24;
                          description
                            "Channel 112";
                        }
                        enum "116" {
                          value 25;
                          description
                            "Channel 116";
                        }
                        enum "120" {
                          value 26;
                          description
                            "Channel 120";
                        }
                        enum "124" {
                          value 27;
                          description
                            "Channel 124";
                        }
                        enum "128" {
                          value 28;
                          description
                            "Channel 128";
                        }
                        enum "132" {
                          value 29;
                          description
                            "Channel 132";
                        }
                        enum "136" {
                          value 30;
                          description
                            "Channel 136";
                        }
                        enum "140" {
                          value 31;
                          description
                            "Channel 140";
                        }
                        enum "144" {
                          value 32;
                          description
                            "Channel 144";
                        }
                        enum "149" {
                          value 33;
                          description
                            "Channel 149";
                        }
                        enum "153" {
                          value 34;
                          description
                            "Channel 153";
                        }
                        enum "157" {
                          value 35;
                          description
                            "Channel 157";
                        }
                        enum "161" {
                          value 36;
                          description
                            "Channel 161";
                        }
                        enum "165" {
                          value 37;
                          description
                            "Channel 165";
                        }
                        enum "auto" {
                          value 38;
                          description
                            "Automatically selected";
                        }
                      }
                      default "auto";
                      description
                        "Provide channel selection";
                    }
    
                    leaf bandwidth {
                      type union {
                        type int32;
                        type string {
                          pattern "<.*>|$.*";
                        }
                      }
                      description
                        "Provide channel bandwidth in MHz(2.4G: 20/40; 5G: 20/40/80)";
                    }
    
                    leaf primary {
                      type enumeration {
                        enum "lower" {
                          value 0;
                          description
                            "Set lower channel as primary";
                        }
                        enum "upper" {
                          value 1;
                          description
                            "Set upper channel as primary";
                        }
                      }
                      description
                        "Select primary channel";
                    }
                  }  // container channel
    
                  leaf space-time-block-coding {
                    type empty;
                    description
                      "Enable space time block coding";
                  }
    
                  leaf protection {
                    type enumeration {
                      enum "auto" {
                        value 0;
                        description
                          "Protection mode- AUTO";
                      }
                      enum "off" {
                        value 1;
                        description
                          "Protection mode- OFF";
                      }
                    }
                    description
                      "Select protection mode";
                  }
    
                  leaf beacon-interval {
                    type union {
                      type string {
                        pattern "<.*>|$.*";
                      }
                      type int32 {
                        range "20 .. 2000";
                      }
                    }
                    units "milliseconds";
                    default "100";
                    description
                      "Set the beacon interval";
                  }
    
                  leaf dtim-period {
                    type union {
                      type string {
                        pattern "<.*>|$.*";
                      }
                      type int32 {
                        range "1 .. 255";
                      }
                    }
                    default "2";
                    description
                      "Set delivery traffic indication message period (beacon count)";
                  }
    
                  leaf rts-threshold {
                    type union {
                      type string {
                        pattern "<.*>|$.*";
                      }
                      type int32 {
                        range "0 .. 2347";
                      }
                    }
                    default "2347";
                    description
                      "Set RTS- threshold";
                  }
    
                  leaf no-short-guard-interval {
                    type empty;
                    description
                      "Disable 802.11n short inter-symbol guard interval";
                  }
    
                  leaf fragmentation-threshold {
                    type union {
                      type string {
                        pattern "<.*>|$.*";
                      }
                      type int32 {
                        range "256 .. 2346";
                      }
                    }
                    default "2346";
                    description
                      "Packet fragment size(even numbers)";
                  }
    
                  leaf maximum-stations {
                    type union {
                      type string {
                        pattern "<.*>|$.*";
                      }
                      type int32 {
                        range "0 .. 200";
                      }
                    }
                    default "200";
                    description
                      "Set limit on maximum supported stations";
                  }
    
                  leaf transmit-power {
                    type union {
                      type string {
                        pattern "<.*>|$.*";
                      }
                      type int32 {
                        range "3 .. 100";
                      }
                    }
                    units "percent";
                    default "100";
                    description
                      "Set transmit power";
                  }
    
                  leaf fixed-multicast-rate {
                    type enumeration {
                      enum "auto" {
                        value 0;
                        description
                          "Auto rate selection";
                      }
                      enum "1" {
                        value 1;
                        description
                          "Rate-1Mbps ";
                      }
                      enum "2" {
                        value 2;
                        description
                          "Rate-2Mbps ";
                      }
                      enum "5.5" {
                        value 3;
                        description
                          "Rate-5.5Mbps ";
                      }
                      enum "6" {
                        value 4;
                        description
                          "Rate-6Mbps ";
                      }
                      enum "9" {
                        value 5;
                        description
                          "Rate-9Mbps ";
                      }
                      enum "11" {
                        value 6;
                        description
                          "Rate-11Mbps ";
                      }
                      enum "12" {
                        value 7;
                        description
                          "Rate-12Mbps ";
                      }
                      enum "18" {
                        value 8;
                        description
                          "Rate-18Mbps ";
                      }
                      enum "24" {
                        value 9;
                        description
                          "Rate-24Mbps ";
                      }
                      enum "36" {
                        value 10;
                        description
                          "Rate-36Mbps ";
                      }
                      enum "48" {
                        value 11;
                        description
                          "Rate-48Mbps ";
                      }
                      enum "54" {
                        value 12;
                        description
                          "Rate-54Mbps ";
                      }
                    }
                    description
                      "Provide multicast rate";
                  }
    
                  container transmit-rate-sets {
                    description
                      "Specify the transmit rate sets";
                    uses transmit-rate-sets;
                  }  // container transmit-rate-sets
    
                  container broadcast-multicast-rate-limit {
                    description
                      "Configure rate limit for broadcast and multicast traffic";
                    uses broadcast-multicast-rate-limit;
                  }  // container broadcast-multicast-rate-limit
                }  // container radio-options
    
                leaf station-isolation {
                  type empty;
                  description
                    "Isolate the clients connected to the same VAP within a radio";
                }
    
                list virtual-access-point {
                  key "name";
                  max-elements 8;
                  ordered-by user;
                  description
                    "Virtual access point configuration";
                  uses vap-type;
                }  // list virtual-access-point
    
                container quality-of-service {
                  description
                    "Wireless quality of service configuration";
                  uses qos-parameter-type;
                }  // container quality-of-service
              }  // list radio
            }  // list access-point
    
            container syslog-options {
              description
                "Configure Access Point Logging options";
              uses apply-advanced;
    
              leaf log-size {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type uint32 {
                    range "4 .. 1024";
                  }
                }
                units "kilobytes";
                description
                  "Configure Max log file size";
              }
    
              leaf period {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type int32 {
                    range "60 .. 86400";
                  }
                }
                units "seconds";
                description
                  "Configure log fetch interval";
              }
            }  // container syslog-options
          }  // container wlan
        }  // grouping wlan-group
    
        grouping ap-interface-list-type {
          description
            "Logical interface in this cluster";
          leaf name {
            type union {
              type jt:interface-device;
              type string {
                pattern "<.*>|$.*";
              }
            }
            description "Interface device name";
          }
    
          uses apply-advanced;
        }  // grouping ap-interface-list-type
    
        grouping ap-options-type {
          description
            "Configure access point options";
          uses apply-advanced;
    
          container country {
            description "Country name";
            uses country;
          }  // container country
    
          container station-mac-filter {
            uses station-mac-filter;
          }  // container station-mac-filter
        }  // grouping ap-options-type
    
        grouping apply-advanced {
          description
            "Apply advanced configuration logic";
          leaf-list apply-groups {
            type string;
            ordered-by user;
            description
              "Groups from which to inherit configuration data";
          }
    
          leaf-list apply-groups-except {
            type string;
            ordered-by user;
            description
              "Don't inherit configuration data from these groups";
          }
    
          list apply-macro {
            key "name";
            ordered-by user;
            description
              "Macro and parameters for commit script expansion";
            uses apply-macro-type;
          }  // list apply-macro
        }  // grouping apply-advanced
    
        grouping apply-macro-type {
          description
            "Macro data for commit-script expansion";
          leaf name {
            type string;
            description
              "Name of the macro to be expanded";
          }
    
          list data {
            key "name";
            uses macro-data-type;
          }  // list data
        }  // grouping apply-macro-type
    
        grouping broadcast-multicast-rate-limit {
          description
            "Specify broadcast and multicast rate limit";
          uses apply-advanced;
    
          leaf rate-limit {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type int32 {
                range "1 .. 50";
              }
            }
            units "pps";
            default "50";
            description "Rate limit";
          }
    
          leaf rate-limit-bursts {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type int32 {
                range "1 .. 75";
              }
            }
            units "pps";
            default "75";
            description "Rate limit bursts";
          }
        }  // grouping broadcast-multicast-rate-limit
    
        grouping captive-portal-auth-type {
          description
            "Configure authentication settings";
          uses apply-advanced;
    
          choice authentication-type {
            container simple-pass {
              presence "enable simple-pass";
              description
                "Simple password configuration";
              uses simple-pass-type;
            }  // container simple-pass
            container external-server {
              presence "enable external-server";
              description
                "External server configuration";
              uses external-server-type;
            }  // container external-server
          }  // choice authentication-type
        }  // grouping captive-portal-auth-type
    
        grouping country {
          uses apply-advanced;
    
          choice code {
            leaf AE {
              type empty;
              status deprecated;
              description "United Arab Emirates";
            }
            leaf AG {
              type empty;
              status deprecated;
              description "Antigua and Barbuda";
            }
            leaf AN {
              type empty;
              status deprecated;
              description "Netherlands Antilles";
            }
            leaf AR {
              type empty;
              status deprecated;
              description "Argentina";
            }
            leaf AS {
              type empty;
              status deprecated;
              description "American Somoa";
            }
            leaf AT {
              type empty;
              description "Austria";
            }
            leaf AU {
              type empty;
              description "Australia";
            }
            leaf AW {
              type empty;
              status deprecated;
              description "Aruba";
            }
            leaf AZ {
              type empty;
              status deprecated;
              description "Azerbaijan";
            }
            leaf BA {
              type empty;
              status deprecated;
              description "Bosnia";
            }
            leaf BB {
              type empty;
              status deprecated;
              description "Barbados";
            }
            leaf BD {
              type empty;
              status deprecated;
              description "Bangladesh";
            }
            leaf BE {
              type empty;
              description "Belgium";
            }
            leaf BG {
              type empty;
              description "Bulgaria";
            }
            leaf BH {
              type empty;
              status deprecated;
              description "Bahrain";
            }
            leaf BM {
              type empty;
              status deprecated;
              description "Bermuda";
            }
            leaf BN {
              type empty;
              status deprecated;
              description "Brunei";
            }
            leaf BO {
              type empty;
              status deprecated;
              description "Bolivia";
            }
            leaf BR {
              type empty;
              status deprecated;
              description "Brazil";
            }
            leaf BS {
              type empty;
              status deprecated;
              description "Bahamas";
            }
            leaf BT {
              type empty;
              status deprecated;
              description "Bhutan";
            }
            leaf BY {
              type empty;
              status deprecated;
              description "Belarus";
            }
            leaf CA {
              type empty;
              description "Canada";
            }
            leaf CH {
              type empty;
              status deprecated;
              description "Switzerland";
            }
            leaf CL {
              type empty;
              status deprecated;
              description "Chile";
            }
            leaf CN {
              type empty;
              description "China";
            }
            leaf CO {
              type empty;
              status deprecated;
              description "Colombia";
            }
            leaf CR {
              type empty;
              status deprecated;
              description "Costa Rica";
            }
            leaf CU {
              type empty;
              status deprecated;
              description "Cuba";
            }
            leaf CV {
              type empty;
              status deprecated;
              description "Cape Verde";
            }
            leaf CY {
              type empty;
              description "Cyprus";
            }
            leaf CZ {
              type empty;
              description "Czechia";
            }
            leaf DE {
              type empty;
              description "Germany";
            }
            leaf DK {
              type empty;
              description "Denmark";
            }
            leaf DM {
              type empty;
              status deprecated;
              description "Dominica";
            }
            leaf DO {
              type empty;
              status deprecated;
              description "Dominican Republic";
            }
            leaf EC {
              type empty;
              status deprecated;
              description "Ecuador";
            }
            leaf EE {
              type empty;
              description "Estonia";
            }
            leaf EG {
              type empty;
              status deprecated;
              description "Egypt";
            }
            leaf ES {
              type empty;
              description "Spain";
            }
            leaf FI {
              type empty;
              description "Finland";
            }
            leaf FK {
              type empty;
              status deprecated;
              description "Faulkland Islands";
            }
            leaf FM {
              type empty;
              status deprecated;
              description
                "Federated States of Micronesia";
            }
            leaf FR {
              type empty;
              description "France";
            }
            leaf GB {
              type empty;
              description "United Kingdom";
            }
            leaf GF {
              type empty;
              status deprecated;
              description "French Guiana";
            }
            leaf GG {
              type empty;
              status deprecated;
              description "Guernsey";
            }
            leaf GI {
              type empty;
              status deprecated;
              description "Gibralter";
            }
            leaf GP {
              type empty;
              status deprecated;
              description "Guadeloupe";
            }
            leaf GR {
              type empty;
              description "Greece";
            }
            leaf GT {
              type empty;
              status deprecated;
              description "Guatemala";
            }
            leaf GU {
              type empty;
              status deprecated;
              description "Guam";
            }
            leaf HK {
              type empty;
              status deprecated;
              description "Hong Kong";
            }
            leaf HN {
              type empty;
              status deprecated;
              description "Honduras";
            }
            leaf HR {
              type empty;
              description "Croatia";
            }
            leaf HT {
              type empty;
              status deprecated;
              description "Haiti";
            }
            leaf HU {
              type empty;
              description "Hungary";
            }
            leaf ID {
              type empty;
              description "Indonesia";
            }
            leaf IE {
              type empty;
              description "Ireland";
            }
            leaf IL {
              type empty;
              description "Israel";
            }
            leaf IM {
              type empty;
              status deprecated;
              description "Isle of Man";
            }
            leaf IN {
              type empty;
              description "India";
            }
            leaf IR {
              type empty;
              status deprecated;
              description "Iran";
            }
            leaf IS {
              type empty;
              status deprecated;
              description "Iceland";
            }
            leaf IT {
              type empty;
              description "Italy";
            }
            leaf JE {
              type empty;
              status deprecated;
              description "Jersey";
            }
            leaf JM {
              type empty;
              status deprecated;
              description "Jamaica";
            }
            leaf JO {
              type empty;
              status deprecated;
              description "Jordan";
            }
            leaf JP {
              type empty;
              description "Japan";
            }
            leaf KE {
              type empty;
              status deprecated;
              description "Kenya";
            }
            leaf KI {
              type empty;
              status deprecated;
              description "Kiribati";
            }
            leaf KR {
              type empty;
              description "Korea Republic";
            }
            leaf KW {
              type empty;
              status deprecated;
              description "Kuwait";
            }
            leaf KY {
              type empty;
              status deprecated;
              description "Cayman Islands";
            }
            leaf LA {
              type empty;
              status deprecated;
              description
                "LAO People's Democratic Republic";
            }
            leaf LB {
              type empty;
              status deprecated;
              description "Lebanon";
            }
            leaf LI {
              type empty;
              status deprecated;
              description "Liechtenstein";
            }
            leaf LK {
              type empty;
              status deprecated;
              description "Sri Lanka";
            }
            leaf LS {
              type empty;
              status deprecated;
              description "Lesotho";
            }
            leaf LT {
              type empty;
              description "Lithuania";
            }
            leaf LU {
              type empty;
              description "Luxembourg";
            }
            leaf LV {
              type empty;
              description "Latvia";
            }
            leaf MA {
              type empty;
              status deprecated;
              description "Morocco";
            }
            leaf MC {
              type empty;
              status deprecated;
              description "Monaco";
            }
            leaf MK {
              type empty;
              status deprecated;
              description "Macedonia";
            }
            leaf MO {
              type empty;
              status deprecated;
              description "Macao";
            }
            leaf MP {
              type empty;
              status deprecated;
              description
                "Northern Mariana Islands";
            }
            leaf MQ {
              type empty;
              status deprecated;
              description "Martinique";
            }
            leaf MR {
              type empty;
              status deprecated;
              description "Mauritania";
            }
            leaf MT {
              type empty;
              description "Malta";
            }
            leaf MU {
              type empty;
              status deprecated;
              description "Mauritius";
            }
            leaf MV {
              type empty;
              status deprecated;
              description "Maldives";
            }
            leaf MW {
              type empty;
              status deprecated;
              description "Malawi";
            }
            leaf MX {
              type empty;
              description "Mexico";
            }
            leaf MY {
              type empty;
              description "Malaysia";
            }
            leaf NG {
              type empty;
              status deprecated;
              description "Nigeria";
            }
            leaf NI {
              type empty;
              status deprecated;
              description "Nicaragua";
            }
            leaf NL {
              type empty;
              description "Netherlands";
            }
            leaf NO {
              type empty;
              status deprecated;
              description "Norway";
            }
            leaf NZ {
              type empty;
              description "New Zealand";
            }
            leaf OM {
              type empty;
              status deprecated;
              description "Oman";
            }
            leaf PA {
              type empty;
              status deprecated;
              description "Panama";
            }
            leaf PE {
              type empty;
              status deprecated;
              description "Peru";
            }
            leaf PG {
              type empty;
              status deprecated;
              description "Papua New Guinea";
            }
            leaf PH {
              type empty;
              status deprecated;
              description "Philippines";
            }
            leaf PK {
              type empty;
              status deprecated;
              description "Pakistan";
            }
            leaf PL {
              type empty;
              description "Poland";
            }
            leaf PM {
              type empty;
              status deprecated;
              description
                "St. Pierre and Miquelon";
            }
            leaf PR {
              type empty;
              status deprecated;
              description "Puerto Rico";
            }
            leaf PT {
              type empty;
              description "Portugal";
            }
            leaf RE {
              type empty;
              status deprecated;
              description "Reunion";
            }
            leaf RO {
              type empty;
              description "Romania";
            }
            leaf RU {
              type empty;
              status deprecated;
              description "Russia";
            }
            leaf SA {
              type empty;
              status deprecated;
              description "Saudi Arabia";
            }
            leaf SE {
              type empty;
              description "Sweden";
            }
            leaf SG {
              type empty;
              status deprecated;
              description "Singapore";
            }
            leaf SI {
              type empty;
              description "Slovenia";
            }
            leaf SK {
              type empty;
              description "Slovakia";
            }
            leaf SV {
              type empty;
              status deprecated;
              description "El Salvador";
            }
            leaf SY {
              type empty;
              status deprecated;
              description "Syria";
            }
            leaf TH {
              type empty;
              status deprecated;
              description "Thailand";
            }
            leaf TJ {
              type empty;
              status deprecated;
              description "Tajikistan";
            }
            leaf TN {
              type empty;
              status deprecated;
              description "Tunisia";
            }
            leaf TR {
              type empty;
              status deprecated;
              description "Turkey";
            }
            leaf TT {
              type empty;
              status deprecated;
              description "Trinidad & Tobago";
            }
            leaf TW {
              type empty;
              status deprecated;
              description "Taiwan";
            }
            leaf TZ {
              type empty;
              status deprecated;
              description "Tanzania";
            }
            leaf UA {
              type empty;
              status deprecated;
              description "Ukraine";
            }
            leaf UM {
              type empty;
              status deprecated;
              description
                "United States (Minor Outlying Islands)";
            }
            leaf US {
              type empty;
              description "United States";
            }
            leaf UY {
              type empty;
              status deprecated;
              description "Uruguay";
            }
            leaf UZ {
              type empty;
              status deprecated;
              description "Uzbekistan";
            }
            leaf VA {
              type empty;
              status deprecated;
              description
                "Holy See (Vatican City State)";
            }
            leaf VE {
              type empty;
              status deprecated;
              description "Venezuela";
            }
            leaf VG {
              type empty;
              status deprecated;
              description
                "Virgin Islands (British)";
            }
            leaf VI {
              type empty;
              status deprecated;
              description
                "Virgin Islands (United States)";
            }
            leaf VN {
              type empty;
              description "Vietnam";
            }
            leaf YT {
              type empty;
              status deprecated;
              description "Mayotte";
            }
            leaf ZA {
              type empty;
              status deprecated;
              description "South Africa";
            }
            leaf ZM {
              type empty;
              status deprecated;
              description "Zambia";
            }
          }  // choice code
        }  // grouping country
    
        grouping external-server-type {
          uses apply-advanced;
    
          leaf radius-server {
            type jt:ipaddr;
            description
              "Set RADIUS server IP address";
          }
    
          leaf radius-port {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type uint16 {
                range "1 .. 65535";
              }
            }
            default "1812";
            description
              "Set RADIUS server port number";
          }
    
          leaf radius-key {
            type string {
              length "1 .. 64";
            }
            description "Secret RADIUS key";
          }
    
          leaf radius-eaptype {
            type enumeration {
              enum "PAP" {
                value 0;
                description "Enable PAP";
              }
              enum "CHAP" {
                value 1;
                description "Enable CHAP";
              }
            }
            description "Set EAP type";
          }
        }  // grouping external-server-type
    
        grouping log-options-type {
          uses apply-advanced;
    
          leaf enable-persistent {
            type empty;
            description
              "Turn on persistent logging on the access point";
          }
    
          leaf enable-remote {
            type empty;
            description
              "Turn on remote logging on the access point";
          }
    
          leaf log-server-address {
            type jt:ipv4addr;
            description
              "Remote log server IP address";
          }
    
          leaf log-server-port {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type uint32 {
                range "1 .. 65536";
              }
            }
            description "Remote log serer port";
          }
    
          leaf log-level {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type int32 {
                range "0 .. 7";
              }
            }
            description
              "Event severity, 0 - Errors, 7 - Info";
          }
        }  // grouping log-options-type
    
        grouping macro-data-type {
          leaf name {
            type string;
            description
              "Keyword part of the keyword-value pair";
          }
    
          leaf value {
            type string;
            description
              "Value part of the keyword-value pair";
          }
        }  // grouping macro-data-type
    
        grouping qos-parameter-type {
          uses apply-advanced;
    
          leaf no-wifi-multimedia {
            type empty;
            description
              "Disable WIFI multimedia";
          }
    
          leaf no-acknowledgement {
            type empty;
            description
              "Disable acknowledgement";
          }
    
          leaf no-auto-power-save {
            type empty;
            description
              "Disable auto power save delivery";
          }
    
          container access-point-queues {
            description
              "Configure the access point queues";
            uses apply-advanced;
    
            container voice-queue {
              description
                "Configure voice queue";
              uses access-point-queue-type;
            }  // container voice-queue
    
            container video-queue {
              description
                "Configure video queue";
              uses access-point-queue-type;
            }  // container video-queue
    
            container best-effort-queue {
              description
                "Configure best effort queue";
              uses access-point-queue-type;
            }  // container best-effort-queue
    
            container background-queue {
              description
                "Configure background queue";
              uses access-point-queue-type;
            }  // container background-queue
          }  // container access-point-queues
    
          container station-queues {
            description
              "Configure the station queues";
            uses apply-advanced;
    
            container voice-queue {
              description
                "Configure voice queue";
              uses station-queue-type;
            }  // container voice-queue
    
            container video-queue {
              description
                "Configure video queue";
              uses station-queue-type;
            }  // container video-queue
    
            container best-effort-queue {
              description
                "Configure best effort queue";
              uses station-queue-type;
            }  // container best-effort-queue
    
            container background-queue {
              description
                "Configure background queue";
              uses station-queue-type;
            }  // container background-queue
          }  // container station-queues
        }  // grouping qos-parameter-type
    
        grouping access-point-queue-type {
          description "Access point queue type";
          uses apply-advanced;
    
          leaf arbitration-inter-frame-space {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type int32 {
                range "1 .. 255";
              }
            }
            description
              "Arbitration space between frames";
          }
    
          container minimum-contention-window {
            description
              "Minimum contention window size";
            uses contention-window;
          }  // container minimum-contention-window
    
          container maximum-contention-window {
            description
              "Maximum contention window size";
            uses contention-window;
          }  // container maximum-contention-window
    
          leaf maximum-burst {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type int32 {
                range "0 .. 999900";
              }
            }
            units "microseconds";
            description "Specify maximum burst";
          }
        }  // grouping access-point-queue-type
    
        grouping contention-window {
          uses apply-advanced;
    
          leaf window-size {
            type union {
              type int32;
              type string {
                pattern "<.*>|$.*";
              }
            }
            description
              "Values are 1,3,7,15,31,63,127,255,511 and 1023";
          }
        }  // grouping contention-window
    
        grouping simple-pass-type {
          uses apply-advanced;
    
          leaf key {
            type string {
              length "8 .. 64";
            }
            description
              "Set simple password key";
          }
        }  // grouping simple-pass-type
    
        grouping splash-page-footer-type {
          uses apply-advanced;
    
          leaf content {
            type string {
              length "1 .. 256";
            }
          }
    
          leaf color {
            type string;
            description "Set the color";
          }
    
          leaf font-size {
            type union {
              type uint16;
              type string {
                pattern "<.*>|$.*";
              }
            }
            description "Set the font size";
          }
        }  // grouping splash-page-footer-type
    
        grouping splash-page-header-type {
          uses apply-advanced;
    
          leaf content {
            type string {
              length "1 .. 256";
            }
          }
    
          leaf color {
            type string;
            description "Set the color";
          }
    
          leaf font-size {
            type union {
              type uint16;
              type string {
                pattern "<.*>|$.*";
              }
            }
            description "Set the font size";
          }
        }  // grouping splash-page-header-type
    
        grouping splash-page-logo-image-type {
          uses apply-advanced;
    
          leaf filename {
            type jt:filename;
          }
        }  // grouping splash-page-logo-image-type
    
        grouping splash-page-title-type {
          uses apply-advanced;
    
          leaf content {
            type string {
              length "1 .. 64";
            }
          }
    
          leaf color {
            type string;
            description "Set the color";
          }
    
          leaf font-size {
            type union {
              type uint16;
              type string {
                pattern "<.*>|$.*";
              }
            }
            description "Set the font size";
          }
        }  // grouping splash-page-title-type
    
        grouping station-mac-filter {
          description "Configure MAC filter";
          uses apply-advanced;
    
          container allow-list {
            description
              "Allow the MAC addresseses";
            uses apply-advanced;
    
            leaf-list mac-address {
              type jt:mac-unicast;
              max-elements 16;
              ordered-by user;
              description
                "List of allowed MAC addresses";
            }
          }  // container allow-list
    
          container deny-list {
            description
              "Deny the MAC addresseses";
            uses apply-advanced;
    
            leaf-list mac-address {
              type jt:mac-unicast;
              max-elements 16;
              ordered-by user;
              description
                "List of denied MAC addresses";
            }
          }  // container deny-list
        }  // grouping station-mac-filter
    
        grouping station-queue-type {
          description "Station queue type";
          uses apply-advanced;
    
          leaf arbitration-inter-frame-space {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type int32 {
                range "1 .. 255";
              }
            }
            description
              "Arbitration space between frames";
          }
    
          container minimum-contention-window {
            description
              "Specify minimum contention window size";
            uses contention-window;
          }  // container minimum-contention-window
    
          container maximum-contention-window {
            description
              "Specify maximum contention window size";
            uses contention-window;
          }  // container maximum-contention-window
    
          leaf transmit-opportunity-limit {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type int32 {
                range "0 .. 65535";
              }
            }
            description
              "Specify transmission opportunity limit";
          }
        }  // grouping station-queue-type
    
        grouping transmit-rate-sets {
          description
            "Specify the transmit rate sets";
          uses apply-advanced;
    
          list supported-rates {
            key "name";
            max-elements 12;
            ordered-by user;
            description
              "List of supported rates in Mbps";
            uses rates;
          }  // list supported-rates
    
          list supported-basic-rates {
            key "name";
            max-elements 12;
            ordered-by user;
            description
              "List of supported basic rates in Mbps";
            uses rates;
          }  // list supported-basic-rates
        }  // grouping transmit-rate-sets
    
        grouping rates {
          leaf name {
            type enumeration {
              enum "1" {
                value 0;
                description "Rate-1Mbps ";
              }
              enum "2" {
                value 1;
                description "Rate-2Mbps ";
              }
              enum "5.5" {
                value 2;
                description "Rate-5.5Mbps ";
              }
              enum "6" {
                value 3;
                description "Rate-6Mbps ";
              }
              enum "9" {
                value 4;
                description "Rate-9Mbps ";
              }
              enum "11" {
                value 5;
                description "Rate-11Mbps ";
              }
              enum "12" {
                value 6;
                description "Rate-12Mbps ";
              }
              enum "18" {
                value 7;
                description "Rate-18Mbps ";
              }
              enum "24" {
                value 8;
                description "Rate-24Mbps ";
              }
              enum "36" {
                value 9;
                description "Rate-36Mbps ";
              }
              enum "48" {
                value 10;
                description "Rate-48Mbps ";
              }
              enum "54" {
                value 11;
                description "Rate-54Mbps ";
              }
            }
          }
    
          uses apply-advanced;
        }  // grouping rates
    
        grouping vap-type {
          leaf name {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type int32 {
                range "0 .. 7";
              }
            }
            description
              "Specify VAP identifier value";
          }
    
          uses apply-advanced;
    
          leaf description {
            type string {
              length "1 .. 64";
            }
            description
              "Specify the virtual access point description";
          }
    
          leaf ssid {
            type string {
              length "2 .. 32";
            }
            description
              "SSID value for the virtual access point";
          }
    
          leaf vlan {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type int32 {
                range "1 .. 4094";
              }
            }
            description
              "VLAN id for the virtual access point";
          }
    
          leaf download-limit {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type int32 {
                range "256 .. 1048576";
              }
            }
            description
              "Download rate limit Kbps";
          }
    
          leaf upload-limit {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type int32 {
                range "256 .. 1048576";
              }
            }
            description "Upload rate limit Kbps";
          }
    
          leaf no-broadcast-ssid {
            type empty;
            description "Disable broadcast SSID";
          }
    
          container http-redirect {
            presence "enable http-redirect";
            description
              "Configure HTTP redirect setting";
            uses http-redirect;
          }  // container http-redirect
    
          container security {
            presence "enable security";
            description
              "Configure security settings for the VAP";
            uses security;
          }  // container security
    
          container station-mac-filter {
            uses station-mac-filter;
          }  // container station-mac-filter
    
          leaf maximum-stations {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type int32 {
                range "1 .. 127";
              }
            }
            default "127";
            description
              "Set limit on maximum supported stations";
          }
    
          leaf station-isolation {
            type empty;
            description
              "Isolate the clients connected to the same VAP";
          }
    
          leaf captive-portal {
            type empty;
            description "Enable captive portal";
          }
        }  // grouping vap-type
    
        grouping http-redirect {
          description
            "Configure HTTP redirect setting";
          uses apply-advanced;
    
          leaf redirect-url {
            type string {
              length "1 .. 120";
            }
            description
              "Set the HTTP redirect URL address";
          }
        }  // grouping http-redirect
    
        grouping security {
          description
            "Configure one of security settings for the VAP";
          uses apply-advanced;
    
          leaf mac-authentication-type {
            type enumeration {
              enum "disabled" {
                value 0;
                description
                  "Disable MAC authentication";
              }
              enum "local" {
                value 1;
                description
                  "Select local MAC authentication";
              }
              enum "radius" {
                value 2;
                description
                  "Select RADIUS server authentication";
              }
            }
            description
              "Select MAC authentication type";
          }
    
          choice security-type {
            container static-wep {
              presence "enable static-wep";
              description
                "Static WEP configuration";
              uses static-wep;
            }  // container static-wep
            container dot1x {
              presence "enable dot1x";
              description "Dot1x configuration";
              uses dot1x;
            }  // container dot1x
            container wpa-personal {
              presence "enable wpa-personal";
              description
                "Set WPA personal settings";
              uses wpa-personal;
            }  // container wpa-personal
            container wpa-enterprise {
              presence "enable wpa-enterprise";
              description
                "Set WAP enterprise settings";
              uses wpa-enterprise;
            }  // container wpa-enterprise
            leaf none {
              type empty;
              description
                "Unsecure plain-text communication";
            }
          }  // choice security-type
        }  // grouping security
    
        grouping dot1x {
          uses apply-advanced;
    
          leaf radius-server {
            type jt:ipaddr;
            description
              "Set RADIUS server IP address";
          }
    
          leaf radius-port {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type uint16 {
                range "1 .. 65535";
              }
            }
            default "1812";
            description
              "Set RADIUS server port number";
          }
    
          leaf radius-key {
            type string {
              length "1 .. 64";
            }
            description "Secret RADIUS key";
          }
    
          leaf broadcast-key-refresh-rate {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type int32 {
                range "0 .. 86400";
              }
            }
            units "minutes";
            description
              "Broadcast key refresh rate";
          }
    
          leaf session-key-refresh-rate {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type int32 {
                range "0 .. 86400";
              }
            }
            units "minutes";
            description
              "Session key refresh rate";
          }
        }  // grouping dot1x
    
        grouping static-wep {
          uses apply-advanced;
    
          leaf authentication-type {
            type enumeration {
              enum "open" {
                value 0;
                description "Open type";
              }
              enum "shared" {
                value 1;
                description "Shared type";
              }
              enum "both" {
                value 2;
                description
                  "Both open and shared authentication";
              }
            }
            description
              "Select Static WEP authentication type";
          }
    
          leaf key-length {
            type enumeration {
              enum "64bits" {
                value 0;
                description
                  "Use 64 bit key (ASCII:5 chars, HEX:10 chars)";
              }
              enum "128bits" {
                value 1;
                description
                  "Use 128 bit key (ASCII:13 chars, HEX:26 chars)";
              }
            }
            description
              "Specify key length (defaults to 64 bits)";
          }
    
          leaf key-type {
            type enumeration {
              enum "ascii" {
                value 0;
                description
                  "ASCII key (default key-length is 64 bits)";
              }
              enum "hex" {
                value 1;
                description
                  "HEX key (default key-length is 64 bits)";
              }
            }
            description
              "Specify key type (defaults to ASCII)";
          }
    
          leaf transfer-key-index {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type int32 {
                range "1 .. 4";
              }
            }
            default "1";
            description
              "Specify transfer key index (1-4)";
          }
    
          leaf wep-key-1 {
            type jt:unreadable;
            description
              "Specify WEP key (defaults to ASCII 64 bits, 5 chars long)";
          }
    
          leaf wep-key-2 {
            type jt:unreadable;
            description
              "Specify WEP key (defaults to ASCII 64 bits, 5 chars long)";
          }
    
          leaf wep-key-3 {
            type jt:unreadable;
            description
              "Specify WEP key (defaults to ASCII 64 bits, 5 chars long)";
          }
    
          leaf wep-key-4 {
            type jt:unreadable;
            description
              "Specify WEP key (defaults to ASCII 64 bits, 5 chars long)";
          }
        }  // grouping static-wep
    
        grouping wpa-enterprise {
          uses apply-advanced;
    
          container wpa-version {
            description "Set WPA version";
            uses wpa-version;
          }  // container wpa-version
    
          container cipher-suites {
            description
              "Select the WPA cipher algorithm";
            uses cipher-suites;
          }  // container cipher-suites
    
          leaf pre-authenticate {
            type empty;
            description
              "Enable pre-authentication";
          }
    
          container radius {
            presence "enable radius";
            status deprecated;
            description
              "RADIUS setting for WPA enterprise";
            uses radius-deprecated;
          }  // container radius
    
          leaf radius-server {
            type jt:ipaddr;
            description
              "Set RADIUS server IP address";
          }
    
          leaf radius-port {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type uint16 {
                range "1 .. 65535";
              }
            }
            default "1812";
            description
              "Set RADIUS server port number";
          }
    
          leaf radius-key {
            type string {
              length "1 .. 64";
            }
            description "Secret RADIUS key";
          }
    
          leaf broadcast-key-refresh-rate {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type int32 {
                range "0 .. 86400";
              }
            }
            units "minutes";
            description
              "Broadcast key refresh rate";
          }
    
          leaf session-key-refresh-rate {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type int32 {
                range "0 .. 86400";
              }
            }
            units "minutes";
            description
              "Session key refresh rate";
          }
        }  // grouping wpa-enterprise
    
        grouping cipher-suites {
          uses apply-advanced;
    
          choice suites {
            leaf ccmp {
              type empty;
              description "CCMP";
            }
            leaf tkip-ccmp {
              type empty;
              status deprecated;
              description
                "Use both TKIP and CCMP cipher suites";
            }
          }  // choice suites
        }  // grouping cipher-suites
    
        grouping radius-deprecated {
          uses apply-advanced;
    
          leaf radius-server {
            type jt:ipaddr;
            description
              "Set RADIUS server IP address";
          }
    
          leaf radius-port {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type uint16 {
                range "1 .. 65535";
              }
            }
            default "1812";
            description
              "Set RADIUS server port number";
          }
    
          leaf radius-key {
            type string {
              length "1 .. 64";
            }
            description "Secret RADIUS key";
          }
    
          leaf broadcast-key-refresh-rate {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type int32 {
                range "0 .. 86400";
              }
            }
            units "minutes";
            description
              "Broadcast key refresh rate";
          }
    
          leaf session-key-refresh-rate {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type int32 {
                range "0 .. 86400";
              }
            }
            units "minutes";
            description
              "Session key refresh rate";
          }
        }  // grouping radius-deprecated
    
        grouping wpa-personal {
          uses apply-advanced;
    
          container wpa-version {
            description "Set WPA version";
            uses wpa-version;
          }  // container wpa-version
    
          container cipher-suites {
            description
              "Select the WPA cipher algorithm";
            uses cipher-suites;
          }  // container cipher-suites
    
          leaf key {
            type string {
              length "8 .. 64";
            }
            description "WPA shared key";
          }
    
          leaf key-type {
            type enumeration {
              enum "ascii" {
                value 0;
                description
                  "ASCII key (default key-length is 64 bits)";
              }
              enum "hex" {
                value 1;
                description
                  "HEX key (default key-length is 64 bits)";
              }
            }
            description
              "Specify key type (defaults to ASCII)";
          }
    
          leaf broadcast-key-refresh-rate {
            type union {
              type string {
                pattern "<.*>|$.*";
              }
              type int32 {
                range "0 .. 86400";
              }
            }
            units "minutes";
            default "0";
            description
              "Broadcast key refresh rate";
          }
        }  // grouping wpa-personal
    
        grouping wpa-version {
          uses apply-advanced;
    
          choice version {
            leaf v1-v2 {
              type empty;
              status deprecated;
              description
                "WPA Version 1 and WPA Version 2";
            }
            leaf v2 {
              type empty;
              description "WPA Version 2";
            }
          }  // choice version
        }  // grouping wpa-version
      }  // module junos-nfx-conf-wlan
    

© 2023 YumaWorks, Inc. All rights reserved.