No subject
Wed Oct 22 3:58:26 2003
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Wed, 22 Oct 2003 03:59:12 -0700
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by tigger.icir.org (8.12.9p1/8.12.3) with ESMTP id h9MAxCko085830
for <atanu@tigger.icir.org>; Wed, 22 Oct 2003 03:59:12 -0700 (PDT)
(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (fruitcake.ICSI.Berkeley.EDU [192.150.186.11])
by wyvern.icir.org (8.12.9p1/8.12.3) with ESMTP id h9MAx7H5056134;
Wed, 22 Oct 2003 03:59:07 -0700 (PDT)
(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (localhost [127.0.0.1])
by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id h9MAx1eb021408;
Wed, 22 Oct 2003 03:59:01 -0700 (PDT)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id h9MAwReb021393
for <xorp-cvs@icsi.berkeley.edu>; Wed, 22 Oct 2003 03:58:27 -0700 (PDT)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
by wyvern.icir.org (8.12.9p1/8.12.3) with ESMTP id h9MAwRH5056128
for <xorp-cvs@icir.org>; Wed, 22 Oct 2003 03:58:27 -0700 (PDT)
(envelope-from mjh@xorpc.icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
by xorpc.icir.org (8.12.9p1/8.12.3) with ESMTP id h9MAwQsd089718
for <xorp-cvs@icir.org>; Wed, 22 Oct 2003 03:58:26 -0700 (PDT)
(envelope-from mjh@xorpc.icir.org)
Received: (from mjh@localhost)
by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id h9MAwQh7089717;
Wed, 22 Oct 2003 03:58:26 -0700 (PDT)
(envelope-from mjh)
From: Mark Handley <mjh@icir.org>
Message-Id: <200310221058.h9MAwQh7089717@xorpc.icir.org>
Date: Wed, 22 Oct 2003 3:58:26 ()
To: xorp-cvs@icir.org
Reply-To: mjh@icir.org
Subject: [Xorp-cvs] XORP cvs commit: xorp/bgp/ route_table_decision.cc route_table_decision.hh
Sender: xorp-cvs-admin@icir.org
Errors-To: xorp-cvs-admin@icir.org
X-BeenThere: xorp-cvs@icir.org
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:xorp-cvs-request@icir.org?subject=help>
List-Post: <mailto:xorp-cvs@icir.org>
List-Subscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
<mailto:xorp-cvs-request@icir.org?subject=subscribe>
List-Id: Mailing list for XORP CVS commit messages <xorp-cvs.icir.org>
List-Unsubscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
<mailto:xorp-cvs-request@icir.org?subject=unsubscribe>
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Repository: xorp/bgp/
Changes by: mjh@xorpc.icir.org. 03/10/22 03:58:26
Modified files:
xorp/bgp/: route_table_decision.cc route_table_decision.hh
Log message:
Re-write of DecisionTable<A>::add_route to solve further MED problems.
test_routing2.sh/test4 and test_routing2.sh/test5 now succeed.
The situation this resolves is:
Route 1 comes along, and wins.
Route 3 comes along, and loses to route 1 on IGP distance.
Route 2 comes along, and beats route 1 at MED, but loses to route 3
on IGP distance.
Thus the arrival of route 2 causes a previously losing route to now win.
Note: delete_route and replace_route still need re-writing to be
correct. We don't have adequate tests for these yet.
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs