Re: New Version Notification for draft-troan-6man-universal-ra-option-03.txt

Brian E Carpenter <brian.e.carpenter@gmail.com> Fri, 09 October 2020 05:05 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 021663A07DB for <ipv6@ietfa.amsl.com>; Thu, 8 Oct 2020 22:05:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.311
X-Spam-Level:
X-Spam-Status: No, score=-2.311 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.213, 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 Zz2oitPWJrVb for <ipv6@ietfa.amsl.com>; Thu, 8 Oct 2020 22:05:03 -0700 (PDT)
Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) (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 1F33D3A07BD for <ipv6@ietf.org>; Thu, 8 Oct 2020 22:05:03 -0700 (PDT)
Received: by mail-pl1-x636.google.com with SMTP id y1so355244plp.6 for <ipv6@ietf.org>; Thu, 08 Oct 2020 22:05:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=mVJJe/ZJgbaKNqHbrfAkRJ5ZcaHDuooBR6IIFuY9s3Y=; b=AYjR6jW2bHGS/rpH6qsifn3Dw1PVA0OXnIgcZkzLmPXGIf6RRBkwHSE9vr/Q55iFX7 J3k0f6S/tOR5sIPTutVikrDtykav1u9n5+zct9QqAitXvxHSan3+ru+3PX9j3t+MOcjC emCFzjXZo7VLvbIi8ANBlSwghKZgCK1aOpuNQEcifj7JCHdpI33A7cTMxcoZbCVbQ8XF mXqJj2q0X5TIf58xtgCaaDqtfuhBGY2vdPKQ15U8eyOAzgGnALMMCzpr9Y/ZiM8uTuAz uf27U0LdkNrCDyYiFcEAmbWAeABpeWK0zxP43XnkcS6qJytKEGWfnTbz7aaCzlLxW2Ui cmgg==
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:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=mVJJe/ZJgbaKNqHbrfAkRJ5ZcaHDuooBR6IIFuY9s3Y=; b=bwm1CXjCitejoSlYZkreVyZewB4DlSBw5zQvGzeqEj8mHXtZWf5zt3bXRpORoT/Yen a4/XrquIp15/v0OPS9IDP+6hcT3IBp0b1X9bwaAkCFYFquEfTgg7NgO5hnSyX99/maNf Iyzi+3HycEhU1lF3QoCp9FcMhy+dD61P4HfKgQDw5FfI8Iwf1vVly5DRQPwGnnJtXTPG HGuAdNQGuKsmZA/yoaGFOJRk22KPTPMq5gY+Tla2nm2piRGGYBsJNzlqcSl9Mkc0pBMm h/wfGEaL+nBKaCkpkzLlCmoFJjU8Jzd3WAzSvJCFP1ASXzVLI+MptO1yCBM5s3aXHJ+Z 483A==
X-Gm-Message-State: AOAM530GJEKsshtl4sGeYf1f0F3u9nX7CkSZ55+DUjxDTQoOABzqbQJh AlmQBge7kxtFvi8oG+3SPUmbQ9tiJeOnrw==
X-Google-Smtp-Source: ABdhPJxOX6Hi51oi/nMY4aQDE/w/kYMmn7RTdUmQKyCNz5cGoE0WOM5Nl8XKZkx49u95QDFUtfW07g==
X-Received: by 2002:a17:902:c3d4:b029:d3:df24:1619 with SMTP id j20-20020a170902c3d4b02900d3df241619mr10174556plj.1.1602219901945; Thu, 08 Oct 2020 22:05:01 -0700 (PDT)
Received: from [192.168.178.20] ([151.210.132.159]) by smtp.gmail.com with ESMTPSA id 8sm9171515pfj.44.2020.10.08.22.04.58 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Oct 2020 22:05:00 -0700 (PDT)
Subject: Re: New Version Notification for draft-troan-6man-universal-ra-option-03.txt
To: Ted Lemon <mellon@fugue.com>
Cc: Ole Troan <otroan@employees.org>, Michael Richardson <mcr+ietf@sandelman.ca>, ipv6@ietf.org
References: <CANMZLAb3FdZRcpzctXFE_coUQHKT0aTRn6ymkZQjT-KGuwNRYg@mail.gmail.com> <0CC85EA5-8A06-48E9-AE85-70F91A9AE9BC@fugue.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <7ab73890-62e3-8078-c55e-a4b896469082@gmail.com>
Date: Fri, 09 Oct 2020 18:04:56 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <0CC85EA5-8A06-48E9-AE85-70F91A9AE9BC@fugue.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/qvT6y5JKhlsFyTWG6mBL1b5Qpfg>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Oct 2020 05:05:05 -0000

On 09-Oct-20 15:10, Ted Lemon wrote:
> Brian, that’s what I’m saying is a problem. You don’t want self describing encodings when the data format is required to be fixed: that just adds an extra step. 

Why is it required to be fixed? That exactly what Ole's proposal changes.

> That said, Ole’s point that we don’t have a CDDL-to-tlv compiler is somewhat compelling.

I haven't at all looked into whether CDDL has value for describing TLV formats. But the whole business of a CDDL-driven message parser is quite complex and it doesn't get you away from what Bernie said:

>> Knowing what the data types are doesn’t tell one how to use the data.

Even the best syntax driven parser in the world has problems with that. The question is really what's the best way to get to the point where you have to decide how to use the data.

I don't think Ole is suggesting that his way is the only way to do that.

    Brian 
> 
>> On Oct 8, 2020, at 21:02, Brian Carpenter <brian.e.carpenter@gmail.com> wrote:
>>
>> 
>> The big difference is that CBOR items are self-describing and TLVs are not.
>>
>> Regards
>>     Brian
>>     (via tiny screen & keyboard)
>>
>> On Fri, 9 Oct 2020, 11:32 Ole Troan, <otroan@employees.org <mailto:otroan@employees.org>> wrote:
>>
>>
>>
>>>     On 9 Oct 2020, at 00:19, Ted Lemon <mellon@fugue.com <mailto:mellon@fugue.com>> wrote:
>>>
>>>     On Oct 8, 2020, at 6:17 PM, Ole Troan <otroan@employees.org <mailto:otroan@employees.org>> wrote:
>>>>     Which is why the objects are described in CDDL. 
>>>
>>>     That’s lovely, but then why not just compile the CDDL into a TLV parser?
>>
>>     The idea here is to allow users of the option to use existing tools and libraries. Shouldn’t we all be tired of hand crafting C code to parse packets by now?
>>
>>     If you want to build a toolset around a modeling language and TLV representations to compete with CDDL, CBOR, JSON feel free. But I don’t think you should expect us to wait for you. :-)
>>
>>     Ole
>>     --------------------------------------------------------------------
>>     IETF IPv6 working group mailing list
>>     ipv6@ietf.org <mailto:ipv6@ietf.org>
>>     Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>>     --------------------------------------------------------------------
>>