Re: [core] js review of draft-ietf-core-yang-cbor-12

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Wed, 08 April 2020 06:34 UTC

Return-Path: <J.Schoenwaelder@jacobs-university.de>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4C4523A07A8; Tue, 7 Apr 2020 23:34:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=jacobsuniversity.onmicrosoft.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 Y3rQ_m1ilnhN; Tue, 7 Apr 2020 23:34:33 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80075.outbound.protection.outlook.com [40.107.8.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1873D3A07A6; Tue, 7 Apr 2020 23:34:31 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IGvqUsQjwfjbzwJ9IsJVdnSht259cB2A9gcnqLVSmsEA62WflIzfw0X/XSsw/73kdjwZn3lb0ydvQXNN50MPVcnwX1CdYPCjYhTUg4XHAxSRuoqLgr3gLLlXfkMdzeWpxvJlHbzynvN/KJTGEy/R0TEH2MVpds6bwF9YLA43A2QX9p+PPvB8snr/JZSq8R8u1LgYmq/kVA/TgZz/w6UwKyjjRtc6yzJZGITUhflVvRh/iWLp6Hk7AnIoEmDXQeoQf7NJNDSmwXGPjFzu40Nbj86k9v6FmdGgaVIL63JMTHgelrIM6y9AKXzmZ3FzrkfLENQHNsfUxgBIApcm4MygpA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/IK+ZBW9AsaO2hoCZUYiP0egipPL/RVjIFkWL0V7UHU=; b=oLtIRunvemqNURfyCAl8QGZZ2tRkGf/8E7zo2RhQ/kspShJvIxjd+uAN6Zkpf8C/oelej3ntkoLYytRYUdpCTFqHfFl5WxatpUgZVY/mOpBOdQ0gDLD1aa81fu+7x95oQxhIExtU8WuOvCmL5OcRgCkj+sC+2Lu2MGm19Xj+mcAMKEACnEfCgLiMJsmMtzTgr9h/rbdYWnyjOXmENpRngPXmPTAznznpbVv5kN/itFFcEUcxrcUhdU5Kf2RHBeEkRJxYkHKiVYg0p2+77BgCCei2WLfnruSYzGsIutYbKMvMIc5H7sCy4tqIY3rF/L/RUz/umwMtFmLR2ft9P6O9vQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jacobs-university.de; dmarc=pass action=none header.from=jacobs-university.de; dkim=pass header.d=jacobs-university.de; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jacobsuniversity.onmicrosoft.com; s=selector2-jacobsuniversity-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/IK+ZBW9AsaO2hoCZUYiP0egipPL/RVjIFkWL0V7UHU=; b=pDdo9nH77nPUUUSe9SSYIUBO8M49AmCDx/MS4FEbUqwSx1hngy8dQF6R38MeVuEXPCpcwKvatsz1/0e9gd3L77X8az7D7AFycLyvbiMLpO8NM+vvyZGZYLLyaG+X8JadImMBMVUGLWJIHmcrrNZFAPf44bJRhXGqmngf5huNpi8=
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=J.Schoenwaelder@jacobs-university.de;
Received: from AM0P190MB0707.EURP190.PROD.OUTLOOK.COM (10.186.129.88) by AM0P190MB0626.EURP190.PROD.OUTLOOK.COM (10.186.128.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.16; Wed, 8 Apr 2020 06:34:29 +0000
Received: from AM0P190MB0707.EURP190.PROD.OUTLOOK.COM ([fe80::382f:f91c:26b5:a440]) by AM0P190MB0707.EURP190.PROD.OUTLOOK.COM ([fe80::382f:f91c:26b5:a440%8]) with mapi id 15.20.2878.021; Wed, 8 Apr 2020 06:34:29 +0000
Date: Wed, 08 Apr 2020 08:34:28 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Carsten Bormann <cabo@tzi.org>
Cc: Ivaylo Petrov <ivaylo@ackl.io>, core <core@ietf.org>, netmod@ietf.org
Message-ID: <20200408063428.xqpf47jgqnxtjtxe@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Carsten Bormann <cabo@tzi.org>, Ivaylo Petrov <ivaylo@ackl.io>, core <core@ietf.org>, netmod@ietf.org
References: <20200331110237.zbo3zw74xlccur3w@anna.jacobs.jacobs-university.de> <CAJFkdRwhxa2T-LVoYfwbMcjjo-dWhwonf_q4B6vGGLuWy5K+BA@mail.gmail.com> <C355953B-7715-4CD9-B064-6B9D58B7D11A@tzi.org>
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <C355953B-7715-4CD9-B064-6B9D58B7D11A@tzi.org>
X-ClientProxiedBy: AM6P195CA0044.EURP195.PROD.OUTLOOK.COM (2603:10a6:209:87::21) To AM0P190MB0707.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:196::24)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from localhost (2001:638:709:5::7) by AM6P195CA0044.EURP195.PROD.OUTLOOK.COM (2603:10a6:209:87::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.15 via Frontend Transport; Wed, 8 Apr 2020 06:34:29 +0000
X-Originating-IP: [2001:638:709:5::7]
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: f4d00c53-f904-4a43-decd-08d7db86e40e
X-MS-TrafficTypeDiagnostic: AM0P190MB0626:
X-MS-Exchange-Transport-Forked: True
X-Microsoft-Antispam-PRVS: <AM0P190MB0626EE09CF64E0BCE9C529BFDEC00@AM0P190MB0626.EURP190.PROD.OUTLOOK.COM>
X-MS-Oob-TLC-OOBClassifiers: OLM:9508;
X-Forefront-PRVS: 0367A50BB1
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0P190MB0707.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(346002)(366004)(39840400004)(376002)(396003)(136003)(2906002)(16526019)(186003)(6496006)(54906003)(52116002)(6916009)(66476007)(66946007)(81156014)(81166007)(66556008)(5660300002)(8936002)(8676002)(53546011)(6486002)(478600001)(4326008)(1076003)(86362001)(3450700001)(316002)(786003); DIR:OUT; SFP:1101;
Received-SPF: None (protection.outlook.com: jacobs-university.de does not designate permitted sender hosts)
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: MFEk+UGnJrbi4mJ/9K5+1+1aRzWy9CHTYT03eGMggkaXuXK8306LimHJorwbhosWWKx6gtrG7hqI9MpflzM/ew1PuHjyzTf4oF9ZCwtC5tqmZZQdAL5/bp+p6cELNvW6wu8rra6f+tWAXHpOiRMJpRErWm9oVn6D/PmkVmGPpE8niqxCTDdzQQreu0ByYBWbi/+BHsvI859BL7Os/91X2r66770lY0bOaAb0V7HlW4I8VcDMq5kj3f42/pe+tnGBS1brd2+UYn7g7Hf1G1huyMXl4rawErvyWFXcOiJKP14o6FZvktwcQfn4jpP9nbPo7+HhgElWdD1RHn9BnABUnOVAHivXE3Gb3Oorer3Coz0OdxtDJf5izprNCwEmfaa4pjCd9qs8qgtFsjbr8u6xITuWDEHmim6cg+YB/qkbcW/lU4UQ+SeiQfo6R7XaGEnPGo3kvelMULFedPzEbnx0kom0BW055LttVPt4vJgfKecn5VFUodtsWyXVLBpxr3dwVvpZpylURi3UwM7UxoNY2w==
X-MS-Exchange-AntiSpam-MessageData: 71R11F0zU7NXtMWtApH1cNi0PWvUfmd9ZGx7B/a70feEWEtwjlQVDG8C24ifO1ntkbUQddwd3KOYWibFe7tRe1HBgvLRoBmKZiYHYzHWUHqQ0aosdPHZ+ymixQ+wiRpbaAhjoY3BYLGwo15YcrDrwt/udcs2O3p/r/peZ9EGE9A=
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: f4d00c53-f904-4a43-decd-08d7db86e40e
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Apr 2020 06:34:29.5928 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: f78e973e-5c0b-4ab8-bbd7-9887c95a8ebd
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: bhS5Q6WgWp0muhWTohXQmlsRnulRdYSkaGJlOBiCaYnz0LDe0H/0ZZyF/L9+onruxKIi5zMkdroW2L/iPpdCSJ26WZFmyMtSsj1UjhwXYAQ=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0P190MB0626
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/MX3KQO4UtzF7aQfXa0msE2g2GhM>
Subject: Re: [core] js review of draft-ietf-core-yang-cbor-12
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Apr 2020 06:34:35 -0000

On Tue, Apr 07, 2020 at 11:47:37PM +0200, Carsten Bormann wrote:
> On 2020-04-07, at 15:35, Ivaylo Petrov <ivaylo@ackl.io> wrote:
> > 
> > - If this work gets approved, will other specifications like
> >   draft-ietf-netmod-yang-data-ext-05.txt be expected to cover CBOR
> >   encoding in addition to XML and JSON? This is more a procedural
> >   question.
> > 
> > [IP]: From our discussions, I could say that that is desirable, but not something these drafts can enforce.  (Also, for drafts that already are well-advanced, one would expect a companion draft on a later timeline instead of the original text-based (JSON/XML) draft.)
> 
> Right.  Are we creating any special hardship for draft-ietf-netmod-yang-data-ext?
>

This is a procedural question (i.e., nothing the ID will regulate) and
ideally the WGs involved come to some common understanding how we
handle things in the future. One option is that NETMOD agrees to take
care of CBOR as a third encoding in the future like it does take care
of XML and JSON today. What I like to avoid is that YANG evolves and
the various encodings start to work with different subsets of YANG.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>