dhcp-relay
12 min
asternos yang model for dhcp relay \<font color="#1d50a2">\</font> 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 \<font color="#1d50a2">resources\</font> \<font color="#1d50a2">resource list\</font> 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 \<font color="#1d50a2">detailed nodes\</font> \<font color="#1d50a2">/dhcp relay\</font> path /dhcp relay node type container description dhcp relay access read write \<font color="#1d50a2">/dhcp relay/dhcp relay agent\</font> path /dhcp relay/dhcp relay agent node type list description the list of dhcp relay agent access read write \<font color="#1d50a2">/dhcp relay/dhcp relay agent/name\</font> path /dhcp relay/dhcp relay agent/name node type leaf description dhcp relay name access read write data type \<yang type string> \<font color="#1d50a2">/dhcp relay/dhcp relay agent/ip type\</font> 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 \<font color="#1d50a2">/dhcp relay/dhcp relay agent/downlink interfaces\</font> 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> \<font color="#1d50a2">/dhcp relay/dhcp relay agent/uplink interfaces\</font> path /dhcp relay/dhcp relay agent/uplink interfaces node type leaf list description uplink interface access read write data type \<yang type union> \<font color="#1d50a2">/dhcp relay/dhcp relay agent/loopback interface\</font> 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' \<font color="#1d50a2">/dhcp relay/dhcp relay agent/option82 disabled\</font> 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' \<font color="#1d50a2">/dhcp relay/dhcp relay agent/server ips\</font> 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 \<font color="#1d50a2">/dhcp relay/dhcp relay agent/source ip\</font> 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 \<font color="#1d50a2">/dhcp relay/interfaces\</font> path /dhcp relay/interfaces node type list description list of vlan interfaces configuration to the dhcp relay agent access read write \<font color="#1d50a2">/dhcp relay/interfaces/name\</font> path /dhcp relay/interfaces/name node type leaf description the vlan interface name access read write data type \<yang type vlan name> \<font color="#1d50a2">/dhcp relay/interfaces/option82 remote id\</font> 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> \<font color="#1d50a2">/dhcp relay/interfaces/dhcp agent ip\</font> 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
