Re: [Anima] [Tsv-art] TSV-ART review of draft-ietf-anima-grasp-11

Brian E Carpenter <brian.e.carpenter@gmail.com> Thu, 25 May 2017 20:09 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 8221F12EAC2; Thu, 25 May 2017 13:09:25 -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 xGARor58GFlr; Thu, 25 May 2017 13:09:24 -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 08B6812EAC0; Thu, 25 May 2017 13:09:24 -0700 (PDT)
Received: by mail-pf0-x243.google.com with SMTP id n23so41187188pfb.3; Thu, 25 May 2017 13:09:24 -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=niM8hS6pNLq3R5gZt6KMFWU65UB5DFi1OhGLeRlF+GI=; b=s0OZzTyakYv1bQwABaQanGSFY52m2zsiyZzp/CwpXjplhg60rm9INPPPj80vJ7opNh JNAE/vf+Y2hriKOwwpfEfNb2wTwJj7IXhZiPkqPPJnJrETjLt+So7tqaWzo3Xpw5/nXB 8mLOlCZmtoiS5M0GWgNG8x089ffv84E18YY5cEt/k3X+SaLHAgbnOsFY90Bcszb/dxJr VpqRanLVo+OeCQikN2vtdsBuEtkB1MjboIx3AcvkRHXhOXWm7rubSgl8n0U0AJncpz1O n3PNNdBMzYXC/k9BefjXxG10YgSLWHK66qM+7jpq7illS+6VJBrtvNIpfk0dK5Nl0ZXM zJwg==
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=niM8hS6pNLq3R5gZt6KMFWU65UB5DFi1OhGLeRlF+GI=; b=FgajLGBwu44bETWIr4oLdn3Oq6RUI0Fjt0Wf8uPaP3x1Pc7K3Er/Ds+400NU1yNGIR 8jgl/8AbYyBt8AQ7D2kMapFCZllhB3QHSqf8FQPt1F23qy8fhdQT1wJF1eAizN6kF+su fnlVnZlyaN8nOatKXyUA3Lonhy68+xFrTdjmJRwUDyWCDsd8vqbkib6dmIlogEJDULny ZpaRkUKRvKa6eRxyqBI6ISGcEo1jLEi2NSHyYWBu9Q99Zt3Xt/Zh0Yy8GznDkv4XPa00 DOFY6w4Q3N3eJDm4eZWm/kbJTHrsAd4ZRi4QHjFcBvCyO46FIGBZzURP01jQVkIleegt ZkkA==
X-Gm-Message-State: AODbwcBj0KuadyghsAxqhhs2dFUJhoZ9ALQ7fZln1hGvRBE+KkLvRZr+ LYTvVgBSztaGIg==
X-Received: by 10.98.18.157 with SMTP id 29mr45763176pfs.75.1495742963680; Thu, 25 May 2017 13:09:23 -0700 (PDT)
Received: from [10.100.103.42] (210-55-57-56.adsl.xtra.co.nz. [210.55.57.56]) by smtp.gmail.com with ESMTPSA id e124sm15261587pfc.64.2017.05.25.13.09.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 May 2017 13:09:23 -0700 (PDT)
To: Michael Richardson <mcr+ietf@sandelman.ca>, Joe Touch <touch@isi.edu>
Cc: Martin Stiemerling <mls.ietf@gmail.com>, anima@ietf.org, tsv-art@ietf.org
References: <6b290c47-5ab1-78e4-9f54-fa4f0679143b@gmail.com> <192f8891-5509-5201-1335-33bc7a04b7eb@gmail.com> <5e92dd05-074f-fde7-9281-10eaea4b0169@isi.edu> <5640.1495741035@obiwan.sandelman.ca>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <606e09b0-5046-d3f5-c3ba-bf373e300f15@gmail.com>
Date: Fri, 26 May 2017 08:09:28 +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: <5640.1495741035@obiwan.sandelman.ca>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/eaGIO1AcFXXHNLjZRITjpVxHnE4>
Subject: Re: [Anima] [Tsv-art] TSV-ART review of draft-ietf-anima-grasp-11
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: Thu, 25 May 2017 20:09:25 -0000

On 26/05/2017 07:37, Michael Richardson wrote:
> 
> Joe Touch <touch@isi.edu> wrote:
>     > Version support is recommended by IANA (see RFC7506, Sec 7.5).
> 
>     > Extensibility is a separate issue and doesn't replace the benefit of
>     > version support.
> 
>     > The goal is to avoid needing to assign a new port number for GRASPv2 in
>     > the future.
> 
>     > IMO, all messages (including NOOP) should start with a version number,
>     > and I'd suggest at least 2 bits (if not 4).
> 
> Everything is CBOR encoded, so we have no dependancy upon encoded bits on the
> wire changing.
> {Should CBOR change in an incompatible way, we'd need a new port number, true}
> 
> Otherwise, we could obsolete any of the M_ operations trivially.
> We currently expect to encode the "first" layer as a CBOR array (which
> creates the record boundary for TCP as well).
> 
> We could even decide that "version 2" would start with [M_GRASP2, [stuff]]
> costing us perhaps two bytes, which is about the same as inserting a version
> would cost, but I'm still not convinced we'd ever need to do that.

You're right. If we had stuck to the original TLV model I would have agreed
that a version number is needed, but the nature of CBOR means that it
really isn't useful. Even the limit MESSAGE_TYPE = 0..255 in the syntax
isn't restrictive; a message type >255 or <0 would just kick back an M_INVALID
with old code, and would be happily accepted by new code, if we increased
the valid range.

    Brian