Revision 8a7fb885 nest/config.Y

View differences:

nest/config.Y
45 45
CF_KEYWORDS(PASSWORD, FROM, PASSIVE, TO, ID, EVENTS, PACKETS, PROTOCOLS, INTERFACES)
46 46
CF_KEYWORDS(PRIMARY, STATS, COUNT, FOR, COMMANDS, PREEXPORT, GENERATE)
47 47
CF_KEYWORDS(LISTEN, BGP, V6ONLY, ADDRESS, PORT, PASSWORDS, DESCRIPTION)
48
CF_KEYWORDS(RELOAD, REFEED)
48
CF_KEYWORDS(RELOAD, IN, OUT)
49 49

  
50 50
CF_ENUM(T_ENUM_RTS, RTS_, DUMMY, STATIC, INHERIT, DEVICE, STATIC_DEVICE, REDIRECT,
51 51
	RIP, OSPF, OSPF_IA, OSPF_EXT1, OSPF_EXT2, BGP, PIPE)
......
438 438
 ;
439 439

  
440 440
CF_CLI(DISABLE, proto_patt, <protocol> | \"<pattern>\" | all, [[Disable protocol]])
441
{ proto_xxable($2, 0); } ;
441
{ proto_xxable($2, XX_DISABLE); } ;
442 442
CF_CLI(ENABLE, proto_patt, <protocol> | \"<pattern>\" | all, [[Enable protocol]])
443
{ proto_xxable($2, 1); } ;
443
{ proto_xxable($2, XX_ENABLE); } ;
444 444
CF_CLI(RESTART, proto_patt, <protocol> | \"<pattern>\" | all, [[Restart protocol]])
445
{ proto_xxable($2, 2); } ;
445
{ proto_xxable($2, XX_RESTART); } ;
446 446
CF_CLI(RELOAD, proto_patt, <protocol> | \"<pattern>\" | all, [[Reload protocol]])
447
{ proto_xxable($2, 3); } ;
448
CF_CLI(REFEED, proto_patt, <protocol> | \"<pattern>\" | all, [[Refeed protocol BROKEN]])
449
{ proto_xxable($2, 4); } ;
450

  
451

  
447
{ proto_xxable($2, XX_RELOAD); } ;
448
CF_CLI(RELOAD IN, proto_patt, <protocol> | \"<pattern>\" | all, [[Reload protocol (just imported routes)]])
449
{ proto_xxable($3, XX_RELOAD_IN); } ;
450
CF_CLI(RELOAD OUT, proto_patt, <protocol> | \"<pattern>\" | all, [[Reload protocol (just exported routes)]])
451
{ proto_xxable($3, XX_RELOAD_OUT); } ;
452 452

  
453 453
CF_CLI_HELP(DEBUG, ..., [[Control protocol debugging]])
454 454
CF_CLI(DEBUG, proto_patt debug_mask, (<protocol> | <pattern> | all) (all | off | { states | routes | filters | events | packets }), [[Control protocol debugging]])

Also available in: Unified diff