[Xorp-cvs] XORP cvs commit: xorp/bgp xorp/policy/backend xorp/policy/common

Marko Zec zec@icir.org
Wed, 17 Aug 2005 16:39:27 GMT


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	zec@xorpc.icir.org	2005-08-17 16:39:27 UTC

XORP CVS repository


Modified files:
	bgp           route_table_policy.cc 
	policy/backend iv_exec.cc policy_filter.cc 
	policy/common varrw.cc varrw.hh 

Log message:
	Implicitly turn off generation of any trace strings during policy
	execution.  If a policy determines that a trace is needed, rerun
	the same policy on a copy of the original route message with
	tracing explicitly enabled.  This should prevent a major waste of
	CPU cycles when policy traces are not required, which would be
	roughly 100% of normal operational scenarios.
	
	Currenlty only BGP reruns the policy to obtain a trace if needed.
	
	TODO: revisit all other protocols if this model works OK for BGP.

Revision  Changes                                Path
1.13      +10 -1;  commitid: 14eb34303661e7ea6;  xorp/bgp/route_table_policy.cc
1.6       +3 -1;  commitid: 14eb34303661e7ea6;   xorp/policy/backend/iv_exec.cc
1.6       +2 -2;  commitid: 14eb34303661e7ea6;   xorp/policy/backend/policy_filter.cc
1.3       +8 -5;  commitid: 14eb34303661e7ea6;   xorp/policy/common/varrw.cc
1.5       +15 -1;  commitid: 14eb34303661e7ea6;  xorp/policy/common/varrw.hh