NETCONF Configuration Guide
YANG API Reference
nexthop
43 min
asternos nexthop module description asternos model for static routes nexthops yang tree diagram 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 resources resource list 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 detailed nodes /nexthop group path /nexthop group node type container description a nexthop group, represented as a list of nexthop objects access read write /nexthop group/nexthop path /nexthop group/nexthop node type choice description no description available access read write mandatory yes /nexthop group/nexthop/blackhole path /nexthop group/nexthop/blackhole node type choice case description no description available access read write /nexthop group/nexthop/blackhole/blackhole nexthop path /nexthop group/nexthop/blackhole/blackhole nexthop node type container description for blackhole type nexthops, there is only one configurable access read write /nexthop group/nexthop/blackhole/blackhole nexthop/bh type 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 constraints enumeration with options unspec null reject prohibited mandatory yes /nexthop group/nexthop/blackhole/blackhole nexthop/distance path /nexthop group/nexthop/blackhole/blackhole nexthop/distance node type leaf description admin distance associated with this route access read write data type constraints valid range 1 to 255 /nexthop group/nexthop/blackhole/blackhole nexthop/tag path /nexthop group/nexthop/blackhole/blackhole nexthop/tag node type leaf description route tag access read write data type constraints valid range /nexthop group/nexthop/non blackhole path /nexthop group/nexthop/non blackhole node type choice case description no description available access read write /nexthop group/nexthop/non blackhole/ifindex nexthops path /nexthop group/nexthop/non blackhole/ifindex nexthops node type list description a list of nexthop objects access read write /nexthop group/nexthop/non blackhole/ifindex nexthops/interface path /nexthop group/nexthop/non blackhole/ifindex nexthops/interface node type leaf description the nexthop egress interface access read write data type constraints leafref pointing to asternos interfaces\ interface ref /nexthop group/nexthop/non blackhole/ifindex nexthops/bfd path /nexthop group/nexthop/non blackhole/ifindex nexthops/bfd node type container description frr nexthop bfd object access read write /nexthop group/nexthop/non blackhole/ifindex nexthops/bfd/enable path /nexthop group/nexthop/non blackhole/ifindex nexthops/bfd/enable node type leaf description nexthop open bfd access read write data type constraints valid in \[true, false] /nexthop group/nexthop/non blackhole/ifindex nexthops/bfd/mhop path /nexthop group/nexthop/non blackhole/ifindex nexthops/bfd/mhop node type leaf description open bfd multihop mode access read write data type constraints valid in \[true, false] /nexthop group/nexthop/non blackhole/ifindex nexthops/bfd/local path /nexthop group/nexthop/non blackhole/ifindex nexthops/bfd/local node type leaf description the bfd local address access read write data type 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 /nexthop group/nexthop/non blackhole/ifindex nexthops/track path /nexthop group/nexthop/non blackhole/ifindex nexthops/track node type leaf description route track access read write data type constraints valid range /nexthop group/nexthop/non blackhole/ifindex nexthops/distance path /nexthop group/nexthop/non blackhole/ifindex nexthops/distance node type leaf description admin distance associated with this route access read write data type constraints valid range 1 to 255 /nexthop group/nexthop/non blackhole/ifindex nexthops/tag path /nexthop group/nexthop/non blackhole/ifindex nexthops/tag node type leaf description route tag access read write data type constraints valid range /nexthop group/nexthop/non blackhole/ip nexthops 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 /nexthop group/nexthop/non blackhole/ip nexthops/nh vrf 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 constraints leafref pointing to asternos vrf\ vrf ref /nexthop group/nexthop/non blackhole/ip nexthops/gateway path /nexthop group/nexthop/non blackhole/ip nexthops/gateway node type leaf description the nexthop gateway address access read write data type 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 /nexthop group/nexthop/non blackhole/ip nexthops/distance path /nexthop group/nexthop/non blackhole/ip nexthops/distance node type leaf description admin distance associated with this route access read write data type constraints valid range 1 to 255 /nexthop group/nexthop/non blackhole/ip nexthops/tag path /nexthop group/nexthop/non blackhole/ip nexthops/tag node type leaf description route tag access read write data type constraints valid range /nexthop group/nexthop/non blackhole/ip nexthops/bfd path /nexthop group/nexthop/non blackhole/ip nexthops/bfd node type container description frr nexthop bfd object access read write /nexthop group/nexthop/non blackhole/ip nexthops/bfd/enable path /nexthop group/nexthop/non blackhole/ip nexthops/bfd/enable node type leaf description nexthop open bfd access read write data type constraints valid in \[true, false] /nexthop group/nexthop/non blackhole/ip nexthops/bfd/mhop path /nexthop group/nexthop/non blackhole/ip nexthops/bfd/mhop node type leaf description open bfd multihop mode access read write data type constraints valid in \[true, false] /nexthop group/nexthop/non blackhole/ip nexthops/bfd/local path /nexthop group/nexthop/non blackhole/ip nexthops/bfd/local node type leaf description the bfd local address access read write data type 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 /nexthop group/nexthop/non blackhole/ip nexthops/track path /nexthop group/nexthop/non blackhole/ip nexthops/track node type leaf description route track access read write data type constraints valid range /nexthop group/nexthop/non blackhole/ip ifindex nexthops 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 /nexthop group/nexthop/non blackhole/ip ifindex nexthops/gateway path /nexthop group/nexthop/non blackhole/ip ifindex nexthops/gateway node type leaf description the nexthop gateway address access read write data type 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 /nexthop group/nexthop/non blackhole/ip ifindex nexthops/interface path /nexthop group/nexthop/non blackhole/ip ifindex nexthops/interface node type leaf description the nexthop egress interface access read write data type constraints leafref pointing to asternos interfaces\ interface ref /nexthop group/nexthop/non blackhole/ip ifindex nexthops/distance 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 constraints valid range 1 to 255 /nexthop group/nexthop/non blackhole/ip ifindex nexthops/tag path /nexthop group/nexthop/non blackhole/ip ifindex nexthops/tag node type leaf description route tag access read write data type constraints valid range /nexthop group/nexthop/non blackhole/ip ifindex nexthops/bfd path /nexthop group/nexthop/non blackhole/ip ifindex nexthops/bfd node type container description frr nexthop bfd object access read write /nexthop group/nexthop/non blackhole/ip ifindex nexthops/bfd/enable path /nexthop group/nexthop/non blackhole/ip ifindex nexthops/bfd/enable node type leaf description nexthop open bfd access read write data type constraints valid in \[true, false] /nexthop group/nexthop/non blackhole/ip ifindex nexthops/bfd/mhop path /nexthop group/nexthop/non blackhole/ip ifindex nexthops/bfd/mhop node type leaf description open bfd multihop mode access read write data type constraints valid in \[true, false] /nexthop group/nexthop/non blackhole/ip ifindex nexthops/bfd/local path /nexthop group/nexthop/non blackhole/ip ifindex nexthops/bfd/local node type leaf description the bfd local address access read write data type 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 /nexthop group/nexthop/non blackhole/ip ifindex nexthops/track path /nexthop group/nexthop/non blackhole/ip ifindex nexthops/track node type leaf description route track access read write data type constraints valid range
