NETCONF Configuration Guide
YANG API Reference
dhcp-relay
12 min
asternos yang model for dhcp relay yang tree diagra yang tree diagra m 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 resources resource list 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 detailed nodes /dhcp relay /dhcp relay path /dhcp relay node type container description dhcp relay access read write /dhcp relay/dhcp relay agent /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 /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 /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 /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 /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 /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 /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 /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 /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 /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 /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 /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 /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
