dhcp-relay
此内容尚不支持你的语言。
AsterNOS YANG Model for dhcp relay.
module: asternos-dhcp-relay +—rw dhcp-relay +—rw dhcp-relay-agent* [name ip-type] | +—rw name string | +—rw ip-type enumeration | +—rw downlink-interfaces* cmn:vlan-name | +—rw uplink-interfaces* union | +—rw loopback-interface? cmn:loopback-interface-name | +—rw option82-disabled? boolean | +—rw server-ips* inet:ip-address-no-zone | +—rw source-ip? inet:ipv4-address-no-zone +—rw interfaces* [name] +—rw name cmn:vlan-name +—rw option82-remote-id? string +—rw dhcp-agent-ip? inet:ipv4-address-no-zone
## Resources
## Resource List
| **Path** | **Access** || ------------------------------------------------ | ---------- || /dhcp-relay | Read-Write || /dhcp-relay/dhcp-relay-agent | Read-Write || /dhcp-relay/dhcp-relay-agent/name | Read-Write || /dhcp-relay/dhcp-relay-agent/ip-type | Read-Write || /dhcp-relay/dhcp-relay-agent/downlink-interfaces | Read-Write || /dhcp-relay/dhcp-relay-agent/uplink-interfaces | Read-Write || /dhcp-relay/dhcp-relay-agent/loopback-interface | Read-Write || /dhcp-relay/dhcp-relay-agent/option82-disabled | Read-Write || /dhcp-relay/dhcp-relay-agent/server-ips | Read-Write || /dhcp-relay/dhcp-relay-agent/source-ip | Read-Write || /dhcp-relay/interfaces | Read-Write || /dhcp-relay/interfaces/name | Read-Write || /dhcp-relay/interfaces/option82-remote-id | Read-Write || /dhcp-relay/interfaces/dhcp-agent-ip | Read-Write |
## Detailed Nodes
### /dhcp-relay
**Path**
/dhcp-relay
**Node Type**
container
**Description**
DHCP relay.
**Access**
Read-Write
### /dhcp-relay/dhcp-relay-agent
**Path**
/dhcp-relay/dhcp-relay-agent
**Node Type**
list
**Description**
The list of dhcp relay agent.
**Access**
Read-Write
### /dhcp-relay/dhcp-relay-agent/name
**Path**
/dhcp-relay/dhcp-relay-agent/name
**Node Type**
leaf
**Description**
DHCP relay name.
**Access**
Read-Write
**Data Type**
<YANG type string>
### /dhcp-relay/dhcp-relay-agent/ip-type
**Path**
/dhcp-relay/dhcp-relay-agent/ip-type
**Node Type**
leaf
**Description**
DHCP relay IP family type.
**Access**
Read-Write
**Data Type**
<YANG type enumeration>
**Constraints**
Enumeration with options:
- v4- v6
### /dhcp-relay/dhcp-relay-agent/downlink-interfaces
**Path**
/dhcp-relay/dhcp-relay-agent/downlink-interfaces
**Node Type**
leaf-list
**Description**
Downlink vlan interface
**Access**
Read-Write
**Data Type**
<YANG type vlan-name>
### /dhcp-relay/dhcp-relay-agent/uplink-interfaces
**Path**
/dhcp-relay/dhcp-relay-agent/uplink-interfaces
**Node Type**
leaf-list
**Description**
Uplink interface
**Access**
Read-Write
**Data Type**
<YANG type union>
### /dhcp-relay/dhcp-relay-agent/loopback-interface
**Path**
/dhcp-relay/dhcp-relay-agent/loopback-interface
**Node Type**
leaf
**Description**
Set loopback interface as DHCP relay gateway.
**Access**
Read-Write
**Data Type**
<YANG type loopback-interface-name>
**Constraints**
When condition: ../ip-type = 'v4'
### /dhcp-relay/dhcp-relay-agent/option82-disabled
**Path**
/dhcp-relay/dhcp-relay-agent/option82-disabled
**Node Type**
leaf
**Description**
Set DHCP Option82 enabled or disabled.
**Access**
Read-Write
**Data Type**
<YANG type boolean>
**Constraints**
Multiple constraints:
- Valid in \[true, false]- When condition: ../ip-type = 'v4'
### /dhcp-relay/dhcp-relay-agent/server-ips
**Path**
/dhcp-relay/dhcp-relay-agent/server-ips
**Node Type**
leaf-list
**Description**
The IP address of DHCP server.
**Access**
Read-Write
**Data Type**
<YANG type ip-address-no-zone>
**Constraints**
Multiple 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.- 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-relay/dhcp-relay-agent/source-ip
**Path**
/dhcp-relay/dhcp-relay-agent/source-ip
**Node Type**
leaf
**Description**
The IP address of DHCP relay agent.
**Access**
Read-Write
**Data Type**
<YANG type ipv4-address-no-zone>
**Constraints**
Multiple constraints:
- When condition: ../ip-type = 'v4'- 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-relay/interfaces
**Path**
/dhcp-relay/interfaces
**Node Type**
list
**Description**
List of Vlan interfaces configuration to the DHCP relay agent
**Access**
Read-Write
### /dhcp-relay/interfaces/name
**Path**
/dhcp-relay/interfaces/name
**Node Type**
leaf
**Description**
The VLAN interface name
**Access**
Read-Write
**Data Type**
<YANG type vlan-name>
### /dhcp-relay/interfaces/option82-remote-id
**Path**
/dhcp-relay/interfaces/option82-remote-id
**Node Type**
leaf
**Description**
The remote-id value of DHCP Option82 for DHCP relay agent.
**Access**
Read-Write
**Data Type**
<YANG type string>
### /dhcp-relay/interfaces/dhcp-agent-ip
**Path**
/dhcp-relay/interfaces/dhcp-agent-ip
**Node Type**
leaf
**Description**
The IP address of DHCP relay agent.
**Access**
Read-Write
**Data Type**
<YANG type ipv4-address-no-zone>
**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.