No subject
Mon Feb 28 08:13:46 2005
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Mon, 28 Feb 2005 00:14:01 -0800
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by tigger.icir.org (8.12.11/8.12.8) with ESMTP id j1S8E1Up017649
for <atanu@tigger.icir.org>; Mon, 28 Feb 2005 00:14:01 -0800 (PST)
(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.8) with ESMTP id j1S8E02Z003053
for <atanu@icir.org>; Mon, 28 Feb 2005 00:14:00 -0800 (PST)
(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 j1S8E0v4003699;
Mon, 28 Feb 2005 00:14:00 -0800 (PST)
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 j1S8Dkv4003690
for <xorp-cvs@icsi.berkeley.edu>; Mon, 28 Feb 2005 00:13:46 -0800 (PST)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
by wyvern.icir.org (8.12.9p1/8.12.8) with ESMTP id j1S8Dk2Z003051
for <xorp-cvs@icir.org>; Mon, 28 Feb 2005 00:13:46 -0800 (PST)
(envelope-from pavlin@icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
by xorpc.icir.org (8.12.11/8.12.8) with ESMTP id j1S8DkK4093142
for <xorp-cvs@icir.org>; Mon, 28 Feb 2005 00:13:46 -0800 (PST)
(envelope-from pavlin@xorpc.icir.org)
Received: (from pavlin@localhost)
by xorpc.icir.org (8.12.11/8.12.3/Submit) id j1S8DkD0093141
for xorp-cvs@icir.org; Mon, 28 Feb 2005 08:13:46 GMT
(envelope-from pavlin)
Date: Mon, 28 Feb 2005 08:13:46 GMT
From: Pavlin Radoslavov <pavlin@icir.org>
Message-Id: <200502280813.j1S8DkD0093141@xorpc.icir.org>
To: xorp-cvs@icir.org
X-XORP-CVS-Branch: HEAD
Subject: [Xorp-cvs] XORP cvs commit: xorp/fea
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
Changes by: pavlin@xorpc.icir.org 2005-02-28 08:13:46 UTC
XORP CVS repository
Modified files:
fea ifconfig.cc ifconfig.hh ifconfig_set.cc
ifconfig_set.hh ifconfig_set_dummy.cc iftree.cc
iftree.hh
Log message:
* Add a new flag "discard_emulated" to IfTree, that is used to
indicate if a discard interface has to be emulated by the
underlying system.
* Change slightly the IfConfig::push_config() and
IfConfigSet::push_config() semantics, so now the pushed IfTree
may be modified on return.
Further, we save a copy of the pushed config inside
IfConfig::push_config() only on success.
* Set the "discard_emulated" flag by testing the underlying drivers
capabilities inside IfConfig::push_config() when the IfTree
configuration is pushed.
* Modify IfTree::align_width() such that if an interface from the
local tree is marked as "soft" or "discard_emulated", and is not
in the other tree, the interface is not marked as deleted in the
local tree.
The above modifications fix a problem when the emulated discard
interfaces disappear from the FEA configuration when we try
to syncronize the FEA's interface tree with that observed within the
running system.
Bug found by: Bruce Simpson
Revision Changes Path
1.43 +15 -11 xorp/fea/ifconfig.cc
1.41 +7 -5 xorp/fea/ifconfig.hh
1.23 +8 -4 xorp/fea/ifconfig_set.cc
1.33 +9 -3 xorp/fea/ifconfig_set.hh
1.18 +2 -2 xorp/fea/ifconfig_set_dummy.cc
1.25 +13 -4 xorp/fea/iftree.cc
1.27 +12 -1 xorp/fea/iftree.hh
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs