Re: [Cbor] Document shepherd review of draft-ietf-cbor-network-addresses

Brian E Carpenter <brian.e.carpenter@gmail.com> Tue, 20 July 2021 02:40 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0CA4B3A0822 for <cbor@ietfa.amsl.com>; Mon, 19 Jul 2021 19:40:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 kjMuYakqI1e4 for <cbor@ietfa.amsl.com>; Mon, 19 Jul 2021 19:40:19 -0700 (PDT)
Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) (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 BF1BB3A0821 for <cbor@ietf.org>; Mon, 19 Jul 2021 19:40:19 -0700 (PDT)
Received: by mail-pj1-x102f.google.com with SMTP id gp5-20020a17090adf05b0290175c085e7a5so1091417pjb.0 for <cbor@ietf.org>; Mon, 19 Jul 2021 19:40:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:cc:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=1VQt6ICOZPAFhDxBqsb6IfQZJ33wvGQcxFAf8Lwfomc=; b=fBUpm0V+at10yABrSGv9oI57+okvpho/xv7FDvzR57KQr2ffcZwBBx0f8a3vdMZLH5 eP53CWV4b0wRpwPFRVwkyBfKAQWKFFbwasSO7XZAC3eAf2OsnIxvBPb0Ys4v4lZZssOO ZA+KbVhBl5DOIyJewJFPkxj73jnjvczXOscWg4UWI9/mhkDQc1e8v8++X4GQgJPtBIAm 2kt6YO3yl2FuUAOVEcmVJxCgTqR0eNEd2Cy5Mj/kK7T/ky6cDGak0R6/GhyDfENxWwpW a6p+91XZ8nDl4HGCO5xoYjbKMU7rsWR8lzezNa5txHUjVIswINkN22JMJNTKN7hr0ebp t5lg==
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:cc:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=1VQt6ICOZPAFhDxBqsb6IfQZJ33wvGQcxFAf8Lwfomc=; b=C41tA+eHF83G2Rw4JFNKZmECY7S0jg86jaVsC03nAS9JAPnCLINqVnnC5BY4UIAiTP 34V2omRnKqNUfU8ukiHjwNynww/hTAt8qp+Jtcc8oZoqxB95DLSKckRvTy0b/5XZvK2e Gq3lZYn2kFlep/riyL190UcQuFeJhdNRoCr8GXIIyA0hKEC4oLy5of+/blIE+Vdj0y5s lS0CRl4DkIacSut5ex6UISuBT6N0Fd+1B0B2+KdsAOu1Hv0VbFK32WAQ4SCvKhCkRzTB BUVns9akw9IWYtJz+I/+tMDN9pVgAP4gRpFUSqac6tZOq3+KjHRnGJ0f0td7DNGyGCj4 9oLQ==
X-Gm-Message-State: AOAM533gNYcQIXS9yZgGFi85Zi1YKyrFcn2dgrAaN0Bt3R1WOyqhpSp3 N/U0Z/1IwEXmgwSPDWilGDVxDCGm3+rxLg==
X-Google-Smtp-Source: ABdhPJz4gZmmgskn0w9egfvBWHcCyvt4aSwljpzq5nCUiEsjCVbf63dbU/Gr4zMmWB9DJUWL115QIQ==
X-Received: by 2002:a17:902:a503:b029:12b:2429:385e with SMTP id s3-20020a170902a503b029012b2429385emr21848317plq.64.1626748818461; Mon, 19 Jul 2021 19:40:18 -0700 (PDT)
Received: from ?IPv6:2406:e003:1188:5b01:80b2:5c79:2266:e431? ([2406:e003:1188:5b01:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id g4sm25042619pgn.45.2021.07.19.19.40.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Jul 2021 19:40:17 -0700 (PDT)
To: Michael Richardson <mcr+ietf@sandelman.ca>
References: <CALaySJ+wieWsNU+hk6dj2OUxQbioRcqhAQM6+zWYzuV08XQ7kA@mail.gmail.com> <04B9BC2F-282F-4D0E-B97C-A03C3D25B8AF@tzi.org> <20598.1626729113@localhost>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: cbor@ietf.org
Message-ID: <cdc61cf5-5ee3-8bef-b2be-d2a1a2802699@gmail.com>
Date: Tue, 20 Jul 2021 14:40:13 +1200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <20598.1626729113@localhost>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/4fdHakbpnLGD9nHyEdfcsfBvdzU>
Subject: Re: [Cbor] Document shepherd review of draft-ietf-cbor-network-addresses
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Jul 2021 02:40:25 -0000

You got me. My demo code now supports all three forms and I switched to using the "prefix" form instead of "interface".

My code would treat [addr] as an error.

See the functions build5254() and detag5254() inside https://github.com/becarpenter/graspy/blob/master/pfxm4.py

Regards
   Brian

On 20-Jul-21 09:11, Michael Richardson wrote:
> 
> Carsten Bormann <cabo@tzi.org> wrote:
>     >> — Sections 3.1 and 3.2 —
>     >>
>     >> There are examples of [prefix-length, addr] and [addr, prefix-length],
>     >> but no examples of just [addr],
> 
>     > (Which would be wrong — we only have `addr`, not `[addr]`.)
> 
> "future work" :-)
> 
> I guess, if I write code for this (I haven't done the interface spec), and I
> saw [addr], I'm assume [addr,128].
> I don't think that this is worth writing down, nor worth encouraging.
> 
> --
> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
>            Sandelman Software Works Inc, Ottawa and Worldwide
> 
> 
> 
> 
> 
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor
>