DEFPY_YANG (match_community,
match_community_cmd,
- "match community <(1-99)|(100-500)|WORD> [exact-match]",
+ "match community <(1-99)|(100-500)|COMMUNITY_LIST_NAME> [exact-match]",
MATCH_STR
"Match BGP community list\n"
"Community-list number (standard)\n"
DEFUN_YANG (no_match_community,
no_match_community_cmd,
- "no match community [<(1-99)|(100-500)|WORD> [exact-match]]",
+ "no match community [<(1-99)|(100-500)|COMMUNITY_LIST_NAME> [exact-match]]",
NO_STR
MATCH_STR
"Match BGP community list\n"
DEFPY_YANG (match_lcommunity,
match_lcommunity_cmd,
- "match large-community <(1-99)|(100-500)|WORD> [exact-match]",
+ "match large-community <(1-99)|(100-500)|LCOMMUNITY_LIST_NAME> [exact-match]",
MATCH_STR
"Match BGP large community list\n"
"Large Community-list number (standard)\n"
DEFUN_YANG (no_match_lcommunity,
no_match_lcommunity_cmd,
- "no match large-community [<(1-99)|(100-500)|WORD> [exact-match]]",
+ "no match large-community [<(1-99)|(100-500)|LCOMMUNITY_LIST_NAME> [exact-match]]",
NO_STR
MATCH_STR
"Match BGP large community list\n"
DEFPY_YANG (match_ecommunity,
match_ecommunity_cmd,
- "match extcommunity <(1-99)|(100-500)|WORD>",
+ "match extcommunity <(1-99)|(100-500)|EXTCOMMUNITY_LIST_NAME>",
MATCH_STR
"Match BGP/VPN extended community list\n"
"Extended community-list number (standard)\n"
DEFUN_YANG (no_match_ecommunity,
no_match_ecommunity_cmd,
- "no match extcommunity [<(1-99)|(100-500)|WORD>]",
+ "no match extcommunity [<(1-99)|(100-500)|EXTCOMMUNITY_LIST_NAME>]",
NO_STR
MATCH_STR
"Match BGP/VPN extended community list\n"
DEFPY_YANG (set_community_delete,
set_community_delete_cmd,
- "set comm-list <(1-99)|(100-500)|WORD> delete",
+ "set comm-list <(1-99)|(100-500)|COMMUNITY_LIST_NAME> delete",
SET_STR
"set BGP community list (for deletion)\n"
"Community-list number (standard)\n"
DEFUN_YANG (no_set_community_delete,
no_set_community_delete_cmd,
- "no set comm-list [<(1-99)|(100-500)|WORD> delete]",
+ "no set comm-list [<(1-99)|(100-500)|COMMUNITY_LIST_NAME> delete]",
NO_STR
SET_STR
"set BGP community list (for deletion)\n"
DEFPY_YANG (set_lcommunity_delete,
set_lcommunity_delete_cmd,
- "set large-comm-list <(1-99)|(100-500)|WORD> delete",
+ "set large-comm-list <(1-99)|(100-500)|LCOMMUNITY_LIST_NAME> delete",
SET_STR
"set BGP large community list (for deletion)\n"
"Large Community-list number (standard)\n"
DEFUN_YANG (no_set_lcommunity_delete,
no_set_lcommunity_delete_cmd,
- "no set large-comm-list <(1-99)|(100-500)|WORD> [delete]",
+ "no set large-comm-list <(1-99)|(100-500)|LCOMMUNITY_LIST_NAME> [delete]",
NO_STR
SET_STR
"set BGP large community list (for deletion)\n"
/*community-list standard */
DEFUN (community_list_standard,
bgp_community_list_standard_cmd,
- "bgp community-list <(1-99)|standard WORD> [seq (0-4294967295)] <deny|permit> AA:NN...",
+ "bgp community-list <(1-99)|standard COMMUNITY_LIST_NAME> [seq (0-4294967295)] <deny|permit> AA:NN...",
BGP_STR
COMMUNITY_LIST_STR
"Community list number (standard)\n"
idx = 0;
argv_find(argv, argc, "(1-99)", &idx);
- argv_find(argv, argc, "WORD", &idx);
+ argv_find(argv, argc, "COMMUNITY_LIST_NAME", &idx);
cl_name_or_number = argv[idx]->arg;
direct = argv_find(argv, argc, "permit", &idx) ? COMMUNITY_PERMIT
: COMMUNITY_DENY;
DEFUN (no_community_list_standard_all,
no_bgp_community_list_standard_all_cmd,
- "no bgp community-list <(1-99)|standard WORD> [seq (0-4294967295)] <deny|permit> AA:NN...",
+ "no bgp community-list <(1-99)|standard COMMUNITY_LIST_NAME> [seq (0-4294967295)] <deny|permit> AA:NN...",
NO_STR
BGP_STR
COMMUNITY_LIST_STR
idx = 0;
argv_find(argv, argc, "(1-99)", &idx);
- argv_find(argv, argc, "WORD", &idx);
+ argv_find(argv, argc, "COMMUNITY_LIST_NAME", &idx);
cl_name_or_number = argv[idx]->arg;
int ret = community_list_unset(bgp_clist, cl_name_or_number, str, seq,
}
ALIAS(no_community_list_standard_all, no_bgp_community_list_standard_all_list_cmd,
- "no bgp community-list <(1-99)|standard WORD>",
+ "no bgp community-list <(1-99)|standard COMMUNITY_LIST_NAME>",
NO_STR BGP_STR COMMUNITY_LIST_STR
"Community list number (standard)\n"
"Add an standard community-list entry\n"
/*community-list expanded */
DEFUN (community_list_expanded_all,
bgp_community_list_expanded_all_cmd,
- "bgp community-list <(100-500)|expanded WORD> [seq (0-4294967295)] <deny|permit> AA:NN...",
+ "bgp community-list <(100-500)|expanded COMMUNITY_LIST_NAME> [seq (0-4294967295)] <deny|permit> AA:NN...",
BGP_STR
COMMUNITY_LIST_STR
"Community list number (expanded)\n"
idx = 0;
argv_find(argv, argc, "(100-500)", &idx);
- argv_find(argv, argc, "WORD", &idx);
+ argv_find(argv, argc, "COMMUNITY_LIST_NAME", &idx);
cl_name_or_number = argv[idx]->arg;
direct = argv_find(argv, argc, "permit", &idx) ? COMMUNITY_PERMIT
: COMMUNITY_DENY;
DEFUN (no_community_list_expanded_all,
no_bgp_community_list_expanded_all_cmd,
- "no bgp community-list <(100-500)|expanded WORD> [seq (0-4294967295)] <deny|permit> AA:NN...",
+ "no bgp community-list <(100-500)|expanded COMMUNITY_LIST_NAME> [seq (0-4294967295)] <deny|permit> AA:NN...",
NO_STR
BGP_STR
COMMUNITY_LIST_STR
idx = 0;
argv_find(argv, argc, "(100-500)", &idx);
- argv_find(argv, argc, "WORD", &idx);
+ argv_find(argv, argc, "COMMUNITY_LIST_NAME", &idx);
cl_name_or_number = argv[idx]->arg;
int ret = community_list_unset(bgp_clist, cl_name_or_number, str, seq,
ALIAS(no_community_list_expanded_all,
no_bgp_community_list_expanded_all_list_cmd,
- "no bgp community-list <(100-500)|expanded WORD>",
+ "no bgp community-list <(100-500)|expanded COMMUNITY_LIST_NAME>",
NO_STR BGP_STR COMMUNITY_LIST_STR
"Community list number (expanded)\n"
"Add an expanded community-list entry\n"
DEFUN (show_community_list_arg,
show_bgp_community_list_arg_cmd,
- "show bgp community-list <(1-500)|WORD> detail",
+ "show bgp community-list <(1-500)|COMMUNITY_LIST_NAME> detail",
SHOW_STR
BGP_STR
"List community-list\n"
/* All digit name check. */
idx = 0;
- argv_find(argv, argc, "WORD", &idx);
+ argv_find(argv, argc, "LCOMMUNITY_LIST_NAME", &idx);
argv_find(argv, argc, "(1-99)", &idx);
argv_find(argv, argc, "(100-500)", &idx);
cl_name = argv[idx]->arg;
idx = 0;
argv_find(argv, argc, "(1-99)", &idx);
argv_find(argv, argc, "(100-500)", &idx);
- argv_find(argv, argc, "WORD", &idx);
+ argv_find(argv, argc, "LCOMMUNITY_LIST_NAME", &idx);
/* Unset community list. */
ret = lcommunity_list_unset(bgp_clist, argv[idx]->arg, str, seq, direct,
DEFUN (lcommunity_list_name_standard,
bgp_lcommunity_list_name_standard_cmd,
- "bgp large-community-list standard WORD [seq (0-4294967295)] <deny|permit> AA:BB:CC...",
+ "bgp large-community-list standard LCOMMUNITY_LIST_NAME [seq (0-4294967295)] <deny|permit> AA:BB:CC...",
BGP_STR
LCOMMUNITY_LIST_STR
"Specify standard large-community-list\n"
DEFUN (lcommunity_list_name_expanded,
bgp_lcommunity_list_name_expanded_cmd,
- "bgp large-community-list expanded WORD [seq (0-4294967295)] <deny|permit> LINE...",
+ "bgp large-community-list expanded LCOMMUNITY_LIST_NAME [seq (0-4294967295)] <deny|permit> LINE...",
BGP_STR
LCOMMUNITY_LIST_STR
"Specify expanded large-community-list\n"
DEFUN (no_lcommunity_list_all,
no_bgp_lcommunity_list_all_cmd,
- "no bgp large-community-list <(1-99)|(100-500)|WORD>",
+ "no bgp large-community-list <(1-99)|(100-500)|LCOMMUNITY_LIST_NAME>",
NO_STR
BGP_STR
LCOMMUNITY_LIST_STR
DEFUN (no_lcommunity_list_name_standard_all,
no_bgp_lcommunity_list_name_standard_all_cmd,
- "no bgp large-community-list standard WORD",
+ "no bgp large-community-list standard LCOMMUNITY_LIST_NAME",
NO_STR
BGP_STR
LCOMMUNITY_LIST_STR
DEFUN (no_lcommunity_list_name_expanded_all,
no_bgp_lcommunity_list_name_expanded_all_cmd,
- "no bgp large-community-list expanded WORD",
+ "no bgp large-community-list expanded LCOMMUNITY_LIST_NAME",
NO_STR
BGP_STR
LCOMMUNITY_LIST_STR
DEFUN (no_lcommunity_list_name_standard,
no_bgp_lcommunity_list_name_standard_cmd,
- "no bgp large-community-list standard WORD [seq (0-4294967295)] <deny|permit> AA:AA:NN...",
+ "no bgp large-community-list standard LCOMMUNITY_LIST_NAME [seq (0-4294967295)] <deny|permit> AA:AA:NN...",
NO_STR
BGP_STR
LCOMMUNITY_LIST_STR
DEFUN (no_lcommunity_list_name_expanded,
no_bgp_lcommunity_list_name_expanded_cmd,
- "no bgp large-community-list expanded WORD [seq (0-4294967295)] <deny|permit> LINE...",
+ "no bgp large-community-list expanded LCOMMUNITY_LIST_NAME [seq (0-4294967295)] <deny|permit> LINE...",
NO_STR
BGP_STR
LCOMMUNITY_LIST_STR
DEFUN (show_lcommunity_list_arg,
show_bgp_lcommunity_list_arg_cmd,
- "show bgp large-community-list <(1-500)|WORD> detail",
+ "show bgp large-community-list <(1-500)|LCOMMUNITY_LIST_NAME> detail",
SHOW_STR
BGP_STR
"List large-community list\n"
DEFUN (extcommunity_list_standard,
bgp_extcommunity_list_standard_cmd,
- "bgp extcommunity-list <(1-99)|standard WORD> [seq (0-4294967295)] <deny|permit> AA:NN...",
+ "bgp extcommunity-list <(1-99)|standard EXTCOMMUNITY_LIST_NAME> [seq (0-4294967295)] <deny|permit> AA:NN...",
BGP_STR
EXTCOMMUNITY_LIST_STR
"Extended Community list number (standard)\n"
int idx = 0;
argv_find(argv, argc, "(1-99)", &idx);
- argv_find(argv, argc, "WORD", &idx);
+ argv_find(argv, argc, "EXTCOMMUNITY_LIST_NAME", &idx);
cl_number_or_name = argv[idx]->arg;
if (argv_find(argv, argc, "(0-4294967295)", &idx))
DEFUN (extcommunity_list_name_expanded,
bgp_extcommunity_list_name_expanded_cmd,
- "bgp extcommunity-list <(100-500)|expanded WORD> [seq (0-4294967295)] <deny|permit> LINE...",
+ "bgp extcommunity-list <(100-500)|expanded EXTCOMMUNITY_LIST_NAME> [seq (0-4294967295)] <deny|permit> LINE...",
BGP_STR
EXTCOMMUNITY_LIST_STR
"Extended Community list number (expanded)\n"
int idx = 0;
argv_find(argv, argc, "(100-500)", &idx);
- argv_find(argv, argc, "WORD", &idx);
+ argv_find(argv, argc, "EXTCOMMUNITY_LIST_NAME", &idx);
cl_number_or_name = argv[idx]->arg;
if (argv_find(argv, argc, "(0-4294967295)", &idx))
DEFUN (no_extcommunity_list_standard_all,
no_bgp_extcommunity_list_standard_all_cmd,
- "no bgp extcommunity-list <(1-99)|standard WORD> [seq (0-4294967295)] <deny|permit> AA:NN...",
+ "no bgp extcommunity-list <(1-99)|standard EXTCOMMUNITY_LIST_NAME> [seq (0-4294967295)] <deny|permit> AA:NN...",
NO_STR
BGP_STR
EXTCOMMUNITY_LIST_STR
idx = 0;
argv_find(argv, argc, "(1-99)", &idx);
- argv_find(argv, argc, "WORD", &idx);
+ argv_find(argv, argc, "EXTCOMMUNITY_LIST_NAME", &idx);
cl_number_or_name = argv[idx]->arg;
int ret = extcommunity_list_unset(bgp_clist, cl_number_or_name, str,
ALIAS(no_extcommunity_list_standard_all,
no_bgp_extcommunity_list_standard_all_list_cmd,
- "no bgp extcommunity-list <(1-99)|standard WORD>",
+ "no bgp extcommunity-list <(1-99)|standard EXTCOMMUNITY_LIST_NAME>",
NO_STR BGP_STR EXTCOMMUNITY_LIST_STR
"Extended Community list number (standard)\n"
"Specify standard extcommunity-list\n"
DEFUN (no_extcommunity_list_expanded_all,
no_bgp_extcommunity_list_expanded_all_cmd,
- "no bgp extcommunity-list <(100-500)|expanded WORD> [seq (0-4294967295)] <deny|permit> LINE...",
+ "no bgp extcommunity-list <(100-500)|expanded EXTCOMMUNITY_LIST_NAME> [seq (0-4294967295)] <deny|permit> LINE...",
NO_STR
BGP_STR
EXTCOMMUNITY_LIST_STR
idx = 0;
argv_find(argv, argc, "(100-500)", &idx);
- argv_find(argv, argc, "WORD", &idx);
+ argv_find(argv, argc, "EXTCOMMUNITY_LIST_NAME", &idx);
cl_number_or_name = argv[idx]->arg;
int ret = extcommunity_list_unset(bgp_clist, cl_number_or_name, str,
ALIAS(no_extcommunity_list_expanded_all,
no_bgp_extcommunity_list_expanded_all_list_cmd,
- "no bgp extcommunity-list <(100-500)|expanded WORD>",
+ "no bgp extcommunity-list <(100-500)|expanded EXTCOMMUNITY_LIST_NAME>",
NO_STR BGP_STR EXTCOMMUNITY_LIST_STR
"Extended Community list number (expanded)\n"
"Specify expanded extcommunity-list\n"
DEFUN (show_extcommunity_list_arg,
show_bgp_extcommunity_list_arg_cmd,
- "show bgp extcommunity-list <(1-500)|WORD> detail",
+ "show bgp extcommunity-list <(1-500)|EXTCOMMUNITY_LIST_NAME> detail",
SHOW_STR
BGP_STR
"List extended-community list\n"