3 namespace "http://frrouting.org/yang/eigrpd";
6 import ietf-inet-types {
9 import ietf-yang-types {
12 import frr-interface {
18 import frr-route-map {
21 import frr-route-types {
22 prefix frr-route-types;
25 organization "FRRouting";
27 "FRR Users List: <mailto:frog@lists.frrouting.org>
28 FRR Development List: <mailto:dev@lists.frrouting.org>";
30 "This module defines a model for managing FRR eigrpd daemon.
32 Copyright 2020 FRRouting
34 Redistribution and use in source and binary forms, with or without
35 modification, are permitted provided that the following conditions
38 1. Redistributions of source code must retain the above copyright notice,
39 this list of conditions and the following disclaimer.
41 2. Redistributions in binary form must reproduce the above copyright
42 notice, this list of conditions and the following disclaimer in the
43 documentation and/or other materials provided with the distribution.
45 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
46 \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
47 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
48 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
49 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
50 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
51 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
52 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
53 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
54 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
55 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.";
59 "Changed interface references to use
60 frr-interface:interface-ref typedef";
63 description "Initial revision.";
65 "RFC 7868: Cisco's Enhanced Interior Gateway Routing Protocol (EIGRP).";
69 * Types specification.
71 typedef autonomous-system {
72 description "Administrative domain identification for a network";
78 typedef authentication-type {
79 description "Authentication types";
82 description "Don't authenticate";
87 description "User defined text";
92 description "MD5 algorithm";
97 description "HMAC SHA256 algorithm";
104 * EIGRP operational data.
109 description "EIGRP autonomous system instance";
112 description "Autonomous System Number";
113 type autonomous-system;
117 description "Virtual Routing Domain name";
118 type frr-vrf:vrf-ref;
125 description "Router identification";
126 type inet:ipv4-address;
129 leaf-list passive-interface {
130 description "List of suppressed interfaces";
131 type frr-interface:interface-ref;
135 description "ACTIVE time limit in seconds (0 disables limit)";
144 description "Control load balance variance";
151 description "Most number of paths to forward packets to";
157 container metric-weights {
159 "Metrics and parameters for advertisement.
161 EIGRP calculates the composite metric with the following formula:
163 metric = 256 * ({(K1*BW) + [(K2*BW)/(256-LOAD)] + (K3*DELAY)} *
166 Composite calculation:
168 metric =[(K1*Net-Throughput) + Latency)+(K6*ExtAttr)] * ------
171 RFC 7868 Sections 5.5 and 5.6.2.5.";
174 description "Bandwidth coefficient.";
181 description "Bandwidth on load coefficient.";
188 description "Delay or latency-based coefficient.";
195 description "Link quality coefficient.";
202 description "Packet loss coefficient.";
209 description "Jitter coefficient.";
217 description "Enable EIGRP on the specific network";
218 type inet:ipv4-prefix;
222 description "Specific EIGRP neighbor";
223 type inet:ipv4-address;
227 description "Redistribute routes learned from other routing protocols";
232 description "Routing protocol";
233 type frr-route-types:frr-route-types-v4;
239 "Applies the conditions of the specified route-map to
240 routes that are redistributed into the EIGRP routing
242 type frr-route-map:route-map-ref;
246 description "Metric for the redistributed routes";
249 description "Bandwidth metric in Kbits per second";
251 range "1..4294967295";
256 description "Delay metric";
259 range "0..4294967295";
264 description "Reliability metric";
271 description "Effective bandwidth usage";
278 description "Path Maximum Transmission Unit";
289 * EIGRP interface configurations.
291 augment "/frr-interface:lib/frr-interface:interface" {
293 description "EIGRP interface parameters";
296 description "Throughput delay";
304 description "Interface bandwidth value";
311 leaf hello-interval {
312 description "Hello packet interval";
321 description "Timeout amount to consider neighbor down";
330 description "Perform split horizon loop preventing technique";
336 * Per AS configuration.
339 description "Autonomous System specific configuration";
344 description "Autonomous System Number";
345 type autonomous-system;
348 leaf-list summarize-addresses {
349 description "Peform address summarization";
350 type inet:ipv4-prefix;
353 leaf authentication {
354 description "Authentication digest algorithm";
355 type authentication-type;
360 description "FRR key chain name to use with authentication";