Re: [6lo] instance ID in rfc6775 update

Tony Przygienda <tonysietf@gmail.com> Thu, 12 April 2018 16:05 UTC

Return-Path: <tonysietf@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 385A9127010; Thu, 12 Apr 2018 09:05:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 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, 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 VHPasuVL9Iye; Thu, 12 Apr 2018 09:05:15 -0700 (PDT)
Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (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 DC31E126CE8; Thu, 12 Apr 2018 09:05:14 -0700 (PDT)
Received: by mail-wm0-x231.google.com with SMTP id g8so12712206wmd.2; Thu, 12 Apr 2018 09:05:14 -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=zqfl9Y4d5Sbc4jugs1OBcTihD0aadth2tr6guR+5LZY=; b=qjYmJCf9B00/K5oNBErcHBVBpUay0Ri4W6N9jQOJFiBUGgshmELve/MoA8Sw/kPzM6 pulU+NI/1Tf2j1tDXNEam3bLF9Q+vrO+5xbe3mDB5KJ2064fdtPiHwBfP4rXxf8bpVM+ CWylzVf2Zk8779dGlPhmZbcu5a4yzwCKuZPHM5kI2PXyht0tSvb8Me1IUQDxY+DNMGwy neRRLGkwiVgXsSaqYXcGyj0lmDhMd8KAPpKjxqEGOkvQQLVcwOVhivA8A18yjBrDSuFN UzLGWTufgSSKTtjGWcLXDJexy6Dhk/GwZ3fg4WF0wBBaANB6bFJSnOR4M7eXETkIMmNy in4A==
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=zqfl9Y4d5Sbc4jugs1OBcTihD0aadth2tr6guR+5LZY=; b=F++RjrgxQ9/QvEaTJukqKALufy1CLT+7jwbEksP+XEGHJE+2uCdRxiJo512n1W6a4d Se3r7vkHSC5maedTxNEZ5IBwuilwnSXykKNmVFex83lIpe0uJBH29JO0p2ga2vO7HSNv N2ESQbFvYVNpPZOJr71Nh56S7y1qThYHTRuPnhd0cE9I1gU4gM9GqcMI12naWl7VRVLD EsKNwz9LxTYEJ5IPUSbohPuGCVh1+tExQNB/hvKN76Y+XFhLfsZ5nJwomkGhgKMrHPdN O8T2nEuxiGl8vC0K5IBSU8vUp8063PqwWKFuykNMPsFt0p1DpOLm34BfgpBuH0E3X4Y6 4u1A==
X-Gm-Message-State: ALQs6tDr0V4fNLx6q2VxAdKvZkaZlhswXvkdSWuCDxfVSFpL4S0px0db wR4abNykFYS5e2PfiFc7pzE1OTNmkkSbflUr+9w=
X-Google-Smtp-Source: AIpwx49sKzcZehHk4S6cJdzgPRnR8pP6aIywFFbxR8YSfuzBa1ZoOPvnag7QCiM4GpkLC833b3F72amK3qKlKk4skU0=
X-Received: by 10.80.153.220 with SMTP id n28mr16360915edb.240.1523549113422; Thu, 12 Apr 2018 09:05:13 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.80.169.93 with HTTP; Thu, 12 Apr 2018 09:04:33 -0700 (PDT)
In-Reply-To: <dc95e20fdecf426fa3c31d11f1e7e6a4@XCH-RCD-001.cisco.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>
From: Tony Przygienda <tonysietf@gmail.com>
Date: Thu, 12 Apr 2018 09:04:33 -0700
Message-ID: <CA+wi2hObjvaQPCkkQkAmS3F5kpVEEj8Wv7uxE=mQJdY0vzFUNw@mail.gmail.com>
To: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
Cc: "6lo@ietf.org" <6lo@ietf.org>, Yan Filyurin <yanf787@gmail.com>, "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="94eb2c197970b419750569a8ebcb"
Archived-At: <https://mailarchive.ietf.org/arch/msg/6lo/XlS3RN5Q3P0N3nH1ZkDIeLyd1Wo>
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:05:18 -0000

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