[Xorp-cvs] XORP cvs commit: xorp/etc/templates
Pavlin Radoslavov
pavlin at icir.org
Tue Mar 27 17:37:09 PDT 2007
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin at xorpc.icir.org 2007-03-28 00:37:09 UTC
XORP CVS repository
Modified files:
etc/templates bgp.tp
Log message:
Changes related to fixing policy-related race condition when
BGP might start and leak routes before the policy configuration
has been received.
The high level idea is that the policy manager will always
send push_routes XRL to BGP even if there is no policy
configuration.
Then, on the BGP side the BGP processing will start only after it
has received push_routes XRL from the policy manager.
This change here is the part that makes sure that the policy manager
will always send a push_routes XRL to BGP even if there is
no policy configuration.
Note that BGP depends on the policy manager (as defined in the rtrmgr
template files), hence the policy manager will always be running
before BGP has started.
The details of the changes are:
* Move all the BGP-related add_varmap policy XRLs inside the
bgp template block.
Thus, the policy manager will be properly configured even
if the "policy {}" configuration block is empty.
* Always send an export or an import BGP policy statement to the
policy manager even if the policy statement is empty.
This change is needed for Bugzilla entry #698
Bugzilla URL: http://www.xorp.org/bugzilla/show_bug.cgi?id=698
Approved by: Atanu Ghosh
Revision Changes Path
1.94 +22 -18; commitid: 914d4609b5ae7ea6; xorp/etc/templates/bgp.tp
More information about the Xorp-cvs
mailing list