]>
Commit | Line | Data |
---|---|---|
9c42a6eb PJ |
1 | # Canonical Zserv route types information registry for Quagga. |
2 | # | |
3 | # Used to construct route_types.c and route_types.h | |
4 | # | |
5 | # comma-seperated fields of either 2 fields (help strings) or 7 fields. | |
6 | # White space before and after the comma seperators is stripped. | |
7 | # Lines /beginning/ with # are comments. | |
8 | # | |
9 | #### | |
10 | # 7 field line has format: | |
11 | # ZServ route type, canonical name, daemon, route char, ipv4, ipv6, short desc | |
12 | # | |
13 | # Zserv route type: Corresponding with zebra.h. Key field. | |
14 | # canonical name: Typically derived from the route type definition. | |
15 | # Used in 'redistribute' commands in daemons. | |
16 | # Key field. | |
17 | # daemon: The daemon which may originates this route type | |
18 | # for redistribution to other daemons. | |
19 | # NULL if not applicable. | |
20 | # M:N definitions of type:daemon are allowed. | |
21 | # Used to construct vty command strings. | |
22 | # route char: Single character to denote the route, if applicable. | |
23 | # Used to denote route type where space is tight, | |
24 | # e.g. 'show ip route' / 'show ipv6 route'. | |
25 | # 'X' is reserved as the 'not needed' placeholder. | |
26 | # ipv4: IPv4 capable? yes/no, or 1/0. | |
27 | # ipv6: IPv6 capable? ditto. | |
28 | # short desc: Very brief description. Used in header of | |
29 | # 'show ip route'. May be specified as NULL | |
30 | # if the canonical name suffices. | |
31 | # | |
32 | # Key fields obviously must be a unique ASCII alpha-numeric word. | |
33 | # Lower-case is required, brevity is optional but highly desirable. | |
34 | # | |
35 | #### | |
36 | # 2 field format: | |
37 | # | |
38 | # Zserv route type, Long description | |
39 | # | |
40 | # Long description: Full description, but should try fit on a line. | |
41 | #### | |
1152f486 DS |
42 | # |
43 | # If you add a new routing protocol here, make sure you go update | |
44 | # meta_queue_map in zebra_rib.c | |
45 | # | |
9c42a6eb PJ |
46 | ## type cname daemon C 4 6 short help |
47 | ZEBRA_ROUTE_SYSTEM, system, NULL, 'X', 0, 0, "Reserved" | |
e0ca5fde DL |
48 | ZEBRA_ROUTE_KERNEL, kernel, zebra, 'K', 1, 1, "kernel route" |
49 | ZEBRA_ROUTE_CONNECT, connected, zebra, 'C', 1, 1, "connected" | |
50 | ZEBRA_ROUTE_STATIC, static, zebra, 'S', 1, 1, "static" | |
9c42a6eb PJ |
51 | ZEBRA_ROUTE_RIP, rip, ripd, 'R', 1, 0, "RIP" |
52 | ZEBRA_ROUTE_RIPNG, ripng, ripngd, 'R', 0, 1, "RIPng" | |
53 | ZEBRA_ROUTE_OSPF, ospf, ospfd, 'O', 1, 0, "OSPF" | |
b2d4d039 | 54 | ZEBRA_ROUTE_OSPF6, ospf6, ospf6d, 'O', 0, 1, "OSPFv3" |
9c42a6eb PJ |
55 | ZEBRA_ROUTE_ISIS, isis, isisd, 'I', 1, 1, "IS-IS" |
56 | ZEBRA_ROUTE_BGP, bgp, bgpd, 'B', 1, 1, "BGP" | |
12e41d03 | 57 | ZEBRA_ROUTE_PIM, pim, pimd, 'P', 1, 0, "PIM" |
7f57883e | 58 | ZEBRA_ROUTE_EIGRP, eigrp, eigrpd, 'E', 1, 0, "EIGRP" |
2fb975da | 59 | ZEBRA_ROUTE_NHRP, nhrp, nhrpd, 'N', 1, 1, "NHRP" |
9c42a6eb PJ |
60 | # HSLS and OLSR both are AFI independent (so: 1, 1), however |
61 | # we want to disable for them for general Quagga distribution. | |
62 | # This at least makes it trivial for users of these protocols | |
63 | # to 'switch on' redist support (direct numeric entry remaining | |
64 | # possible). | |
65 | ZEBRA_ROUTE_HSLS, hsls, hslsd, 'H', 0, 0, "HSLS" | |
e0ca5fde | 66 | ZEBRA_ROUTE_OLSR, olsr, olsrd, 'o', 0, 0, "OLSR" |
7a4bb9c5 | 67 | ZEBRA_ROUTE_TABLE, table, zebra, 'T', 1, 1, "Table" |
eac6e3f0 | 68 | ZEBRA_ROUTE_LDP, ldp, ldpd, 'L', 0, 0, "LDP" |
65efcfce LB |
69 | #vnc when sent to zebra |
70 | ZEBRA_ROUTE_VNC, vnc, NULL, 'v', 1, 1, "VNC" | |
71 | # vnc when sent to bgp | |
5ee62c66 PZ |
72 | ZEBRA_ROUTE_VNC_DIRECT, vnc-direct,NULL, 'V', 1, 1, "VNC-Direct", bgpd |
73 | # vnc when sent to bgp (resolve NVE mode) | |
74 | ZEBRA_ROUTE_VNC_DIRECT_RH, vnc-rn, NULL, 'V', 0, 0, "VNC-RN" | |
65efcfce LB |
75 | # bgp unicast -> vnc |
76 | ZEBRA_ROUTE_BGP_DIRECT, bgp-direct, NULL, 'b', 0, 0, "BGP-Direct" | |
77 | # bgp unicast -> vnc | |
78 | ZEBRA_ROUTE_BGP_DIRECT_EXT, bgp-direct-to-nve-groups, NULL, 'e', 0, 0, "BGP2VNC" | |
ca10883e | 79 | ZEBRA_ROUTE_BABEL, babel, babeld, 'A', 1, 1, "Babel" |
8a71d93d | 80 | ZEBRA_ROUTE_SHARP, sharp, sharpd, 'D', 1, 1, "SHARP" |
a695cc7b | 81 | ZEBRA_ROUTE_ALL, wildcard, none, '-', 0, 0, "-" |
9c42a6eb | 82 | |
ca10883e | 83 | |
9c42a6eb PJ |
84 | ## help strings |
85 | ZEBRA_ROUTE_SYSTEM, "Reserved route type, for internal use only" | |
86 | ZEBRA_ROUTE_KERNEL, "Kernel routes (not installed via the zebra RIB)" | |
87 | ZEBRA_ROUTE_CONNECT,"Connected routes (directly attached subnet or host)" | |
88 | ZEBRA_ROUTE_STATIC, "Statically configured routes" | |
89 | ZEBRA_ROUTE_RIP, "Routing Information Protocol (RIP)" | |
90 | ZEBRA_ROUTE_RIPNG, "Routing Information Protocol next-generation (IPv6) (RIPng)" | |
91 | ZEBRA_ROUTE_OSPF, "Open Shortest Path First (OSPFv2)" | |
92 | ZEBRA_ROUTE_OSPF6, "Open Shortest Path First (IPv6) (OSPFv3)" | |
93 | ZEBRA_ROUTE_ISIS, "Intermediate System to Intermediate System (IS-IS)" | |
94 | ZEBRA_ROUTE_BGP, "Border Gateway Protocol (BGP)" | |
12e41d03 | 95 | ZEBRA_ROUTE_PIM, "Protocol Independent Multicast (PIM)" |
7f57883e | 96 | ZEBRA_ROUTE_EIGRP, "Enhanced Interior Gateway Routing Protocol (EIGRP)" |
2fb975da | 97 | ZEBRA_ROUTE_NHRP, "Next Hop Resolution Protocol (NHRP)" |
9c42a6eb | 98 | ZEBRA_ROUTE_HSLS, "Hazy-Sighted Link State Protocol (HSLS)" |
65efcfce | 99 | ZEBRA_ROUTE_VNC, "Virtual Network Control (VNC)" |
9c42a6eb | 100 | ZEBRA_ROUTE_OLSR, "Optimised Link State Routing (OLSR)" |
7a4bb9c5 | 101 | ZEBRA_ROUTE_TABLE, "Non-main Kernel Routing Table" |
eac6e3f0 | 102 | ZEBRA_ROUTE_LDP, "Label Distribution Protocol (LDP)" |
5ee62c66 | 103 | ZEBRA_ROUTE_VNC_DIRECT, "VNC direct (not via zebra) routes" |
ca10883e | 104 | ZEBRA_ROUTE_BABEL, "Babel routing protocol (Babel)" |
8a71d93d | 105 | ZEBRA_ROUTE_SHARP, "Super Happy Advanced Routing Protocol (sharpd)" |