Re: [6lo] instance ID in rfc6775 update

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Thu, 12 April 2018 15:49 UTC

Return-Path: <pthubert@cisco.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 EB3E3126DC2; Thu, 12 Apr 2018 08:49:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.509
X-Spam-Level:
X-Spam-Status: No, score=-14.509 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 P7P0ltEc9p5X; Thu, 12 Apr 2018 08:49:53 -0700 (PDT)
Received: from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B6A45120725; Thu, 12 Apr 2018 08:49:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=42988; q=dns/txt; s=iport; t=1523548192; x=1524757792; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=ZcknMIrLvM2Vw1Usj/+JZla13crAP19KRkWlei2sY4Y=; b=gO+zRSjPnV4sIjk5fHgYzsJafM2CEyU0svyjE0j0wokSpFk7xYuECPee wtEmvl8hcjGSiGcitF8NMFP6HD0il9r9R6rZCpd9X6ivmYcB1hs+sLrTC gZwKyruIJpLGBg8NQ+0pFKw3z6HM41QVr0NQC/+tgKgntfC5NaU9P0IG6 Q=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0B3AgCif89a/40NJK1cGQEBAQEBAQEBAQEBAQcBAQEBAYJNRi9hbygKg1mVFYF0gQ+GZowRgWcLgViDKwIaggchNxUBAgEBAQEBAQJsKIUiAQEBAQMjCjoSEAIBCBEEAQEhAQYDAgICHxEUCQgBAQQOBQiEIUwDFad3ghyHCg2BK4Ivh32BVD+BD4MLgk+BbE8fgkqCVAKHEIlPhlIsCAKLOIJ1gTuDWoc3hyyCNIYLAhETAYEkATIigVJwFYJ9giAXjhdvEY1ZgRcBAQ
X-IronPort-AV: E=Sophos;i="5.48,442,1517875200"; d="scan'208,217";a="380198402"
Received: from alln-core-8.cisco.com ([173.36.13.141]) by rcdn-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Apr 2018 15:49:51 +0000
Received: from XCH-RCD-004.cisco.com (xch-rcd-004.cisco.com [173.37.102.14]) by alln-core-8.cisco.com (8.14.5/8.14.5) with ESMTP id w3CFnpjl007966 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 12 Apr 2018 15:49:51 GMT
Received: from xch-rcd-001.cisco.com (173.37.102.11) by XCH-RCD-004.cisco.com (173.37.102.14) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Thu, 12 Apr 2018 10:49:51 -0500
Received: from xch-rcd-001.cisco.com ([173.37.102.11]) by XCH-RCD-001.cisco.com ([173.37.102.11]) with mapi id 15.00.1320.000; Thu, 12 Apr 2018 10:49:51 -0500
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Tony Przygienda <tonysietf@gmail.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>
Thread-Topic: instance ID in rfc6775 update
Thread-Index: AdPSYqpTuA/gdfvGSVe3wCALBC+A3gABgmjAAA2Fq4AACmizkA==
Date: Thu, 12 Apr 2018 15:49:31 +0000
Deferred-Delivery: Thu, 12 Apr 2018 15:49:29 +0000
Message-ID: <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>
In-Reply-To: <CA+wi2hMpKxoRR7WHGh-Nm3Kz8M-1DqbgAxDqi9Gh3HOkZ4wSDA@mail.gmail.com>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.228.216.11]
Content-Type: multipart/alternative; boundary="_000_dc95e20fdecf426fa3c31d11f1e7e6a4XCHRCD001ciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/6lo/z5D95tUsEd6AOW_dO08dMBM7xWE>
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 15:49:56 -0000

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<mailto: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<mailto:6lo@ietf.org>
Cc: Yan Filyurin <yanf787@gmail.com<mailto:yanf787@gmail.com>>; Tony Przygienda <tonysietf@gmail.com<mailto:tonysietf@gmail.com>>; draft-ietf-6lo-rfc6775-update@ietf.org<mailto: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