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

Pavlin Radoslavov pavlin@icir.org
Tue, 19 Jul 2005 07:08:18 GMT


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

XORP CVS repository


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

Log message:
	Add new class CliCommandMatch and use it to pass information around
	about CliCommand nodes (e.g., when using callbacks to dynamically add
	children nodes on-the-fly).
	
	This allows us to pass more information about child CliCommand nodes,
	and to set properly some of their properties (e.g., whether a CliCommand
	node is executable, etc).
	
	The above change fixes a bug with the executional permissions of some
	commands. E.g., previously a command like, say, "show igmp interface"
	was allowed to be dispatched even though the IGMP module was not
	running.

Revision  Changes                                 Path
1.15      +14 -17;  commitid: 11c5d42dca5987ea6;  xorp/cli/cli_command.cc
1.13      +23 -5;  commitid: 11c5d42dca5987ea6;   xorp/cli/cli_command.hh
1.72      +84 -51;  commitid: 11c5d42dca5987ea6;  xorp/rtrmgr/cli.cc
1.31      +5 -10;  commitid: 11c5d42dca5987ea6;   xorp/rtrmgr/cli.hh
1.51      +31 -35;  commitid: 11c5d42dca5987ea6;  xorp/rtrmgr/op_commands.cc
1.29      +3 -7;  commitid: 11c5d42dca5987ea6;    xorp/rtrmgr/op_commands.hh