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

Alexey Melnikov <aamelnikov@fastmail.fm> Thu, 18 August 2016 13:31 UTC

Return-Path: <aamelnikov@fastmail.fm>
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 1E4B512DE3E; Thu, 18 Aug 2016 06:31:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.72
X-Spam-Level:
X-Spam-Status: No, score=-2.72 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=fastmail.fm header.b=dC+QrD85; dkim=pass (1024-bit key) header.d=messagingengine.com header.b=PPhvFkoi
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 JYpmC7oSyfTH; Thu, 18 Aug 2016 06:31:13 -0700 (PDT)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3516E12DE64; Thu, 18 Aug 2016 06:31:10 -0700 (PDT)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 673EC205BC; Thu, 18 Aug 2016 09:31:09 -0400 (EDT)
Received: from web5 ([10.202.2.215]) by compute6.internal (MEProxy); Thu, 18 Aug 2016 09:31:09 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=bV47PyE0jDJBKMA8tLdRdJMMcy4=; b=dC+QrD 85MdcwBwqAhPMCw4A/BTYNLAWBB8K0VUmh4U+9ThewxpiYCwLXUfgqXMxC6IXvKV 7fNrXp6XB4bJKGAMvoF4HeuHUY4tAN9l/y9B38C+sG+LLOwc1WyGgVZNvlOS6K7+ vT1HyvcMazqWolioP0jpRWvu+HwdARbbR6FHA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=bV47PyE0jDJBKMA 8tLdRdJMMcy4=; b=PPhvFkoizXCVFHEHP70tHENIADND8AJx3bq4EHQEDxDcfWn mat4ulVpsz9Ci5ZiFVyvB8h5WaSDZCB9i6DxbBjVfpwcaZXeEi4w4wbRNOy3L4zH i4G1SqwPHT0NwgNCIeVH3tIWDMmGL++vqu5iu5WhOQsJWeYLjg/7axdvHXs4=
Received: by mailuser.nyi.internal (Postfix, from userid 99) id 31A9996C1F; Thu, 18 Aug 2016 09:31:09 -0400 (EDT)
Message-Id: <1471527069.3117815.699084369.75C0196E@webmail.messagingengine.com>
X-Sasl-Enc: l7VwNiImN9jiSiwsagW49hs1Cyio2FRaOoN20sKmgVIU 1471527069
From: Alexey Melnikov <aamelnikov@fastmail.fm>
To: "Les Ginsberg (ginsberg)" <ginsberg@cisco.com>, The IESG <iesg@ietf.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain
X-Mailer: MessagingEngine.com Webmail Interface - ajax-b25c4c74
In-Reply-To: <f05c06635b594e0a8ce0bda59184a31a@XCH-ALN-001.cisco.com>
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>
Date: Thu, 18 Aug 2016 14:31:09 +0100
Archived-At: <https://mailarchive.ietf.org/arch/msg/isis-wg/06jEIn6Iho8h0g4Kmc42F57_UAg>
Cc: isis-wg@ietf.org, Christian Hopps <chopps@chopps.org>, isis-chairs@ietf.org, draft-ietf-isis-rfc4971bis@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 13:31:16 -0000

Hi Les,

On Thu, Aug 18, 2016, at 02:18 PM, Les Ginsberg (ginsberg) 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. 

I was actually looking for this text in the document and didn't find it.
Can you just say this in the document?

> 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.

The text in Section 3:

   Where a receiving system has two copies of a CAPABILITY TLV from the
   same system that have different settings for a given attribute, the
   procedure used to choose which copy shall be used is undefined.

is telling me that in some cases behaviour with multiple CAPABILITY TLVs
is undefined. I was trying to figure out what are the conditions, thus
all my questions in this thread.

So obviously I am missing something. Can you please help me understand
how the two statements are not in conflict?

> 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.

Of course not. I was trying to get a copy of the base spec, but it looks
like I need to pay for it.

>    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.