mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 04:25:43 +00:00
lib: consolidate evpn type help strings into macro
Consolidate evpn type help strings into one single macro for use on commands that need to support all the types. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
This commit is contained in:
parent
82b4a8bf2c
commit
247fb57d63
@ -462,6 +462,14 @@ struct cmd_node {
|
||||
#define EVPN_TYPE_3_HELP_STR "Multicast (Type-3) route\n"
|
||||
#define EVPN_TYPE_4_HELP_STR "Ethernet Segment (Type-4) route\n"
|
||||
#define EVPN_TYPE_5_HELP_STR "Prefix (Type-5) route\n"
|
||||
#define EVPN_TYPE_ALL_LIST "<ead|1|macip|2|multicast|3|es|4|prefix|5>"
|
||||
#define EVPN_TYPE_ALL_LIST_HELP_STR \
|
||||
EVPN_TYPE_1_HELP_STR EVPN_TYPE_1_HELP_STR \
|
||||
EVPN_TYPE_2_HELP_STR EVPN_TYPE_2_HELP_STR \
|
||||
EVPN_TYPE_3_HELP_STR EVPN_TYPE_3_HELP_STR \
|
||||
EVPN_TYPE_4_HELP_STR EVPN_TYPE_4_HELP_STR \
|
||||
EVPN_TYPE_5_HELP_STR EVPN_TYPE_5_HELP_STR
|
||||
|
||||
|
||||
/* Prototypes. */
|
||||
extern void install_node(struct cmd_node *node);
|
||||
|
Loading…
Reference in New Issue
Block a user