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

Alia Atlas <akatlas@gmail.com> Thu, 18 August 2016 12:35 UTC

Return-Path: <akatlas@gmail.com>
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 51C5D12DCE0; Thu, 18 Aug 2016 05:35:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.699
X-Spam-Level:
X-Spam-Status: No, score=-102.699 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 Vz2rDBV0vD3a; Thu, 18 Aug 2016 05:35:41 -0700 (PDT)
Received: from mail-qk0-x22a.google.com (mail-qk0-x22a.google.com [IPv6:2607:f8b0:400d:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 01AEF12DCE2; Thu, 18 Aug 2016 05:32:57 -0700 (PDT)
Received: by mail-qk0-x22a.google.com with SMTP id v123so14166378qkh.2; Thu, 18 Aug 2016 05:32:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=lT1rYMSpO6uDn70IyhVgcJixgFCYR9jbITADCPnRx6A=; b=hUTzEzP+1fjIo/Wl+3tPyXkrcbo/ZPLSQzrNvvn6Ssrcv1OMqFEJxArPFnkTqjW0TZ mC7qvvwjMdV2urVyiEODfQpu+/J+Dhn3AzZrLSprk7R9gTHPNmb/QV8F86kHchN6sz6f dw8J5KOrm/mgEsJiUCJRKfNUUx36y1s6R24KfrsNhv/JXbeCDOnGBHJXBy6uZ4X8ekRC vbpa30NffajNjy7hYSB+S3gx/1wd8fZS4+Fz1B82Msoy/VnteQpqH1YIl3nHmBiH27O2 ut9WYJGyjMM2LICz6mq0/NtZJfVqofzbwSx9dV8Zboo3EVCPeB/G2Kjn5YxEmeYcGAbt 11Sg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=lT1rYMSpO6uDn70IyhVgcJixgFCYR9jbITADCPnRx6A=; b=E9FLL61Mrg+LlmufQAUgpZRBHM+jbJoSDZa6N+qs/MT7o/oVR+tzqyI+Wc3LHEXfEC fy7COzU/BLW5J4hLGwQIjKB9INWraDsG/9sUHcQ/w5M9IPg1W0rKJVA0oHetWFY8ewCm ocCMvxCXvMReAqcPdCvZ77lCtc1Rjoe/FPjZdj2mRuJwSiz2BRaApBcszLf88B06TCTj y19WgOSn35DLKQuFJ3X2cMitdkKWts2SE/4G1gD+pw1H05T57D8pCsX/EYGudDS/Rt2V p792GomDwSZos8C6u727d8tZyL3e80LjNItNpTymi8pPECEEmmRP2M8EH2h5kfd/cPTL 2czw==
X-Gm-Message-State: AEkoouuJ6xsT+R6QfBqk8VkvB0xLeAADt/ZC9tS+pHFk7IdLk9XmfVd5eq6yuktwq/yiRbHF5D2hFSArM0/oyQ==
X-Received: by 10.55.116.1 with SMTP id p1mr2006024qkc.197.1471523576130; Thu, 18 Aug 2016 05:32:56 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.237.52.193 with HTTP; Thu, 18 Aug 2016 05:32:55 -0700 (PDT)
In-Reply-To: <1471514324.3079848.698914785.71D940DF@webmail.messagingengine.com>
References: <147136220282.22903.10134856216046001373.idtracker@ietfa.amsl.com> <16512c4a95214a36972736635f275ba6@XCH-ALN-001.cisco.com> <1471514324.3079848.698914785.71D940DF@webmail.messagingengine.com>
From: Alia Atlas <akatlas@gmail.com>
Date: Thu, 18 Aug 2016 08:32:55 -0400
Message-ID: <CAG4d1rd-wh2cN0=ixLfkWT=b1CgDXrShgmiKuiw_Kan8XPSThw@mail.gmail.com>
To: Alexey Melnikov <aamelnikov@fastmail.fm>
Content-Type: multipart/alternative; boundary="001a1148799608b669053a57c832"
Archived-At: <https://mailarchive.ietf.org/arch/msg/isis-wg/5d74Wt4mhaSCxcTQNSJHYQqIids>
Cc: "Les Ginsberg (ginsberg)" <ginsberg@cisco.com>, isis-chairs@ietf.org, Christian Hopps <chopps@chopps.org>, "isis-wg@ietf.org" <isis-wg@ietf.org>, The IESG <iesg@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 12:35:43 -0000

Hi Alexey,

On Thu, Aug 18, 2016 at 5:58 AM, Alexey Melnikov <aamelnikov@fastmail.fm>
wrote:

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

First, with IS-IS flooding, there is no defined order in which different
TLVs can be
assumed to be received.  It isn't possible to do a "first-in" or "last-in"
tie-breaker
because the TLVs can be received in different order at different routers.

Second, the entire content of the CAPABILITY TLV is a set of flags,
currently
used solely to control how the TLV is distributed between IS-IS level 1 and
IS-IS
level 2, and optional sub-TLVs.

It would be possible for additional of the reserved flags to be, in theory,
allocated
in which case they would also represent an "attribute" of the CAPABILITY
TLV.
Currently, only sub-TLVs have been defined; each individually may contain
multiple
pieces of information.  What is considered "the same attribute" could vary
by sub-TLV
or be the whole sub-TLV.  For instance, in RFC 4972, "IS-IS TE-MESH-GROUP
sub-TLV may contain one or more mesh-group entries"

The document already specifies "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."

Regards,
Alia