Re: [Anima] $transport-proto in BRSKI

Brian E Carpenter <brian.e.carpenter@gmail.com> Thu, 07 March 2019 21:13 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 2532A12D4EB for <anima@ietfa.amsl.com>; Thu, 7 Mar 2019 13:13:21 -0800 (PST)
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 iJHqR1PyLxPy for <anima@ietfa.amsl.com>; Thu, 7 Mar 2019 13:13:19 -0800 (PST)
Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) (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 209C212F19D for <anima@ietf.org>; Thu, 7 Mar 2019 13:13:19 -0800 (PST)
Received: by mail-pg1-x52b.google.com with SMTP id 125so12009304pgc.12 for <anima@ietf.org>; Thu, 07 Mar 2019 13:13:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:organization:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=aLsm+gpcsPDRElPZyHAGCsSGP6juIXQ3/U+T4NsFlGM=; b=vXSteXrsDJ+n/ACtmu0SNHnwuvq/2Kpp/VfntA9iHF4TD5gF/GVe029j25B/cNtFFL B8AI+MhVG3npMmytNVVZeuwxeF+nVwOoMAXCt5imsHSXBkImuXGJ6QCFvC0d+fs+zF0v X+eNkL7EJWquLYDUjRx81jrc3wEHntiQimOLxO1xiIHQSA+fVtpQPav0/KOdT4Y6Dqf/ nZ74Ryzosi9c1NLj4QZkHKz7Fq2mefehfICa65ctYu2C/TXNDhc8dQ5WeWhnz1VGTx1G V4Xk8vit78TaphdATUzlqcOsgT5XEc+IwVu5AeitaZVqAFHIj78gzELQTBpICzROB936 TPaQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=aLsm+gpcsPDRElPZyHAGCsSGP6juIXQ3/U+T4NsFlGM=; b=iLArGLp0SdYnyxyYoYLqVGncDCadyqlkCIe05fps0+hDNAXC6RvQfUBYMxXJyf4bSe S6LV9ON16xIyVv1c1odKJhUjzTw3KAmAgqI9IKDnJ+BwUvg52AGU4u2tygjuz+dggVvM hAAaa0Gwki6m7FvuPfknhh1/cwJ4TQiydlkSMXpzxbHEHosBTCkuioSywBRRO9s8QnQi NZrv6AUbtq96UwCoxVjRfzmFPKrWEZ8x/WUcCj5eNR6+3CLmRdGFeuifCwI5U8y27tnR HqOhLUMepCmkCKSKxATxfGrKA83WXpzE5BoUOIRqEWPIlWS1p0k6ICO6jDTOWWu317fD 9A4w==
X-Gm-Message-State: APjAAAWGLEMG4nWVNAKxMTeCiLsRmhMdsyRIn2QNxk1F6wvPyZj3TztD /UucXUaTWcDZqng0q0xyrvnPrKrD
X-Google-Smtp-Source: APXvYqyVBkcKeF1Avxq2x5SF8oITnDqS1xmqSEYhLzoDmYoHUyX4tHS6LUfL8RM47AYUqKUc7tAK+w==
X-Received: by 2002:a17:902:e00d:: with SMTP id ca13mr14919336plb.206.1551993198194; Thu, 07 Mar 2019 13:13:18 -0800 (PST)
Received: from [192.168.178.30] ([118.148.79.176]) by smtp.gmail.com with ESMTPSA id u26sm8017446pfn.166.2019.03.07.13.13.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Mar 2019 13:13:17 -0800 (PST)
To: Michael Richardson <mcr@sandelman.ca>, anima@ietf.org
References: <24947.1551476067@localhost> <9f6549c6-46a9-6a97-48c0-422cedf33512@gmail.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <bfba6194-6dcf-cab9-f20c-b1336fa48012@gmail.com>
Date: Fri, 08 Mar 2019 10:13:15 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1
MIME-Version: 1.0
In-Reply-To: <9f6549c6-46a9-6a97-48c0-422cedf33512@gmail.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/OHFHnoa5aBOEUCrLwsBWyDcjCXM>
Subject: Re: [Anima] $transport-proto in BRSKI
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.29
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, 07 Mar 2019 21:13:21 -0000

Sigh. I was wrong. The $ sign is legal CDDL:

> Per convention, CDDL extension points are marked with a leading
> dollar sign (types) or two leading dollar signs (groups).
[draft-ietf-cbor-cddl-07]

It isn't *required* but it shows that the item in question is expected
to be extended in future.

So either include it or don't, but at the moment there's a nit in
your text: the syntax says
> transport-proto /= IPPROTO_TCP
but the following paragraph says:
> The $transport-proto above indicates the method...

Otherwise, fwiw I'm happy with bootstrapping-keyinfra-19.

   Brian

On 02-Mar-19 11:43, Brian E Carpenter wrote:
> On 02-Mar-19 10:34, Michael Richardson wrote:
>>
>> Brian, we have CDDL in BRSKI:
>>
>> ipv6-address      = the v6 LL of the Proxy
>> $transport-proto /= IPPROTO_TCP   ; note this can be any value from the
>>                                  ; IANA protocol registry, as per
>>                                  ; [GRASP] section 2.9.5.1, note 3.
>>
>> and we don't know why we have a $ on transport-proto.
>> Maybe it's a typo.
> 
> I think it's a typo. As additional evidence, the comment is one space
> too far to the right. Editorial fix!
> 
>     Brian
>