netconfcentral logo

ietf-dhcpv6

HTML

ietf-dhcpv6@2017-10-26



  module ietf-dhcpv6 {

    yang-version 1;

    namespace
      "urn:ietf:params:xml:ns:yang:ietf-dhcpv6";

    prefix dhcpv6;

    import ietf-inet-types {
      prefix inet;
      revision-date "2013-07-15";
    }
    import ietf-yang-types {
      prefix yang;
      revision-date "2013-07-15";
    }

    organization "dhc wg";

    contact
      "yong@csnet1.cs.tsinghua.edu.cn
    wangh13@mails.tsinghua.edu.cn
    lh.sunlinh@gmail.com
    Ted.Lemon@nominum.com
    ian.farrer@telekom.de
    sladjana.zechlin@telekom.de";

    description
      "This model defines a YANG data model that can be
    used to configure and manage DHCPv6 server, DHCPv6 relay and
    DHCPv6 client.";

    revision "2017-10-26" {
      description
        "version09: resolve feedbacks from IETF96";
      reference
        "I-D: draft-ietf-dhc-dhcpv6-yang-04";

    }

    revision "2016-06-18" {
      description
        "version08: resolve yang compiling error:
      top-level node must not be mandatory, wait for YANG
      doctor's review";
      reference
        "I-D: draft-ietf-dhc-dhcpv6-yang-03";

    }

    revision "2016-06-15" {
      description
        "version07: resolve yang compiling errors, wait
      for YANG doctor's review";
      reference
        "I-D: draft-ietf-dhc-dhcpv6-yang-02";

    }

    revision "2016-03-21" {
      description
        "version06: resolve feedbacks from IETF94";
      reference
        "I-D: draft-ietf-dhc-dhcpv6-yang-01";

    }

    revision "2015-10-16" {
      description
        "version05: Omit the feature statement. Modify
      model according to comments from Huawei. Also correct some
      grammar errors.";
      reference
        "I-D: draft-ietf-dhc-dhcpv6-yang-00";

    }

    revision "2015-09-25" {
      description
        "version04: Correct duid and grammar errors.";
      reference
        "I-D: draft-cui-dhc-dhcpv6-yang-04";

    }

    revision "2015-07-01" {
      description
        "version03: Correct grammar errors.";
      reference
        "I-D: draft-cui-dhc-dhcpv6-yang-03";

    }

    revision "2015-04-13" {
      description
        "version02: Correct grammar errors.";
      reference
        "I-D: draft-cui-dhc-dhcpv6-yang-02";

    }

    revision "2015-04-02" {
      description
        "version01: Correct grammar errors, Reuse
      groupings, Update 'dhcpv6-relay' feature, Add
      notifications.";
      reference
        "I-D: draft-cui-dhc-dhcpv6-yang-01";

    }

    revision "2015-03-04" {
      description
        "version00: Initial revision.";
      reference
        "I-D: draft-cui-dhc-dhcpv6-yang-00";

    }


    typedef threshold {
      type union {
        type uint16 {
          range "0..100";
        }
        type enumeration {
          enum "disabled" {
            value 0;
            description "No threshold";
          }
        }
      }
      description
        "Threshold value in percent";
    }

    grouping vendor-infor {
      description "Vendor information.";
      container vendor-info {
        description "";
        leaf ent-num {
          type uint32;
          mandatory true;
          description "enterprise number";
        }

        leaf-list data {
          type string;
          description "specific vendor info";
        }
      }  // container vendor-info
    }  // grouping vendor-infor

    grouping duid {
      description "DHCP Unique Identifier";
      reference
        "RFC3315: Section 9";

      choice duid-type {
        description
          "Selects the format for the DUID.";
        case duid-llt {
          description
            "DUID Based on Link-layer Address Plus Time";
          reference
            "RFC3315 Section 9.2";

          leaf duid-llt-hardware-type {
            type uint16;
            description
              "Hardware type as assigned by IANA (RFC826).";
          }

          leaf duid-llt-time {
            type yang:timeticks;
            description
              "The time value is the time that the DUID is generated
            represented in seconds since midnight (UTC), January 1, 2000,
                        modulo 2^32.";
          }

          leaf duid-llt-link-layer-addr {
            type yang:mac-address;
            description
              "Link-layer address as described in RFC2464";
          }
        }  // case duid-llt

        case duid-en {
          description
            "DUID Assigned by Vendor Based on Enterprise Number";
          reference
            "RFC3315 Section 9.3";

          leaf duid-en-enterprise-number {
            type uint32;
            description
              "Vendor's registered Private Enterprise Number as
            maintained by IANA";
          }

          leaf duid-en-identifier {
            type string;
            description
              "Indentifier, unique to the device that is using it";
          }
        }  // case duid-en

        case duid-ll {
          description
            "DUID Based on Link-layer Address";
          reference
            "RFC3315 Section 9.4";

          leaf duid-ll-hardware-type {
            type uint16;
            description
              "Hardware type as assigned by IANA (RFC826).";
          }

          leaf duid-ll-time {
            type yang:timeticks;
            description
              "The time value is the time that the DUID is generated
            represented in seconds since midnight (UTC), January 1, 2000,
                        modulo 2^32.";
          }
        }  // case duid-ll
      }  // choice duid-type
    }  // grouping duid

    grouping portset-para {
      description "portset parameters";
      container port-parameter {
        description "port parameter";
        leaf offset {
          type uint8;
          mandatory true;
          description "offset in a port set";
        }

        leaf psid-len {
          type uint8;
          mandatory true;
          description "length of a psid";
        }

        leaf psid {
          type uint16;
          mandatory true;
          description "psid value";
        }
      }  // container port-parameter
    }  // grouping portset-para

    container server {
      presence "Enables server";
      description "dhcpv6 server portion";
      container serv-attributes {
        description
          "This container contains basic attributes
        of a DHCPv6 server such as DUID, server name and so
        on. Some optional functions that can be provided by
        the server is also included.";
        leaf name {
          type string;
          description "server's name";
        }

        container duid {
          description "Sets the DUID";
          uses duid;
        }  // container duid

        leaf-list ipv6-address {
          type inet:ipv6-address;
          description
            "Server's IPv6 address.";
        }

        leaf description {
          type string;
          description
            "Description of the server.";
        }

        leaf pd-function {
          type boolean;
          mandatory true;
          description
            "Whether the server can act as a
          delegating router to perform prefix delegation
          ([RFC3633]).";
        }

        leaf stateless-service {
          type boolean;
          mandatory true;
          description
            "A boolean value specifies whether
          the server support client-server exchanges
          involving two messages defined in ([RFC3315]).";
        }

        leaf rapid-commit {
          type boolean;
          mandatory true;
          description
            "A boolean value specifies whether
          the server support client-server exchanges
          involving two messages defined in ([RFC3315]).";
        }

        leaf-list interfaces-config {
          type string;
          description
            "A leaf list to denote which one or
          more interfaces the server should listen on. The
          default value is to listen on all the interfaces.
          This node is also used to set a unicast address
          for the server to listen with a specific interface.
            For example, if people want the server to listen
              on a unicast address with a specific interface, he
              can use the format like 'eth1/2001:db8::1'.";
        }

        uses vendor-infor;
      }  // container serv-attributes

      container option-sets {
        description
          "DHCPv6 employs various options to carry
        additional information and parameters in DHCP messages.
        This container defines all the possible options that
        need to be configured at the server side.";
        list option-set {
          key "option-set-id";
          description
            "A server may allow different option
          sets to be configured for different conditions
          (i.e. different networks, clients and etc). This
          'option-set' list enables various sets of options
          being defined and configured in a single server.
          Different sets are distinguished by the key called
          'option-set-id'. All the possible options discussed
          above are defined in the list and each option is
          corresponding to a container.";
          leaf option-set-id {
            type uint8;
            mandatory true;
            description
              "the option-set-id key";
          }

          list new-or-standard-option {
            key "option-code";
            description
              "new or standard option";
            leaf option-code {
              type uint16;
              mandatory true;
              description
                "the option code key";
            }

            leaf option-name {
              type string;
              mandatory true;
              description
                "the new option's name";
            }

            leaf option-description {
              type string;
              mandatory true;
              description
                "description of new option";
            }

            leaf option-reference {
              type string;
              description
                "reference to the
              specification";
            }

            leaf option-value {
              type string;
              mandatory true;
              description
                "the new option's value";
            }
          }  // list new-or-standard-option

          leaf user-class-value {
            type string;
            description
              "use class option's value";
          }

          leaf enterprise-number {
            type uint32;
            description "enterprise number";
          }

          leaf store-client-link-layer {
            type boolean;
            description
              "whether to store client's
            link layer address";
          }

          container preference-option {
            description "preference option";
            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this option will be included in the
              option set";
            }

            leaf preference-value {
              type uint8;
              mandatory true;
              description
                "the value for this option";
            }
          }  // container preference-option

          container sip-server-option {
            description "sip server option";
            reference
              "RFC3319: Dynamic Host Configuration Protocol
              (DHCPv6) Options for Session Initiation Protocol (SIP)
              Servers";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be included in the
              option set";
            }

            list sip-server {
              key "sip-serv-id";
              description "sip server info";
              leaf sip-serv-id {
                type uint8;
                mandatory true;
                description "sip server id";
              }

              leaf sip-serv-domain-name {
                type string;
                mandatory true;
                description
                  "sip server domain
                name";
              }

              leaf sip-serv-addr {
                type inet:ipv6-address;
                mandatory true;
                description
                  "sip server addr";
              }
            }  // list sip-server
          }  // container sip-server-option

          container dns-config-option {
            description
              "OPTION_DNS_SERVERS (23) DNS recursive Name
            Server option";
            reference
              "RFC3646: DNS Configuration options for Dynamic
              Host Configuration Protocol for IPv6 (DHCPv6)";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be included in the
              option set";
            }

            list dns-server {
              key "dns-serv-id";
              description "dns server info";
              leaf dns-serv-id {
                type uint8;
                mandatory true;
                description
                  "DNS server list entry ID.";
              }

              leaf dns-serv-addr {
                type inet:ipv6-address;
                mandatory true;
                description
                  "DNS server address.";
              }
            }  // list dns-server
          }  // container dns-config-option

          container domain-searchlist-option {
            description
              "OPTION_DOMAIN_LIST (24) Domain Search List Option";
            reference
              "RFC3646: DNS Configuration options for Dynamic
              Host Configuration Protocol for IPv6 (DHCPv6)";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be included in the
              option set";
            }

            list domain-searchlist {
              key "domain-searchlist-id";
              description "dns server info";
              leaf domain-searchlist-id {
                type uint8;
                mandatory true;
                description
                  "Domain seachlist entry ID.";
              }

              leaf domain-search-list-entry {
                type string;
                mandatory true;
                description
                  "Domain search list entry.";
              }
            }  // list domain-searchlist
          }  // container domain-searchlist-option

          container nis-config-option {
            description
              "OPTION_NIS_SERVERS (27) Network Information Service (NIS)
            Servers Option.";
            reference
              "RFC3989: Network Information Service (NIS) Configuration
              Options for Dynamic Host Configuration Protocol for IPv6 (DHCPv6)";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be included in the
              option set";
            }

            list nis-server {
              key "nis-serv-id";
              description "nis server info";
              leaf nis-serv-id {
                type uint8;
                mandatory true;
                description "nis server id";
              }

              leaf nis-serv-addr {
                type inet:ipv6-address;
                mandatory true;
                description
                  "nis server addr";
              }
            }  // list nis-server
          }  // container nis-config-option

          container nis-plus-config-option {
            description
              "OPTION_NISP_SERVERS (28): Network Information Service V2
            (NIS+) Servers Option.";
            reference
              "RFC3989: Network Information Service (NIS) Configuration
              Options for Dynamic Host Configuration Protocol for IPv6 (DHCPv6)";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be included in the
              option set";
            }

            list nis-plus-server {
              key "nis-plus-serv-id";
              description
                "NIS+ server information.";
              leaf nis-plus-serv-id {
                type uint8;
                mandatory true;
                description "nisp server id";
              }

              leaf nis-plus-serv-addr {
                type inet:ipv6-address;
                mandatory true;
                description
                  "nisp server addr";
              }
            }  // list nis-plus-server
          }  // container nis-plus-config-option

          container sntp-server-option {
            description
              "OPTION_SNTP_SERVERS (31) Simple Network Time Protocol
            (SNTP) Servers Option";
            reference
              "RFC4075: Simple Network Time Protocol (SNTP) Configuration
              Option for DHCPv6";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be included in the
              option set";
            }

            list sntp-server {
              key "sntp-serv-id";
              description "sntp server info";
              leaf sntp-serv-id {
                type uint8;
                mandatory true;
                description "sntp server id";
              }

              leaf sntp-serv-addr {
                type inet:ipv6-address;
                mandatory true;
                description
                  "sntp server addr";
              }
            }  // list sntp-server
          }  // container sntp-server-option

          container info-refresh-time-option {
            description
              "OPTION_INFORMATION_REFRESH_TIME (32) Information Refresh
            Time option.";
            reference
              "RFC4242: Information Refresh Time Option for Dynamic Host
              Configuration Protocol for IPv6 (DHCPv6";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
             option will be included in the
             option set";
            }

            leaf info-refresh-time {
              type yang:timeticks;
              mandatory true;
              description
                "The refresh time.";
            }
          }  // container info-refresh-time-option

          container cli-fqdn-option {
            description
              "OPTION_CLIENT_FQDN (39) DHCPv6 Client FQDN Option";
            reference
              "RFC4704: The Dynamic Host Configuration Protocol for IPv6
              (DHCPv6) Client Fully Qualified Domain Name (FQDN) Option";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this option will be included in the
              option set";
            }

            leaf server-initiate-update {
              type boolean;
              mandatory true;
              description "server initiate";
            }

            leaf client-initiate-update {
              type boolean;
              mandatory true;
              description "client initiate";
            }

            leaf modify-name-from-cli {
              type boolean;
              mandatory true;
              description "modify by client";
            }
          }  // container cli-fqdn-option

          container posix-timezone-option {
            description
              "OPTION_NEW_POSIX_TIMEZONE (41) Posix Timezone option";
            reference
              "RFC4822: Timezone Options for DHCP";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this option will be included in the
                      option set";
            }

            leaf tz-posix {
              type string;
              mandatory true;
              description
                "TZ Posix IEEE 1003.1 String";
            }
          }  // container posix-timezone-option

          container posix-timezone-db-option {
            description
              "OPTION_NEW_TZDB_TIMEZONE (42) Timezone Database option";
            reference
              "RFC4822: Timezone Options for DHCP";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this option will be included in the
                      option set";
            }

            leaf tz-database {
              type string;
              mandatory true;
              description
                "Reference to the TZ Database";
            }
          }  // container posix-timezone-db-option

          container ntp-server-option {
            description
              "OPTION_NTP_SERVER (56) NTP Server Option for DHCPv6";
            reference
              "RFC5908: Network Time Protocol (NTP) Server Option for
              DHCPv6";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this option will be included in the
                      option set";
            }

            list ntp-server {
              key "ntp-serv-id";
              description "ntp server info";
              leaf ntp-serv-id {
                type uint8;
                mandatory true;
                description "ntp server id";
              }

              leaf ntp-serv-addr-suboption {
                type inet:ipv6-address;
                mandatory true;
                description
                  "ntp server addr";
              }

              leaf ntp-serv-mul-addr-suboption {
                type inet:ipv6-address;
                mandatory true;
                description
                  "ntp server multicast addr";
              }

              leaf ntp-serv-fqdn-suboption {
                type string;
                mandatory true;
                description
                  "ntp server fqdn";
              }
            }  // list ntp-server
          }  // container ntp-server-option

          container network-boot-option {
            description
              "network boot option";
            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be included in the
              option set";
            }

            list boot-file {
              key "boot-file-id";
              description "boot file info";
              leaf boot-file-id {
                type uint8;
                mandatory true;
                description "boot file id";
              }

              leaf-list suitable-arch-type {
                type uint16;
                description
                  "architecture type";
              }

              leaf-list suitable-net-if {
                type uint32;
                description
                  "network interface";
              }

              leaf boot-file-url {
                type string;
                mandatory true;
                description
                  "url for boot file";
              }

              list boot-file-paras {
                key "para-id";
                description
                  "boot file parameters";
                leaf para-id {
                  type uint8;
                  mandatory true;
                  description "parameter id";
                }

                leaf parameter {
                  type string;
                  mandatory true;
                  description
                    "parameter
                  value";
                }
              }  // list boot-file-paras
            }  // list boot-file
          }  // container network-boot-option

          container aftr-name-option {
            description
              "OPTION_AFTR_NAME (64) AFTR-Name DHCPv6 Option";
            reference
              "RFC6334: Dynamic Host Configuration Protocol for IPv6
              (DHCPv6) Option for Dual-Stack Lite";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this option will be included in the
            option set";
            }

            leaf tunnel-endpoint-name {
              type string;
              mandatory true;
              description "aftr name";
            }
          }  // container aftr-name-option

          container kerberos-option {
            description "kerberos option";
            reference
              "RFC6784: Kerberos Options for DHCPv6";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be included in the
              option set";
            }

            leaf default-realm-name {
              type string;
              mandatory true;
              description
                "default realm name";
            }

            list kdc-info {
              key "kdc-id";
              description "kdc info";
              leaf kdc-id {
                type uint8;
                mandatory true;
                description "kdc id";
              }

              leaf priority {
                type uint16;
                mandatory true;
                description "priority";
              }

              leaf weight {
                type uint16;
                mandatory true;
                description "weight";
              }

              leaf transport-type {
                type uint8;
                mandatory true;
                description "transport type";
              }

              leaf port-number {
                type uint16;
                mandatory true;
                description "port number";
              }

              leaf kdc-ipv6-addr {
                type inet:ipv6-address;
                mandatory true;
                description "kdc ipv6 addr";
              }

              leaf realm-name {
                type string;
                mandatory true;
                description "realm name";
              }
            }  // list kdc-info
          }  // container kerberos-option

          container addr-selection-option {
            description
              "address selection option";
            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this option will be included in the
                      option set";
            }

            leaf a-bit-set {
              type boolean;
              mandatory true;
              description "a bit";
            }

            leaf p-bit-set {
              type boolean;
              mandatory true;
              description "p bit";
            }

            list policy-table {
              key "policy-id";
              description "policy table";
              leaf policy-id {
                type uint8;
                mandatory true;
                description "policy id";
              }

              leaf label {
                type uint8;
                mandatory true;
                description "label";
              }

              leaf precedence {
                type uint8;
                mandatory true;
                description "precedence";
              }

              leaf prefix-len {
                type uint8;
                mandatory true;
                description "prefix length";
              }

              leaf prefix {
                type inet:ipv6-prefix;
                mandatory true;
                description "prefix";
              }
            }  // list policy-table
          }  // container addr-selection-option

          container sol-max-rt-option {
            description
              "OPTION_SOL_MAX_RT (82) sol max rt option";
            reference
              "RFC7083: Modification to Default Values of
              SOL_MAX_RT and INF_MAX_RT";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
                      option will be included in the
                      option set";
            }

            leaf sol-max-rt-value {
              type yang:timeticks;
              mandatory true;
              description "sol max rt value";
            }
          }  // container sol-max-rt-option

          container inf-max-rt-option {
            description
              "OPTION_INF_MAX_RT (83) inf max rt option";
            reference
              "RFC7083: Modification to Default Values of
              SOL_MAX_RT and INF_MAX_RT";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
                      option will be included in the
                      option set";
            }

            leaf inf-max-rt-value {
              type yang:timeticks;
              mandatory true;
              description "inf max rt value";
            }
          }  // container inf-max-rt-option

          container pcp-server-option {
            description
              "OPTION_V6_PCP_SERVER (86)
                    pcp server option";
            reference
              "RFC7291: DHCP Options for the Port Control
              Protocol (PCP)";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
                      option will be included in the
                      option set";
            }

            list pcp-server {
              key "pcp-serv-id";
              description "pcp server info";
              leaf pcp-serv-id {
                type uint8;
                mandatory true;
                description "pcp server id";
              }

              leaf pcp-serv-addr {
                type inet:ipv6-address;
                mandatory true;
                description
                  "pcp server addr";
              }
            }  // list pcp-server
          }  // container pcp-server-option

          container s46-rule-option {
            description "s46 rule option";
            reference
              "RFC7598: DHCPv6 Options for Configuration of
              Softwire Address and Port-Mapped Clients";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
                      option will be included in the
                      option set";
            }

            list s46-rule {
              key "rule-id";
              description "s46 rule";
              leaf rule-id {
                type uint8;
                mandatory true;
                description "rule id";
              }

              leaf rule-type {
                type enumeration {
                  enum "BMR" {
                    value 0;
                    description "BMR";
                  }
                  enum "FMR" {
                    value 1;
                    description "FMR";
                  }
                }
                mandatory true;
                description "rule type";
              }

              leaf prefix4-len {
                type uint8;
                mandatory true;
                description
                  "ipv4 prefix length";
              }

              leaf ipv4-prefix {
                type inet:ipv4-prefix;
                mandatory true;
                description "ipv4 prefix";
              }

              leaf prefix6-len {
                type uint8;
                mandatory true;
                description
                  "ipv6 prefix length";
              }

              leaf ipv6-prefix {
                type inet:ipv6-prefix;
                mandatory true;
                description "ipv6 prefix";
              }

              uses portset-para;
            }  // list s46-rule
          }  // container s46-rule-option

          container s46-br-option {
            description "s46 br option";
            reference
              "RFC7598: DHCPv6 Options for Configuration of
              Softwire Address and Port-Mapped Clients";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
                      option will be included in the
                      option set";
            }

            list br {
              key "br-id";
              description "br info";
              leaf br-id {
                type uint8;
                mandatory true;
                description "br id";
              }

              leaf br-ipv6-addr {
                type inet:ipv6-address;
                mandatory true;
                description "br ipv6 addr";
              }
            }  // list br
          }  // container s46-br-option

          container operator-option-ipv6-address {
            description
              "operator ipv6 address option";
            reference
              "RFC7227: Guidelines for Creating New DHCPv6 Options";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be included in the
              option set";
            }

            list operator-ipv6-addr {
              key "operator-ipv6-addr-id";
              description
                "operator ipv6 address info";
              leaf operator-ipv6-addr-id {
                type uint8;
                mandatory true;
                description
                  "operator ipv6 address id";
              }

              leaf operator-ipv6-addr {
                type inet:ipv6-address;
                mandatory true;
                description
                  "operator ipv6 address id";
              }
            }  // list operator-ipv6-addr
          }  // container operator-option-ipv6-address

          container operator-option-single-flag {
            description
              "operator single flag";
            reference
              "RFC7227: Guidelines for Creating New DHCPv6
              Options";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be included in the
              option set";
            }

            list flag {
              key "flag-id";
              description
                "operator single flag info";
              leaf flag-id {
                type uint8;
                mandatory true;
                description
                  "operator single flag id";
              }

              leaf flag-value {
                type boolean;
                mandatory true;
                description
                  "operator single flag value";
              }
            }  // list flag
          }  // container operator-option-single-flag

          container operator-option-ipv6-prefix {
            description
              "operator ipv6 prefix option";
            reference
              "RFC7227: Guidelines for Creating New DHCPv6
              Options";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be included in the
              option set";
            }

            list operator-ipv6-prefix {
              key "operator-ipv6-prefix-id";
              description
                "operator ipv6 prefix info";
              leaf operator-ipv6-prefix-id {
                type uint8;
                mandatory true;
                description
                  "operator ipv6 prefix id";
              }

              leaf operator-ipv6-prefix6-len {
                type uint8;
                mandatory true;
                description
                  "operator ipv6 prefix length";
              }

              leaf operator-ipv6-prefix {
                type inet:ipv6-prefix;
                mandatory true;
                description
                  "operator ipv6 prefix";
              }
            }  // list operator-ipv6-prefix
          }  // container operator-option-ipv6-prefix

          container operator-option-int32 {
            description
              "operator integer 32 option";
            reference
              "RFC7227: Guidelines for Creating New DHCPv6
              Options";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be included in the
              option set";
            }

            list int32val {
              key "int32val-id";
              description
                "operator integer 32 info";
              leaf int32val-id {
                type uint8;
                mandatory true;
                description
                  "operator integer 32 id";
              }

              leaf int32val {
                type uint32;
                mandatory true;
                description
                  "operator integer 32 value";
              }
            }  // list int32val
          }  // container operator-option-int32

          container operator-option-int16 {
            description
              "operator integer 16 option";
            reference
              "RFC7227: Guidelines for Creating New DHCPv6
              Options";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be included in the
              option set";
            }

            list int16val {
              key "int16val-id";
              description
                "operator integer 16 info";
              leaf int16val-id {
                type uint8;
                mandatory true;
                description
                  "operator integer 16 id";
              }

              leaf int16val {
                type uint16;
                mandatory true;
                description
                  "operator integer 16 value";
              }
            }  // list int16val
          }  // container operator-option-int16

          container operator-option-int8 {
            description
              "operator integer 8 option";
            reference
              "RFC7227: Guidelines for Creating New DHCPv6
              Options";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be included in the
              option set";
            }

            list int8val {
              key "int8val-id";
              description
                "operator integer 8 info";
              leaf int8val-id {
                type uint8;
                mandatory true;
                description
                  "operator integer 8 id";
              }

              leaf int8val {
                type uint8;
                mandatory true;
                description
                  "operator integer 8 value";
              }
            }  // list int8val
          }  // container operator-option-int8

          container operator-option-uri {
            description
              "operator uri option";
            reference
              "RFC7227: Guidelines for Creating New DHCPv6
              Options";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be included in the
              option set";
            }

            list uri {
              key "uri-id";
              description
                "operator uri info";
              leaf uri-id {
                type uint8;
                mandatory true;
                description
                  "operator uri id";
              }

              leaf uri {
                type string;
                mandatory true;
                description
                  "operator uri value";
              }
            }  // list uri
          }  // container operator-option-uri

          container operator-option-textstring {
            description
              "operator itext string option";
            reference
              "RFC7227: Guidelines for Creating New DHCPv6 Options";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be included in the
              option set";
            }

            list textstring {
              key "textstring-id";
              description
                "operator text string info";
              leaf textstring-id {
                type uint8;
                mandatory true;
                description
                  "operator text string id";
              }

              leaf textstring {
                type string;
                mandatory true;
                description
                  "operator text string value";
              }
            }  // list textstring
          }  // container operator-option-textstring

          container operator-option-var-data {
            description
              "operator variable length data option";
            reference
              "RFC7227: Guidelines for Creating New DHCPv6 Options";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be included in the
              option set";
            }

            list int32val {
              key "var-data-id";
              description
                "operator ivariable length data info";
              leaf var-data-id {
                type uint8;
                mandatory true;
                description
                  "operator variable length id";
              }

              leaf var-data {
                type binary;
                mandatory true;
                description
                  "operator variable length value";
              }
            }  // list int32val
          }  // container operator-option-var-data

          container operator-option-dns-wire {
            description
              "operator dns wire format domain name list option";
            reference
              "RFC7227: Guidelines for Creating New DHCPv6
              Options";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be included in the
              option set";
            }

            list operator-option-dns-wire {
              key "operator-option-dns-wire-id";
              description
                "operator dns wire format info";
              leaf operator-option-dns-wire-id {
                type uint8;
                mandatory true;
                description
                  "operator dns wire format id";
              }

              leaf operator-option-dns-wire {
                type binary;
                mandatory true;
                description
                  "operator dns wire format value";
              }
            }  // list operator-option-dns-wire
          }  // container operator-option-dns-wire

          container s46-dmr-option {
            description "s46 dmr option";
            reference
              "RFC7598: DHCPv6 Options for Configuration of
              Softwire Address and Port-Mapped Clients";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be included in the
              option set";
            }

            list dmr {
              key "dmr-id";
              description "dmr info";
              leaf dmr-id {
                type uint8;
                mandatory true;
                description "dmr id";
              }

              leaf dmr-prefix-len {
                type uint8;
                mandatory true;
                description
                  "dmr prefix length";
              }

              leaf dmr-ipv6-prefix {
                type inet:ipv6-prefix;
                mandatory true;
                description
                  "dmr ipv6 prefix";
              }
            }  // list dmr
          }  // container s46-dmr-option

          container s46-v4-v6-binding-option {
            description "s46 binding option";
            reference
              "RFC7598: DHCPv6 Options for Configuration of
              Softwire Address and Port-Mapped Clients";

            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be included in the
              option set";
            }

            list ce {
              key "ce-id";
              description "ce info";
              leaf ce-id {
                type uint8;
                mandatory true;
                description "ce id";
              }

              leaf ipv4-addr {
                type inet:ipv4-address;
                mandatory true;
                description "ce ipv4 addr";
              }

              leaf bind-prefix6-len {
                type uint8;
                mandatory true;
                description
                  "bind ipv6 prefix
                length";
              }

              leaf bind-ipv6-prefix {
                type inet:ipv6-prefix;
                mandatory true;
                description
                  "bind ipv6 prefix";
              }

              uses portset-para;
            }  // list ce
          }  // container s46-v4-v6-binding-option
        }  // list option-set
      }  // container option-sets

      container network-ranges {
        description
          "This model supports a hierarchy
        to achieve dynamic configuration. That is to
        say we could configure the server at different
        levels through this model. The top level is a
        global level which is defined as the container
        'network-ranges'. The following levels are
        defined as sub-containers under it. The
        'network-ranges' contains the parameters
        (e.g. option-sets) that would be allocated to
        all the clients served by this server.";
        leaf option-set-id {
          type uint8;
          description
            "a specific option set";
        }

        list network-range {
          key "network-range-id";
          description
            "Under the 'network-ranges'
          container, a 'network-range' list is
          defined to configure the server at a
          network level which is also considered
          as the second level. Different network
          are identified by the key 'network-range-id'.
          This is because a server may have different
          configuration parameters (e.g. option sets)
          for different networks.";
          leaf network-range-id {
            type uint8;
            mandatory true;
            description
              "equivalent to subnet id";
          }

          leaf network-description {
            type string;
            mandatory true;
            description
              "description of the subnet";
          }

          leaf network-prefix {
            type inet:ipv6-prefix;
            mandatory true;
            description "subnet prefix";
          }

          leaf inherit-option-set {
            type boolean;
            mandatory true;
            description
              "indicate whether to inherit
            the configuration from higher level";
          }

          leaf option-set-id {
            type uint8;
            mandatory true;
            description
              "the selected option-set";
          }

          container reserved-addresses {
            description "reserved addresses";
            list static-binding {
              key "cli-id";
              description
                "static binding of
              reserved addresses";
              leaf cli-id {
                type uint32;
                mandatory true;
                description "client id";
              }

              container duid {
                description "Sets the DUID";
                uses duid;
              }  // container duid

              leaf-list reserv-addr {
                type inet:ipv6-address;
                description "reserved addr";
              }
            }  // list static-binding

            leaf-list other-reserv-addr {
              type inet:ipv6-address;
              description
                "other reserved
              addr";
            }
          }  // container reserved-addresses

          container reserved-prefixes {
            description "reserved prefixes";
            list static-binding {
              key "cli-id";
              description "static binding";
              leaf cli-id {
                type uint32;
                mandatory true;
                description "client id";
              }

              container duid {
                description "Sets the DUID";
                uses duid;
              }  // container duid

              leaf reserv-prefix-len {
                type uint8;
                mandatory true;
                description
                  "reserved
                prefix length";
              }

              leaf reserv-prefix {
                type inet:ipv6-prefix;
                mandatory true;
                description
                  "reserved prefix";
              }
            }  // list static-binding

            leaf exclude-prefix-len {
              type uint8;
              mandatory true;
              description
                "exclude prefix
              length";
            }

            leaf exclude-prefix {
              type inet:ipv6-prefix;
              mandatory true;
              description "exclude prefix";
            }

            list other-reserv-prefix {
              key "reserv-id";
              description
                "other reserved prefix";
              leaf reserv-id {
                type uint8;
                mandatory true;
                description
                  "reserved prefix id";
              }

              leaf prefix-len {
                type uint8;
                mandatory true;
                description "prefix length";
              }

              leaf prefix {
                type inet:ipv6-prefix;
                mandatory true;
                description
                  "reserved prefix";
              }
            }  // list other-reserv-prefix
          }  // container reserved-prefixes

          container address-pools {
            description
              "A container describes
            the DHCPv6 server's address pools.";
            list address-pool {
              key "pool-id";
              description
                "A DHCPv6 server can
              be configured with several address
              pools. This list defines such
              address pools which are distinguish
              by the key called 'pool-name'.";
              leaf pool-id {
                type uint8;
                mandatory true;
                description "pool id";
              }

              leaf pool-prefix {
                type inet:ipv6-prefix;
                mandatory true;
                description "pool prefix";
              }

              leaf start-address {
                type inet:ipv6-address-no-zone;
                mandatory true;
                description "start address";
              }

              leaf end-address {
                type inet:ipv6-address-no-zone;
                mandatory true;
                description "end address";
              }

              leaf renew-time {
                type yang:timeticks;
                mandatory true;
                description "renew time";
              }

              leaf rebind-time {
                type yang:timeticks;
                mandatory true;
                description "rebind time";
              }

              leaf preferred-lifetime {
                type yang:timeticks;
                mandatory true;
                description
                  "preferred lifetime
                for IA";
              }

              leaf valid-lifetime {
                type yang:timeticks;
                mandatory true;
                description
                  "valid liftime for IA";
              }

              leaf total-ipv6-count {
                type uint64;
                config false;
                mandatory true;
                description
                  "how many ipv6
                addressses are in the pool";
              }

              leaf used-ipv6-count {
                type uint64;
                config false;
                mandatory true;
                description
                  "how many are
                allocated";
              }

              leaf utilization-ratio {
                type threshold;
                mandatory true;
                description
                  "the utilization ratio";
              }

              leaf inherit-option-set {
                type boolean;
                mandatory true;
                description
                  "indicate whether to
                inherit the configuration from
                higher level";
              }

              leaf option-set-id {
                type uint8;
                mandatory true;
                description
                  "the selected option-set";
              }
            }  // list address-pool

            list binding-info {
              key "cli-id";
              config false;
              description
                "A list records a binding
              information for each DHCPv6 client
              that has already been allocated IPv6
              addresses.";
              leaf cli-id {
                type uint32;
                mandatory true;
                description "client id";
              }

              container duid {
                description "Sets the DUID";
                uses duid;
              }  // container duid

              list cli-ia {
                key "iaid";
                description "client IA";
                leaf ia-type {
                  type string;
                  mandatory true;
                  description "IA type";
                }

                leaf iaid {
                  type uint32;
                  mandatory true;
                  description "IAID";
                }

                leaf-list cli-addr {
                  type inet:ipv6-address;
                  description "client addr";
                }

                leaf pool-id {
                  type uint8;
                  mandatory true;
                  description "pool id";
                }
              }  // list cli-ia
            }  // list binding-info
          }  // container address-pools

          container prefix-pools {
            description
              "If a server supports prefix
            delegation function, this container will
            be used to define the delegating router's
            refix pools.";
            list prefix-pool {
              key "pool-id";
              description
                "Similar to server's
              address pools, a delegating router
              can also be configured with multiple
              prefix pools specified by a list
              called 'prefix-pool'.";
              leaf pool-id {
                type uint8;
                mandatory true;
                description "pool id";
              }

              leaf prefix {
                type inet:ipv6-prefix;
                mandatory true;
                description "ipv6 prefix";
              }

              leaf prefix-length {
                type uint8;
                mandatory true;
                description "prefix length";
              }

              leaf renew-time {
                type yang:timeticks;
                mandatory true;
                description "renew time";
              }

              leaf rebind-time {
                type yang:timeticks;
                mandatory true;
                description "rebind time";
              }

              leaf preferred-lifetime {
                type yang:timeticks;
                mandatory true;
                description
                  "preferred lifetime for
                IA";
              }

              leaf valid-lifetime {
                type yang:timeticks;
                mandatory true;
                description
                  "valid lifetime for IA";
              }

              leaf utilization-ratio {
                type threshold;
                mandatory true;
                description
                  "utilization ratio";
              }

              leaf inherit-option-set {
                type boolean;
                mandatory true;
                description
                  "whether to inherit
                configuration from higher level";
              }

              leaf option-set-id {
                type uint8;
                mandatory true;
                description
                  "the selected option-set";
              }
            }  // list prefix-pool

            list binding-info {
              key "cli-id";
              config false;
              description
                "A list records a
              binding information for each
              DHCPv6 client that has already
              been allocated IPv6 addresses.";
              leaf cli-id {
                type uint32;
                mandatory true;
                description "client id";
              }

              container duid {
                description "Sets the DUID";
                uses duid;
              }  // container duid

              list cli-iapd {
                key "iaid";
                description "client IAPD";
                leaf iaid {
                  type uint32;
                  mandatory true;
                  description "IAID";
                }

                leaf-list cli-prefix {
                  type inet:ipv6-prefix;
                  description
                    "client ipv6 prefix";
                }

                leaf-list cli-prefix-len {
                  type uint8;
                  description
                    "client prefix length";
                }

                leaf pool-id {
                  type uint8;
                  mandatory true;
                  description "pool id";
                }
              }  // list cli-iapd
            }  // list binding-info
          }  // container prefix-pools

          container hosts {
            description "hosts level";
            list host {
              key "cli-id";
              description "specific host";
              leaf cli-id {
                type uint32;
                mandatory true;
                description "client id";
              }

              container duid {
                description "Sets the DUID";
                uses duid;
              }  // container duid

              leaf inherit-option-set {
                type boolean;
                mandatory true;
                description
                  "whether to inherit
                configuration
                from higher level";
              }

              leaf option-set-id {
                type uint8;
                mandatory true;
                description
                  "the selected option-set";
              }

              leaf nis-domain-name {
                type string;
                description
                  "nis domain name";
              }

              leaf nis-plus-domain-name {
                type string;
                description
                  "nisp domain name";
              }
            }  // list host
          }  // container hosts
        }  // list network-range
      }  // container network-ranges

      container relay-opaque-paras {
        description
          "This container contains some
        opaque values in Relay Agent options that
        need to be configured on the server side
        only for value match. Such Relay Agent
        options include Interface-Id option,
                Remote-Id option and Subscriber-Id option.";
        list relays {
          key "relay-name";
          description "relay agents";
          leaf relay-name {
            type string;
            mandatory true;
            description "relay agent name";
          }

          list interface-info {
            key "if-name";
            description "interface info";
            leaf if-name {
              type string;
              mandatory true;
              description "interface name";
            }

            leaf interface-id {
              type string;
              mandatory true;
              description "interface id";
            }
          }  // list interface-info

          list subscribers {
            key "subscriber";
            description "subscribers";
            leaf subscriber {
              type uint8;
              mandatory true;
              description "subscriber";
            }

            leaf subscriber-id {
              type string;
              mandatory true;
              description "subscriber id";
            }
          }  // list subscribers

          list remote-host {
            key "ent-num";
            description "remote host";
            leaf ent-num {
              type uint32;
              mandatory true;
              description
                "enterprise number";
            }

            leaf remote-id {
              type string;
              mandatory true;
              description "remote id";
            }
          }  // list remote-host
        }  // list relays
      }  // container relay-opaque-paras

      container rsoo-enabled-options {
        description "rsoo enabled options";
        list rsoo-enabled-option {
          key "option-code";
          description "rsoo enabled option";
          leaf option-code {
            type uint16;
            mandatory true;
            description "option code";
          }

          leaf description {
            type string;
            mandatory true;
            description
              "description of the option";
          }
        }  // list rsoo-enabled-option
      }  // container rsoo-enabled-options

      container packet-stats {
        config false;
        description
          "A container presents
        the packet statistics related to
        the DHCPv6 server.";
        leaf solicit-count {
          type uint32;
          mandatory true;
          description "solicit counter";
        }

        leaf request-count {
          type uint32;
          mandatory true;
          description "request counter";
        }

        leaf renew-count {
          type uint32;
          mandatory true;
          description "renew counter";
        }

        leaf rebind-count {
          type uint32;
          mandatory true;
          description "rebind counter";
        }

        leaf decline-count {
          type uint32;
          mandatory true;
          description "decline count";
        }

        leaf release-count {
          type uint32;
          mandatory true;
          description "release counter";
        }

        leaf info-req-count {
          type uint32;
          mandatory true;
          description
            "information request
          counter";
        }

        leaf advertise-count {
          type uint32;
          mandatory true;
          description "advertise counter";
        }

        leaf confirm-count {
          type uint32;
          mandatory true;
          description "confirm counter";
        }

        leaf reply-count {
          type uint32;
          mandatory true;
          description "reply counter";
        }

        leaf reconfigure-count {
          type uint32;
          mandatory true;
          description "reconfigure counter";
        }

        leaf relay-forward-count {
          type uint32;
          mandatory true;
          description
            "relay forward counter";
        }

        leaf relay-reply-count {
          type uint32;
          mandatory true;
          description "relay reply counter";
        }
      }  // container packet-stats
    }  // container server

    container relay {
      presence "Enables relay";
      description "dhcpv6 relay portion";
      container relay-attributes {
        description
          "A container describes
        some basic attributes of the relay
        agent including some relay agent
        specific options data that need to
        be configured previously. Such options
        include Remote-Id option and
        Subscriber-Id option.";
        leaf name {
          type string;
          description "relay agent name";
        }

        leaf description {
          type string;
          description
            "description of the relay agent";
        }

        leaf-list dest-addrs {
          type inet:ipv6-address;
          description
            "Each DHCPv6 relay agent may
          be configured with a list of destination
          addresses. This node defines such a list
          of IPv6 addresses that may include
          unicast addresses, multicast addresses
          or other addresses.";
        }

        list subscribers {
          key "subscriber";
          description "subscribers";
          leaf subscriber {
            type uint8;
            mandatory true;
            description "subscriber";
          }

          leaf subscriber-id {
            type string;
            mandatory true;
            description "subscriber id";
          }
        }  // list subscribers

        list remote-host {
          key "ent-num";
          description "remote host";
          leaf ent-num {
            type uint32;
            mandatory true;
            description "enterprise number";
          }

          leaf remote-id {
            type string;
            mandatory true;
            description "remote id";
          }
        }  // list remote-host

        uses vendor-infor;
      }  // container relay-attributes

      container relay-supplied-options-option {
        description
          "relay supplied options option";
        list rsoo-set {
          key "rsoo-set-id";
          description "rsoo set";
          leaf rsoo-set-id {
            type uint8;
            mandatory true;
            description "rsoo set id";
          }

          container erp-local-domain-name-option {
            description
              "erp local domain name option";
            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether
              this option is included in the
              rsoo set";
            }

            list erp-for-client {
              key "cli-id";
              description "erp for client";
              leaf cli-id {
                type uint32;
                mandatory true;
                description "client id";
              }

              container duid {
                description "Sets the DUID";
                uses duid;
              }  // container duid

              leaf erp-name {
                type string;
                mandatory true;
                description "erp name";
              }
            }  // list erp-for-client
          }  // container erp-local-domain-name-option
        }  // list rsoo-set
      }  // container relay-supplied-options-option

      list relay-if {
        key "if-name";
        description
          "A relay agent may have several
        interfaces, we should provide a way to configure
        and manage parameters on the interface-level. A
        list that describes specific interfaces and
        their corresponding parameters is employed to
        fulfil the configfuration. Here we use a string
        called 'if-name; as the key of list.";
        leaf if-name {
          type string;
          mandatory true;
          description "interface name";
        }

        leaf enable {
          type boolean;
          mandatory true;
          description
            "whether this interface is enabled";
        }

        leaf ipv6-address {
          type inet:ipv6-address;
          description
            "ipv6 address for this interface";
        }

        leaf interface-id {
          type string;
          description "interface id";
        }

        leaf-list rsoo-set {
          type uint8;
          description "configured rsoo set";
        }

        list pd-route {
          key "pd-route-id";
          description "pd route";
          leaf pd-route-id {
            type uint8;
            mandatory true;
            description "pd route id";
          }

          leaf requesting-router-id {
            type uint32;
            mandatory true;
            description
              "requesting router id";
          }

          leaf delegating-router-id {
            type uint32;
            mandatory true;
            description
              "delegating router id";
          }

          leaf next-router {
            type inet:ipv6-address;
            mandatory true;
            description "next router";
          }

          leaf last-router {
            type inet:ipv6-address;
            mandatory true;
            description "previous router";
          }
        }  // list pd-route

        list next-entity {
          key "dest-addr";
          description
            "This node defines
          a list that is used to describe
          the next hop entity of this
          relay distinguished by their
          addresses.";
          leaf dest-addr {
            type inet:ipv6-address;
            mandatory true;
            description "destination addr";
          }

          leaf available {
            type boolean;
            mandatory true;
            description
              "whether the next entity
            is available or not";
          }

          leaf multicast {
            type boolean;
            mandatory true;
            description
              "whether the address is
            multicast or not";
          }

          leaf server {
            type boolean;
            mandatory true;
            description
              "whether the next entity
            is a server";
          }

          container packet-stats {
            config false;
            description "packet statistics";
            leaf cli-packet-rvd-count {
              type uint32;
              mandatory true;
              description
                "client received packet
              counter";
            }

            leaf solicit-rvd-count {
              type uint32;
              mandatory true;
              description
                "solicit received counter";
            }

            leaf request-rvd-count {
              type uint32;
              mandatory true;
              description
                "request received counter";
            }

            leaf renew-rvd-count {
              type uint32;
              mandatory true;
              description
                "renew received counter";
            }

            leaf rebind-rvd-count {
              type uint32;
              mandatory true;
              description
                "rebind recevied counter";
            }

            leaf decline-rvd-count {
              type uint32;
              mandatory true;
              description
                "decline received counter";
            }

            leaf release-rvd-count {
              type uint32;
              mandatory true;
              description
                "release received counter";
            }

            leaf info-req-rvd-count {
              type uint32;
              mandatory true;
              description
                "information request counter";
            }

            leaf relay-for-rvd-count {
              type uint32;
              mandatory true;
              description
                "relay forward received counter";
            }

            leaf relay-rep-rvd-count {
              type uint32;
              mandatory true;
              description
                "relay reply received counter";
            }

            leaf packet-to-cli-count {
              type uint32;
              mandatory true;
              description
                "packet to client counter";
            }

            leaf adver-sent-count {
              type uint32;
              mandatory true;
              description
                "advertisement sent counter";
            }

            leaf confirm-sent-count {
              type uint32;
              mandatory true;
              description
                "confirm sent counter";
            }

            leaf reply-sent-count {
              type uint32;
              mandatory true;
              description
                "reply sent counter";
            }

            leaf reconfig-sent-count {
              type uint32;
              mandatory true;
              description
                "reconfigure sent counter";
            }

            leaf relay-for-sent-count {
              type uint32;
              mandatory true;
              description
                "relay forward sent counter";
            }

            leaf relay-rep-sent-count {
              type uint32;
              mandatory true;
              description
                "relay reply sent counter";
            }
          }  // container packet-stats
        }  // list next-entity
      }  // list relay-if

      container relay-stats {
        config false;
        description "relay statistics";
        leaf cli-packet-rvd-count {
          type uint32;
          mandatory true;
          description
            "client packet received counter";
        }

        leaf relay-for-rvd-count {
          type uint32;
          mandatory true;
          description
            "relay forward received counter";
        }

        leaf relay-rep-rvd-count {
          type uint32;
          mandatory true;
          description
            "relay reply recevied counter";
        }

        leaf packet-to-cli-count {
          type uint32;
          mandatory true;
          description
            "packet to client counter";
        }

        leaf relay-for-sent-count {
          type uint32;
          mandatory true;
          description
            "relay forward sent counter";
        }

        leaf relay-rep-sent-count {
          type uint32;
          mandatory true;
          description
            "relay reply sent counter";
        }

        leaf discarded-packet-count {
          type uint32;
          mandatory true;
          description
            "discarded packet counter";
        }
      }  // container relay-stats
    }  // container relay

    container client {
      presence "Enables client";
      description "dhcpv6 client portion";
      container duid {
        description "Sets the DUID";
        uses duid;
      }  // container duid

      list client-if {
        key "if-name";
        description
          "A client may have several
        interfaces, it is more reasonable to
        configure and manage parameters on
        the interface-level. The list defines
        specific client interfaces and their
        data. Different interfaces are distinguished
        by the key which is a configurable string
        value.";
        leaf if-name {
          type string;
          mandatory true;
          description "interface name";
        }

        leaf cli-id {
          type uint32;
          mandatory true;
          description "client id";
        }

        leaf description {
          type string;
          description
            "description of the client interface";
        }

        leaf pd-function {
          type boolean;
          mandatory true;
          description
            "Whether the client
          can act as a requesting router
          to request prefixes using prefix
          delegation ([RFC3633]).";
        }

        leaf rapid-commit {
          type boolean;
          mandatory true;
          description
            "'1' indicates a client can
          initiate a Solicit-Reply message exchange
          by adding a Rapid Commit option in Solicit
          message. '0' means the client is not allowed
          to add a Rapid Commit option to request
          addresses in a two-message exchange
          pattern.";
        }

        container mo-tab {
          description
            "The management tab
          label indicates the operation
          mode of the DHCPv6 client. 'm'=1
          and 'o'=1 indicate the client
          will use DHCPv6 to obtain all
          the configuration data. 'm'=1
          and 'o'=0 are a meaningless
          combination. 'm'=0 and 'o'=1
          indicate the client will use
          stateless DHCPv6 to obtain
          configuration data apart from
          addresses/prefixes data.
          'm'=0 and 'o'=0 represent the
          client will not use DHCPv6
          but use SLAAC to achieve
          configuration.";
          leaf m-tab {
            type boolean;
            mandatory true;
            description "m tab";
          }

          leaf o-tab {
            type boolean;
            mandatory true;
            description "o tab";
          }
        }  // container mo-tab

        container oro-options {
          description "oro options";
          list oro-option {
            key "option-code";
            description "oro option";
            leaf option-code {
              type uint16;
              mandatory true;
              description "option code";
            }

            leaf description {
              type string;
              mandatory true;
              description
                "description of oro
              options";
            }
          }  // list oro-option
        }  // container oro-options

        container client-configured-options {
          description
            "client configured options";
          list new-or-standard-cli-option {
            key "option-code";
            description
              "new or standard client option";
            leaf option-code {
              type uint16;
              mandatory true;
              description "option code";
            }

            leaf option-name {
              type string;
              mandatory true;
              description "option name";
            }

            leaf option-description {
              type string;
              mandatory true;
              description
                "description of client
              option";
            }

            leaf option-reference {
              type string;
              description
                "the reference of option";
            }

            leaf option-value {
              type string;
              mandatory true;
              description "the option value";
            }
          }  // list new-or-standard-cli-option

          container user-class-option {
            description "user class option";
            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be configured at the
              client";
            }

            list user-class {
              key "user-class-id";
              description "user class";
              leaf user-class-id {
                type uint8;
                mandatory true;
                description "user class id";
              }

              leaf user-class-info {
                type string;
                mandatory true;
                description
                  "user class info";
              }
            }  // list user-class
          }  // container user-class-option

          container vendor-class-option {
            description
              "vendor class option";
            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be configured at the
              client";
            }

            leaf ent-num {
              type uint32;
              mandatory true;
              description
                "enterprise number";
            }

            leaf-list data {
              type string;
              description "option data";
            }
          }  // container vendor-class-option

          container client-fqdn-option {
            description "client fqdn option";
            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be configured at the
              client";
            }

            leaf fqdn {
              type string;
              mandatory true;
              description "fqdn";
            }

            leaf server-initiate-update {
              type boolean;
              mandatory true;
              description
                "whether server initiate";
            }

            leaf client-initiate-update {
              type boolean;
              mandatory true;
              description
                "whether client initiate";
            }
          }  // container client-fqdn-option

          container client-architecture-type-option {
            description
              "client architecture type option";
            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be configured at the
              client";
            }

            list architecture-types {
              key "type-id";
              description
                "architecture types";
              leaf type-id {
                type uint16;
                mandatory true;
                description "type id";
              }

              leaf most-preferred {
                type boolean;
                mandatory true;
                description
                  "most preferred flag";
              }
            }  // list architecture-types
          }  // container client-architecture-type-option

          container client-network-interface-option {
            description
              "client network interface option";
            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be configured at the
              client";
            }

            leaf type {
              type uint8;
              mandatory true;
              description "type";
            }

            leaf major {
              type uint8;
              mandatory true;
              description "major";
            }

            leaf minor {
              type uint8;
              mandatory true;
              description "minor";
            }
          }  // container client-network-interface-option

          container kerberos-principal-name-option {
            description
              "kerberos principal name option";
            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be configured at the
              client";
            }

            leaf principal-name {
              type string;
              mandatory true;
              description "principal name";
            }
          }  // container kerberos-principal-name-option

          container client-link-layer-addr-option {
            description
              "client link layer address option";
            leaf enable {
              type boolean;
              mandatory true;
              description
                "indicate whether this
              option will be configured at the
              client";
            }

            leaf link-layer-type {
              type uint16;
              mandatory true;
              description "link layer type";
            }

            leaf link-layer-addr {
              type string;
              mandatory true;
              description
                "link layer address";
            }
          }  // container client-link-layer-addr-option
        }  // container client-configured-options

        container identity-associations {
          config false;
          description
            "IA is a construct through
          which a server and a client can identify,
                group, and manage a set of related IPv6
                  addresses. The key of the list is a
                  4-byte number IAID defined in [RFC3315].";
          list identity-association {
            key "iaid";
            description "IA";
            leaf iaid {
              type uint32;
              mandatory true;
              description "IAID";
            }

            leaf ia-type {
              type string;
              mandatory true;
              description "IA type";
            }

            leaf-list ipv6-addr {
              type inet:ipv6-address;
              description "ipv6 address";
            }

            leaf-list ipv6-prefix {
              type inet:ipv6-prefix;
              description "ipv6 prefix";
            }

            leaf-list prefix-length {
              type uint8;
              description
                "ipv6 prefix length";
            }

            leaf t1-time {
              type yang:timeticks;
              mandatory true;
              description "t1 time";
            }

            leaf t2-time {
              type yang:timeticks;
              mandatory true;
              description "t2 time";
            }

            leaf preferred-lifetime {
              type yang:timeticks;
              mandatory true;
              description
                "preferred lifetime";
            }

            leaf valid-lifetime {
              type yang:timeticks;
              mandatory true;
              description "valid lifetime";
            }
          }  // list identity-association
        }  // container identity-associations

        container if-other-paras {
          config false;
          description
            "A client can obtain
          extra configuration data other than
          address and prefix information through
          DHCPv6. This container describes such
          data the client was configured. The
          potential configuration data may
          include DNS server addresses, SIP
          server domain names, etc.";
          leaf-list uni-dhcpv6-serv-addr {
            type inet:ipv6-address;
            description
              "unicast server address";
          }

          container dns-paras {
            description "dns parameters";
            leaf domain-search-list {
              type string;
              mandatory true;
              description
                "domain search list";
            }

            list dns-servers {
              key "dns-serv-id";
              description "dns servers";
              leaf dns-serv-id {
                type uint8;
                mandatory true;
                description "dns server id";
              }

              leaf dns-serv-addr {
                type inet:ipv6-address;
                mandatory true;
                description
                  "dns server address";
              }
            }  // list dns-servers
          }  // container dns-paras

          container sip-paras {
            description "sip parameters";
            list sip-servers {
              key "sip-serv-id";
              description "sip server info";
              leaf sip-serv-id {
                type uint8;
                mandatory true;
                description "sip server id";
              }

              leaf sip-serv-addr {
                type inet:ipv6-address;
                mandatory true;
                description
                  "sip server address";
              }

              leaf sip-serv-domain-name {
                type string;
                mandatory true;
                description
                  "sip server domain name";
              }
            }  // list sip-servers
          }  // container sip-paras

          container nis-paras {
            description "nis parameters";
            leaf nis-domain-name {
              type string;
              mandatory true;
              description "nis domain name";
            }

            list nis-server {
              key "nis-serv-id";
              description "nis server";
              leaf nis-serv-id {
                type uint8;
                mandatory true;
                description "nis server id";
              }

              leaf nis-serv-addr {
                type inet:ipv6-address;
                mandatory true;
                description
                  "nis server address";
              }
            }  // list nis-server
          }  // container nis-paras

          container nis-plus-paras {
            description "nisp parameters";
            leaf nis-plus-domain-name {
              type string;
              mandatory true;
              description "nisp domian name";
            }

            list nis-plus-server {
              key "nis-plus-serv-id";
              description "nisp server";
              leaf nis-plus-serv-id {
                type uint8;
                mandatory true;
                description "nisp server id";
              }

              leaf nis-plus-serv-addr {
                type inet:ipv6-address;
                mandatory true;
                description
                  "nisp server address";
              }
            }  // list nis-plus-server
          }  // container nis-plus-paras

          leaf info-refresh-time {
            type yang:timeticks;
            description "info refresh time";
          }

          container time-zone-paras {
            description
              "time zone parameters";
            leaf tz-posix {
              type string;
              mandatory true;
              description "tz posix";
            }

            leaf tz-database {
              type string;
              mandatory true;
              description "tz database";
            }
          }  // container time-zone-paras

          leaf cli-fqdn {
            type string;
            description "client fqdn";
          }

          container ntp-paras {
            description "ntp parameters";
            list ntp-server {
              key "ntp-serv-id";
              description "ntp server";
              leaf ntp-serv-id {
                type uint8;
                mandatory true;
                description "ntp server id";
              }

              leaf ntp-serv-addr {
                type inet:ipv6-address;
                mandatory true;
                description
                  "ntp server address";
              }

              leaf ntp-serv-mul-addr {
                type inet:ipv6-address;
                mandatory true;
                description
                  "ntp server multicast
                address";
              }

              leaf ntp-serv-fqdn {
                type string;
                mandatory true;
                description
                  "ntp server fqdn";
              }
            }  // list ntp-server
          }  // container ntp-paras

          container sntp-paras {
            description "sntp parameters";
            list sntp-server {
              key "sntp-serv-id";
              description "sntp server";
              leaf sntp-serv-id {
                type uint8;
                mandatory true;
                description "sntp server id";
              }

              leaf sntp-serv-addr {
                type inet:ipv6-address;
                mandatory true;
                description
                  "sntp server address";
              }
            }  // list sntp-server
          }  // container sntp-paras

          container network-boot-paras {
            description
              "network boot parameters";
            list boot-file {
              key "boot-file-id";
              description "boot file";
              leaf boot-file-id {
                type uint8;
                mandatory true;
                description "boot file id";
              }

              leaf-list suitable-arch-type {
                type uint16;
                description
                  "architecture type";
              }

              leaf-list suitable-net-if {
                type uint32;
                description
                  "network interface";
              }

              leaf boot-file-url {
                type string;
                mandatory true;
                description "boot file url";
              }

              list boot-file-paras {
                key "para-id";
                description
                  "boot file parameters";
                leaf para-id {
                  type uint8;
                  mandatory true;
                  description "parameter id";
                }

                leaf parameter {
                  type string;
                  mandatory true;
                  description
                    "parameter value";
                }
              }  // list boot-file-paras
            }  // list boot-file
          }  // container network-boot-paras

          container kerberos-paras {
            description
              "kerberos parameters";
            leaf default-realm-name {
              type string;
              mandatory true;
              description
                "default realm name";
            }

            list kdc-info {
              key "kdc-id";
              description "kdc info";
              leaf kdc-id {
                type uint8;
                mandatory true;
                description "kdc id";
              }

              leaf priority {
                type uint16;
                mandatory true;
                description "priority";
              }

              leaf weight {
                type uint16;
                mandatory true;
                description "weight";
              }

              leaf transport-type {
                type uint8;
                mandatory true;
                description "transport type";
              }

              leaf port-number {
                type uint16;
                mandatory true;
                description "port number";
              }

              leaf kdc-ipv6-addr {
                type inet:ipv6-address;
                mandatory true;
                description
                  "kdc ipv6 address";
              }

              leaf realm-name {
                type string;
                mandatory true;
                description "realm name";
              }
            }  // list kdc-info
          }  // container kerberos-paras

          container addr-selection-paras {
            description
              "address selection parameters";
            leaf automatic-row-add {
              type boolean;
              mandatory true;
              description "row add";
            }

            leaf prefer-temporary-addr {
              type boolean;
              mandatory true;
              description "prefer temporary";
            }

            list policy-table {
              key "policy-id";
              description "policy table";
              leaf policy-id {
                type uint8;
                mandatory true;
                description "policy id ";
              }

              leaf label {
                type uint8;
                mandatory true;
                description "label";
              }

              leaf precedence {
                type uint8;
                mandatory true;
                description "precedence";
              }

              leaf prefix-len {
                type uint8;
                mandatory true;
                description "prefix length";
              }

              leaf prefix {
                type inet:ipv6-prefix;
                mandatory true;
                description "prefix";
              }
            }  // list policy-table
          }  // container addr-selection-paras

          leaf sol-max-rt {
            type yang:timeticks;
            mandatory true;
            description "sol max rt";
          }

          leaf inf-max-rt {
            type yang:timeticks;
            mandatory true;
            description "inf max rt";
          }

          container pcp-server-paras {
            description
              "pcp server parameters";
            list pcp-server {
              key "pcp-serv-id";
              description "pcp server";
              leaf pcp-serv-id {
                type uint8;
                mandatory true;
                description "pcp server id";
              }

              leaf pcp-serv-addr {
                type inet:ipv6-address;
                mandatory true;
                description
                  "pcp server address";
              }
            }  // list pcp-server
          }  // container pcp-server-paras

          container s46-rule-paras {
            description
              "s46 rule parameters";
            list s46-rule {
              key "rule-id";
              description "s46 rule";
              leaf rule-id {
                type uint8;
                mandatory true;
                description "rule id";
              }

              leaf rule-type {
                type enumeration {
                  enum "BMR" {
                    value 0;
                    description "BMR";
                  }
                  enum "FMR" {
                    value 1;
                    description "FMR";
                  }
                }
                mandatory true;
                description "rule type";
              }

              leaf ea-len {
                type uint8;
                mandatory true;
                description "EA bits length";
              }

              leaf prefix4-len {
                type uint8;
                mandatory true;
                description
                  "ipv4 prefix length";
              }

              leaf ipv4-prefix {
                type inet:ipv4-prefix;
                mandatory true;
                description "ipv4 prefix";
              }

              leaf prefix6-len {
                type uint8;
                mandatory true;
                description
                  "ipv6 prefix length";
              }

              leaf ipv6-prefix {
                type inet:ipv6-prefix;
                mandatory true;
                description "ipv6 prefix";
              }

              uses portset-para;
            }  // list s46-rule
          }  // container s46-rule-paras

          container s46-br-paras {
            description "s46 br parameters";
            list br {
              key "br-id";
              description "br";
              leaf br-id {
                type uint8;
                mandatory true;
                description "br id";
              }

              leaf br-ipv6-addr {
                type inet:ipv6-address;
                mandatory true;
                description
                  "br ipv6 address";
              }
            }  // list br
          }  // container s46-br-paras

          container s46-dmr-paras {
            description "s46 dmr parameters";
            list dmr {
              key "dmr-id";
              description "dmr";
              leaf dmr-id {
                type uint8;
                mandatory true;
                description "dmr id";
              }

              leaf dmr-prefix-len {
                type uint8;
                mandatory true;
                description
                  "dmr prefix length";
              }

              leaf dmr-ipv6-prefix {
                type inet:ipv6-prefix;
                mandatory true;
                description "dmr prefix";
              }
            }  // list dmr
          }  // container s46-dmr-paras

          container s46-v4-v6-binding-paras {
            description
              "s46 v4 v6 binding parameters";
            leaf ipv4-addr {
              type inet:ipv4-address;
              mandatory true;
              description "ipv4 address";
            }

            leaf bind-prefix6-len {
              type uint8;
              mandatory true;
              description "bind ipv6 prefix";
            }

            uses portset-para;

            leaf erp-local-domain-name {
              type string;
              mandatory true;
              description
                "erp local domain name";
            }
          }  // container s46-v4-v6-binding-paras

          container supported-options {
            description "supported options";
            list supported-option {
              key "option-code";
              description "supported option";
              leaf option-code {
                type uint16;
                mandatory true;
                description "option code";
              }

              leaf description {
                type string;
                mandatory true;
                description
                  "description of supported
                option";
              }
            }  // list supported-option
          }  // container supported-options
        }  // container if-other-paras

        container packet-stats {
          config false;
          description
            "A container records
          all the packet status information
          of a specific interface.";
          leaf solicit-count {
            type uint32;
            mandatory true;
            description "solicit counter";
          }

          leaf request-count {
            type uint32;
            mandatory true;
            description "request counter";
          }

          leaf renew-count {
            type uint32;
            mandatory true;
            description "renew counter";
          }

          leaf rebind-count {
            type uint32;
            mandatory true;
            description "rebind counter";
          }

          leaf decline-count {
            type uint32;
            mandatory true;
            description "decline counter";
          }

          leaf release-count {
            type uint32;
            mandatory true;
            description "release counter";
          }

          leaf info-req-count {
            type uint32;
            mandatory true;
            description
              "information request counter";
          }

          leaf advertise-count {
            type uint32;
            mandatory true;
            description "advertise counter";
          }

          leaf confirm-count {
            type uint32;
            mandatory true;
            description "confirm counter";
          }

          leaf reply-count {
            type uint32;
            mandatory true;
            description "reply counter";
          }

          leaf reconfigure-count {
            type uint32;
            mandatory true;
            description "recofigure counter";
          }
        }  // container packet-stats
      }  // list client-if
    }  // container client

    notification notifications {
      description
        "dhcpv6 notification module";
      container dhcpv6-server-event {
        description "dhcpv6 server event";
        container pool-running-out {
          description
            "raised when the
          address/prefix pool is going to
          run out.  A threshold for utilization
          ratio of the pool has been defined in
          the server feature so that it will
          notify the administrator when the
          utilization ratio reaches the threshold,
                      and such threshold is a settable
                        parameter";
          leaf utilization-ratio {
            type uint16;
            mandatory true;
            description "utilization ratio";
          }

          container duid {
            description "Sets the DUID";
            uses duid;
          }  // container duid

          leaf serv-name {
            type string;
            description "server name";
          }

          leaf pool-name {
            type string;
            mandatory true;
            description "pool name";
          }
        }  // container pool-running-out

        container invalid-client-detected {
          description
            "raised when the server
          has found a client which can be
          regarded as a potential attacker. Some
          description could also be included.";
          container duid {
            description "Sets the DUID";
            uses duid;
          }  // container duid

          leaf description {
            type string;
            description
              "description of the event";
          }
        }  // container invalid-client-detected
      }  // container dhcpv6-server-event

      container dhcpv6-relay-event {
        description "dhcpv6 relay event";
        container topo-changed {
          description
            "raised when the topology
          of the relay agent is changed.";
          leaf relay-if-name {
            type string;
            mandatory true;
            description
              "relay interface name";
          }

          leaf first-hop {
            type boolean;
            mandatory true;
            description "first hop";
          }

          leaf last-entity-addr {
            type inet:ipv6-address;
            mandatory true;
            description
              "last entity address";
          }
        }  // container topo-changed
      }  // container dhcpv6-relay-event

      container dhcpv6-client-event {
        description "dhcpv6 client event";
        container ia-lease-event {
          description
            "raised when the
          client was allocated a new IA from
          the server or it renew/rebind/release
          its current IA";
          leaf event-type {
            type enumeration {
              enum "allocation" {
                value 0;
                description "allocate";
              }
              enum "rebind" {
                value 1;
                description "rebind";
              }
              enum "renew" {
                value 2;
                description "renew";
              }
              enum "release" {
                value 3;
                description "release";
              }
            }
            mandatory true;
            description "event type";
          }

          container duid {
            description "Sets the DUID";
            uses duid;
          }  // container duid

          leaf iaid {
            type uint32;
            mandatory true;
            description "IAID";
          }

          leaf serv-name {
            type string;
            description "server name";
          }

          leaf description {
            type string;
            description
              "description of event";
          }
        }  // container ia-lease-event

        container invalid-ia-detected {
          description
            "raised when the identity
          association of the client can be proved
          to be invalid.  Possible condition includes
          duplicated address, illegal address, etc.";
          container duid {
            description "Sets the DUID";
            uses duid;
          }  // container duid

          leaf cli-duid {
            type uint32;
            mandatory true;
            description "duid of client";
          }

          leaf iaid {
            type uint32;
            mandatory true;
            description "IAID";
          }

          leaf serv-name {
            type string;
            description "server name";
          }

          leaf description {
            type string;
            description
              "description of the event";
          }
        }  // container invalid-ia-detected

        container retransmission-failed {
          description
            "raised when the retransmission
          mechanism defined in [RFC3315] is failed.";
          container duid {
            description "Sets the DUID";
            uses duid;
          }  // container duid

          leaf description {
            type enumeration {
              enum "MRC failed" {
                value 0;
                description "MRC failed";
              }
              enum "MRD failed" {
                value 1;
                description "MRD failed";
              }
            }
            mandatory true;
            description
              "description of failure";
          }
        }  // container retransmission-failed

        container failed-status-turn-up {
          description
            "raised when the client receives
          a message includes an unsuccessful Status Code
          option.";
          container duid {
            description "Sets the DUID";
            uses duid;
          }  // container duid

          leaf status-code {
            type enumeration {
              enum "1" {
                value 0;
                description "UnspecFail";
              }
              enum "2" {
                value 1;
                description "NoAddrAvail";
              }
              enum "3" {
                value 2;
                description "NoBinding";
              }
              enum "4" {
                value 3;
                description "NotOnLink";
              }
              enum "5" {
                value 4;
                description "UseMulticast";
              }
            }
            mandatory true;
            description
              "employed status code";
          }
        }  // container failed-status-turn-up
      }  // container dhcpv6-client-event
    }  // notification notifications
  }  // module ietf-dhcpv6

Summary

  
  
Organization dhc wg
  
Module ietf-dhcpv6
Version 2017-10-26
File ietf-dhcpv6@2017-10-26.yang
  
Prefix dhcpv6
Namespace urn:ietf:params:xml:ns:yang:ietf-dhcpv6
  
Cooked /cookedmodules/ietf-dhcpv6/2017-10-26
YANG /src/ietf-dhcpv6@2017-10-26.yang
XSD /xsd/ietf-dhcpv6@2017-10-26.xsd
  
Abstract This model defines a YANG data model that can be used to configure and manage DHCPv6 server, DHCPv6 relay and DHCPv6 client.
  
Contact
yong@csnet1.cs.tsinghua.edu.cn
wangh13@mails.tsinghua.edu.cn
lh.sunlinh@gmail.com
Ted.Lemon@nominum.com
ian.farrer@telekom.de
sladjana.zechlin@telekom.de

Description

 
This model defines a YANG data model that can be
used to configure and manage DHCPv6 server, DHCPv6 relay and
DHCPv6 client.

Typedefs

Typedef Base type Abstract
threshold union Threshold value in percent

Groupings

Grouping Objects Abstract
duid duid-type DHCP Unique Identifier
portset-para port-parameter portset parameters
vendor-infor vendor-info Vendor information.

Objects

Type Key
Mandatory config
Optional config
Not config
Object Type Abstract
client container dhcpv6 client portion
   client-if list A client may have several interfaces, it is more reasonable to configure and manage parameters on the interface-level. The list defines specific client interfaces and their data. Different interfaces are distinguished by the key which is a configurable st...
      cli-id leaf client id
      client-configured-options container client configured options
         client-architecture-type-option container client architecture type option
            architecture-types list architecture types
               most-preferred leaf most preferred flag
               type-id leaf type id
            enable leaf indicate whether this option will be configured at the client
         client-fqdn-option container client fqdn option
            client-initiate-update leaf whether client initiate
            enable leaf indicate whether this option will be configured at the client
            fqdn leaf fqdn
            server-initiate-update leaf whether server initiate
         client-link-layer-addr-option container client link layer address option
            enable leaf indicate whether this option will be configured at the client
            link-layer-addr leaf link layer address
            link-layer-type leaf link layer type
         client-network-interface-option container client network interface option
            enable leaf indicate whether this option will be configured at the client
            major leaf major
            minor leaf minor
            type leaf type
         kerberos-principal-name-option container kerberos principal name option
            enable leaf indicate whether this option will be configured at the client
            principal-name leaf principal name
         new-or-standard-cli-option list new or standard client option
            option-code leaf option code
            option-description leaf description of client option
            option-name leaf option name
            option-reference leaf the reference of option
            option-value leaf the option value
         user-class-option container user class option
            enable leaf indicate whether this option will be configured at the client
            user-class list user class
               user-class-id leaf user class id
               user-class-info leaf user class info
         vendor-class-option container vendor class option
            data leaf-list option data
            enable leaf indicate whether this option will be configured at the client
            ent-num leaf enterprise number
      description leaf description of the client interface
      identity-associations container IA is a construct through which a server and a client can identify, group, and manage a set of related IPv6 addresses. The key of the list is a 4-byte number IAID defined in [RFC3315].
         identity-association list IA
            ia-type leaf IA type
            iaid leaf IAID
            ipv6-addr leaf-list ipv6 address
            ipv6-prefix leaf-list ipv6 prefix
            preferred-lifetime leaf preferred lifetime
            prefix-length leaf-list ipv6 prefix length
            t1-time leaf t1 time
            t2-time leaf t2 time
            valid-lifetime leaf valid lifetime
      if-name leaf interface name
      if-other-paras container A client can obtain extra configuration data other than address and prefix information through DHCPv6. This container describes such data the client was configured. The potential configuration data may include DNS server addresses, SIP server domain names...
         addr-selection-paras container address selection parameters
            automatic-row-add leaf row add
            policy-table list policy table
               label leaf label
               policy-id leaf policy id
               precedence leaf precedence
               prefix leaf prefix
               prefix-len leaf prefix length
            prefer-temporary-addr leaf prefer temporary
         cli-fqdn leaf client fqdn
         dns-paras container dns parameters
            dns-servers list dns servers
               dns-serv-addr leaf dns server address
               dns-serv-id leaf dns server id
            domain-search-list leaf domain search list
         inf-max-rt leaf inf max rt
         info-refresh-time leaf info refresh time
         kerberos-paras container kerberos parameters
            default-realm-name leaf default realm name
            kdc-info list kdc info
               kdc-id leaf kdc id
               kdc-ipv6-addr leaf kdc ipv6 address
               port-number leaf port number
               priority leaf priority
               realm-name leaf realm name
               transport-type leaf transport type
               weight leaf weight
         network-boot-paras container network boot parameters
            boot-file list boot file
               boot-file-id leaf boot file id
               boot-file-paras list boot file parameters
                  para-id leaf parameter id
                  parameter leaf parameter value
               boot-file-url leaf boot file url
               suitable-arch-type leaf-list architecture type
               suitable-net-if leaf-list network interface
         nis-paras container nis parameters
            nis-domain-name leaf nis domain name
            nis-server list nis server
               nis-serv-addr leaf nis server address
               nis-serv-id leaf nis server id
         nis-plus-paras container nisp parameters
            nis-plus-domain-name leaf nisp domian name
            nis-plus-server list nisp server
               nis-plus-serv-addr leaf nisp server address
               nis-plus-serv-id leaf nisp server id
         ntp-paras container ntp parameters
            ntp-server list ntp server
               ntp-serv-addr leaf ntp server address
               ntp-serv-fqdn leaf ntp server fqdn
               ntp-serv-id leaf ntp server id
               ntp-serv-mul-addr leaf ntp server multicast address
         pcp-server-paras container pcp server parameters
            pcp-server list pcp server
               pcp-serv-addr leaf pcp server address
               pcp-serv-id leaf pcp server id
         s46-br-paras container s46 br parameters
            br list br
               br-id leaf br id
               br-ipv6-addr leaf br ipv6 address
         s46-dmr-paras container s46 dmr parameters
            dmr list dmr
               dmr-id leaf dmr id
               dmr-ipv6-prefix leaf dmr prefix
               dmr-prefix-len leaf dmr prefix length
         s46-rule-paras container s46 rule parameters
            s46-rule list s46 rule
               ea-len leaf EA bits length
               ipv4-prefix leaf ipv4 prefix
               ipv6-prefix leaf ipv6 prefix
               port-parameter container port parameter
                  offset leaf offset in a port set
                  psid leaf psid value
                  psid-len leaf length of a psid
               prefix4-len leaf ipv4 prefix length
               prefix6-len leaf ipv6 prefix length
               rule-id leaf rule id
               rule-type leaf rule type
         s46-v4-v6-binding-paras container s46 v4 v6 binding parameters
            bind-prefix6-len leaf bind ipv6 prefix
            erp-local-domain-name leaf erp local domain name
            ipv4-addr leaf ipv4 address
            port-parameter container port parameter
               offset leaf offset in a port set
               psid leaf psid value
               psid-len leaf length of a psid
         sip-paras container sip parameters
            sip-servers list sip server info
               sip-serv-addr leaf sip server address
               sip-serv-domain-name leaf sip server domain name
               sip-serv-id leaf sip server id
         sntp-paras container sntp parameters
            sntp-server list sntp server
               sntp-serv-addr leaf sntp server address
               sntp-serv-id leaf sntp server id
         sol-max-rt leaf sol max rt
         supported-options container supported options
            supported-option list supported option
               description leaf description of supported option
               option-code leaf option code
         time-zone-paras container time zone parameters
            tz-database leaf tz database
            tz-posix leaf tz posix
         uni-dhcpv6-serv-addr leaf-list unicast server address
      mo-tab container The management tab label indicates the operation mode of the DHCPv6 client. 'm'=1 and 'o'=1 indicate the client will use DHCPv6 to obtain all the configuration data. 'm'=1 and 'o'=0 are a meaningless combination. 'm'=0 and 'o'=1 indicate the client will u...
         m-tab leaf m tab
         o-tab leaf o tab
      oro-options container oro options
         oro-option list oro option
            description leaf description of oro options
            option-code leaf option code
      packet-stats container A container records all the packet status information of a specific interface.
         advertise-count leaf advertise counter
         confirm-count leaf confirm counter
         decline-count leaf decline counter
         info-req-count leaf information request counter
         rebind-count leaf rebind counter
         reconfigure-count leaf recofigure counter
         release-count leaf release counter
         renew-count leaf renew counter
         reply-count leaf reply counter
         request-count leaf request counter
         solicit-count leaf solicit counter
      pd-function leaf Whether the client can act as a requesting router to request prefixes using prefix delegation ([RFC3633]).
      rapid-commit leaf '1' indicates a client can initiate a Solicit-Reply message exchange by adding a Rapid Commit option in Solicit message. '0' means the client is not allowed to add a Rapid Commit option to request addresses in a two-message exchange pattern.
   duid container Sets the DUID
      duid-type choice Selects the format for the DUID.
         duid-en case DUID Assigned by Vendor Based on Enterprise Number
            duid-en-enterprise-number leaf Vendor's registered Private Enterprise Number as maintained by IANA
            duid-en-identifier leaf Indentifier, unique to the device that is using it
         duid-ll case DUID Based on Link-layer Address
            duid-ll-hardware-type leaf Hardware type as assigned by IANA (RFC826).
            duid-ll-time leaf The time value is the time that the DUID is generated represented in seconds since midnight (UTC), January 1, 2000, modulo 2^32.
         duid-llt case DUID Based on Link-layer Address Plus Time
            duid-llt-hardware-type leaf Hardware type as assigned by IANA (RFC826).
            duid-llt-link-layer-addr leaf Link-layer address as described in RFC2464
            duid-llt-time leaf The time value is the time that the DUID is generated represented in seconds since midnight (UTC), January 1, 2000, modulo 2^32.
relay container dhcpv6 relay portion
   relay-attributes container A container describes some basic attributes of the relay agent including some relay agent specific options data that need to be configured previously. Such options include Remote-Id option and Subscriber-Id option.
      description leaf description of the relay agent
      dest-addrs leaf-list Each DHCPv6 relay agent may be configured with a list of destination addresses. This node defines such a list of IPv6 addresses that may include unicast addresses, multicast addresses or other addresses.
      name leaf relay agent name
      remote-host list remote host
         ent-num leaf enterprise number
         remote-id leaf remote id
      subscribers list subscribers
         subscriber leaf subscriber
         subscriber-id leaf subscriber id
      vendor-info container ent-num data
         data leaf-list specific vendor info
         ent-num leaf enterprise number
   relay-if list A relay agent may have several interfaces, we should provide a way to configure and manage parameters on the interface-level. A list that describes specific interfaces and their corresponding parameters is employed to fulfil the configfuration. Here we us...
      enable leaf whether this interface is enabled
      if-name leaf interface name
      interface-id leaf interface id
      ipv6-address leaf ipv6 address for this interface
      next-entity list This node defines a list that is used to describe the next hop entity of this relay distinguished by their addresses.
         available leaf whether the next entity is available or not
         dest-addr leaf destination addr
         multicast leaf whether the address is multicast or not
         packet-stats container packet statistics
            adver-sent-count leaf advertisement sent counter
            cli-packet-rvd-count leaf client received packet counter
            confirm-sent-count leaf confirm sent counter
            decline-rvd-count leaf decline received counter
            info-req-rvd-count leaf information request counter
            packet-to-cli-count leaf packet to client counter
            rebind-rvd-count leaf rebind recevied counter
            reconfig-sent-count leaf reconfigure sent counter
            relay-for-rvd-count leaf relay forward received counter
            relay-for-sent-count leaf relay forward sent counter
            relay-rep-rvd-count leaf relay reply received counter
            relay-rep-sent-count leaf relay reply sent counter
            release-rvd-count leaf release received counter
            renew-rvd-count leaf renew received counter
            reply-sent-count leaf reply sent counter
            request-rvd-count leaf request received counter
            solicit-rvd-count leaf solicit received counter
         server leaf whether the next entity is a server
      pd-route list pd route
         delegating-router-id leaf delegating router id
         last-router leaf previous router
         next-router leaf next router
         pd-route-id leaf pd route id
         requesting-router-id leaf requesting router id
      rsoo-set leaf-list configured rsoo set
   relay-stats container relay statistics
      cli-packet-rvd-count leaf client packet received counter
      discarded-packet-count leaf discarded packet counter
      packet-to-cli-count leaf packet to client counter
      relay-for-rvd-count leaf relay forward received counter
      relay-for-sent-count leaf relay forward sent counter
      relay-rep-rvd-count leaf relay reply recevied counter
      relay-rep-sent-count leaf relay reply sent counter
   relay-supplied-options-option container relay supplied options option
      rsoo-set list rsoo set
         erp-local-domain-name-option container erp local domain name option
            enable leaf indicate whether this option is included in the rsoo set
            erp-for-client list erp for client
               cli-id leaf client id
               duid container Sets the DUID
                  duid-type choice Selects the format for the DUID.
                     duid-en case DUID Assigned by Vendor Based on Enterprise Number
                        duid-en-enterprise-number leaf Vendor's registered Private Enterprise Number as maintained by IANA
                        duid-en-identifier leaf Indentifier, unique to the device that is using it
                     duid-ll case DUID Based on Link-layer Address
                        duid-ll-hardware-type leaf Hardware type as assigned by IANA (RFC826).
                        duid-ll-time leaf The time value is the time that the DUID is generated represented in seconds since midnight (UTC), January 1, 2000, modulo 2^32.
                     duid-llt case DUID Based on Link-layer Address Plus Time
                        duid-llt-hardware-type leaf Hardware type as assigned by IANA (RFC826).
                        duid-llt-link-layer-addr leaf Link-layer address as described in RFC2464
                        duid-llt-time leaf The time value is the time that the DUID is generated represented in seconds since midnight (UTC), January 1, 2000, modulo 2^32.
               erp-name leaf erp name
         rsoo-set-id leaf rsoo set id
server container dhcpv6 server portion
   network-ranges container This model supports a hierarchy to achieve dynamic configuration. That is to say we could configure the server at different levels through this model. The top level is a global level which is defined as the container 'network-ranges'. The following levels...
      network-range list Under the 'network-ranges' container, a 'network-range' list is defined to configure the server at a network level which is also considered as the second level. Different network are identified by the key 'network-range-id'. This is because a server may h...
         address-pools container A container describes the DHCPv6 server's address pools.
            address-pool list A DHCPv6 server can be configured with several address pools. This list defines such address pools which are distinguish by the key called 'pool-name'.
               end-address leaf end address
               inherit-option-set leaf indicate whether to inherit the configuration from higher level
               option-set-id leaf the selected option-set
               pool-id leaf pool id
               pool-prefix leaf pool prefix
               preferred-lifetime leaf preferred lifetime for IA
               rebind-time leaf rebind time
               renew-time leaf renew time
               start-address leaf start address
               total-ipv6-count leaf how many ipv6 addressses are in the pool
               used-ipv6-count leaf how many are allocated
               utilization-ratio leaf the utilization ratio
               valid-lifetime leaf valid liftime for IA
            binding-info list A list records a binding information for each DHCPv6 client that has already been allocated IPv6 addresses.
               cli-ia list client IA
                  cli-addr leaf-list client addr
                  ia-type leaf IA type
                  iaid leaf IAID
                  pool-id leaf pool id
               cli-id leaf client id
               duid container Sets the DUID
                  duid-type choice Selects the format for the DUID.
                     duid-en case DUID Assigned by Vendor Based on Enterprise Number
                        duid-en-enterprise-number leaf Vendor's registered Private Enterprise Number as maintained by IANA
                        duid-en-identifier leaf Indentifier, unique to the device that is using it
                     duid-ll case DUID Based on Link-layer Address
                        duid-ll-hardware-type leaf Hardware type as assigned by IANA (RFC826).
                        duid-ll-time leaf The time value is the time that the DUID is generated represented in seconds since midnight (UTC), January 1, 2000, modulo 2^32.
                     duid-llt case DUID Based on Link-layer Address Plus Time
                        duid-llt-hardware-type leaf Hardware type as assigned by IANA (RFC826).
                        duid-llt-link-layer-addr leaf Link-layer address as described in RFC2464
                        duid-llt-time leaf The time value is the time that the DUID is generated represented in seconds since midnight (UTC), January 1, 2000, modulo 2^32.
         hosts container hosts level
            host list specific host
               cli-id leaf client id
               duid container Sets the DUID
                  duid-type choice Selects the format for the DUID.
                     duid-en case DUID Assigned by Vendor Based on Enterprise Number
                        duid-en-enterprise-number leaf Vendor's registered Private Enterprise Number as maintained by IANA
                        duid-en-identifier leaf Indentifier, unique to the device that is using it
                     duid-ll case DUID Based on Link-layer Address
                        duid-ll-hardware-type leaf Hardware type as assigned by IANA (RFC826).
                        duid-ll-time leaf The time value is the time that the DUID is generated represented in seconds since midnight (UTC), January 1, 2000, modulo 2^32.
                     duid-llt case DUID Based on Link-layer Address Plus Time
                        duid-llt-hardware-type leaf Hardware type as assigned by IANA (RFC826).
                        duid-llt-link-layer-addr leaf Link-layer address as described in RFC2464
                        duid-llt-time leaf The time value is the time that the DUID is generated represented in seconds since midnight (UTC), January 1, 2000, modulo 2^32.
               inherit-option-set leaf whether to inherit configuration from higher level
               nis-domain-name leaf nis domain name
               nis-plus-domain-name leaf nisp domain name
               option-set-id leaf the selected option-set
         inherit-option-set leaf indicate whether to inherit the configuration from higher level
         network-description leaf description of the subnet
         network-prefix leaf subnet prefix
         network-range-id leaf equivalent to subnet id
         option-set-id leaf the selected option-set
         prefix-pools container If a server supports prefix delegation function, this container will be used to define the delegating router's refix pools.
            binding-info list A list records a binding information for each DHCPv6 client that has already been allocated IPv6 addresses.
               cli-iapd list client IAPD
                  cli-prefix leaf-list client ipv6 prefix
                  cli-prefix-len leaf-list client prefix length
                  iaid leaf IAID
                  pool-id leaf pool id
               cli-id leaf client id
               duid container Sets the DUID
                  duid-type choice Selects the format for the DUID.
                     duid-en case DUID Assigned by Vendor Based on Enterprise Number
                        duid-en-enterprise-number leaf Vendor's registered Private Enterprise Number as maintained by IANA
                        duid-en-identifier leaf Indentifier, unique to the device that is using it
                     duid-ll case DUID Based on Link-layer Address
                        duid-ll-hardware-type leaf Hardware type as assigned by IANA (RFC826).
                        duid-ll-time leaf The time value is the time that the DUID is generated represented in seconds since midnight (UTC), January 1, 2000, modulo 2^32.
                     duid-llt case DUID Based on Link-layer Address Plus Time
                        duid-llt-hardware-type leaf Hardware type as assigned by IANA (RFC826).
                        duid-llt-link-layer-addr leaf Link-layer address as described in RFC2464
                        duid-llt-time leaf The time value is the time that the DUID is generated represented in seconds since midnight (UTC), January 1, 2000, modulo 2^32.
            prefix-pool list Similar to server's address pools, a delegating router can also be configured with multiple prefix pools specified by a list called 'prefix-pool'.
               inherit-option-set leaf whether to inherit configuration from higher level
               option-set-id leaf the selected option-set
               pool-id leaf pool id
               preferred-lifetime leaf preferred lifetime for IA
               prefix leaf ipv6 prefix
               prefix-length leaf prefix length
               rebind-time leaf rebind time
               renew-time leaf renew time
               utilization-ratio leaf utilization ratio
               valid-lifetime leaf valid lifetime for IA
         reserved-addresses container reserved addresses
            other-reserv-addr leaf-list other reserved addr
            static-binding list static binding of reserved addresses
               cli-id leaf client id
               duid container Sets the DUID
                  duid-type choice Selects the format for the DUID.
                     duid-en case DUID Assigned by Vendor Based on Enterprise Number
                        duid-en-enterprise-number leaf Vendor's registered Private Enterprise Number as maintained by IANA
                        duid-en-identifier leaf Indentifier, unique to the device that is using it
                     duid-ll case DUID Based on Link-layer Address
                        duid-ll-hardware-type leaf Hardware type as assigned by IANA (RFC826).
                        duid-ll-time leaf The time value is the time that the DUID is generated represented in seconds since midnight (UTC), January 1, 2000, modulo 2^32.
                     duid-llt case DUID Based on Link-layer Address Plus Time
                        duid-llt-hardware-type leaf Hardware type as assigned by IANA (RFC826).
                        duid-llt-link-layer-addr leaf Link-layer address as described in RFC2464
                        duid-llt-time leaf The time value is the time that the DUID is generated represented in seconds since midnight (UTC), January 1, 2000, modulo 2^32.
               reserv-addr leaf-list reserved addr
         reserved-prefixes container reserved prefixes
            exclude-prefix leaf exclude prefix
            exclude-prefix-len leaf exclude prefix length
            other-reserv-prefix list other reserved prefix
               prefix leaf reserved prefix
               prefix-len leaf prefix length
               reserv-id leaf reserved prefix id
            static-binding list static binding
               cli-id leaf client id
               duid container Sets the DUID
                  duid-type choice Selects the format for the DUID.
                     duid-en case DUID Assigned by Vendor Based on Enterprise Number
                        duid-en-enterprise-number leaf Vendor's registered Private Enterprise Number as maintained by IANA
                        duid-en-identifier leaf Indentifier, unique to the device that is using it
                     duid-ll case DUID Based on Link-layer Address
                        duid-ll-hardware-type leaf Hardware type as assigned by IANA (RFC826).
                        duid-ll-time leaf The time value is the time that the DUID is generated represented in seconds since midnight (UTC), January 1, 2000, modulo 2^32.
                     duid-llt case DUID Based on Link-layer Address Plus Time
                        duid-llt-hardware-type leaf Hardware type as assigned by IANA (RFC826).
                        duid-llt-link-layer-addr leaf Link-layer address as described in RFC2464
                        duid-llt-time leaf The time value is the time that the DUID is generated represented in seconds since midnight (UTC), January 1, 2000, modulo 2^32.
               reserv-prefix leaf reserved prefix
               reserv-prefix-len leaf reserved prefix length
      option-set-id leaf a specific option set
   option-sets container DHCPv6 employs various options to carry additional information and parameters in DHCP messages. This container defines all the possible options that need to be configured at the server side.
      option-set list A server may allow different option sets to be configured for different conditions (i.e. different networks, clients and etc). This 'option-set' list enables various sets of options being defined and configured in a single server. Different sets are disti...
         addr-selection-option container address selection option
            a-bit-set leaf a bit
            enable leaf indicate whether this option will be included in the option set
            p-bit-set leaf p bit
            policy-table list policy table
               label leaf label
               policy-id leaf policy id
               precedence leaf precedence
               prefix leaf prefix
               prefix-len leaf prefix length
         aftr-name-option container OPTION_AFTR_NAME (64) AFTR-Name DHCPv6 Option
            enable leaf indicate whether this option will be included in the option set
            tunnel-endpoint-name leaf aftr name
         cli-fqdn-option container OPTION_CLIENT_FQDN (39) DHCPv6 Client FQDN Option
            client-initiate-update leaf client initiate
            enable leaf indicate whether this option will be included in the option set
            modify-name-from-cli leaf modify by client
            server-initiate-update leaf server initiate
         dns-config-option container OPTION_DNS_SERVERS (23) DNS recursive Name Server option
            dns-server list dns server info
               dns-serv-addr leaf DNS server address.
               dns-serv-id leaf DNS server list entry ID.
            enable leaf indicate whether this option will be included in the option set
         domain-searchlist-option container OPTION_DOMAIN_LIST (24) Domain Search List Option
            domain-searchlist list dns server info
               domain-search-list-entry leaf Domain search list entry.
               domain-searchlist-id leaf Domain seachlist entry ID.
            enable leaf indicate whether this option will be included in the option set
         enterprise-number leaf enterprise number
         inf-max-rt-option container OPTION_INF_MAX_RT (83) inf max rt option
            enable leaf indicate whether this option will be included in the option set
            inf-max-rt-value leaf inf max rt value
         info-refresh-time-option container OPTION_INFORMATION_REFRESH_TIME (32) Information Refresh Time option.
            enable leaf indicate whether this option will be included in the option set
            info-refresh-time leaf The refresh time.
         kerberos-option container kerberos option
            default-realm-name leaf default realm name
            enable leaf indicate whether this option will be included in the option set
            kdc-info list kdc info
               kdc-id leaf kdc id
               kdc-ipv6-addr leaf kdc ipv6 addr
               port-number leaf port number
               priority leaf priority
               realm-name leaf realm name
               transport-type leaf transport type
               weight leaf weight
         network-boot-option container network boot option
            boot-file list boot file info
               boot-file-id leaf boot file id
               boot-file-paras list boot file parameters
                  para-id leaf parameter id
                  parameter leaf parameter value
               boot-file-url leaf url for boot file
               suitable-arch-type leaf-list architecture type
               suitable-net-if leaf-list network interface
            enable leaf indicate whether this option will be included in the option set
         new-or-standard-option list new or standard option
            option-code leaf the option code key
            option-description leaf description of new option
            option-name leaf the new option's name
            option-reference leaf reference to the specification
            option-value leaf the new option's value
         nis-config-option container OPTION_NIS_SERVERS (27) Network Information Service (NIS) Servers Option.
            enable leaf indicate whether this option will be included in the option set
            nis-server list nis server info
               nis-serv-addr leaf nis server addr
               nis-serv-id leaf nis server id
         nis-plus-config-option container OPTION_NISP_SERVERS (28): Network Information Service V2 (NIS+) Servers Option.
            enable leaf indicate whether this option will be included in the option set
            nis-plus-server list NIS+ server information.
               nis-plus-serv-addr leaf nisp server addr
               nis-plus-serv-id leaf nisp server id
         ntp-server-option container OPTION_NTP_SERVER (56) NTP Server Option for DHCPv6
            enable leaf indicate whether this option will be included in the option set
            ntp-server list ntp server info
               ntp-serv-addr-suboption leaf ntp server addr
               ntp-serv-fqdn-suboption leaf ntp server fqdn
               ntp-serv-id leaf ntp server id
               ntp-serv-mul-addr-suboption leaf ntp server multicast addr
         operator-option-dns-wire container operator dns wire format domain name list option
            enable leaf indicate whether this option will be included in the option set
            operator-option-dns-wire list operator dns wire format info
               operator-option-dns-wire leaf operator dns wire format value
               operator-option-dns-wire-id leaf operator dns wire format id
         operator-option-int16 container operator integer 16 option
            enable leaf indicate whether this option will be included in the option set
            int16val list operator integer 16 info
               int16val leaf operator integer 16 value
               int16val-id leaf operator integer 16 id
         operator-option-int32 container operator integer 32 option
            enable leaf indicate whether this option will be included in the option set
            int32val list operator integer 32 info
               int32val leaf operator integer 32 value
               int32val-id leaf operator integer 32 id
         operator-option-int8 container operator integer 8 option
            enable leaf indicate whether this option will be included in the option set
            int8val list operator integer 8 info
               int8val leaf operator integer 8 value
               int8val-id leaf operator integer 8 id
         operator-option-ipv6-address container operator ipv6 address option
            enable leaf indicate whether this option will be included in the option set
            operator-ipv6-addr list operator ipv6 address info
               operator-ipv6-addr leaf operator ipv6 address id
               operator-ipv6-addr-id leaf operator ipv6 address id
         operator-option-ipv6-prefix container operator ipv6 prefix option
            enable leaf indicate whether this option will be included in the option set
            operator-ipv6-prefix list operator ipv6 prefix info
               operator-ipv6-prefix leaf operator ipv6 prefix
               operator-ipv6-prefix-id leaf operator ipv6 prefix id
               operator-ipv6-prefix6-len leaf operator ipv6 prefix length
         operator-option-single-flag container operator single flag
            enable leaf indicate whether this option will be included in the option set
            flag list operator single flag info
               flag-id leaf operator single flag id
               flag-value leaf operator single flag value
         operator-option-textstring container operator itext string option
            enable leaf indicate whether this option will be included in the option set
            textstring list operator text string info
               textstring leaf operator text string value
               textstring-id leaf operator text string id
         operator-option-uri container operator uri option
            enable leaf indicate whether this option will be included in the option set
            uri list operator uri info
               uri leaf operator uri value
               uri-id leaf operator uri id
         operator-option-var-data container operator variable length data option
            enable leaf indicate whether this option will be included in the option set
            int32val list operator ivariable length data info
               var-data leaf operator variable length value
               var-data-id leaf operator variable length id
         option-set-id leaf the option-set-id key
         pcp-server-option container OPTION_V6_PCP_SERVER (86) pcp server option
            enable leaf indicate whether this option will be included in the option set
            pcp-server list pcp server info
               pcp-serv-addr leaf pcp server addr
               pcp-serv-id leaf pcp server id
         posix-timezone-db-option container OPTION_NEW_TZDB_TIMEZONE (42) Timezone Database option
            enable leaf indicate whether this option will be included in the option set
            tz-database leaf Reference to the TZ Database
         posix-timezone-option container OPTION_NEW_POSIX_TIMEZONE (41) Posix Timezone option
            enable leaf indicate whether this option will be included in the option set
            tz-posix leaf TZ Posix IEEE 1003.1 String
         preference-option container preference option
            enable leaf indicate whether this option will be included in the option set
            preference-value leaf the value for this option
         s46-br-option container s46 br option
            br list br info
               br-id leaf br id
               br-ipv6-addr leaf br ipv6 addr
            enable leaf indicate whether this option will be included in the option set
         s46-dmr-option container s46 dmr option
            dmr list dmr info
               dmr-id leaf dmr id
               dmr-ipv6-prefix leaf dmr ipv6 prefix
               dmr-prefix-len leaf dmr prefix length
            enable leaf indicate whether this option will be included in the option set
         s46-rule-option container s46 rule option
            enable leaf indicate whether this option will be included in the option set
            s46-rule list s46 rule
               ipv4-prefix leaf ipv4 prefix
               ipv6-prefix leaf ipv6 prefix
               port-parameter container port parameter
                  offset leaf offset in a port set
                  psid leaf psid value
                  psid-len leaf length of a psid
               prefix4-len leaf ipv4 prefix length
               prefix6-len leaf ipv6 prefix length
               rule-id leaf rule id
               rule-type leaf rule type
         s46-v4-v6-binding-option container s46 binding option
            ce list ce info
               bind-ipv6-prefix leaf bind ipv6 prefix
               bind-prefix6-len leaf bind ipv6 prefix length
               ce-id leaf ce id
               ipv4-addr leaf ce ipv4 addr
               port-parameter container port parameter
                  offset leaf offset in a port set
                  psid leaf psid value
                  psid-len leaf length of a psid
            enable leaf indicate whether this option will be included in the option set
         sip-server-option container sip server option
            enable leaf indicate whether this option will be included in the option set
            sip-server list sip server info
               sip-serv-addr leaf sip server addr
               sip-serv-domain-name leaf sip server domain name
               sip-serv-id leaf sip server id
         sntp-server-option container OPTION_SNTP_SERVERS (31) Simple Network Time Protocol (SNTP) Servers Option
            enable leaf indicate whether this option will be included in the option set
            sntp-server list sntp server info
               sntp-serv-addr leaf sntp server addr
               sntp-serv-id leaf sntp server id
         sol-max-rt-option container OPTION_SOL_MAX_RT (82) sol max rt option
            enable leaf indicate whether this option will be included in the option set
            sol-max-rt-value leaf sol max rt value
         store-client-link-layer leaf whether to store client's link layer address
         user-class-value leaf use class option's value
   packet-stats container A container presents the packet statistics related to the DHCPv6 server.
      advertise-count leaf advertise counter
      confirm-count leaf confirm counter
      decline-count leaf decline count
      info-req-count leaf information request counter
      rebind-count leaf rebind counter
      reconfigure-count leaf reconfigure counter
      relay-forward-count leaf relay forward counter
      relay-reply-count leaf relay reply counter
      release-count leaf release counter
      renew-count leaf renew counter
      reply-count leaf reply counter
      request-count leaf request counter
      solicit-count leaf solicit counter
   relay-opaque-paras container This container contains some opaque values in Relay Agent options that need to be configured on the server side only for value match. Such Relay Agent options include Interface-Id option, Remote-Id option and Subscriber-Id option.
      relays list relay agents
         interface-info list interface info
            if-name leaf interface name
            interface-id leaf interface id
         relay-name leaf relay agent name
         remote-host list remote host
            ent-num leaf enterprise number
            remote-id leaf remote id
         subscribers list subscribers
            subscriber leaf subscriber
            subscriber-id leaf subscriber id
   rsoo-enabled-options container rsoo enabled options
      rsoo-enabled-option list rsoo enabled option
         description leaf description of the option
         option-code leaf option code
   serv-attributes container This container contains basic attributes of a DHCPv6 server such as DUID, server name and so on. Some optional functions that can be provided by the server is also included.
      description leaf Description of the server.
      duid container Sets the DUID
         duid-type choice Selects the format for the DUID.
            duid-en case DUID Assigned by Vendor Based on Enterprise Number
               duid-en-enterprise-number leaf Vendor's registered Private Enterprise Number as maintained by IANA
               duid-en-identifier leaf Indentifier, unique to the device that is using it
            duid-ll case DUID Based on Link-layer Address
               duid-ll-hardware-type leaf Hardware type as assigned by IANA (RFC826).
               duid-ll-time leaf The time value is the time that the DUID is generated represented in seconds since midnight (UTC), January 1, 2000, modulo 2^32.
            duid-llt case DUID Based on Link-layer Address Plus Time
               duid-llt-hardware-type leaf Hardware type as assigned by IANA (RFC826).
               duid-llt-link-layer-addr leaf Link-layer address as described in RFC2464
               duid-llt-time leaf The time value is the time that the DUID is generated represented in seconds since midnight (UTC), January 1, 2000, modulo 2^32.
      interfaces-config leaf-list A leaf list to denote which one or more interfaces the server should listen on. The default value is to listen on all the interfaces. This node is also used to set a unicast address for the server to listen with a specific interface. For example, if peopl...
      ipv6-address leaf-list Server's IPv6 address.
      name leaf server's name
      pd-function leaf Whether the server can act as a delegating router to perform prefix delegation ([RFC3633]).
      rapid-commit leaf A boolean value specifies whether the server support client-server exchanges involving two messages defined in ([RFC3315]).
      stateless-service leaf A boolean value specifies whether the server support client-server exchanges involving two messages defined in ([RFC3315]).
      vendor-info container ent-num data
         data leaf-list specific vendor info
         ent-num leaf enterprise number

Notifications

Notification Abstract
notifications dhcpv6 notification module