]> git.proxmox.com Git - mirror_frr.git/blame - lib/route_types.txt
build, vtysh: extract vtysh commands from .xref
[mirror_frr.git] / lib / route_types.txt
CommitLineData
0a0875df 1# Canonical Zserv route types information registry for FRR.
9c42a6eb
PJ
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.
8afb9d8a 6# White space before and after the comma separators is stripped.
9c42a6eb
PJ
7# Lines /beginning/ with # are comments.
8#
9####
82557cf0
DS
10# 9 field line has format:
11# ZServ route type, canonical name, daemon, route char, ipv4, ipv6, redist, short desc, Restrictions
9c42a6eb
PJ
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.
82557cf0 28# redist: Allow this protocol to be used in redistribution statements
9c42a6eb
PJ
29# short desc: Very brief description. Used in header of
30# 'show ip route'. May be specified as NULL
31# if the canonical name suffices.
82557cf0 32# Restriction: If this cannot be used with the listed protocol for redistribution events
9c42a6eb
PJ
33#
34# Key fields obviously must be a unique ASCII alpha-numeric word.
35# Lower-case is required, brevity is optional but highly desirable.
36#
37####
38# 2 field format:
39#
40# Zserv route type, Long description
41#
42# Long description: Full description, but should try fit on a line.
43####
1152f486 44#
51ade3a2 45# If you add a new routing protocol here, make sure you also update
1152f486
DS
46# meta_queue_map in zebra_rib.c
47#
b3b4dfa5
IR
48## type cname daemon C 4 6 Redist short help Enabled Restrictions
49ZEBRA_ROUTE_SYSTEM, system, NULL, 'X', 0, 0, 0, "Reserved", none
50ZEBRA_ROUTE_KERNEL, kernel, zebra, 'K', 1, 1, 1, "kernel route", zebra
51ZEBRA_ROUTE_CONNECT, connected, zebra, 'C', 1, 1, 1, "connected", zebra
52ZEBRA_ROUTE_STATIC, static, zebra, 'S', 1, 1, 1, "static", zebra
53ZEBRA_ROUTE_RIP, rip, ripd, 'R', 1, 0, 1, "RIP", ripd
54ZEBRA_ROUTE_RIPNG, ripng, ripngd, 'R', 0, 1, 1, "RIPng", ripngd
55ZEBRA_ROUTE_OSPF, ospf, ospfd, 'O', 1, 0, 1, "OSPF", ospfd
56ZEBRA_ROUTE_OSPF6, ospf6, ospf6d, 'O', 0, 1, 1, "OSPFv3", ospf6d
57ZEBRA_ROUTE_ISIS, isis, isisd, 'I', 1, 1, 1, "IS-IS", isisd
58ZEBRA_ROUTE_BGP, bgp, bgpd, 'B', 1, 1, 1, "BGP", bgpd
59ZEBRA_ROUTE_PIM, pim, pimd, 'P', 0, 0, 0, "PIM", pimd
60ZEBRA_ROUTE_EIGRP, eigrp, eigrpd, 'E', 1, 0, 1, "EIGRP", eigrpd
61ZEBRA_ROUTE_NHRP, nhrp, nhrpd, 'N', 1, 1, 1, "NHRP", nhrpd
9c42a6eb 62# HSLS and OLSR both are AFI independent (so: 1, 1), however
0a0875df 63# we want to disable for them for general FRR distribution.
9c42a6eb
PJ
64# This at least makes it trivial for users of these protocols
65# to 'switch on' redist support (direct numeric entry remaining
66# possible).
b3b4dfa5
IR
67ZEBRA_ROUTE_HSLS, hsls, hslsd, 'H', 0, 0, 0, "HSLS", hslsd
68ZEBRA_ROUTE_OLSR, olsr, olsrd, 'o', 0, 0, 0, "OLSR", olsrd
69ZEBRA_ROUTE_TABLE, table, zebra, 'T', 1, 1, 1, "Table", zebra
70ZEBRA_ROUTE_LDP, ldp, ldpd, 'L', 0, 0, 0, "LDP", ldpd
65efcfce 71#vnc when sent to zebra
b3b4dfa5 72ZEBRA_ROUTE_VNC, vnc, NULL, 'v', 1, 1, 1, "VNC", bgpd-vnc
65efcfce 73# vnc when sent to bgp
b3b4dfa5 74ZEBRA_ROUTE_VNC_DIRECT, vnc-direct,NULL, 'V', 1, 1, 1, "VNC-Direct", bgpd-vnc, bgpd
5ee62c66 75# vnc when sent to bgp (resolve NVE mode)
b3b4dfa5 76ZEBRA_ROUTE_VNC_DIRECT_RH, vnc-rn, NULL, 'V', 0, 0, 0, "VNC-RN", bgpd-vnc
65efcfce 77# bgp unicast -> vnc
b3b4dfa5 78ZEBRA_ROUTE_BGP_DIRECT, bgp-direct, NULL, 'b', 0, 0, 0, "BGP-Direct", bgpd-vnc
65efcfce 79# bgp unicast -> vnc
b3b4dfa5
IR
80ZEBRA_ROUTE_BGP_DIRECT_EXT, bgp-direct-to-nve-groups, NULL, 'e', 0, 0, 0, "BGP2VNC", bgpd-vnc
81ZEBRA_ROUTE_BABEL, babel, babeld, 'A', 1, 1, 1, "Babel", babeld
82ZEBRA_ROUTE_SHARP, sharp, sharpd, 'D', 1, 1, 1, "SHARP", sharpd
83ZEBRA_ROUTE_PBR, pbr, pbrd, 'F', 1, 1, 0, "PBR", pbrd
84ZEBRA_ROUTE_BFD, bfd, bfdd, '-', 0, 0, 0, "BFD", bfdd
85ZEBRA_ROUTE_OPENFABRIC, openfabric, fabricd, 'f', 1, 1, 1, "OpenFabric", fabricd
86ZEBRA_ROUTE_VRRP, vrrp, vrrpd, '-', 0, 0, 0, "VRRP", vrrpd
87ZEBRA_ROUTE_NHG, zebra, none, '-', 0, 0, 0, "Nexthop Group", none
88ZEBRA_ROUTE_SRTE, srte, none, '-', 0, 0, 0, "SR-TE", none
89ZEBRA_ROUTE_ALL, wildcard, none, '-', 0, 0, 0, "-", none
9c42a6eb 90
ca10883e 91
9c42a6eb
PJ
92## help strings
93ZEBRA_ROUTE_SYSTEM, "Reserved route type, for internal use only"
94ZEBRA_ROUTE_KERNEL, "Kernel routes (not installed via the zebra RIB)"
95ZEBRA_ROUTE_CONNECT,"Connected routes (directly attached subnet or host)"
96ZEBRA_ROUTE_STATIC, "Statically configured routes"
97ZEBRA_ROUTE_RIP, "Routing Information Protocol (RIP)"
98ZEBRA_ROUTE_RIPNG, "Routing Information Protocol next-generation (IPv6) (RIPng)"
99ZEBRA_ROUTE_OSPF, "Open Shortest Path First (OSPFv2)"
100ZEBRA_ROUTE_OSPF6, "Open Shortest Path First (IPv6) (OSPFv3)"
101ZEBRA_ROUTE_ISIS, "Intermediate System to Intermediate System (IS-IS)"
102ZEBRA_ROUTE_BGP, "Border Gateway Protocol (BGP)"
12e41d03 103ZEBRA_ROUTE_PIM, "Protocol Independent Multicast (PIM)"
7f57883e 104ZEBRA_ROUTE_EIGRP, "Enhanced Interior Gateway Routing Protocol (EIGRP)"
2fb975da 105ZEBRA_ROUTE_NHRP, "Next Hop Resolution Protocol (NHRP)"
9c42a6eb 106ZEBRA_ROUTE_HSLS, "Hazy-Sighted Link State Protocol (HSLS)"
65efcfce 107ZEBRA_ROUTE_VNC, "Virtual Network Control (VNC)"
9c42a6eb 108ZEBRA_ROUTE_OLSR, "Optimised Link State Routing (OLSR)"
7a4bb9c5 109ZEBRA_ROUTE_TABLE, "Non-main Kernel Routing Table"
eac6e3f0 110ZEBRA_ROUTE_LDP, "Label Distribution Protocol (LDP)"
5ee62c66 111ZEBRA_ROUTE_VNC_DIRECT, "VNC direct (not via zebra) routes"
ca10883e 112ZEBRA_ROUTE_BABEL, "Babel routing protocol (Babel)"
8a71d93d 113ZEBRA_ROUTE_SHARP, "Super Happy Advanced Routing Protocol (sharpd)"
e5c83d9b 114ZEBRA_ROUTE_PBR, "Policy Based Routing (PBR)"
d3af6147 115ZEBRA_ROUTE_BFD, "Bidirectional Fowarding Detection (BFD)"
303b93cd 116ZEBRA_ROUTE_VRRP, "Virtual Router Redundancy Protocol (VRRP)"
7c0cbd0e 117ZEBRA_ROUTE_OPENFABRIC, "OpenFabric Routing Protocol"
e22e8001 118ZEBRA_ROUTE_NHG, "Zebra Nexthop Groups (NHG)"