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 * Global configuration data
39 presence "Present if the RIPng protocol is enabled.";
41 "RIPng routing instance.";
47 "Allow equal-cost multi-path.";
49 leaf default-information-originate {
53 "Control distribution of default route.";
61 "Default metric of redistributed routes.";
64 type inet:ipv6-prefix;
66 "Enable RIPng on the specified IPv6 network.";
73 "Enable RIPng on the specified interface.";
76 key "interface direction";
78 "Offset-list to modify route metric.";
82 "Interface to match. Use '*' to match all interfaces.";
98 "Incoming or outgoing updates.";
115 leaf-list passive-interface {
120 "A list of interfaces where the sending of RIPng packets
126 "Redistributes routes learned from other routing protocols.";
128 type frr-route-types:frr-route-types-v6;
138 "Applies the conditions of the specified route-map to
139 routes that are redistributed into the RIPng routing
147 "Metric used for the redistributed route. If a metric is
148 not specified, the metric configured with the
149 default-metric attribute in RIPng router configuration is
150 used. If the default-metric attribute has not been
151 configured, the default metric for redistributed routes
155 leaf-list static-route {
156 type inet:ipv6-prefix;
158 "RIPng static routes.";
160 leaf-list aggregate-address {
161 type inet:ipv6-prefix;
163 "RIPng aggregate route announcement.";
167 "Settings of basic timers";
168 leaf flush-interval {
175 "Interval before a route is flushed from the routing
178 leaf holddown-interval {
185 "Interval before better routes are released.";
187 leaf update-interval {
194 "Interval at which RIPng updates are sent.";
207 container neighbors {
209 "Neighbor information.";
215 type inet:ipv6-address;
217 "IPv6 address that a RIPng neighbor is using as its
221 type yang:date-and-time;
223 "The time when the most recent RIPng update was
224 received from this neighbor.";
226 leaf bad-packets-rcvd {
229 "The number of RIPng invalid packets received from
230 this neighbor which were subsequently discarded
231 for any reason (e.g. a version 0 packet, or an
232 unknown command type).";
234 leaf bad-routes-rcvd {
237 "The number of routes received from this neighbor,
238 in valid RIPng packets, which were ignored for any
239 reason (e.g. unknown address family, or invalid
246 "Route information.";
250 "A RIPng IPv6 route.";
252 type inet:ipv6-prefix;
254 "IPv6 address and prefix length, in the format
255 specified in RFC6991.";
258 type inet:ipv6-address;
260 "Next hop IPv6 address.";
265 "The interface that the route uses.";
280 * Per-interface configuration data
282 augment "/frr-interface:lib/frr-interface:interface" {
285 "RIPng interface parameters.";
291 "Disables split-horizon processing.";
296 "Enables simple split-horizon processing.";
298 enum "poison-reverse" {
301 "Enables split-horizon processing with poison
307 "Controls RIPng split-horizon processing on the specified
316 rpc clear-ripng-route {
318 "Clears RIPng routes from the IPv6 routing table and routes
319 redistributed into the RIPng protocol.";