Skip to content
Ask AI

dhcp-server

AsterNOS YANG Model for dhcp server.

module: asternos-dhcp-server
+--rw dhcp-server
+--rw class* [name]
| +--rw name string
| +--rw rule* [id]
| | +--rw id uint8
| | +--rw option enumeration
| | +--rw option-value string
| +--rw option-group? uint16
+--rw failover
| +--rw max-response-delay-time? uint16
| +--rw local-address? union
| +--rw peer-address? inet:ipv4-address-no-zone
| +--rw role? enumeration
+--rw option-group* [id]
| +--rw id uint16
| +--rw bootfile-name? string
| +--rw capwap-ac-address? inet:ipv4-address-no-zone
| +--rw vendor-specific-information? string
| +--rw default-gateway? inet:ipv4-address-no-zone
| +--rw tftp-server? string
+--rw v4-pool* [name]
| +--rw name string
| +--rw network? inet:ipv4-prefix
| +--rw start-ip? inet:ipv4-address-no-zone
| +--rw end-ip? inet:ipv4-address-no-zone
| +--rw domain-name-server* inet:ipv4-address-no-zone
| +--rw bootfile-name? string
| +--rw capwap-ac-address? inet:ipv4-address-no-zone
| +--rw vendor-specific-information? string
| +--rw default-gateway? inet:ipv4-address-no-zone
| +--rw tftp-server? string
| +--rw default-lease-time? uint32
| +--rw max-lease-time? uint32
| +--rw vlan? cmn:vlan-name
| +--rw next-server? inet:ipv4-address-no-zone
| +--rw class* [class-name]
| | +--rw class-name string
| | +--rw start-ip? inet:ipv4-address-no-zone
| | +--rw end-ip? inet:ipv4-address-no-zone
| +--rw server-identifier? union
+--rw v6-pool* [name]
| +--rw name string
| +--rw network? inet:ipv6-prefix
| +--rw start-ip? inet:ipv6-address-no-zone
| +--rw end-ip? inet:ipv6-address-no-zone
| +--rw domain-name-server* inet:ipv6-address-no-zone
| +--rw default-lease-time? uint32
| +--rw max-lease-time? uint32
| +--rw vlan? cmn:vlan-name
+--rw interfaces* [name]
+--rw name union
+--rw enabled? boolean
rpcs:
+---x show-dhcp-pool-info
| +---w input
| | +---w version? enumeration
| +--ro output
| +--ro data? string
+---x show-dhcp-pool-ip-in-use
+---w input
| +---w version? enumeration
| +---w address? inet:ip-address-no-zone
+--ro output
+--ro data? string
PathAccess
/dhcp-serverRead-Write
/dhcp-server/classRead-Write
/dhcp-server/class/nameRead-Write
/dhcp-server/class/ruleRead-Write
/dhcp-server/class/rule/idRead-Write
/dhcp-server/class/rule/optionRead-Write
/dhcp-server/class/rule/option-valueRead-Write
/dhcp-server/class/option-groupRead-Write
/dhcp-server/failoverRead-Write
/dhcp-server/failover/max-response-delay-timeRead-Write
/dhcp-server/failover/local-addressRead-Write
/dhcp-server/failover/peer-addressRead-Write
/dhcp-server/failover/roleRead-Write
/dhcp-server/option-groupRead-Write
/dhcp-server/option-group/idRead-Write
/dhcp-server/option-group/bootfile-nameRead-Write
/dhcp-server/option-group/capwap-ac-addressRead-Write
/dhcp-server/option-group/vendor-specific-informationRead-Write
/dhcp-server/option-group/default-gatewayRead-Write
/dhcp-server/option-group/tftp-serverRead-Write
/dhcp-server/v4-poolRead-Write
/dhcp-server/v4-pool/nameRead-Write
/dhcp-server/v4-pool/networkRead-Write
/dhcp-server/v4-pool/start-ipRead-Write
/dhcp-server/v4-pool/end-ipRead-Write
/dhcp-server/v4-pool/domain-name-serverRead-Write
/dhcp-server/v4-pool/bootfile-nameRead-Write
/dhcp-server/v4-pool/capwap-ac-addressRead-Write
/dhcp-server/v4-pool/vendor-specific-informationRead-Write
/dhcp-server/v4-pool/default-gatewayRead-Write
/dhcp-server/v4-pool/tftp-serverRead-Write
/dhcp-server/v4-pool/default-lease-timeRead-Write
/dhcp-server/v4-pool/max-lease-timeRead-Write
/dhcp-server/v4-pool/vlanRead-Write
/dhcp-server/v4-pool/next-serverRead-Write
/dhcp-server/v4-pool/classRead-Write
/dhcp-server/v4-pool/class/class-nameRead-Write
/dhcp-server/v4-pool/class/start-ipRead-Write
/dhcp-server/v4-pool/class/end-ipRead-Write
/dhcp-server/v4-pool/server-identifierRead-Write
/dhcp-server/v6-poolRead-Write
/dhcp-server/v6-pool/nameRead-Write
/dhcp-server/v6-pool/networkRead-Write
/dhcp-server/v6-pool/start-ipRead-Write
/dhcp-server/v6-pool/end-ipRead-Write
/dhcp-server/v6-pool/domain-name-serverRead-Write
/dhcp-server/v6-pool/default-lease-timeRead-Write
/dhcp-server/v6-pool/max-lease-timeRead-Write
/dhcp-server/v6-pool/vlanRead-Write
/dhcp-server/interfacesRead-Write
/dhcp-server/interfaces/nameRead-Write
/dhcp-server/interfaces/enabledRead-Write

Path /dhcp-server

Node Type container

Access Read-Write

Path /dhcp-server/class

Node Type list

Description class of dhcp server

Access Read-Write

Path /dhcp-server/class/name

Node Type leaf

Access Read-Write

Data Type

Path /dhcp-server/class/rule

Node Type list

Access Read-Write

Path /dhcp-server/class/rule/id

Node Type leaf

Description DHCP server class rule id.

Access Read-Write

Data Type

Constraints Valid range: 1 to 16

Path /dhcp-server/class/rule/option

Node Type leaf

Description Some option fields in the DHCP protocol.

Access Read-Write

Data Type

Constraints Enumeration with options: circuit-id / remote-id / pxe-system-type

Mandatory Yes

Path /dhcp-server/class/rule/option-value

Node Type leaf

Description The value of option in the DHCP protocol.

Access Read-Write

Data Type

Mandatory Yes

Path /dhcp-server/class/option-group

Node Type leaf

Description Class-bound option-group.

Access Read-Write

Data Type

Path /dhcp-server/failover

Node Type container

Access Read-Write

/dhcp-server/failover/max-response-delay-time

Section titled “/dhcp-server/failover/max-response-delay-time”

Path /dhcp-server/failover/max-response-delay-time

Node Type leaf

Description The maximum time the current server waits for a response from the peer server

Access Read-Write

Data Type

Constraints Valid range: 30 to 3600

Path /dhcp-server/failover/local-address

Node Type leaf

Description The address of local.

Access Read-Write

Data Type

Constraints An IPv4 address without a zone index. This type, derived from the type ipv4-address, may be used in situations where the zone is known from the context and no zone index is needed.

Path /dhcp-server/failover/peer-address

Node Type leaf

Description The IP address of peer.

Access Read-Write

Data Type

Constraints An IPv4 address without a zone index. This type, derived from the type ipv4-address, may be used in situations where the zone is known from the context and no zone index is needed.

Path /dhcp-server/failover/role

Node Type leaf

Description The current server role

Access Read-Write

Data Type

Constraints Enumeration with options: primary / secondary

Path /dhcp-server/option-group

Node Type list

Access Read-Write

Path /dhcp-server/option-group/id

Node Type leaf

Description ID of DHCP option group

Access Read-Write

Data Type

Constraints Valid range: 1 to 65535

Path /dhcp-server/option-group/bootfile-name

Node Type leaf

Description The location of the boot file used by the client to start the system.

Access Read-Write

Data Type

/dhcp-server/option-group/capwap-ac-address

Section titled “/dhcp-server/option-group/capwap-ac-address”

Path /dhcp-server/option-group/capwap-ac-address

Node Type leaf

Description IP address of ac.

Access Read-Write

Data Type

Constraints An IPv4 address without a zone index. This type, derived from the type ipv4-address, may be used in situations where the zone is known from the context and no zone index is needed.

/dhcp-server/option-group/vendor-specific-information

Section titled “/dhcp-server/option-group/vendor-specific-information”

Path /dhcp-server/option-group/vendor-specific-information

Node Type leaf

Description The value of option43 is usually in hexadecimal. The format is TLV, Type 1 byte, Length 1 byte, value 1-251 bytes.

Access Read-Write

Data Type

Path /dhcp-server/option-group/default-gateway

Node Type leaf

Description Specify the IP address of the default gateway.

Access Read-Write

Data Type

Constraints An IPv4 address without a zone index.This type, derived from the type ipv4-address, may be used in situations where the zone is known from the context and no zone index is needed.

Path /dhcp-server/option-group/tftp-server

Node Type leaf

Description Specify the IP address or domain name of the tftp server.

Access Read-Write

Data Type

Path

/dhcp-server/v4-pool

Node Type list

Access Read-Write

Path /dhcp-server/v4-pool/name

Node Type leaf

Description dhcp pool name

Access Read-Write

Data Type

Path /dhcp-server/v4-pool/network

Node Type leaf

Description Specify the network segment of the DHCP pool.

Access Read-Write

Data Type

Constraints The ipv4-prefix type represents an IPv4 prefix. The prefix length is given by the number following the slash character and must be less than or equal to 32. A prefix length value of n corresponds to an IP address mask that has n contiguous 1-bits from the most significant bit (MSB) and all other bits set to 0. The canonical format of an IPv4 prefix has all bits of the IPv4 address set to zero that are not part of the IPv4 prefix. The definition of ipv4-prefix does not require that bits, which are not part of the prefix, are set to zero. However, implementations have to return values in canonical format, which requires non-prefix bits to be set to zero. This means that 192.0.2.1/24 must be accepted as a valid value but it will be converted into the canonical format 192.0.2.0/24.

Path /dhcp-server/v4-pool/start-ip

Node Type leaf

Description Specify the starting IP address of the DHCP pool.

Access Read-Write

Data Type

Constraints An IPv4 address without a zone index. This type, derived from the type ipv4-address, may be used in situations where the zone is known from the context and no zone index is needed.

Path /dhcp-server/v4-pool/end-ip

Node Type leaf

Description Specify the end IP address of the DHCP pool.

Access Read-Write

Data Type

Constraints An IPv4 address without a zone index. This type, derived from the type ipv4-address, may be used in situations where the zone is known from the context and no zone index is needed.

Path /dhcp-server/v4-pool/domain-name-server

Node Type leaf-list

Description IP address of DNS server.

Access Read-Write

Data Type

Constraints An IPv4 address without a zone index. This type, derived from the type ipv4-address, may be used in situations where the zone is known from the context and no zone index is needed.

Path /dhcp-server/v4-pool/bootfile-name

Node Type leaf

Description The location of the boot file used by the client to start the system.

Access Read-Write

Data Type

Path /dhcp-server/v4-pool/capwap-ac-address

Node Type leaf

Description IP address of ac.

Access Read-Write

Data Type

Constraints An IPv4 address without a zone index. This type, derived from the type ipv4-address, may be used in situations where the zone is known from the context and no zone index is needed.

/dhcp-server/v4-pool/vendor-specific-information

Section titled “/dhcp-server/v4-pool/vendor-specific-information”

Path /dhcp-server/v4-pool/vendor-specific-information

Node Type leaf

Description The value of option43 is usually in hexadecimal. The format is TLV, Type 1 byte, Length 1 byte, value 1-251 bytes.

Access Read-Write

Data Type

Path /dhcp-server/v4-pool/default-gateway

Node Type leaf

Description Specify the IP address of the default gateway.

Access Read-Write

Data Type

Constraints An IPv4 address without a zone index. This type, derived from the type ipv4-address, may be used in situations where the zone is known from the context and no zone index is needed.

Path /dhcp-server/v4-pool/tftp-server

Node Type leaf

Description Specify the IP address or domain name of the tftp server.

Access Read-Write

Data Type

Path /dhcp-server/v4-pool/default-lease-time

Node Type leaf

Description Default lease time.

Access Read-Write

Data Type

Constraints Valid range: 30 to 100000000

Path /dhcp-server/v4-pool/max-lease-time

Node Type leaf

Description Maximum lease time.

Access Read-Write

Data Type

Constraints Valid range: 30 to 100000000

Path /dhcp-server/v4-pool/vlan

Node Type leaf

Description Bind this VLAN to dhcp pool.

Access Read-Write

Data Type

Path /dhcp-server/v4-pool/next-server

Node Type leaf

Description IP address of tftp server

Access Read-Write

Data Type

Constraints An IPv4 address without a zone index. This type, derived from the type ipv4-address, may be used in situations where the zone is known from the context and no zone index is needed.

Path /dhcp-server/v4-pool/class

Node Type list

Description Class bound to dhcp pool

Access Read-Write

Path /dhcp-server/v4-pool/class/class-name

Node Type leaf

Description The bound class name.

Access Read-Write

Data Type

Path /dhcp-server/v4-pool/class/start-ip

Node Type leaf

Description Set the rules in this class to apply to the starting IP address of the IP segment.

Access Read-Write

Data Type

Constraints An IPv4 address without a zone index. This type, derived from the type ipv4-address, may be used in situations where the zone is known from the context and no zone index is needed.

Path /dhcp-server/v4-pool/class/end-ip

Node Type leaf

Description Set the rules in this class to apply to the end IP address of the IP segment.

Access Read-Write

Data Type

Constraints An IPv4 address without a zone index. This type, derived from the type ipv4-address, may be used in situations where the zone is known from the context and no zone index is needed.

Path /dhcp-server/v4-pool/server-identifier

Node Type leaf

Description The address of server identifier.

Access Read-Write

Data Type

Constraints An IPv4 address without a zone index. This type, derived from the type ipv4-address, may be used in situations where the zone is known from the context and no zone index is needed.

Path /dhcp-server/v6-pool

Node Type list

Access Read-Write

Path /dhcp-server/v6-pool/name

Node Type

leaf

Description dhcp pool name

Access Read-Write

Data Type

Path /dhcp-server/v6-pool/network

Node Type leaf

Description Specify the network segment of the DHCP pool v6.

Access Read-Write

Data Type

Constraints The ipv6-prefix type represents an IPv6 prefix. The prefix length is given by the number following the slash character and must be less than or equal to 128. A prefix length value of n corresponds to an IP address mask that has n contiguous 1-bits from the most significant bit (MSB) and all other bits set to 0. The canonical format of an IPv6 prefix has all bits of the IPv6 address set to zero that are not part of the IPv6 prefix. Furthermore, the IPv6 address is represented as defined in Section 4 of RFC 5952. The definition of ipv6-prefix does not require that bits, which are not part of the prefix, are set to zero. However, implementations have to return values in canonical format, which requires non-prefix bits to be set to zero. This means that 2001:db8::1/64 must be accepted as a valid value but it will be converted into the canonical format 2001:db8::/64.

Path /dhcp-server/v6-pool/start-ip

Node Type leaf

Description Specify the starting IPv6 address of the DHCP pool v6.

Access Read-Write

Data Type

Constraints An IPv6 address without a zone index. This type, derived from the type ipv6-address, may be used in situations where the zone is known from the context and no zone index is needed.

Path /dhcp-server/v6-pool/end-ip

Node Type leaf

Description Specify the end IPv6 address of the DHCP pool v6.

Access Read-Write

Data Type

Constraints An IPv6 address without a zone index. This type, derived from the type ipv6-address, may be used in situations where the zone is known from the context and no zone index is needed.

Path /dhcp-server/v6-pool/domain-name-server

Node Type leaf-list

Description IP address of DNS server.

Access Read-Write

Data Type

Constraints An IPv6 address without a zone index. This type, derived from the type ipv6-address, may be used in situations where the zone is known from the context and no zone index is needed.

Path /dhcp-server/v6-pool/default-lease-time

Node Type leaf

Description Default lease time.

Access Read-Write

Data Type

Constraints Valid range: 30 to 100000000

Path /dhcp-server/v6-pool/max-lease-time

Node Type leaf

Description Maximum lease time.

Access Read-Write

Data Type

Constraints Valid range: 30 to 100000000

Path /dhcp-server/v6-pool/vlan

Node Type leaf

Description Bind this VLAN to dhcp pool.

Access Read-Write

Data Type

Path /dhcp-server/interfaces

Node Type list

Description List of interfaces enabled to the DHCP pool

Access Read-Write

Path /dhcp-server/interfaces/name

Node Type leaf

Description The interface name

Access Read-Write

Data Type

Path /dhcp-server/interfaces/enabled

Node Type leaf

Access Read-Write

Data Type

Constraints Valid in [true, false]