3 namespace "http://frrouting.org/yang/nexthop";
6 import ietf-inet-types {
10 import ietf-routing-types {
13 import frr-interface {
20 "FRR Users List: <mailto:frog@lists.frrouting.org>
21 FRR Development List: <mailto:dev@lists.frrouting.org>";
23 "This module defines a model for managing FRR nexthop information.";
30 typedef gateway-address {
34 typedef nexthop-type {
39 "Specific interface.";
49 "IPv4 address and interface.";
59 "IPv6 address and interface.";
64 "Unreachable or prohibited.";
71 typedef blackhole-type {
76 "Generic unreachable.";
91 "ICMP admin-prohibited.";
96 "Nexthop blackhole types.";
103 grouping frr-nexthop {
112 type gateway-address;
114 "The nexthop gateway address.";
122 "The nexthop vrf name, if different from the route.";
126 type frr-interface:interface-ref;
128 "The nexthop egress interface.";
134 "A blackhole sub-type, if the nexthop is a blackhole type.";
140 "The nexthop's raw flags value.";
146 "Duplicate nexthop; will be ignored.";
152 "Nexthop must be resolved through another gateway.";
158 "Nexthop is directly connected.";
164 "Nexthop is active.";
167 uses rt-types:mpls-label-stack {
169 "Nexthop's MPLS label stack.";
175 "The nexthop's specific MTU.";
181 * Nexthop-group container
184 grouping frr-nexthop-group {
186 "A nexthop-group, represented as a list of nexthop objects.";
190 "The nexthop-group name.";
196 "A list of nexthop objects.";
200 "Identifies a nexthop within a nexthop group; the entries
201 are ordered by id value, and the value has no other meaning.";
208 // End of frr-nexthop-group