Re: OSPFv2 Opaque LSAs in OSPFv3

Bill Fenner <fenner@RESEARCH.ATT.COM> Wed, 16 October 2002 03:50 UTC

Received: from cherry.ease.lsoft.com (cherry.ease.lsoft.com [209.119.0.109]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA23014 for <ospf-archive@LISTS.IETF.ORG>; Tue, 15 Oct 2002 23:50:32 -0400 (EDT)
Received: from walnut (209.119.0.61) by cherry.ease.lsoft.com (LSMTP for Digital Unix v1.1b) with SMTP id <22.0077337D@cherry.ease.lsoft.com>; Tue, 15 Oct 2002 23:52:41 -0400
Received: from DISCUSS.MICROSOFT.COM by DISCUSS.MICROSOFT.COM (LISTSERV-TCP/IP release 1.8e) with spool id 298373 for OSPF@DISCUSS.MICROSOFT.COM; Tue, 15 Oct 2002 23:52:41 -0400
Received: from 135.207.30.102 by WALNUT.EASE.LSOFT.COM (SMTPL release 1.0f) with TCP; Tue, 15 Oct 2002 23:52:41 -0400
Received: from alliance.research.att.com (alliance.research.att.com [135.207.26.26]) by mail-blue.research.att.com (Postfix) with ESMTP id D69A64CF6B for <OSPF@DISCUSS.MICROSOFT.COM>; Tue, 15 Oct 2002 23:52:40 -0400 (EDT)
Received: from windsor.research.att.com (windsor.research.att.com [135.207.26.46]) by alliance.research.att.com (8.8.7/8.8.7) with ESMTP id XAA10695 for <OSPF@DISCUSS.MICROSOFT.COM>; Tue, 15 Oct 2002 23:52:40 -0400 (EDT)
Received: (from fenner@localhost) by windsor.research.att.com (8.8.8+Sun/8.8.5) id UAA19886; Tue, 15 Oct 2002 20:52:39 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Versions: dmail (solaris) 2.5a/makemail 2.9d
Message-ID: <200210160352.UAA19886@windsor.research.att.com>
Date: Tue, 15 Oct 2002 20:52:38 -0700
Reply-To: Mailing List <OSPF@DISCUSS.MICROSOFT.COM>
Sender: Mailing List <OSPF@DISCUSS.MICROSOFT.COM>
From: Bill Fenner <fenner@RESEARCH.ATT.COM>
Subject: Re: OSPFv2 Opaque LSAs in OSPFv3
To: OSPF@DISCUSS.MICROSOFT.COM
Precedence: list

To avoid misunderstandings: although I am contributing to this discussion
because I am an AD, this message is a technical contribution, not a ruling
from on high.  I'd like to actually have the discussion, not make a mandate,
so please treat this like you would treat a technical contribution from
anyone else.

Kireeti says:
>there are a *small* number of
>currently defined Opaque LSAs -- TE, Grace LSA, and perhaps one more.
>If we analyse the applicability of those LSAs to OSPF v3, and mandate
>that any future definition of an OSPFv2 Opaque LSA MUST have a similar
>analysis, that seems to me to address the "backdoor" problem.

Let's step back half a step and look at this solution -- documenting
the v3 applicability of the existing Opaque LSAs and requiring documentation
of same on future LSAs -- vs. allocating a new OSPFv3 LSA type for each
OSPFv2 Opqaue LSA type.

Boiling it down to the basics, OSPFv2 Opaque LSAs have a flooding
scope (type 9, 10 or 11), an 8-bit type and a 24-bit LS [Opaque] ID.
All OSPFv3 LSAs have a flooding scope (the top 2 bits of the LS Type),
a 14-bit type and a 32-bit LS ID.

Given this, why is it better to allocate a single OSPFv3 type for
this purpose?  Presumably, the real place that code reuse comes into
play is in parsing the contents of the LSA, not the header; the OSPFv2
and OSPFv3 headers are only subtly different but different enough that
you're not going to use the same code to parse both of them anyway.

Using the native OSPFv3 LSA format instead of a copied Opaque format
gives you more bits in the type space and more bits in the LS ID.
It also gives you the flexibility to standardize independently;
you may want to standardize an OSPFv2 Opaque LSA before the implications
of that type on OSPFv3 is fully understood.  With a shared space,
and your suggestion of analyzing the OSPFv3 implications of any Opaque
LSA, that wouldn't be allowed.  Finally, it also allows a proposal to
utilize the OSPFv3 U bit, if the non-global behavior is desired.

Perhaps I'm missing something, but it seems that saying "OSPFv2
type-10 LSA opaque type #4, OSPFv3 type-0xa014, LSA contents ____" is
not significantly different than saying "OSPFv2 type-10 LSA, OSPFv3
type-(whatever 10 maps to) LSA, opaque type #4, LSA contents ____".

  Bill