]> git.proxmox.com Git - mirror_frr.git/blame - yang/frr-route-types.yang
lib: show zebra route map configuration in tcli
[mirror_frr.git] / yang / frr-route-types.yang
CommitLineData
707656ec
RW
1module frr-route-types {
2 yang-version 1.1;
3 namespace "http://frrouting.org/yang/route-types";
4 prefix frr-route-types;
5
6 organization
7 "Free Range Routing";
8 contact
9 "FRR Users List: <mailto:frog@lists.frrouting.org>
10 FRR Development List: <mailto:dev@lists.frrouting.org>";
11 description
12 "This module defines typedefs for route types.";
13
14 revision 2018-03-28 {
15 description
16 "Initial revision.";
17 }
18
19 typedef frr-route-types-v4 {
20 type enumeration {
21 enum kernel {
22 value 1;
23 }
24 enum connected {
25 value 2;
26 }
27 enum static {
28 value 3;
29 }
30 enum rip {
31 value 4;
32 }
33 enum ospf {
34 value 6;
35 }
36 enum isis {
37 value 8;
38 }
39 enum bgp {
40 value 9;
41 }
42 enum eigrp {
43 value 11;
44 }
45 enum nhrp {
46 value 12;
47 }
48 enum table {
49 value 15;
50 }
51 enum vnc {
52 value 17;
53 }
54 enum babel {
55 value 22;
56 }
57 enum sharp {
58 value 23;
59 }
60 enum openfabric {
61 value 26;
62 }
63 }
64 }
65
66 typedef frr-route-types-v6 {
67 type enumeration {
68 enum kernel {
69 value 1;
70 }
71 enum connected {
72 value 2;
73 }
74 enum static {
75 value 3;
76 }
77 enum ripng {
78 value 5;
79 }
80 enum ospf6 {
81 value 7;
82 }
83 enum isis {
84 value 8;
85 }
86 enum bgp {
87 value 9;
88 }
89 enum nhrp {
90 value 12;
91 }
92 enum table {
93 value 15;
94 }
95 enum vnc {
96 value 17;
97 }
98 enum babel {
99 value 22;
100 }
101 enum sharp {
102 value 23;
103 }
104 enum openfabric {
105 value 26;
106 }
107 }
108 }
fe362bf4
RZ
109
110 typedef frr-route-types {
111 description "Route types as enumerated in `lib/route_types.txt`";
112 type enumeration {
113 enum kernel {
114 description
115 "Routes installed by the kernel or the user of the operating system";
116 value 1;
117 }
118 enum connected {
119 description
120 "Routes installed by interface address (directly attached subnet or host)";
121 value 2;
122 }
123 enum static {
124 description "Static routes configured by FRR";
125 value 3;
126 }
127 enum rip {
128 description "Routes installed by Routing Information Protocol (RIP)";
129 value 4;
130 }
131 enum ripng {
132 description
133 "Routes installed by Routing Information Protocol next-generation (RIPng)";
134 value 5;
135 }
136 enum ospf {
137 description "Routes installed by Open Shortest Path First (OSPFv2)";
138 value 6;
139 }
140 enum ospf6 {
141 description
142 "Routes installed by Open Shortest Path First (IPv6) (OSPFv3)";
143 value 7;
144 }
145 enum isis {
146 description
147 "Routes installed by Intermediate System to Intermediate System (IS-IS)";
148 value 8;
149 }
150 enum bgp {
151 description "Routes installed by Border Gateway Protocol (BGP)";
152 value 9;
153 }
154 enum pim {
155 description
156 "Routes installed by Protocol Independent Multicast (PIM)";
157 value 10;
158 }
159 enum eigrp {
160 description
161 "Routes installed by Enhanced Interior Gateway Routing Protocol (EIGRP)";
162 value 11;
163 }
164 enum nhrp {
165 description "Routes installed by Next Hop Resolution Protocol (NHRP)";
166 value 12;
167 }
168 enum hsls {
169 description "Routes installed by Hazy-Sighted Link State Protocol (HSLS)";
170 value 13;
171 }
172 enum olsr {
173 description "Routes installed by Optimised Link State Routing (OLSR)";
174 value 14;
175 }
176 enum table {
177 description "Routes installed by non-main kernel routing table";
178 value 15;
179 }
180 enum ldp {
181 description
182 "Routes installed by Label Distribution Protocol (LDP)";
183 value 16;
184 }
185 enum vnc {
186 description
187 "Routes installed by Virtual Network Control (VNC)";
188 value 17;
189 }
190 enum vnc-direct {
191 description "Routes installed by VNC directly (non-frr)";
192 value 18;
193 }
f8978cc8
RZ
194 enum vnc-direct-rh {
195 description "Routes installed by VNC via BGP (resolve NVE mode)";
196 value 19;
197 }
198 enum bgp-direct {
199 description "Routes installed by BGP to VNC.";
200 value 20;
201 }
202 enum bgp-direct-ext {
203 description "Routes installed by BGP to VNC VNE groups";
204 value 21;
205 }
fe362bf4
RZ
206 enum babel {
207 description "Routes installed by babel protocol";
208 value 22;
209 }
210 enum sharp {
211 description
212 "Routes installed by Super Happy Advanced Routing Protocol (SHARP)";
213 value 23;
214 }
215 enum pbr {
216 description
217 "Routes installed by Policy Based Routing (PBR)";
218 value 24;
219 }
220 enum openfabric {
221 description
222 "Routes installed by OpenFabric Routing Protocol";
223 value 26;
224 }
225 }
226 }
707656ec 227}