[Xorp-cvs] XORP cvs commit: xorp/etc/templates xorp/static_routes xorp/xrl/interfaces xorp/xrl/targets
Pavlin Radoslavov
pavlin at icir.org
Mon Jan 22 17:57:39 PST 2007
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin at xorpc.icir.org 2007-01-23 01:57:39 UTC
XORP CVS repository
Modified files:
etc/templates static_routes.tp
static_routes static_routes_node.cc static_routes_node.hh
xrl_static_routes_node.cc xrl_static_routes_node.hh
xrl/interfaces static_routes.xif static_routes_xif.cc
static_routes_xif.hh
xrl/targets static_routes.xrls static_routes_base.cc
static_routes_base.hh
Log message:
Implement support for floating static routes (i.e., static routes
for the same prefix with different next hop and metrics).
A floating static route (also called "qualified" by some router
vendors) can be added with a configuration like:
protocols {
static {
route 10.10.0.0/16 {
next-hop: 1.1.1.1
metric: 1
qualified-next-hop 1.1.1.2 {
metric: 10
}
}
interface-route 10.30.30.0/24 {
next-hop-interface: "rl0"
next-hop-vif: "rl0"
next-hop-router: 1.2.3.4
metric: 1
qualified-next-hop-interface rl0 {
qualified-next-hop-vif rl0 {
next-hop-router: 5.6.7.8
metric: 10
}
}
}
}
}
This fixes Bugzilla entry #165.
Bugzilla URL: http://www.xorp.org/bugzilla/show_bug.cgi?id=165
Revision Changes Path
1.41 +221 -33; commitid: 385045b569c97ea6; xorp/etc/templates/static_routes.tp
1.35 +262 -97; commitid: 385045b569c97ea6; xorp/static_routes/static_routes_node.cc
1.25 +78 -16; commitid: 385045b569c97ea6; xorp/static_routes/static_routes_node.hh
1.36 +354 -20; commitid: 385045b569c97ea6; xorp/static_routes/xrl_static_routes_node.cc
1.20 +151 -4; commitid: 385045b569c97ea6; xorp/static_routes/xrl_static_routes_node.hh
1.4 +82 -7; commitid: 385045b569c97ea6; xorp/xrl/interfaces/static_routes.xif
1.11 +505 -1; commitid: 385045b569c97ea6; xorp/xrl/interfaces/static_routes_xif.cc
1.9 +275 -2; commitid: 385045b569c97ea6; xorp/xrl/interfaces/static_routes_xif.hh
1.11 +66 -7; commitid: 385045b569c97ea6; xorp/xrl/targets/static_routes.xrls
1.12 +431 -11; commitid: 385045b569c97ea6; xorp/xrl/targets/static_routes_base.cc
1.13 +179 -4; commitid: 385045b569c97ea6; xorp/xrl/targets/static_routes_base.hh
More information about the Xorp-cvs
mailing list