Re: OSPF TLVs
"Naidu, Venkata" <Venkata.Naidu@MARCONI.COM> Thu, 06 May 2004 14:46 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 KAA17689 for <ospf-archive@LISTS.IETF.ORG>; Thu, 6 May 2004 10:46:25 -0400 (EDT)
Received: from vms.dc.lsoft.com (209.119.0.2) by cherry.ease.lsoft.com (LSMTP for Digital Unix v1.1b) with SMTP id <2.00D9A80C@cherry.ease.lsoft.com>; Thu, 6 May 2004 10:46:23 -0400
Received: from PEACH.EASE.LSOFT.COM by PEACH.EASE.LSOFT.COM (LISTSERV-TCP/IP release 1.8e) with spool id 15284221 for OSPF@PEACH.EASE.LSOFT.COM; Thu, 6 May 2004 10:46:22 -0400
Received: from 169.144.68.6 by WALNUT.EASE.LSOFT.COM (SMTPL release 1.0i) with TCP; Thu, 6 May 2004 10:46:22 -0400
Received: from mailman.pit.comms.marconi.com (mailman.pit.comms.marconi.com [169.144.2.12]) by mailgate.pit.comms.marconi.com (8.12.10+Sun/8.12.10) with ESMTP id i46EkKQG025505; Thu, 6 May 2004 10:46:20 -0400 (EDT)
Received: from uspitsmsgrtr01.pit.comms.marconi.com (uspitsmsgrtr01.pit.comms.marconi.com [169.144.2.221]) by mailman.pit.comms.marconi.com (8.9.3/8.9.3) with ESMTP id KAA28543; Thu, 6 May 2004 10:46:20 -0400 (EDT)
Received: by uspitsmsgrtr01.pit.comms.marconi.com with Internet Mail Service (5.5.2653.19) id <J6HSXFJV>; Thu, 6 May 2004 10:46:20 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Message-ID: <39469E08BD83D411A3D900204840EC55FB7277@vie-msgusr-01.dc.fore.com>
Date: Thu, 06 May 2004 10:46:17 -0400
Reply-To: Mailing List <OSPF@PEACH.EASE.LSOFT.COM>
Sender: Mailing List <OSPF@PEACH.EASE.LSOFT.COM>
From: "Naidu, Venkata" <Venkata.Naidu@MARCONI.COM>
Subject: Re: OSPF TLVs
Comments: cc: "kireeti@JUNIPER.NET" <kireeti@JUNIPER.NET>
To: OSPF@PEACH.EASE.LSOFT.COM
Precedence: list
Kireeti,
Good that you are listening to this :-)
-> > You appear to be precluding TLVs from having any length
-> that is not a
-> > multiple of four bytes. This seems unnecessary.
->
-> (I don't think Venkata says that. But then again, he can chime in.)
->
-> > What we currently have is a rule that tells you how to
-> encode a TLV into an
-> > OSPF LSA if it is not a multiple of four bytes.
-> > You have a separate rule that says that a specific TLV has
-> some reserved
-> > bytes.
->
-> If a TLV has reserved bits/bytes that it explicitly defines, that's
-> just part of the Value field as far as the TLV is concerned.
->
-> > Why do we need to make any changes?
->
-> Why indeed? :-)
Let me try one more time. I didn't ask for any change(s).
I am giving the below modified RFC 3630 figure to better understand
the issue at hand.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Value Current... |
. .
. .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
. Value Reserved... .
. .
. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
. | Pad ... (0-3 octet) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Adrain said: if there is "reserved space" inside the Value
field, that must be included in the Length field.
I said: In such an interal "reserved space" case, there must
be some way to know the boundary to parse and seperate the
"Current value" field and "Reserved value" field. If the Length
field signifies both "Currnet + Reserved" values then the only
way to know the boundary is by Type field.
Both of us agreed on:
1. Renaming "internal value padding" to "Reserved Value"
2. Four octet boundary padding length (0-3 octets) will NOT
be included in the Length field.
Now please tell me, am I clear this time ? :)
If I am wrong, where am I ?
-> > The only change that might be of use would be to change
-> the name of any
-> > field that is included in a TLV from "padding" to
-> "reserved" to avoid
-> > confusion.
->
-> Good idea.
Agree.
Venkata.
- Re: OSPF TLVs Kireeti Kompella
- Re: OSPF TLVs Acee Lindem
- Re: OSPF TLVs Naidu, Venkata
- Re: OSPF TLVs Kireeti Kompella