3 namespace "http://frrouting.org/yang/ripngd";
6 import ietf-inet-types {
9 import ietf-yang-types {
12 import frr-interface {
15 import frr-route-types {
16 prefix frr-route-types;
22 "FRR Users List: <mailto:frog@lists.frrouting.org>
23 FRR Development List: <mailto:dev@lists.frrouting.org>";
25 "This module defines a model for managing FRR ripngd daemon.";
31 "RFC 2080: RIPng for IPv6.";
36 * Routing instance configuration.
41 "RIPng routing instance.";
52 "Allow equal-cost multi-path.";
54 leaf default-information-originate {
58 "Control distribution of default route.";
66 "Default metric of redistributed routes.";
69 type inet:ipv6-prefix;
71 "Enable RIPng on the specified IPv6 network.";
78 "Enable RIPng on the specified interface.";
81 key "interface direction";
83 "Offset-list to modify route metric.";
87 "Interface to match. Use '*' to match all interfaces.";
103 "Incoming or outgoing updates.";
120 leaf-list passive-interface {
125 "A list of interfaces where the sending of RIPng packets
131 "Redistributes routes learned from other routing protocols.";
133 type frr-route-types:frr-route-types-v6;
143 "Applies the conditions of the specified route-map to
144 routes that are redistributed into the RIPng routing
152 "Metric used for the redistributed route. If a metric is
153 not specified, the metric configured with the
154 default-metric attribute in RIPng router configuration is
155 used. If the default-metric attribute has not been
156 configured, the default metric for redistributed routes
160 leaf-list static-route {
161 type inet:ipv6-prefix;
163 "RIPng static routes.";
165 leaf-list aggregate-address {
166 type inet:ipv6-prefix;
168 "RIPng aggregate route announcement.";
172 "Settings of basic timers";
173 leaf flush-interval {
180 "Interval before a route is flushed from the routing
183 leaf holddown-interval {
190 "Interval before better routes are released.";
192 leaf update-interval {
199 "Interval at which RIPng updates are sent.";
211 container neighbors {
213 "Neighbor information.";
219 type inet:ipv6-address;
221 "IPv6 address that a RIPng neighbor is using as its
225 type yang:date-and-time;
227 "The time when the most recent RIPng update was
228 received from this neighbor.";
230 leaf bad-packets-rcvd {
233 "The number of RIPng invalid packets received from
234 this neighbor which were subsequently discarded
235 for any reason (e.g. a version 0 packet, or an
236 unknown command type).";
238 leaf bad-routes-rcvd {
241 "The number of routes received from this neighbor,
242 in valid RIPng packets, which were ignored for any
243 reason (e.g. unknown address family, or invalid
250 "Route information.";
254 "A RIPng IPv6 route.";
256 type inet:ipv6-prefix;
258 "IPv6 address and prefix length, in the format
259 specified in RFC6991.";
262 type inet:ipv6-address;
264 "Next hop IPv6 address.";
269 "The interface that the route uses.";
285 * Per-interface configuration data
287 augment "/frr-interface:lib/frr-interface:interface" {
290 "RIPng interface parameters.";
296 "Disables split-horizon processing.";
301 "Enables simple split-horizon processing.";
303 enum "poison-reverse" {
306 "Enables split-horizon processing with poison
312 "Controls RIPng split-horizon processing on the specified
321 rpc clear-ripng-route {
323 "Clears RIPng routes from the IPv6 routing table and routes
324 redistributed into the RIPng protocol.";
330 "VRF name identifying a specific RIPng instance.
331 This leaf is optional for the rpc.
332 If it is specified, the rpc will clear all routes in the
333 specified RIPng instance;
334 if it is not specified, the rpc will clear all routes in
335 all RIPng instances.";