Re: [Isis-wg] Alexey Melnikov's Discuss on draft-ietf-isis-rfc4971bis-03: (with DISCUSS and COMMENT)

Hannes Gredler <hannes@gredler.at> Thu, 18 August 2016 17:03 UTC

Return-Path: <hannes@gredler.at>
X-Original-To: isis-wg@ietfa.amsl.com
Delivered-To: isis-wg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EE8F912DE9E; Thu, 18 Aug 2016 10:03:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.147
X-Spam-Level:
X-Spam-Status: No, score=-3.147 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.247] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KPng-KDNC39R; Thu, 18 Aug 2016 10:03:57 -0700 (PDT)
Received: from gilfert.gredler.at (gilfert.gredler.at [87.106.222.165]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D0F2B12DAC1; Thu, 18 Aug 2016 10:03:50 -0700 (PDT)
Received: from [192.168.2.15] ([::ffff:122.166.206.43]) (AUTH: PLAIN hannes, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by gilfert.gredler.at with ESMTPSA; Thu, 18 Aug 2016 19:03:45 +0200 id 000000000335411F.0000000057B5EA71.000042C5
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (1.0)
From: Hannes Gredler <hannes@gredler.at>
X-Mailer: iPhone Mail (13G34)
In-Reply-To: <f05c06635b594e0a8ce0bda59184a31a@XCH-ALN-001.cisco.com>
Date: Thu, 18 Aug 2016 22:33:39 +0530
Content-Transfer-Encoding: quoted-printable
Message-Id: <3730AEA3-428F-4150-AD84-F96E7F0E8D3E@gredler.at>
References: <147136220282.22903.10134856216046001373.idtracker@ietfa.amsl.com> <16512c4a95214a36972736635f275ba6@XCH-ALN-001.cisco.com> <1471514324.3079848.698914785.71D940DF@webmail.messagingengine.com> <f05c06635b594e0a8ce0bda59184a31a@XCH-ALN-001.cisco.com>
To: "Les Ginsberg (ginsberg)" <ginsberg@cisco.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/isis-wg/iasyJHmTLBxpYysKRrJPcSNPRyk>
Cc: "isis-chairs@ietf.org" <isis-chairs@ietf.org>, Alexey Melnikov <aamelnikov@fastmail.fm>, Christian Hopps <chopps@chopps.org>, The IESG <iesg@ietf.org>, "draft-ietf-isis-rfc4971bis@ietf.org" <draft-ietf-isis-rfc4971bis@ietf.org>, "isis-wg@ietf.org" <isis-wg@ietf.org>
Subject: Re: [Isis-wg] Alexey Melnikov's Discuss on draft-ietf-isis-rfc4971bis-03: (with DISCUSS and COMMENT)
X-BeenThere: isis-wg@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: IETF IS-IS working group <isis-wg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/isis-wg>, <mailto:isis-wg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/isis-wg/>
List-Post: <mailto:isis-wg@ietf.org>
List-Help: <mailto:isis-wg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/isis-wg>, <mailto:isis-wg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Aug 2016 17:04:00 -0000

alexey,

i second Les' observation. the TLV-adding semantics of the router-CAP TLV (and other TLVs like IP prefix TLV) are well understood  - even by junior implementers and IMO do not need explicitly be mentioned. Furthermore historically we just did document deviations ( if any)  from that rule of thumb.

/hannes

> On 18 Aug 2016, at 18:48, Les Ginsberg (ginsberg) <ginsberg@cisco.com> wrote:
> 
> Alexey -
> 
> The document states in Section 2:
> 
> " The Router CAPABILITY TLV is OPTIONAL.  As specified in Section 3,
>   more than one Router CAPABILITY TLV from the same source MAY be
>   present."
> 
> This clearly allows multiple CAPABILITY TLVs from the same source to be present. Why? Because the basic unit of advertisement in IS-IS is a TLV - in this case one which is intended to include multiple sub-TLVs. As the value field of a  TLV is limited in size to 255 bytes if a router has more than 255 bytes of CAPABILITY information to advertise then multiple TLVs will be required. This isn't a "trick" - it is fundamental to the operation of IS-IS. 
> 
> It is unclear to me how you could interpret the above text as meaning that multiple CAPABILITY TLVs from the same source are either disallowed or unexpected.
> 
> I appreciate that you may not be an expert in IS-IS and some fundamentals may be unfamiliar to you. That is why the document provides references to the base specifications which provide these definitions.  A new implementer of the protocol could not write an implementation solely based on this document - and it is not reasonable to request that this document be written without dependencies on the base specifications.
> 
>   Les
> 
>> -----Original Message-----
>> From: Alexey Melnikov [mailto:aamelnikov@fastmail.fm]
>> Sent: Thursday, August 18, 2016 2:59 AM
>> To: Les Ginsberg (ginsberg); The IESG
>> Cc: draft-ietf-isis-rfc4971bis@ietf.org; Christian Hopps; isis-chairs@ietf.org;
>> isis-wg@ietf.org
>> Subject: Re: Alexey Melnikov's Discuss on draft-ietf-isis-rfc4971bis-03: (with
>> DISCUSS and COMMENT)
>> 
>> Hi Les,
>> 
>>> On Tue, Aug 16, 2016, at 05:56 PM, Les Ginsberg (ginsberg) wrote:
>>> Alexey -
>> 
>> [snip]
>>>> --------------------------------------------------------------------
>>>> --
>>>> DISCUSS:
>>>> --------------------------------------------------------------------
>>>> --
>>>> 
>>>> I would like to get clarification on the following points before
>>>> recommending approval of this document:
>>>> 
>>>> 1) How do multiple CAPABILITY TLVs from the same source treated, if
>>>> they have the same S and D flags, but different subTLV? Are the
>>>> cumulative? Or this is not allowed?
>>>> I am sorry if I missed where this was described, let me know if I did.
>>> 
>>> [Les:] Section 2 states:
>>> 
>>> " The Router CAPABILITY TLV is OPTIONAL.  As specified in Section 3,
>>>   more than one Router CAPABILITY TLV from the same source MAY be
>>>   present."
>>> 
>>> The only problematic case is when you have two TLVs from the same
>>> source which have different settings for the same attribute i.e. same
>>> sub-TLV but different values. This case is discussed in detail in Section 3.
>>> Different sub-TLVs presents no issue of course.
>>> Note this text is unchanged from the existing RFC.
>> 
>> What happens in real world if there are two CAPABILITY TLVs which contain
>> different attributes? Are they treated as cumulative (i.e. this is a nice trick to
>> overcome CAPABILITY TLV length limit), does the second CAPABILITY  TLV
>> value always overrides earlier instances of the CAPABILITY TLV?
>> 
>> I think the document should state what happens. If there is no consistent
>> behaviour in this area, the document should says so as well.
> 
> _______________________________________________
> Isis-wg mailing list
> Isis-wg@ietf.org
> https://www.ietf.org/mailman/listinfo/isis-wg