nexthop
30 min
asternos model for static routes nexthops \<font color="#1d50a2">yang tree diagram\</font> module asternos nexthop + rw nexthop group + rw (nexthop) + (blackhole) \| + rw blackhole nexthop \| + rw bh type blackhole type \| + rw distance? uint8 \| + rw tag? uint32 + (non blackhole) + rw ifindex nexthops \[interface] \| + rw interface if\ interface ref \| + rw bfd \| | + rw enable? boolean \| | + rw mhop? boolean \| | + rw local? inet\ ip address \| + rw track? uint32 \| + rw distance? uint8 \| + rw tag? uint32 + rw ip nexthops \[nh vrf gateway] \| + rw nh vrf vrf\ vrf ref \| + rw gateway inet\ ip address no zone \| + rw distance? uint8 \| + rw tag? uint32 \| + rw bfd \| | + rw enable? boolean \| | + rw mhop? boolean \| | + rw local? inet\ ip address \| + rw track? uint32 + rw ip ifindex nexthops \[gateway interface] + rw gateway inet\ ip address no zone + rw interface if\ interface ref + rw distance? uint8 + rw tag? uint32 + rw bfd \| + rw enable? boolean \| + rw mhop? boolean \| + rw local? inet\ ip address + rw track? uint32 \<font color="#1d50a2">resources\</font> \<font color="#1d50a2">resource list\</font> path access /nexthop group read write /nexthop group/nexthop read write /nexthop group/nexthop/blackhole read write /nexthop group/nexthop/blackhole/blackhole nexthop read write /nexthop group/nexthop/blackhole/blackhole nexthop/bh type read write /nexthop group/nexthop/blackhole/blackhole nexthop/distance read write /nexthop group/nexthop/blackhole/blackhole nexthop/tag read write /nexthop group/nexthop/non blackhole read write /nexthop group/nexthop/non blackhole/ifindex nexthops read write /nexthop group/nexthop/non blackhole/ifindex nexthops/interface read write /nexthop group/nexthop/non blackhole/ifindex nexthops/bfd read write /nexthop group/nexthop/non blackhole/ifindex nexthops/bfd/enable read write /nexthop group/nexthop/non blackhole/ifindex nexthops/bfd/mhop read write /nexthop group/nexthop/non blackhole/ifindex nexthops/bfd/local read write /nexthop group/nexthop/non blackhole/ifindex nexthops/track read write /nexthop group/nexthop/non blackhole/ifindex nexthops/distance read write /nexthop group/nexthop/non blackhole/ifindex nexthops/tag read write /nexthop group/nexthop/non blackhole/ip nexthops read write /nexthop group/nexthop/non blackhole/ip nexthops/nh vrf read write /nexthop group/nexthop/non blackhole/ip nexthops/gateway read write /nexthop group/nexthop/non blackhole/ip nexthops/distance read write /nexthop group/nexthop/non blackhole/ip nexthops/tag read write /nexthop group/nexthop/non blackhole/ip nexthops/bfd read write /nexthop group/nexthop/non blackhole/ip nexthops/bfd/enable read write /nexthop group/nexthop/non blackhole/ip nexthops/bfd/mhop read write /nexthop group/nexthop/non blackhole/ip nexthops/bfd/local read write /nexthop group/nexthop/non blackhole/ip nexthops/track read write /nexthop group/nexthop/non blackhole/ip ifindex nexthops read write /nexthop group/nexthop/non blackhole/ip ifindex nexthops/gateway read write /nexthop group/nexthop/non blackhole/ip ifindex nexthops/interface read write /nexthop group/nexthop/non blackhole/ip ifindex nexthops/distance read write /nexthop group/nexthop/non blackhole/ip ifindex nexthops/tag read write /nexthop group/nexthop/non blackhole/ip ifindex nexthops/bfd read write /nexthop group/nexthop/non blackhole/ip ifindex nexthops/bfd/enable read write /nexthop group/nexthop/non blackhole/ip ifindex nexthops/bfd/mhop read write /nexthop group/nexthop/non blackhole/ip ifindex nexthops/bfd/local read write /nexthop group/nexthop/non blackhole/ip ifindex nexthops/track read write \<font color="#1d50a2">detailed nodes\</font> \<font color="#1d50a2">/nexthop group\</font> path /nexthop group node type container description a nexthop group, represented as a list of nexthop objects access read write \<font color="#1d50a2">/nexthop group/nexthop\</font> path /nexthop group/nexthop node type choice access read write mandatory yes \<font color="#1d50a2">/nexthop group/nexthop/blackhole\</font> path /nexthop group/nexthop/blackhole node type choice case access read write \<font color="#1d50a2">/nexthop group/nexthop/blackhole/blackhole nexthop\</font> path /nexthop group/nexthop/blackhole/blackhole nexthop node type container description for blackhole type nexthops, there is only one configurable access read write \<font color="#1d50a2">/nexthop group/nexthop/blackhole/blackhole nexthop/bh type\</font> path /nexthop group/nexthop/blackhole/blackhole nexthop/bh type node type leaf description a blackhole sub type, if the nexthop is a blackhole type access read write data type \<yang type blackhole type> constraints enumeration with options unspec null reject prohibited mandatory yes \<font color="#1d50a2">/nexthop group/nexthop/blackhole/blackhole nexthop/distance\</font> path /nexthop group/nexthop/blackhole/blackhole nexthop/distance node type leaf description admin distance associated with this route access read write data type \<yang type uint8> constraints valid range 1 to 255 \<font color="#1d50a2">/nexthop group/nexthop/blackhole/blackhole nexthop/tag\</font> path /nexthop group/nexthop/blackhole/blackhole nexthop/tag node type leaf description route tag access read write data type \<yang type uint32> \<font color="#1d50a2">/nexthop group/nexthop/non blackhole\</font> path /nexthop group/nexthop/non blackhole node type choice case access read write \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ifindex nexthops\</font> path /nexthop group/nexthop/non blackhole/ifindex nexthops node type list description a list of nexthop objects access read write \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ifindex nexthops/interface\</font> path /nexthop group/nexthop/non blackhole/ifindex nexthops/interface node type leaf description the nexthop egress interface access read write data type \<yang type interface ref> constraints leafref pointing to asternos interfaces\ interface ref \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ifindex nexthops/bfd\</font> path /nexthop group/nexthop/non blackhole/ifindex nexthops/bfd node type container description frr nexthop bfd object access read write \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ifindex nexthops/bfd/enable\</font> path /nexthop group/nexthop/non blackhole/ifindex nexthops/bfd/enable node type leaf description nexthop open bfd access read write data type \<yang type boolean> constraints valid in \[true, false] \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ifindex nexthops/bfd/mhop\</font> path /nexthop group/nexthop/non blackhole/ifindex nexthops/bfd/mhop node type leaf description open bfd multihop mode access read write data type \<yang type boolean> constraints valid in \[true, false] \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ifindex nexthops/bfd/local\</font> path /nexthop group/nexthop/non blackhole/ifindex nexthops/bfd/local node type leaf description the bfd local address access read write data type \<yang type ip address> constraints multiple constraints the ipv6 address type represents an ipv6 address in full, mixed, shortened, and shortened mixed notation the ipv6 address may include a zone index, separated by a % sign if a system uses zone names that are not represented in utf 8, then an implementation needs to use some mechanism to transform the local name into utf 8 the definition of such a mechanism is outside the scope of this document the zone index is used to disambiguate identical address values for link local addresses, the zone index will typically be the interface index number or the name of an interface if the zone index is not present, the default zone of the device will be used the canonical format of ipv6 addresses uses the textual representation defined in section 4 of rfc 5952 the canonical format for the zone index is the numerical format as described in section 11 2 of rfc 4007 the ipv4 address type represents an ipv4 address in dotted quad notation the ipv4 address may include a zone index, separated by a % sign if a system uses zone names that are not represented in utf 8, then an implementation needs to use some mechanism to transform the local name into utf 8 the definition of such a mechanism is outside the scope of this document the zone index is used to disambiguate identical address values for link local addresses, the zone index will typically be the interface index number or the name of an interface if the zone index is not present, the default zone of the device will be used the canonical format for the zone index is the numerical format \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ifindex nexthops/track\</font> path /nexthop group/nexthop/non blackhole/ifindex nexthops/track node type leaf description route track access read write data type \<yang type uint32> \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ifindex nexthops/distance\</font> path /nexthop group/nexthop/non blackhole/ifindex nexthops/distance node type leaf description admin distance associated with this route access read write data type \<yang type uint8> constraints valid range 1 to 255 \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ifindex nexthops/tag\</font> path /nexthop group/nexthop/non blackhole/ifindex nexthops/tag node type leaf description route tag access read write data type \<yang type uint32> \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ip nexthops\</font> path /nexthop group/nexthop/non blackhole/ip nexthops node type list description a list of nexthop objects of type ip4 or ip6 access read write \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ip nexthops/nh vrf\</font> path /nexthop group/nexthop/non blackhole/ip nexthops/nh vrf node type leaf description the nexthop vrf name, if different from the route access read write data type \<yang type vrf ref> constraints leafref pointing to asternos vrf\ vrf ref \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ip nexthops/gateway\</font> path /nexthop group/nexthop/non blackhole/ip nexthops/gateway node type leaf description the nexthop gateway address 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">/nexthop group/nexthop/non blackhole/ip nexthops/distance\</font> path /nexthop group/nexthop/non blackhole/ip nexthops/distance node type leaf description admin distance associated with this route access read write data type \<yang type uint8> constraints valid range 1 to 255 \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ip nexthops/tag\</font> path /nexthop group/nexthop/non blackhole/ip nexthops/tag node type leaf description route tag access read write data type \<yang type uint32> \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ip nexthops/bfd\</font> path /nexthop group/nexthop/non blackhole/ip nexthops/bfd node type container description frr nexthop bfd object access read write \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ip nexthops/bfd/enable\</font> path /nexthop group/nexthop/non blackhole/ip nexthops/bfd/enable node type leaf description nexthop open bfd access read write data type \<yang type boolean> constraints valid in \[true, false] \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ip nexthops/bfd/mhop\</font> path /nexthop group/nexthop/non blackhole/ip nexthops/bfd/mhop node type leaf description open bfd multihop mode access read write data type \<yang type boolean> constraints valid in \[true, false] \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ip nexthops/bfd/local\</font> path /nexthop group/nexthop/non blackhole/ip nexthops/bfd/local node type leaf description the bfd local address access read write data type \<yang type ip address> constraints multiple constraints the ipv6 address type represents an ipv6 address in full, mixed, shortened, and shortened mixed notation the ipv6 address may include a zone index, separated by a % sign if a system uses zone names that are not represented in utf 8, then an implementation needs to use some mechanism to transform the local name into utf 8 the definition of such a mechanism is outside the scope of this document the zone index is used to disambiguate identical address values for link local addresses, the zone index will typically be the interface index number or the name of an interface if the zone index is not present, the default zone of the device will be used the canonical format of ipv6 addresses uses the textual representation defined in section 4 of rfc 5952 the canonical format for the zone index is the numerical format as described in section 11 2 of rfc 4007 the ipv4 address type represents an ipv4 address in dotted quad notation the ipv4 address may include a zone index, separated by a % sign if a system uses zone names that are not represented in utf 8, then an implementation needs to use some mechanism to transform the local name into utf 8 the definition of such a mechanism is outside the scope of this document the zone index is used to disambiguate identical address values for link local addresses, the zone index will typically be the interface index number or the name of an interface if the zone index is not present, the default zone of the device will be used the canonical format for the zone index is the numerical format \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ip nexthops/track\</font> path /nexthop group/nexthop/non blackhole/ip nexthops/track node type leaf description route track access read write data type \<yang type uint32> \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ip ifindex nexthops\</font> path /nexthop group/nexthop/non blackhole/ip ifindex nexthops node type list description a list of nexthop objects of type ip4 ifindex or ip6 ifindex access read write \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ip ifindex nexthops/gateway\</font> path /nexthop group/nexthop/non blackhole/ip ifindex nexthops/gateway node type leaf description the nexthop gateway address 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">/nexthop group/nexthop/non blackhole/ip ifindex nexthops/interface\</font> path /nexthop group/nexthop/non blackhole/ip ifindex nexthops/interface node type leaf description the nexthop egress interface access read write data type \<yang type interface ref> constraints leafref pointing to asternos interfaces\ interface ref \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ip ifindex nexthops/distance\</font> path /nexthop group/nexthop/non blackhole/ip ifindex nexthops/distance node type leaf description admin distance associated with this route access read write data type \<yang type uint8> constraints valid range 1 to 255 \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ip ifindex nexthops/tag\</font> path /nexthop group/nexthop/non blackhole/ip ifindex nexthops/tag node type leaf description route tag access read write data type \<yang type uint32> \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ip ifindex nexthops/bfd\</font> path /nexthop group/nexthop/non blackhole/ip ifindex nexthops/bfd node type container description frr nexthop bfd object access read write \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ip ifindex nexthops/bfd/enable\</font> path /nexthop group/nexthop/non blackhole/ip ifindex nexthops/bfd/enable node type leaf description nexthop open bfd access read write data type \<yang type boolean> constraints valid in \[true, false] \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ip ifindex nexthops/bfd/mhop\</font> path /nexthop group/nexthop/non blackhole/ip ifindex nexthops/bfd/mhop node type leaf description open bfd multihop mode access read write data type \<yang type boolean> constraints valid in \[true, false] \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ip ifindex nexthops/bfd/local\</font> path /nexthop group/nexthop/non blackhole/ip ifindex nexthops/bfd/local node type leaf description the bfd local address access read write data type \<yang type ip address> constraints multiple constraints the ipv6 address type represents an ipv6 address in full, mixed, shortened, and shortened mixed notation the ipv6 address may include a zone index, separated by a % sign if a system uses zone names that are not represented in utf 8, then an implementation needs to use some mechanism to transform the local name into utf 8 the definition of such a mechanism is outside the scope of this document the zone index is used to disambiguate identical address values for link local addresses, the zone index will typically be the interface index number or the name of an interface if the zone index is not present, the default zone of the device will be used the canonical format of ipv6 addresses uses the textual representation defined in section 4 of rfc 5952 the canonical format for the zone index is the numerical format as described in section 11 2 of rfc 4007 the ipv4 address type represents an ipv4 address in dotted quad notation the ipv4 address may include a zone index, separated by a % sign if a system uses zone names that are not represented in utf 8, then an implementation needs to use some mechanism to transform the local name into utf 8 the definition of such a mechanism is outside the scope of this document the zone index is used to disambiguate identical address values for link local addresses, the zone index will typically be the interface index number or the name of an interface if the zone index is not present, the default zone of the device will be used the canonical format for the zone index is the numerical format \<font color="#1d50a2">/nexthop group/nexthop/non blackhole/ip ifindex nexthops/track\</font> path /nexthop group/nexthop/non blackhole/ip ifindex nexthops/track node type leaf description route track access read write data type \<yang type uint32>
