[Xorp-cvs] XORP cvs commit: xorp/rtrmgr

Pavlin Radoslavov pavlin@icir.org
Thu, 18 Aug 2005 00:11:20 GMT


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin@xorpc.icir.org	2005-08-18 00:11:20 UTC

XORP CVS repository


Modified files:
	rtrmgr        cli.cc op_commands.cc op_commands.hh 

Log message:
	* Modify method OpCommandList::top_level_commands() to return a map
	  of CliCommandMatch entries. Also, don't include top-level commands
	  that correspond to modules that are not active.
	
	* Fix RouterCLI::add_op_mode_commands() so it sets appropriately
	  the process callback and the interrupt callback for the top-level
	  commands. This fixes a bug where top-level operational commands
	  couldn't be configured to run an external program.
	
	* Add new method OpCommand::can_pipe()
	
	* Minor cleanup in OpCommand::get_matches()

Revision  Changes                                 Path
1.90      +20 -9;  commitid: 11afe4303d12f7ea6;   xorp/rtrmgr/cli.cc
1.54      +29 -20;  commitid: 11afe4303d12f7ea6;  xorp/rtrmgr/op_commands.cc
1.30      +3 -2;  commitid: 11afe4303d12f7ea6;    xorp/rtrmgr/op_commands.hh