Re: [6lo] instance ID in rfc6775 update

Yan Filyurin <yanf787@gmail.com> Thu, 12 April 2018 16:37 UTC

Return-Path: <yanf787@gmail.com>
X-Original-To: 6lo@ietfa.amsl.com
Delivered-To: 6lo@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7ED071275FD; Thu, 12 Apr 2018 09:37:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.448
X-Spam-Level:
X-Spam-Status: No, score=-2.448 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] 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 uoBLk35pjk4d; Thu, 12 Apr 2018 09:37:35 -0700 (PDT)
Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (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 3D66C124E15; Thu, 12 Apr 2018 09:37:35 -0700 (PDT)
Received: by mail-io0-x235.google.com with SMTP id v13so7020052iob.6; Thu, 12 Apr 2018 09:37:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=wLQnLjoZVA8A0320TEFhi5yWihAkMLMyNUB97P6zAHw=; b=b8HWbwtr3t0wesMGZ/ld037wrZvFrLphkNO/+nnMTMmNK0snF20Er7+AyCUZD656vr LGLpcshu6bIXFeKHTCGLHqtin9z0NhMEXpSHY8FhDeQtAS47kV8/m9j8bJsm4hOodOMy bvLsBwOKZyaf0VR37m0mOP9tqdpFJ6j8nA7yG3iEqcTXhwi5ArQokandavSDwMUeRuiv o8vKOhjRqFVPjbjwSxkiKp6ImW2d8sNvEI/Q129G36OBMkWTtR4ehVQlaSM0oKiRgR1w jm8vtjuJ/GxJwT7zjDs9JGllS2+CX+YOXL2wi1p5EkLu79IBWWAWWTgFEDNFuLwncuQT YqnA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=wLQnLjoZVA8A0320TEFhi5yWihAkMLMyNUB97P6zAHw=; b=MIFZNRqKo791XBpA0kv6h7mKdRPpzIfwRGOC3UEmdmBjlkm9AOCaJ04lmZDCapZUCd fLsKPpfy0krkcTaZyDINmh9FjT9wXT7txBxjfuDri5Y2iOq2+t8ssjsuwhKDgzd1JIao KETErsPNEEgMZQbWeirAliMUCIipJBu3w+TGaUKtsGXaEKnaiX6Uxk6j9Id1L+wZuve1 10FYqvDyXGdgSMp1reeM2l7LR1+kwx1xutjRDDhvJ1y4kiCuGkNm0DyYvd54xRkCbHCt huPhz0Zx5RFlJv3wZhOh93VG7Ds1XZL67Ro40yILHyw2PcHYA1d8HpHnZWCYnf0mWkV8 0swQ==
X-Gm-Message-State: ALQs6tBczNy1XcdRWsP7K/7uBDr+H5JhkdNsa3sJImTCtwCFak4ZDh3Y 2qHymR7XiFFYUojAsURRLgXJBNirhXaSetqpRQ==
X-Google-Smtp-Source: AIpwx4/8SGmsmWFxa3bIFL7dt/dIWCxYQahHKa9wRVNyyn1ihTR9LKEF0P+FTDS0ObjX/meCFEGVIrDG6lZcIdwqZEo=
X-Received: by 10.107.182.67 with SMTP id g64mr10334823iof.58.1523551054306; Thu, 12 Apr 2018 09:37:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.79.7.149 with HTTP; Thu, 12 Apr 2018 09:37:33 -0700 (PDT)
In-Reply-To: <CA+wi2hObjvaQPCkkQkAmS3F5kpVEEj8Wv7uxE=mQJdY0vzFUNw@mail.gmail.com>
References: <f2519dd3dd364bbfad2d51a4febde366@XCH-RCD-001.cisco.com> <aa1366d50d9f4b58895209d1fe577690@XCH-RCD-001.cisco.com> <CA+wi2hMpKxoRR7WHGh-Nm3Kz8M-1DqbgAxDqi9Gh3HOkZ4wSDA@mail.gmail.com> <dc95e20fdecf426fa3c31d11f1e7e6a4@XCH-RCD-001.cisco.com> <CA+wi2hObjvaQPCkkQkAmS3F5kpVEEj8Wv7uxE=mQJdY0vzFUNw@mail.gmail.com>
From: Yan Filyurin <yanf787@gmail.com>
Date: Thu, 12 Apr 2018 12:37:33 -0400
Message-ID: <CAPuL+nQVr8hMkcq6ZPJP2506noa4SjZ8aEqnX8tNV0y6E8eomQ@mail.gmail.com>
To: Tony Przygienda <tonysietf@gmail.com>
Cc: "Pascal Thubert (pthubert)" <pthubert@cisco.com>, "6lo@ietf.org" <6lo@ietf.org>, "draft-ietf-6lo-rfc6775-update@ietf.org" <draft-ietf-6lo-rfc6775-update@ietf.org>, "rift@ietf.org" <rift@ietf.org>
Content-Type: multipart/alternative; boundary="001a114aca0263a5e70569a95fc9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/6lo/G3TlNwFt3ewEExBrzK_iHrWnXR8>
Subject: Re: [6lo] instance ID in rfc6775 update
X-BeenThere: 6lo@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Mailing list for the 6lo WG for Internet Area issues in IPv6 over constrained node networks." <6lo.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6lo>, <mailto:6lo-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/6lo/>
List-Post: <mailto:6lo@ietf.org>
List-Help: <mailto:6lo-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6lo>, <mailto:6lo-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Apr 2018 16:37:39 -0000

12 bit field would be more than enough plus it maps to all the schemas for
802.1q based topology separation.  This started out as an enterprise
networking discussion and it would be at the right scale for anyone in that
business without complaints and an easy way to scale with 2547, EVPN or
even Loc/Id (LISP, ILA, etc) methods.  It may be an interesting question
for people thinking of RIFT in DC microservice use cases.  And whether
there is even an opportunity to look at integration framework between
those.

Yan



On Thu, Apr 12, 2018 at 12:04 PM, Tony Przygienda <tonysietf@gmail.com>
wrote:

> OK, I read too fast then ;-)  The opaque is what we call TID then
> (topology ID, I observe that we ran out of good 3 letter acronyms years ago
> ;-)
>
> agreed with all ...
>
> 0 for default topology helps obviously because you say "0 on send, ignore
> on receive" on a good spec so even if the other side is not aware of the
> extension, good chance they'll send you 0 which you interpret as "hey,
> default stuff" and life goes on in default topology
>
> --- tony
>
> On Thu, Apr 12, 2018 at 8:49 AM, Pascal Thubert (pthubert) <
> pthubert@cisco.com> wrote:
>
>> Hello Tony
>>
>>
>>
>> I agree that 0 is default, this helps for backward compatibility as well.
>>
>> Note that the field is not the TID (T is for transaction). I’m proposing
>> to add a new Opaque field since what is carried is opaque to ND.
>>
>> New text would say:
>>
>>
>>
>>        A new Opaque field is introduced to carry opaque information in
>> case the
>>
>>        registration is relayed to another process, e.g.; injected in a
>> routing
>>
>>        protocol.
>>
>>        A new "I" field provides an abstract type for the opaque
>> information, and
>>
>>        from which the 6LN derives to which other process the opaque is
>> expected
>>
>>        to be passed.
>>
>>        A value of Zero for I indicates an abstract topological
>> information to
>>
>>        be passed to a routing process if the registration is
>> redistributed.
>>
>>        In that case, a value of Zero for the Opaque field is
>> backward-compatible
>>
>>        with the reserved fields that are overloaded, and the meaning is
>> to use
>>
>>        the default topology.
>>
>>
>>
>> 8  bits is what’s left in the option that we need to keep backwards
>> compatible.
>>
>>
>>
>>    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    |    Status     |    Opaque     |
>>
>>   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>>
>>   |  Rsvd | I |R|T|     TID       |     Registration Lifetime     |
>>
>>   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>>
>>   |                                                               |
>>
>> ...             Registration Ownership Verifier                 ...
>>
>>   |                                                               |
>>
>>   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>>
>>
>>
>> What do you think?
>>
>>
>>
>> Pascal
>>
>>
>>
>> *From:* Tony Przygienda <tonysietf@gmail.com>
>> *Sent:* jeudi 12 avril 2018 17:43
>> *To:* Pascal Thubert (pthubert) <pthubert@cisco.com>
>> *Cc:* 6lo@ietf.org; Yan Filyurin <yanf787@gmail.com>;
>> draft-ietf-6lo-rfc6775-update@ietf.org; rift@ietf.org
>> *Subject:* Re: instance ID in rfc6775 update
>>
>>
>>
>> Yes, we do have discussions over RIFT where it seems a multi-plane or if
>> you want multi-topology concept as introduced originally in RFC5120 would
>> be helpful. RIFT can be very easily instantiated on multiple ports and with
>> that has no problem to run multi-instance/topology but the dataplane
>> correlation from the leaf would be very helpful. RIFT leaf implementation
>> is very "thin" and with that architectures that don't rely on either LOC-ID
>> or BGP overlays become feasible, albeit obviously not @ the scale something
>> like 2547bis or EVPN can operate.
>>
>> So in short, I think I support this suggestion fully.
>>
>>
>> For the practical encoding, I suggest to choose TID=0 as "default
>> topology", i.e. "what you do today" and avoid an I bit which will cause an
>> encoding corner case if it's not set but TID<>0?
>>
>> From experience, 8 bits is just about enough but 12 bits are plenty for #
>> of topologies people sometimes think they need on building network
>> architectures ...
>>
>>
>>
>> my 2c ...
>>
>>
>>
>> --- tony
>>
>>
>>
>> On Thu, Apr 12, 2018 at 7:23 AM, Pascal Thubert (pthubert) <
>> pthubert@cisco.com> wrote:
>>
>> Hi again
>>
>>
>>
>> A proposed text would be like:
>>
>>
>>
>>
>>
>>    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    |    Status     |    Opaque     |
>>
>>   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>>
>>   |  Rsvd | I |R|T|     TID       |     Registration Lifetime     |
>>
>>   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>>
>>   |                                                               |
>>
>> ...             Registration Ownership Verifier                 ...
>>
>>   |                                                               |
>>
>>   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>>
>>
>>
>> ….
>>
>>
>>
>> Opaque:
>>
>>        One-byte Opaque field; this is an octet that ND does not need to
>> process
>>
>>        but that the 6LN wishes the 6LR to pass transparently to another
>> process.
>>
>> I:
>>
>>        Two-bit Integer: A value of zero indicates that the Opaque field
>> carries
>>
>>        an abstract index that is used to decide in which routing topology
>> the
>>
>>        address is expected to be injected. In that case, the Opaque field
>> is
>>
>>        passed to a routing process with the indication that this is a
>> topology
>>
>>        information and the value of 0 indicates default. All other values
>> are
>>
>>        reserved.
>>
>>
>>
>>
>>
>> Does that work?
>>
>>
>>
>> Pascal
>>
>>
>>
>> *From:* Pascal Thubert (pthubert)
>> *Sent:* jeudi 12 avril 2018 15:40
>> *To:* 6lo@ietf.org
>> *Cc:* Yan Filyurin <yanf787@gmail.com>; Tony Przygienda <
>> tonysietf@gmail.com>; draft-ietf-6lo-rfc6775-update@ietf.org
>> *Subject:* instance ID in rfc6775 update
>>
>>
>>
>> Dear all :
>>
>>
>>
>> During a conversation on the RIFT protocol it appeared that there are use
>> cases in RIFT to support host mobility with rfc6775-update.
>>
>> There is a caveat, though, which is in fact common with RPL. Both cases
>> need a concept of multi topology routing.
>>
>> In the case of RPL, the topology is indexed by an instance ID. In the
>> case of RIFT, there is a need for an index to a RIB, so one octet is
>> probably enough.
>>
>> A suggestion is thus to use the reserved octet in the ARO to carry an
>> instance ID, and use a bit to signal that this is what that field does, in
>> case there is a need later to overload it with something else.
>>
>>
>>
>> I understand this is coming late in the process; but then there is no
>> logic associated to the change, this is just passing on an additional
>> information that is useful for more than one candidate protocol.
>>
>>
>>
>> Please let me know if there is an issue pursuing this. If there is no
>> opposition, my plan it currently to add this in rev-19.
>>
>>
>>
>> All the best,
>>
>>
>>
>> Pascal
>>
>>
>>
>
>