[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Idr] BGP MIBv2 discontinuity objects
Following back up to original list:
On Wed, Jul 16, 2008 at 03:27:30PM -0400, Joan Cucchiara wrote:
> Jeff and I talked on the phone about this one, sorry but there was
> some misunderstandings which were best clarified by an actual conversation.
>
> I'll try to recap as best as I can, and Jeff can correct me if I'm wrong,
> but
> the upshot is the bgpAfPathAttrIndex OBJECT (contained in the bgpNlriTable)
> and the bgpAfPathAttrIndex which serves as a single index for
> bgpAfPathAttrTable
> should originally contain the same value to show a relationship between
> the row in the bgpNlriTable and the bgpAfPathAttrTable. After a
> discontinuity
> the value of the bgpAfPathAttrIndex (used as an index in the
> bgpAfPathAttrTable) does
> not change, BUT the bgpAfIndex OBJECT in the bgpNlriTable could change.
bgpAfPathAttrIndex will show the relationship from the bgpNlriTable
entries and their associated bgpAfPathAttrTable entries. In the event
of a discontinuity, it is highly desired that if the contents of the
bgpAfPathAttrTable change that indexes are not re-used too quickly since
a given index may then refer to different data.
> For those implementations where the bgpAfPathAttrIndex OBJECT in the
> bgpNlriTable
> changes after a discontinuity, the relationship
> between the NLRI (Network Layer Reachability Information)
> and the related Path Attribute information is lost.
This is correct.
> This means that the bgpAfPathAttrIndex OBJECT's
> new value should not be the same value as any bgpAfPathAttrIndex in the
> bgpAfPathAttrTable, so
> if the intention is that the NLRI and the Path Attributes are not related,
> checking needs to be
> done. This will be stated more clearly.
Correct. In particular, where a BGP implementation is capable of
maintaining some state across discontinuities, it should choose indexes
in such a way as to minimize re-use of an index. The simplest possible
implementation would be to have a monotonically increasing value
(within the bounds of the wrapping of an Integer32) that was used to
for the bgpAfPathIndex. As long as the last-used value is kept between
discontinuities, this would satisfy the discontinuity concerns.
> Additionally, if implementations want to keep the relationship between the
> NLRI and the
> Path Attributes, then implementations should "save" the value of
> the bgpAfPathAttrIndex OBJECT with NLRI information (this is not saved in
> the MIB but in
> some data structure) and in the event that
> the same NLRI comes back, the original value of the bgpAfPathAttrIndex
> OBJECT can be used
> so that the relationship between the NLRI and bgpAfPathAttrEntry is
> preserved.
More precisely, when an implementation maintains state for the
bgpAfPathAttrTable (i.e. the path attribute database isn't necessarily
reset) then it MAY keep the same index values. Entries in the
bgpNlriTable MAY associate themselves with the entries in the
bgpAfPathAttrTable where they match the received reachability.
> -Joan
_______________________________________________
Idr mailing list
Idr at ietf.org
https://www.ietf.org/mailman/listinfo/idr