1 # Canonical Zserv route types information registry for Quagga.
3 # Used to construct route_types.c and route_types.h
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.
10 # 7 field line has format:
11 # ZServ route type, canonical name, daemon, route char, ipv4, ipv6, short desc
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.
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.
32 # Key fields obviously must be a unique ASCII alpha-numeric word.
33 # Lower-case is required, brevity is optional but highly desirable.
38 # Zserv route type, Long description
40 # Long description: Full description, but should try fit on a line.
43 ## type cname daemon C 4 6 short help
44 ZEBRA_ROUTE_SYSTEM, system, NULL, 'X', 0, 0, "Reserved"
45 ZEBRA_ROUTE_KERNEL, kernel, zebra, 'K', 1, 1, NULL
46 ZEBRA_ROUTE_CONNECT, connected, zebra, 'C', 1, 1, NULL
47 ZEBRA_ROUTE_STATIC, static, zebra, 'S', 1, 1, NULL
48 ZEBRA_ROUTE_RIP, rip, ripd, 'R', 1, 0, "RIP"
49 ZEBRA_ROUTE_RIPNG, ripng, ripngd, 'R', 0, 1, "RIPng"
50 ZEBRA_ROUTE_OSPF, ospf, ospfd, 'O', 1, 0, "OSPF"
51 ZEBRA_ROUTE_OSPF6, ospf6, ospf6d, 'O', 0, 1, "OSPF"
52 ZEBRA_ROUTE_ISIS, isis, isisd, 'I', 1, 1, "IS-IS"
53 ZEBRA_ROUTE_BGP, bgp, bgpd, 'B', 1, 1, "BGP"
54 # HSLS and OLSR both are AFI independent (so: 1, 1), however
55 # we want to disable for them for general Quagga distribution.
56 # This at least makes it trivial for users of these protocols
57 # to 'switch on' redist support (direct numeric entry remaining
59 ZEBRA_ROUTE_HSLS, hsls, hslsd, 'H', 0, 0, "HSLS"
60 ZEBRA_ROUTE_OLSR, olsr, oslrd, 'o', 0, 0, "OLSR"
63 ZEBRA_ROUTE_SYSTEM, "Reserved route type, for internal use only"
64 ZEBRA_ROUTE_KERNEL, "Kernel routes (not installed via the zebra RIB)"
65 ZEBRA_ROUTE_CONNECT,"Connected routes (directly attached subnet or host)"
66 ZEBRA_ROUTE_STATIC, "Statically configured routes"
67 ZEBRA_ROUTE_RIP, "Routing Information Protocol (RIP)"
68 ZEBRA_ROUTE_RIPNG, "Routing Information Protocol next-generation (IPv6) (RIPng)"
69 ZEBRA_ROUTE_OSPF, "Open Shortest Path First (OSPFv2)"
70 ZEBRA_ROUTE_OSPF6, "Open Shortest Path First (IPv6) (OSPFv3)"
71 ZEBRA_ROUTE_ISIS, "Intermediate System to Intermediate System (IS-IS)"
72 ZEBRA_ROUTE_BGP, "Border Gateway Protocol (BGP)"
73 ZEBRA_ROUTE_HSLS, "Hazy-Sighted Link State Protocol (HSLS)"
74 ZEBRA_ROUTE_OLSR, "Optimised Link State Routing (OLSR)"