summaryrefslogtreecommitdiffstats
path: root/doc/developer
diff options
context:
space:
mode:
authoranlan_cs <anlan_cs@tom.com>2023-10-07 04:03:49 +0200
committeranlan_cs <anlan_cs@tom.com>2023-10-07 04:06:59 +0200
commit56f141e64b2cfcb486bd73c7f11534f26aef9227 (patch)
treea76d97354991ae35c224d5566c57bce7dcfddb33 /doc/developer
parent*: remove ZEBRA_INTERFACE_VRF_UPDATE (diff)
downloadfrr-56f141e64b2cfcb486bd73c7f11534f26aef9227.tar.xz
frr-56f141e64b2cfcb486bd73c7f11534f26aef9227.zip
doc: replace commands list with header file
Signed-off-by: anlan_cs <anlan_cs@tom.com>
Diffstat (limited to 'doc/developer')
-rw-r--r--doc/developer/zebra.rst292
1 files changed, 1 insertions, 291 deletions
diff --git a/doc/developer/zebra.rst b/doc/developer/zebra.rst
index e5f4e07c6..be2952e71 100644
--- a/doc/developer/zebra.rst
+++ b/doc/developer/zebra.rst
@@ -159,297 +159,7 @@ Past Versions
Zebra Protocol Commands
-----------------------
-+-----------------------------------------+-------+
-| Command | Value |
-+=========================================+=======+
-| ZEBRA_INTERFACE_ADD | 0 |
-+-----------------------------------------+-------+
-| ZEBRA_INTERFACE_DELETE | 1 |
-+-----------------------------------------+-------+
-| ZEBRA_INTERFACE_ADDRESS_ADD | 2 |
-+-----------------------------------------+-------+
-| ZEBRA_INTERFACE_ADDRESS_DELETE | 3 |
-+-----------------------------------------+-------+
-| ZEBRA_INTERFACE_UP | 4 |
-+-----------------------------------------+-------+
-| ZEBRA_INTERFACE_DOWN | 5 |
-+-----------------------------------------+-------+
-| ZEBRA_INTERFACE_SET_MASTER | 6 |
-+-----------------------------------------+-------+
-| ZEBRA_INTERFACE_SET_PROTODOWN | 7 |
-+-----------------------------------------+-------+
-| ZEBRA_ROUTE_ADD | 8 |
-+-----------------------------------------+-------+
-| ZEBRA_ROUTE_DELETE | 9 |
-+-----------------------------------------+-------+
-| ZEBRA_ROUTE_NOTIFY_OWNER | 10 |
-+-----------------------------------------+-------+
-| ZEBRA_REDISTRIBUTE_ADD | 11 |
-+-----------------------------------------+-------+
-| ZEBRA_REDISTRIBUTE_DELETE | 12 |
-+-----------------------------------------+-------+
-| ZEBRA_REDISTRIBUTE_DEFAULT_ADD | 13 |
-+-----------------------------------------+-------+
-| ZEBRA_REDISTRIBUTE_DEFAULT_DELETE | 14 |
-+-----------------------------------------+-------+
-| ZEBRA_ROUTER_ID_ADD | 15 |
-+-----------------------------------------+-------+
-| ZEBRA_ROUTER_ID_DELETE | 16 |
-+-----------------------------------------+-------+
-| ZEBRA_ROUTER_ID_UPDATE | 17 |
-+-----------------------------------------+-------+
-| ZEBRA_HELLO | 18 |
-+-----------------------------------------+-------+
-| ZEBRA_CAPABILITIES | 19 |
-+-----------------------------------------+-------+
-| ZEBRA_NEXTHOP_REGISTER | 20 |
-+-----------------------------------------+-------+
-| ZEBRA_NEXTHOP_UNREGISTER | 21 |
-+-----------------------------------------+-------+
-| ZEBRA_NEXTHOP_UPDATE | 22 |
-+-----------------------------------------+-------+
-| ZEBRA_INTERFACE_NBR_ADDRESS_ADD | 23 |
-+-----------------------------------------+-------+
-| ZEBRA_INTERFACE_NBR_ADDRESS_DELETE | 24 |
-+-----------------------------------------+-------+
-| ZEBRA_INTERFACE_BFD_DEST_UPDATE | 25 |
-+-----------------------------------------+-------+
-| ZEBRA_BFD_DEST_REGISTER | 26 |
-+-----------------------------------------+-------+
-| ZEBRA_BFD_DEST_DEREGISTER | 27 |
-+-----------------------------------------+-------+
-| ZEBRA_BFD_DEST_UPDATE | 28 |
-+-----------------------------------------+-------+
-| ZEBRA_BFD_DEST_REPLAY | 29 |
-+-----------------------------------------+-------+
-| ZEBRA_REDISTRIBUTE_ROUTE_ADD | 30 |
-+-----------------------------------------+-------+
-| ZEBRA_REDISTRIBUTE_ROUTE_DEL | 31 |
-+-----------------------------------------+-------+
-| ZEBRA_VRF_UNREGISTER | 32 |
-+-----------------------------------------+-------+
-| ZEBRA_VRF_ADD | 33 |
-+-----------------------------------------+-------+
-| ZEBRA_VRF_DELETE | 34 |
-+-----------------------------------------+-------+
-| ZEBRA_VRF_LABEL | 35 |
-+-----------------------------------------+-------+
-| ZEBRA_INTERFACE_VRF_UPDATE | 36 |
-+-----------------------------------------+-------+
-| ZEBRA_BFD_CLIENT_REGISTER | 37 |
-+-----------------------------------------+-------+
-| ZEBRA_BFD_CLIENT_DEREGISTER | 38 |
-+-----------------------------------------+-------+
-| ZEBRA_INTERFACE_ENABLE_RADV | 39 |
-+-----------------------------------------+-------+
-| ZEBRA_INTERFACE_DISABLE_RADV | 40 |
-+-----------------------------------------+-------+
-| ZEBRA_NEXTHOP_LOOKUP_MRIB | 41 |
-+-----------------------------------------+-------+
-| ZEBRA_INTERFACE_LINK_PARAMS | 42 |
-+-----------------------------------------+-------+
-| ZEBRA_MPLS_LABELS_ADD | 43 |
-+-----------------------------------------+-------+
-| ZEBRA_MPLS_LABELS_DELETE | 44 |
-+-----------------------------------------+-------+
-| ZEBRA_MPLS_LABELS_REPLACE | 45 |
-+-----------------------------------------+-------+
-| ZEBRA_SR_POLICY_SET | 46 |
-+-----------------------------------------+-------+
-| ZEBRA_SR_POLICY_DELETE | 47 |
-+-----------------------------------------+-------+
-| ZEBRA_SR_POLICY_NOTIFY_STATUS | 48 |
-+-----------------------------------------+-------+
-| ZEBRA_IPMR_ROUTE_STATS | 49 |
-+-----------------------------------------+-------+
-| ZEBRA_LABEL_MANAGER_CONNECT | 50 |
-+-----------------------------------------+-------+
-| ZEBRA_LABEL_MANAGER_CONNECT_ASYNC | 51 |
-+-----------------------------------------+-------+
-| ZEBRA_GET_LABEL_CHUNK | 52 |
-+-----------------------------------------+-------+
-| ZEBRA_RELEASE_LABEL_CHUNK | 53 |
-+-----------------------------------------+-------+
-| ZEBRA_FEC_REGISTER | 54 |
-+-----------------------------------------+-------+
-| ZEBRA_FEC_UNREGISTER | 55 |
-+-----------------------------------------+-------+
-| ZEBRA_FEC_UPDATE | 56 |
-+-----------------------------------------+-------+
-| ZEBRA_ADVERTISE_DEFAULT_GW | 57 |
-+-----------------------------------------+-------+
-| ZEBRA_ADVERTISE_SVI_MACIP | 58 |
-+-----------------------------------------+-------+
-| ZEBRA_ADVERTISE_SUBNET | 59 |
-+-----------------------------------------+-------+
-| ZEBRA_ADVERTISE_ALL_VNI | 60 |
-+-----------------------------------------+-------+
-| ZEBRA_LOCAL_ES_ADD | 61 |
-+-----------------------------------------+-------+
-| ZEBRA_LOCAL_ES_DEL | 62 |
-+-----------------------------------------+-------+
-| ZEBRA_REMOTE_ES_VTEP_ADD | 63 |
-+-----------------------------------------+-------+
-| ZEBRA_REMOTE_ES_VTEP_DEL | 64 |
-+-----------------------------------------+-------+
-| ZEBRA_LOCAL_ES_EVI_ADD | 65 |
-+-----------------------------------------+-------+
-| ZEBRA_LOCAL_ES_EVI_DEL | 66 |
-+-----------------------------------------+-------+
-| ZEBRA_VNI_ADD | 67 |
-+-----------------------------------------+-------+
-| ZEBRA_VNI_DEL | 68 |
-+-----------------------------------------+-------+
-| ZEBRA_L3VNI_ADD | 69 |
-+-----------------------------------------+-------+
-| ZEBRA_L3VNI_DEL | 70 |
-+-----------------------------------------+-------+
-| ZEBRA_REMOTE_VTEP_ADD | 71 |
-+-----------------------------------------+-------+
-| ZEBRA_REMOTE_VTEP_DEL | 72 |
-+-----------------------------------------+-------+
-| ZEBRA_MACIP_ADD | 73 |
-+-----------------------------------------+-------+
-| ZEBRA_MACIP_DEL | 74 |
-+-----------------------------------------+-------+
-| ZEBRA_IP_PREFIX_ROUTE_ADD | 75 |
-+-----------------------------------------+-------+
-| ZEBRA_IP_PREFIX_ROUTE_DEL | 76 |
-+-----------------------------------------+-------+
-| ZEBRA_REMOTE_MACIP_ADD | 77 |
-+-----------------------------------------+-------+
-| ZEBRA_REMOTE_MACIP_DEL | 78 |
-+-----------------------------------------+-------+
-| ZEBRA_DUPLICATE_ADDR_DETECTION | 79 |
-+-----------------------------------------+-------+
-| ZEBRA_PW_ADD | 80 |
-+-----------------------------------------+-------+
-| ZEBRA_PW_DELETE | 81 |
-+-----------------------------------------+-------+
-| ZEBRA_PW_SET | 82 |
-+-----------------------------------------+-------+
-| ZEBRA_PW_UNSET | 83 |
-+-----------------------------------------+-------+
-| ZEBRA_PW_STATUS_UPDATE | 84 |
-+-----------------------------------------+-------+
-| ZEBRA_RULE_ADD | 85 |
-+-----------------------------------------+-------+
-| ZEBRA_RULE_DELETE | 86 |
-+-----------------------------------------+-------+
-| ZEBRA_RULE_NOTIFY_OWNER | 87 |
-+-----------------------------------------+-------+
-| ZEBRA_TABLE_MANAGER_CONNECT | 88 |
-+-----------------------------------------+-------+
-| ZEBRA_GET_TABLE_CHUNK | 89 |
-+-----------------------------------------+-------+
-| ZEBRA_RELEASE_TABLE_CHUNK | 90 |
-+-----------------------------------------+-------+
-| ZEBRA_IPSET_CREATE | 91 |
-+-----------------------------------------+-------+
-| ZEBRA_IPSET_DESTROY | 92 |
-+-----------------------------------------+-------+
-| ZEBRA_IPSET_ENTRY_ADD | 93 |
-+-----------------------------------------+-------+
-| ZEBRA_IPSET_ENTRY_DELETE | 94 |
-+-----------------------------------------+-------+
-| ZEBRA_IPSET_NOTIFY_OWNER | 95 |
-+-----------------------------------------+-------+
-| ZEBRA_IPSET_ENTRY_NOTIFY_OWNER | 96 |
-+-----------------------------------------+-------+
-| ZEBRA_IPTABLE_ADD | 97 |
-+-----------------------------------------+-------+
-| ZEBRA_IPTABLE_DELETE | 98 |
-+-----------------------------------------+-------+
-| ZEBRA_IPTABLE_NOTIFY_OWNER | 99 |
-+-----------------------------------------+-------+
-| ZEBRA_VXLAN_FLOOD_CONTROL | 100 |
-+-----------------------------------------+-------+
-| ZEBRA_VXLAN_SG_ADD | 101 |
-+-----------------------------------------+-------+
-| ZEBRA_VXLAN_SG_DEL | 102 |
-+-----------------------------------------+-------+
-| ZEBRA_VXLAN_SG_REPLAY | 103 |
-+-----------------------------------------+-------+
-| ZEBRA_MLAG_PROCESS_UP | 104 |
-+-----------------------------------------+-------+
-| ZEBRA_MLAG_PROCESS_DOWN | 105 |
-+-----------------------------------------+-------+
-| ZEBRA_MLAG_CLIENT_REGISTER | 106 |
-+-----------------------------------------+-------+
-| ZEBRA_MLAG_CLIENT_UNREGISTER | 107 |
-+-----------------------------------------+-------+
-| ZEBRA_MLAG_FORWARD_MSG | 108 |
-+-----------------------------------------+-------+
-| ZEBRA_NHG_ADD | 109 |
-+-----------------------------------------+-------+
-| ZEBRA_NHG_DEL | 110 |
-+-----------------------------------------+-------+
-| ZEBRA_NHG_NOTIFY_OWNER | 111 |
-+-----------------------------------------+-------+
-| ZEBRA_EVPN_REMOTE_NH_ADD | 112 |
-+-----------------------------------------+-------+
-| ZEBRA_EVPN_REMOTE_NH_DEL | 113 |
-+-----------------------------------------+-------+
-| ZEBRA_SRV6_LOCATOR_ADD | 114 |
-+-----------------------------------------+-------+
-| ZEBRA_SRV6_LOCATOR_DELETE | 115 |
-+-----------------------------------------+-------+
-| ZEBRA_SRV6_MANAGER_GET_LOCATOR_CHUNK | 116 |
-+-----------------------------------------+-------+
-| ZEBRA_SRV6_MANAGER_RELEASE_LOCATOR_CHUNK| 117 |
-+-----------------------------------------+-------+
-| ZEBRA_ERROR | 118 |
-+-----------------------------------------+-------+
-| ZEBRA_CLIENT_CAPABILITIES | 119 |
-+-----------------------------------------+-------+
-| ZEBRA_OPAQUE_MESSAGE | 120 |
-+-----------------------------------------+-------+
-| ZEBRA_OPAQUE_REGISTER | 121 |
-+-----------------------------------------+-------+
-| ZEBRA_OPAQUE_UNREGISTER | 122 |
-+-----------------------------------------+-------+
-| ZEBRA_NEIGH_DISCOVER | 123 |
-+-----------------------------------------+-------+
-| ZEBRA_ROUTE_NOTIFY_REQUEST | 124 |
-+-----------------------------------------+-------+
-| ZEBRA_CLIENT_CLOSE_NOTIFY | 125 |
-+-----------------------------------------+-------+
-| ZEBRA_NHRP_NEIGH_ADDED | 126 |
-+-----------------------------------------+-------+
-| ZEBRA_NHRP_NEIGH_REMOVED | 127 |
-+-----------------------------------------+-------+
-| ZEBRA_NHRP_NEIGH_GET | 128 |
-+-----------------------------------------+-------+
-| ZEBRA_NHRP_NEIGH_REGISTER | 129 |
-+-----------------------------------------+-------+
-| ZEBRA_NHRP_NEIGH_UNREGISTER | 130 |
-+-----------------------------------------+-------+
-| ZEBRA_NEIGH_IP_ADD | 131 |
-+-----------------------------------------+-------+
-| ZEBRA_NEIGH_IP_DEL | 132 |
-+-----------------------------------------+-------+
-| ZEBRA_CONFIGURE_ARP | 133 |
-+-----------------------------------------+-------+
-| ZEBRA_GRE_GET | 134 |
-+-----------------------------------------+-------+
-| ZEBRA_GRE_UPDATE | 135 |
-+-----------------------------------------+-------+
-| ZEBRA_GRE_SOURCE_SET | 136 |
-+-----------------------------------------+-------+
-| ZEBRA_TC_QDISC_INSTALL | 137 |
-+-----------------------------------------+-------+
-| ZEBRA_TC_QDISC_UNINSTALL | 138 |
-+-----------------------------------------+-------+
-| ZEBRA_TC_CLASS_ADD | 139 |
-+-----------------------------------------+-------+
-| ZEBRA_TC_CLASS_DELETE | 140 |
-+-----------------------------------------+-------+
-| ZEBRA_TC_FILTER_ADD | 141 |
-+-----------------------------------------+-------+
-| ZEBRA_TC_FILTER_DELETE | 142 |
-+-----------------------------------------+-------+
-| ZEBRA_OPAQUE_NOTIFY | 143 |
-+-----------------------------------------+-------+
+The definitions of zebra protocol commands can be found at ``lib/zclient.h``.
Dataplane batching
==================