Browse Source

bgpd, lib: Clarify the different permutations of soft clearing a peer

Cleanup vtysh output for the soft clearing of a bgp peer so
that it is clearer what is going to happen.

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton 4 years ago
parent
commit
988a50c54d
2 changed files with 213 additions and 209 deletions
  1. 209 209
      bgpd/bgp_vty.c
  2. 4 0
      lib/command.h

File diff suppressed because it is too large
+ 209 - 209
bgpd/bgp_vty.c


+ 4 - 0
lib/command.h

@@ -485,6 +485,10 @@ struct cmd_token
 #define CLEAR_STR "Reset functions\n"
 #define RIP_STR "RIP information\n"
 #define BGP_STR "BGP information\n"
+#define BGP_SOFT_STR "Soft reconfig inbound and outbound updates\n"
+#define BGP_SOFT_IN_STR "Send route-refresh unless using 'soft-reconfiguration inbound'\n"
+#define BGP_SOFT_OUT_STR "Resend all outbound updates\n"
+#define BGP_SOFT_RSCLIENT_RIB_STR "Soft reconfig for rsclient RIB\n"
 #define OSPF_STR "OSPF information\n"
 #define NEIGHBOR_STR "Specify neighbor router\n"
 #define DEBUG_STR "Debugging functions (see also 'undebug')\n"