[Anima] Need WG input: Adam Roach's comment on GRASP

Brian E Carpenter <brian.e.carpenter@gmail.com> Mon, 29 May 2017 02:51 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F264A1294DF; Sun, 28 May 2017 19:51:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, RCVD_IN_DNSWL_NONE=-0.0001, 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 zBmbP1FQIPCz; Sun, 28 May 2017 19:51:12 -0700 (PDT)
Received: from mail-pf0-x243.google.com (mail-pf0-x243.google.com [IPv6:2607:f8b0:400e:c00::243]) (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 979541275AB; Sun, 28 May 2017 19:51:12 -0700 (PDT)
Received: by mail-pf0-x243.google.com with SMTP id f27so10691340pfe.0; Sun, 28 May 2017 19:51:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=uZJG4250prUw8hv8L5/SsUDaeRCeiHAXk5a6ZXPXmsY=; b=ajqqlcbRMPEZzi0WJBoqzpsG4aTn/Legqez9M/4uQdHsn2dDBk6UsndlYFIPHKfMWS NrncLxAmboHsAS+aDAsLsFTNd5UaA1B6gEeXg/RVmwqEjjvLjjCCMl8jgBkjD7vgOvPe LPEFVvhyyhHw/ZFfI0dMNLX8CzfLCRrmJgoBUIXMezCGLgfrpToY7xf3nZNCivqtQ7Mo Knsef9WQLiPaqA3FSC4bS02YotmnkXVT8o1orEI1GCWvumbf3Uk0mV3Ysgl6CKbapNao kd+HB+zwP3b4+aBN3lkZQhviBAy/csCs3b6sJXKasjAUmcRtAf8JzOTuhRvSCvVwGfro A9Vg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=uZJG4250prUw8hv8L5/SsUDaeRCeiHAXk5a6ZXPXmsY=; b=pmHcNHaesuvxjgVBhKR3tR1laeQSlfpYp7nr0ueMgI5c32eRZaI8jM4ysSwn09vbwd mslu+iDNJi4P/vZ0Zpoi9vq3maz5gyQjTMGKnTFG6tor6Hzz4EUO7y+nYB95XsaX2AGX uGerFE7YyVKjgREpGCrUeHhMpLIIQHApC2o4fRl513KbZXNdRA0sIkQ/ENiuxevxKsGI UZIAmc+32hXPQOn6AONgq/x0urtAvSjwl+SW3MbxKbGRfVdNAMs6BvJF+s1F2hcqJxWB iSKw2pO5l0TDP7byEaLmgr2SNJPU4zPSsP6OOss50RoNZ4wIU8/BQfZ4iME4Cj41yC63 o7iw==
X-Gm-Message-State: AODbwcDWCPLlS9jAJJlcpoIRMg/kS6b6Aa0NK+tf94i9bRCgAVp+pWls wT2BbQQ7BhpNGCb2
X-Received: by 10.99.137.198 with SMTP id v189mr16252598pgd.205.1496026272011; Sun, 28 May 2017 19:51:12 -0700 (PDT)
Received: from [192.168.178.21] (139.25.255.123.static.snap.net.nz. [123.255.25.139]) by smtp.gmail.com with ESMTPSA id m25sm12710238pfk.15.2017.05.28.19.51.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 May 2017 19:51:11 -0700 (PDT)
To: anima@ietf.org
Cc: Adam Roach <adam@nostrum.com>, draft-ietf-anima-grasp@ietf.org, anima-chairs@ietf.org
References: <149549285151.31698.4933027087319976975.idtracker@ietfa.amsl.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <1a4b149e-25f0-d4d8-1e31-4d497703129d@gmail.com>
Date: Mon, 29 May 2017 14:51:06 +1200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <149549285151.31698.4933027087319976975.idtracker@ietfa.amsl.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/bwEgC11Zg1IMZt3rSRBZzPBvz8I>
Subject: [Anima] Need WG input: Adam Roach's comment on GRASP
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Autonomic Networking Integrated Model and Approach <anima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima>, <mailto:anima-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima/>
List-Post: <mailto:anima@ietf.org>
List-Help: <mailto:anima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima>, <mailto:anima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 May 2017 02:51:14 -0000

On 23/05/2017 10:40, Adam Roach wrote:
...
> The CBOR definition has constants for IP_PROTO_TCP and IP_PROTO_UDP, but
> no way to register additional values with IANA. This does not seem
> future-proof.

Adam is correct. The current values (6 and 17) are of course values from
https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml
and the names are those used in the socket API. If we wanted to add, say,
SCTP it would be easy: IP_PROTO_SCTP = 132.

The problem comes if we want to add "transport" protocols that aren't
directly over IP: things like HTTP, COAP, QUIC... for example. There's
no registry for them.

We have considerable flexibility thanks to CBOR; for example, as Michael
Richardson noted, we could define values >255 for transport protocols that
are *not* directly over IP. However, that would need a new IANA registry.

Proposal: Note in the text that the current values are taken from the
existing Protocol Numbers registry. Also note that if values are required
in future that are not in that registry, a new registry for values >255
will be created. So IANA doesn't have to do anything now.

Opinions? Objections?

    Brian