Re: [spring] 64-bit locators

Miya Kohno <miya.kohno@gmail.com> Sun, 29 December 2019 05:10 UTC

Return-Path: <miya.kohno@gmail.com>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 858FA12013B for <spring@ietfa.amsl.com>; Sat, 28 Dec 2019 21:10:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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 sD1wglR3xt7P for <spring@ietfa.amsl.com>; Sat, 28 Dec 2019 21:10:43 -0800 (PST)
Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) (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 79905120018 for <spring@ietf.org>; Sat, 28 Dec 2019 21:10:43 -0800 (PST)
Received: by mail-lj1-x22c.google.com with SMTP id u1so30383250ljk.7 for <spring@ietf.org>; Sat, 28 Dec 2019 21:10:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ghKQ43NUrLPrIuQBYzqaYzHy2/JzWuqAqHtV5XTnSUQ=; b=iz1owKm+xynyMOIW/2f5MIgnVzO7wRyO+Rcw8ScWVxNb5A+5wXG5neu8giFU1td4N1 wmP5xztfA2h0aOf658C8XEuzljlFqIAM1dUG2fIEbJqkXu60B1nFbNDoHIP5bQGv0mwG KbG3GEo7VWd5T3PEaCLE5FP8XGkt0uBb+rQRO7SFrdfDJyQxdchdhKvbAWOw+iyJxdA+ V+NOGKZBl1HCcuDi4Pgr8rcCD6XwWBzGooFbioROb/sTUFAW/wiYX6MUX0j+e8+UrtJz Xp3t6LGZt41IZpyTS+42D3pCsebshs6IkOT+WZYbG+wK+OSRM66tcpReI6AQLZh9TVed 2D1w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ghKQ43NUrLPrIuQBYzqaYzHy2/JzWuqAqHtV5XTnSUQ=; b=MZA9TUkQwOpaIs7jQJAj4EcvQ/9f92JirAwXOo6ikx8315BJfUFj4C0ohNjs+cRevh T5bDDc9huSLhdNCJvCT01YR809WFkgx+lDAbhXhEHTnpDdOPCHy32Hg/A1w0fR2GgmYv z90jbqsUbQq9MsiQTze++Bsa8lyF7Mzs/RgndxmAgpM1pQt1id9Lxqj1+O/WhBM0r+tX ltJtkmrOCMOxj/uDC7/aDQwa4QSc4zv3LLnb0PONZkbS2xCyccNkl8zYPY4c2CJXK8VK QQlIncesEsO0CGLw9rRRezp8L5f9yAuRwlGrfPpNXA6u94SOV68GjW1NbGkJWEiVUVXd BIMQ==
X-Gm-Message-State: APjAAAXAB+FU3JhCRhcwf9W6gbQZSccRVmxROF7SUViwHwEODd+UxaS2 KH4tiJ5dgo37PyPruzQOQYdoKia5EMn2zcUWgHesrE76m6VIaQ==
X-Google-Smtp-Source: APXvYqxIYvXWNsAqikWmT4tfgp9R6yKNWVTRmQJvroIJjtzQumx0EymWjBzMXvW4/pwcFhRqK0jLIA0Oinup1BJezlQ=
X-Received: by 2002:a2e:9592:: with SMTP id w18mr32566793ljh.98.1577596241838; Sat, 28 Dec 2019 21:10:41 -0800 (PST)
MIME-Version: 1.0
References: <BN7PR05MB5699D85CC99CB23B1B573901AE530@BN7PR05MB5699.namprd05.prod.outlook.com> <CAO42Z2yAH4ECeB+PGRS98HgZHXtTq3iX1x6aMSPjKgS6O1GDAQ@mail.gmail.com> <8f5607c9-645a-ea88-e2a7-a4bed8206fc8@gmail.com> <63F5AA66-AEF8-4278-B98C-D3C53AC5A60A@cisco.com> <CAO42Z2x-5NUYHAzjBAR3je7EoPde=-autOXyta5EvqDydbVMWA@mail.gmail.com> <CABNhwV1xZEx6_eZpdgvWAmiopXT-SACR1DM_KSeF_JSDvgSSOQ@mail.gmail.com> <CAOj+MMGSbdL2ZP-_uX_464Tov7MV0vu=cmoKpw71-vL8R4HpRw@mail.gmail.com> <069e6021-537c-422a-37da-f090a6ac334b@gmail.com> <DBBPR03MB5415CDB6870E8E6B69522E40EE2D0@DBBPR03MB5415.eurprd03.prod.outlook.com> <CAOj+MMHOqJWo+ofewx5LF81zA7sGNGwdBgh3X1CSujZbTw9TCw@mail.gmail.com> <BN7PR05MB56995F5D8A02A63E0317A3D9AE2C0@BN7PR05MB5699.namprd05.prod.outlook.com> <CAOj+MMFwK2S0NDVeF-AeTEuLgHJGt6mmVZki6sobuf2EGpQmpw@mail.gmail.com> <BN7PR05MB56993D9F5BEEDABC5A40AB79AE2A0@BN7PR05MB5699.namprd05.prod.outlook.com> <CAOj+MMELEvcnimBBppqMHhuJtgvPFJjDQn1-J06Ro9Dx8=YQKA@mail.gmail.com> <CAO42Z2yrdgWwNTz_a7fHEC+G+WERv789YLtoAjH90BZH-rDW7Q@mail.gmail.com> <CAOj+MMFsz3OX4+6gjEU_J6-Q7ra251j2YFVYjQO1yA6dOr3t2Q@mail.gmail.com> <CAO42Z2xDiRXzyDzwmdAzYwk1qB9gUp5QLpMLhZfiqEg5C0Lajw@mail.gmail.com> <CAOj+MMFAWsjtSBVR4vEBiV86c80PgJaBjSaAYGuVLNx07XT7zA@mail.gmail.com>
In-Reply-To: <CAOj+MMFAWsjtSBVR4vEBiV86c80PgJaBjSaAYGuVLNx07XT7zA@mail.gmail.com>
From: Miya Kohno <miya.kohno@gmail.com>
Date: Sun, 29 Dec 2019 14:10:31 +0900
Message-ID: <CAG99tenjSRVwY+1JV2D2jz0gnphuGDc9O_nWgDb=dZWzbmFyJQ@mail.gmail.com>
To: Robert Raszuk <robert@raszuk.net>
Cc: Mark Smith <markzzzsmith@gmail.com>, Ron Bonica <rbonica@juniper.net>, SPRING WG <spring@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000980821059ad0bfca"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/w7SwAuM7EadHtoRdzeeOnOMa5CY>
Subject: Re: [spring] 64-bit locators
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Dec 2019 05:10:45 -0000

I agree with Robert.
Modern language is generous about type ([*] as an example). C also has a
concept of "union", though.

The stubborn discussion of IPv6 address will hinder creativity and
innovation for the future.

[*] https://www.python.org/dev/peps/pep-0484/#union-types

Miya

On Sun, Dec 29, 2019 at 1:19 AM Robert Raszuk <robert@raszuk.net> wrote:

>
> > I am very puzzled reading those messages what is the point regarding all
>> remaining bits outside of locator ? If this is to say RFC4291 did not
>> defined a SID - sure you won - game over. But at the same time I do not see
>> anything in RFC4291 which would prohibit me to put any bit sequence I like
>> in the remaining (least significant) bits of the address.
>>
>> If you limit yourself to the Interface Identifier portion of the IPv6
>> address, you can encode other semantics in that portion that are
>> significant to the end points. That is permitted by RFC 7136,
>> "Significance of IPv6 Interface Identifiers:"
>>
>> "In all cases, the bits in an IID have no generic semantics; in other
>>    words, they have opaque values.  In fact, the whole IID value MUST be
>>    viewed as an opaque bit string by third parties, except possibly in
>>    the local context."
>>
>> While the packet is being forwarded towards an end point, those
>> end-point semantics are to be ignored, because IPv6 forwarding is
>> longest match across all 128 bits:
>>
>
> All correct.
>
> And that means that if you consider FUNC:ARGs bits as IIDs there is no
> conflict at all and current SRv6 SIDs are compliant verbatim with section
> 2.5.4 of RFC4291. Maybe SRv6 drafts should all make it clear.
>
> And yes they are only significant to the destination of the packet too.
> Just keep in mind that destination is an encapsulation destination == each
> segment end.
>
> Best,
> R.
>
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://www.ietf.org/mailman/listinfo/spring
>