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

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Wed, 08 April 2020 11:50 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 7551A3A041A; Wed, 8 Apr 2020 04:50:34 -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 014KZW_Wgz7E; Wed, 8 Apr 2020 04:50:32 -0700 (PDT)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2059.outbound.protection.outlook.com [40.107.21.59]) (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 8812B3A0542; Wed, 8 Apr 2020 04:50:32 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DWVK0exhM5y8j05V1IX7DxI/H3DpYh8/uYOWAhLK8+TCvxgqg9EFMesDwcGtiejoFtPJkZcXo9QawVd6yWih2l/bIxRXCZV8ep/Z0pVbTBqbwQHcPdIkujiqgxV+aVWhO9mNvKootVPnCxh6URPZmSoEAC2Mxr9BlPFn4GaFGbFPNg8kV77sfoqnkHMLENCdyUf2o8ekpGhhnx5EmqRUjVgaJctVdcIh9ZPr2JLOUiTDlK9KK9OS6DN80RAMMG3Tul5lrcrbVeixHxzKm8fCCn/iGx+37rTbfSZ0pFGFRmCShnqD7yx+9z1Tsvdj/OPM0tzkldL7A6s5dXiZN6cCGA==
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=2yPslVyVtgamLNXA+ARc6B9IWXN1V75mGX+nFPonWHc=; b=ONIDI1SOXHdNfo2140qGzejapsiqfATgC5AHvLc6oDZ/QV/jYItB3lSlf2ynpV5DNPaYMMZznVG4j2/rCmBYDM4A8Rl7gQFhf3SXEgWh6VUzyDRXCBd0i8xcyoyYp5u7TBfUq3zliOqRbn5AHJ5RJUnIvbzBPDADcyTDhsRMJm+jaRAbazUwFDdgNrk99FVrPat2xl3h7usifa7al7nJDjIliT3JzUMSO24cADNrWgVkkbh2yHjWfZe47owI/OCmHzMh48gdQ7LKRBUgjLNjXhVXDKYeg01l1l6kyPDBi/+Ehz58pzPxC+cAHKmJXSc5msJL72BAigcJ7ByH6DBmJw==
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=2yPslVyVtgamLNXA+ARc6B9IWXN1V75mGX+nFPonWHc=; b=i/21jXb/tmcWxSa2y1u1lOrvEjgbJvv4iPdXPomlvAoGOOpaiDwtLRNCofsFrDzObz5AjocSj2Xv7ym1jlAtFFLqf89oSdUUQ3tBF1yBBPOWGQFomuJJVxjG4/XGUXucqpsqbi6GK1oQBG3rNg5gk5BmyAvHsr5sHLh6xg1n9nQ=
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 AM0P190MB0676.EURP190.PROD.OUTLOOK.COM (10.186.128.150) 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 11:50:30 +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 11:50:30 +0000
Date: Wed, 08 Apr 2020 13:50:29 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Carsten Bormann <cabo@tzi.org>
Cc: core <core@ietf.org>, NetMod WG <netmod@ietf.org>, Ivaylo Petrov <ivaylo@ackl.io>
Message-ID: <20200408115029.sfcm2p4gebai3y74@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Carsten Bormann <cabo@tzi.org>, core <core@ietf.org>, NetMod WG <netmod@ietf.org>, Ivaylo Petrov <ivaylo@ackl.io>
References: <20200331110237.zbo3zw74xlccur3w@anna.jacobs.jacobs-university.de> <CAJFkdRwhxa2T-LVoYfwbMcjjo-dWhwonf_q4B6vGGLuWy5K+BA@mail.gmail.com> <20200407194758.luxnndxxsuixhzfo@anna.jacobs.jacobs-university.de> <16670AE8-DE0D-4444-9F64-ED6C67654886@tzi.org> <20200408065738.l7jnht536vxzacse@anna.jacobs.jacobs-university.de> <0817C3C8-420A-4994-89D4-2CDA150F682B@tzi.org> <D6EC7C7E-F078-4AAD-9F23-97EE5F225E39@tzi.org>
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <D6EC7C7E-F078-4AAD-9F23-97EE5F225E39@tzi.org>
X-ClientProxiedBy: AM5PR0201CA0023.eurprd02.prod.outlook.com (2603:10a6:203:3d::33) 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 AM5PR0201CA0023.eurprd02.prod.outlook.com (2603:10a6:203:3d::33) 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 11:50:29 +0000
X-Originating-IP: [2001:638:709:5::7]
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 503d984d-4445-4c1a-d9bc-08d7dbb3095c
X-MS-TrafficTypeDiagnostic: AM0P190MB0676:
X-MS-Exchange-Transport-Forked: True
X-Microsoft-Antispam-PRVS: <AM0P190MB0676BF753BFE5260A4DE157BDEC00@AM0P190MB0676.EURP190.PROD.OUTLOOK.COM>
X-MS-Oob-TLC-OOBClassifiers: OLM:6430;
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)(366004)(396003)(346002)(376002)(136003)(39850400004)(6486002)(86362001)(53546011)(52116002)(66946007)(5660300002)(66556008)(66476007)(6496006)(2906002)(186003)(54906003)(4326008)(6916009)(8676002)(81166007)(81156014)(8936002)(1076003)(16526019)(3450700001)(316002)(786003)(478600001); 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: vpsrfBv557VYN3PHQQzMfTmDI+z9rL6FF8KMGD7X51tF647w109ZHgK8Z08WTGZtsXvxkRKmMl8hFjrn+huvgq5hZ2bFhByqnge01ZpyJGsZihfhvJhremhlCSkXAy78xqA+Wq8PWPg1Z08Pl5bLKYt4cym1LD3scfdxnWOQ7zHdDG/xiW0ir5GoJJHUTntou6bVOXbG4eJgzq6sMoTzYE+ihd7yzAheV7PZD8ZhxHv26AnJv6sU5+7QFRCbGMKB3jeDbniagevz3aOszbwnPZFRGhb/RLe9RdTtc03rp1LfXQOpb6xfD81G6bP4OwWYe1PxVPWpvFfE8pJGdNau13iwYQGijd9KgXUiISPgl+YV/nsBwirdX5R+9Ie5n8BtJV0I/SpVJBEQvrfvKeGT7R5rIOE1kMw35JkPCM8GKSPd9NY9abQqij3c7v8sw86X6YxbCC7ussQ3N3g5Q9zeIUs/NvdAZvKuTcGOA4zI2RkIAGmMo7fX47wCKPW10hx0pLbrk9CJvuzviMZ4Y1+zkg==
X-MS-Exchange-AntiSpam-MessageData: R2AxU8YhxxkLPmPWxSadw+PZpDcEFwRtmpSLtulDPMYUND7pMRsIyRl76ZOvuTcwPNHcrad1hFAhy6FoRBkTheHAMMz04Oby0z9b62G7xEOpHsX7i3HDTGJFZLsSp1RO3/XAHhoBsNyh9i25vse1S8Xg6j3YrB5PrIOvG3mJEc8=
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: 503d984d-4445-4c1a-d9bc-08d7dbb3095c
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Apr 2020 11:50:30.0347 (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: sCESM1B4YkLnIsVKcsRLI+mInHihiMDqMSDrj0oQ7mF8ZHPZWaJLQfEvRs1iJvRhCquXvMP534Jjm0IkQlx5alZvYLeK38hW15xmQBxGZhI=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0P190MB0676
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/k3CtueKJvxFOeu14qP5Q2zpcAGg>
Subject: Re: [core] [netmod] 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 11:50:35 -0000

On Wed, Apr 08, 2020 at 12:58:41PM +0200, Carsten Bormann wrote:
> On 2020-04-08, at 10:49, Carsten Bormann <cabo@tzi.org> wrote:
> > 
> > One way to build a content-type from a media-type name is to add a parameter:
> > 
> > application/yang-data+cbor; id=name
> > application/yang-data+cbor; id=sid
> 
> Ha.
> 
> Let’s create a registry in yang-cbor for id= values (initially filled with id=name).
> -sid can then register id=sid in that.

He? yang-cbor defines how to use sids as ids so I see no reason to not
also register the id=sid in yang-cbor. I thought we settled on
yang-cbor defines what sids are and the sid id details how they are
assigned and how the number space is managed. This way, yang-cbor is
the base document and the sid document has a normative reference to
yang-cbor and comi has a normative reference to yang-cbor. Is there
a reason that speaks against this?

/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/>