Re: [Asdf] Sunday drafts for Friday's ASDF WG meeting

Ari Keränen <ari.keranen@ericsson.com> Wed, 10 November 2021 11:44 UTC

Return-Path: <ari.keranen@ericsson.com>
X-Original-To: asdf@ietfa.amsl.com
Delivered-To: asdf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 90BFF3A0E60 for <asdf@ietfa.amsl.com>; Wed, 10 Nov 2021 03:44:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.102
X-Spam-Level:
X-Spam-Status: No, score=-2.102 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-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=ericsson.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 qFMWCBz0EsUS for <asdf@ietfa.amsl.com>; Wed, 10 Nov 2021 03:44:46 -0800 (PST)
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150080.outbound.protection.outlook.com [40.107.15.80]) (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 5E8A53A0DD6 for <asdf@ietf.org>; Wed, 10 Nov 2021 03:44:46 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M1uPlr9nvPMvVy5nWYwjgrvzeWqBPqiaIFIk8aMmUNUr6Hhtfuq8fmYI4RrJLonSrOm2cinNUrI38cPHhd5Q8VJuPeTPVglGjqYH+hz7/jFjZcnNA5IdVz0CgVme1WLimsTf/R6SXIqVnxLrVfnMFu3o+tAqgNi8jtVKzR6usE40ZXm5bVqNjR8KLOgiQsZjquQPpCoPhdwKVX0QliwHpNWUwGgO2bl+y1tRDm4Usk2HxcPJG0Y5EcpSwaL3lalKb6KPsCC0tQe5SSVmkoM/wW8ueGywL8ScoZn3IaCD2mGx7ucFboJ8B3+a8Sb4brwyoq9oircWlA+XPF4jxO61ig==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=a4JbLxyJ1iC1xGhQrHVYAaDty2Aiu958N9yPZO+tVP0=; b=nTRgnEFuGT1VqRxYhycZZwtfs9kOC9G2OH4QWCOU438EFE5GJA3cdWP1IO8RJ4LX1TIXDSA0kD1vYKFZmyDBS7M6bBSYoLaZBGxdtIa3RpJ82XYUE5CHK/2bCPjl+4SByMLV42XlmOQ9+cRE1xzZdEMXtSRD8Aqv9XJiESq7S6zohl/pzC1IfxGUCS4Djdd5No8Tuwr6Tge9oxPPEsawTP0TVX8BaVkHX6b5y2mC9h+R9nvvWqscKT92z5CK4LVF5xvIJ8WRn7oKAgBCSrwhx3doqE9RQnOUbppPZezEFqxbbAhfDc90/TWEM2bISaSQNqGxxZX/fJcD2CZuFktBnQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=a4JbLxyJ1iC1xGhQrHVYAaDty2Aiu958N9yPZO+tVP0=; b=qvuO76AiU/sZkmFlN5hvsJz6IHuxv/F9zmP3NG8enuIKQbufI4bp5WlqPUwOdWARiR+Bk2JHCjqW9a53bzFEN1Jn8RnWEfSGhNHFspjLf/ltfk0MRsIHLmEhOeumhtj/WxNGS6RkPn5yHW2X2Ldheu7okSNquMZ8pPdlAKVDJ9w=
Received: from HE1PR07MB3226.eurprd07.prod.outlook.com (2603:10a6:7:33::20) by HE1PR0701MB2185.eurprd07.prod.outlook.com (2603:10a6:3:2a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.8; Wed, 10 Nov 2021 11:44:40 +0000
Received: from HE1PR07MB3226.eurprd07.prod.outlook.com ([fe80::241f:4e1a:1305:f50b]) by HE1PR07MB3226.eurprd07.prod.outlook.com ([fe80::241f:4e1a:1305:f50b%7]) with mapi id 15.20.4690.016; Wed, 10 Nov 2021 11:44:40 +0000
From: Ari Keränen <ari.keranen@ericsson.com>
To: Carsten Bormann <cabo@tzi.org>, "asdf@ietf.org" <asdf@ietf.org>
Thread-Topic: [Asdf] Sunday drafts for Friday's ASDF WG meeting
Thread-Index: AQHX03EIupCHjtP5b0+yvfOMu/Pwyav8oVmm
Date: Wed, 10 Nov 2021 11:44:40 +0000
Message-ID: <HE1PR07MB322610F0CCC32A2B3720C0EB85939@HE1PR07MB3226.eurprd07.prod.outlook.com>
References: <C675BE35-A9B5-409B-B60F-F96C9F3B7C65@tzi.org>
In-Reply-To: <C675BE35-A9B5-409B-B60F-F96C9F3B7C65@tzi.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
suggested_attachment_session_id: b9575732-ec40-c566-edc6-d206efcd7279
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 70d1720b-88d6-4b77-4f1c-08d9a43f7b14
x-ms-traffictypediagnostic: HE1PR0701MB2185:
x-microsoft-antispam-prvs: <HE1PR0701MB2185433476497CBDB11873E085939@HE1PR0701MB2185.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: gQWAAYvna/tWgBE88b2RzpV8ZOGMCBRHkQpr0h4HnzUeA1PY1mnacGueKDjQ+k/uoncWVK37tJXLYwZf+D12IM9a6IsONE/UWYY75RL8IIJkmrd1s+eHcE/Brgn8J0+nppFzbC2mMrk+4eanDYIWLeHfSvLcAI2ogDgfCtnL/SRySsizu7NY6yXmPIdyzUVmTZ76IeFVLMNUgP7JzqARYcCNrNN1jDw/rLG902Ed00IAwnjYMj/H+qPduKqFE2m9zHI3Xy4LOsVUJKm4yq7bmZGy5iZWcBriUAqlO5qlWFyOtuGYNwaBveECz9rZKqeCJrU5PA9V42LrHNaa09RPRKOUi7OI4TksOOfoHB2ZN94n/J5nXPKiCNaJJyWPuZ5q8TilUVytE9C4b4gsqNGtu4i6HHTVBcvEdhXHtOt5cVxhdsJ6n8Gho+4MHoYck/nGFBQqnx1Ah3HFWLlmMcLauonTzocqPuvA43Fogo/YxZ4sb508Bh8k6pzzI4ACgOiW4cuZMd6Px5lXzuT3dgxiMiY5n2RBzPJicCiWAtjSSLYMqEoDnEa8jpXn3vycyAHQukSI5B3RUfO2xCElpwARI0kz5G44J1T2+jjoh8keAx1CmkIuDBi7gBBuR0vXs6XSeRzU9MinIgdOvxQGl0sVSZHjQSzu79LwyxM8XRkSkNU0KmHYvrL3mFNA21udZZ77UfTphWKc6HprNUR9pgf8JD6SripN/SBvwygwlRVPxY0U+yDY9m3rHEN8R/4iTEEfb2zvOOn/7E59+ah4rckXsKruAXlhQY+HJw+WwMtGe4V9bpVgNkZ0Rl03qwAcQTy0mhHsBNJsPWAYQ1uBd6mCSw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR07MB3226.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(8936002)(38070700005)(6506007)(8676002)(86362001)(85202003)(33656002)(5660300002)(508600001)(316002)(186003)(2906002)(110136005)(83380400001)(966005)(7696005)(9686003)(55016002)(52536014)(66476007)(66556008)(71200400001)(64756008)(76116006)(91956017)(66446008)(66946007)(85182001)(38100700002)(122000001)(82960400001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 0wi2LkZ9WRguYO1PJ2ae1mAadUeBQtzVxypOjyF1Qm6kk/sHgdQONQkxVzuIlF3hOYYkwfxRIKtAIHf3bNeEZSbHTeCSyPrlD6ThdgCvncrPJYCaydrN/wlddlA6LStqX3n9sqvFqxG9KbM/ScTSN7p1p4tPEApJWBZFKQwLSX0egSGCUDYVG/Dgly3Qtbdjbl4ez+HCMoAboY4KyCgXxadFerm20BAjV+7P0ehSnoUM2gUGJw57LKmzJnmuKLHSLOpIdM5b+8P8XpOJ3sIY9kRmSl5FI1ET/ithPkuV5eFntf+rcM6ne9pu+fLOthTBez/3VkP6tboohnifzEFiBKynOZkiOLpl1NZV5WdA5FpYgSYPN5lUEwHrBqlGfejefypSS/jRNPrB9mvtJWRAIipVC2z4mbS6UXvB1PYoZh89zNddJbojWZusJirKdBztjpc5nYvYzyi5VYUIKO1BgVp486ryRBJpCxJ4EZKklYG3kCC+NUMQmLovIPjnEG7988GrCvC95JoxWlLqTo3DZh5AxM451R370wandcfi3a+iXv+oBsJSARttpfZQNoiah0ys+i105H2grz3or6W6T8x7+VpgeLVHRq/TUkr7AeZ0aIFwWFLqpwlpvMns2VTMQRX+abG+SoXRmsjuNtJpeZayytjfDMM19/zgU4F5NhlrSEP4cIEEDEy+X3g43vqxswtt72cpIutZwOXTcGVgbdrX1wHA5KR23Ff9zGDUCmBsyK/ON4K+ZUiQmjU+AfgpK7FTW8G5RPsppKDDQ4pm3GpQnwXwFPDGFDSEseBHR+GTr2lSW7gykhrYhwvexj9XwY1kWpRyoWP+JFrMWkLdc7qVfjpFmhgZRvVelac01JLEgz970MC81bRCj6LyIqjtl5wqA208STIWq+EhAQBylzeBkKj2pZs53k6n5lv2wbx7YAWUtO0NARNwfi74a6OsVmTBXKWtJwcc9gvyOqIlhJCZqaxEzZv9IKlKMxDDT2kdBzwNEG5rL8R50SXb05Z3gxMNlXI+8pZF4PO1f9GW/CwRITmwd+elEq+27ZxEBnKnM5yGBKXtAxcsIbMrJKI5fC0WPO5FGq4ivw127N2AOgP5U1b5pmvlGHLL5f3NQIiDU6LrHRcudooUy/jqYv1uvRGvL5Jw3Y1XR0lAzrxkX/fo6b7EOEsqkN4Jvid4HDZ2NXbajpj4up9jwaw0Lb1a9SvWDApH03wJ6XQKBF1YgOCUeUZ1y6CD9ZvIFqNuIZcRwx0E6fd95elQ5vyEIrZnpA7KCTt925iQq1NzXXURBH67Z/e6cgDnAvdLi7eBOo0JkXVs1Bq0f/Ygdre46nqwzNJHa9ssBUcczw+88IUHpUh5WMFo4gDCKrrVpryodhSWaNDqoaS39bUx7uEn8IUL58sWYJsEhGGpWErhXZ+nmhZbV8jKyLin8u2fPy6eJIMlO8K73INomwMUOyWM1uqBID5pMHaFHwk2JpRkU3JisiS3HZx2skATc9jRGTh5a4INF5FrT8Ze4fFynhXBZ0uL4Y3jU2aa2BKTMY8PkAGEKvnCgR1WVEPbY5/s6gkD6Y5mm03QCBSFaIXrsx5mjkcmmxp0PBeek+696tjPpSrdBY8E8SXdXei2S/aeY/mj1oRFn1PlQs5+LEqCW+dtRgjxSrA7Bq67ObtYY6hon1oxVMPsAnqbV1l7y1jotcXbhCK83CAQihHUbbaf2ssnawZXRPIxGbE7WbK4J9QOaFSxEQ==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR07MB3226.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 70d1720b-88d6-4b77-4f1c-08d9a43f7b14
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Nov 2021 11:44:40.3140 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: V+OgXvGFcyXyJYAjIvUyHidvY+vkMhRPB3U49TFk4esZphnp8wZDRzEFl29uzEI9AfawMSh79AayaxgjsH6J3IpNEoyYnx64whaRiKOLPO8=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2185
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/19nxpuNn6aoHUmzpushFneZdDRU>
Subject: Re: [Asdf] Sunday drafts for Friday's ASDF WG meeting
X-BeenThere: asdf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A Semantic Description Format \(SDF\) for Things and their Interactions and Data" <asdf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/asdf>, <mailto:asdf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/asdf/>
List-Post: <mailto:asdf@ietf.org>
List-Help: <mailto:asdf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/asdf>, <mailto:asdf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Nov 2021 11:44:52 -0000

Thanks Carsten (and students)!

Some comments and thoughts inline.

Sunday, November 7, 2021 2:46 AM, Carsten Bormann <cabo@tzi.org> wrote:
> With the meeting week imminent and I-D submission open again, I just posted three drafts that might be useful to look at for the WG meeting on Friday:
> 
> (1) draft-ietf-asdf-sdf-09
> 
> https://www.ietf.org/archive/id/draft-ietf-asdf-sdf-09.html
> 
> -09 is almost the same as the pre-moratorium -08 (which added URIs as possible values for the “unit” quality), but now also defines a URN namespace for the inverse direction (e.g., RDF-based ecosystem formats that want to reference SDF units).
> See note 1 to table 4 for the meat (the diff is extremely noisy due to an xml2rfc change).

This is great, thanks! I think RDF use of SenML units is very useful also beyond SDF. I wonder if we can do something to avoid the percent-encoding issue? Perhaps we (at least) just avoid "%" in the future SenML unit identifiers.
 
> Apart from tweaking at specific qualities such as “unit”, we of course need to continue the work of hardening the document for WGLC and IETF/IESG processing.
> -08 had the replacement of a normative reference to json-schema.org material by a normative appendix that has the content we need.  We should now look at the specification and see if there are other parts that need to be finished before WGLC.

I have a list of various small clarifications (mostly on terminology, more examples, but also on affordance use, instances, etc.) . Hopefully ready soon for a PR.
 
> (2) draft-kiesewalter-asdf-yang-sdf-01
> 
> https://www.ietf.org/archive/id/draft-kiesewalter-asdf-yang-sdf-01.html
> 
> This contains a significant update to Jana's detailed descriptions of the SDF ⬌ YANG conversion.  Even if you don’t care that much about YANG, a lot can be learned from this exercise for other converters as well.  The most interesting problem that YANG poses is that it doesn’t tell you where in the data model the actual affordances are — in principle, you can target any point in the tree.  SDF instead clearly identifies the affordances, separate from the tree structure of any data.  This information simply isn’t present in the YANG model, so some guessing is required.  (There are a few other interesting observations, including about regular expressions.)
> 
> This draft is out of scope of the current charter and might even be considered a research contribution, but we submitted this to the ASDF WG because it is immediately relevant to the translatability of SDF models.

Will put this to the reading list and looking forward to hear more about your learnings in future interims.

> (3) draft-bormann-asdf-sdf-mapping-00
> 
> https://www.ietf.org/archive/id/draft-bormann-asdf-sdf-mapping-00.html
> 
> This contains a formal description for what a mapping file could be, as well as two examples of using such a mapping file (one of which uses W3C WoT Thing Models as the other ecosystem).
> 
> This draft is pretty early stage, but the intention is to move something like this forward to become a companion specification to the main SDF standard.
> 
> The draft stays clear of addressing the “class vs. instance” distinction (e.g., it uses WoT Thing *Models* to stay on the class side).
> We need a processing model to handle instantiation, and maybe this can be made orthogonal to the augmentation function of a mapping file.
> Both dimensions need links, but in very different ways, so there is likely to be more than just one additional component we still need to build for this.

Great! Agree that we need this piece standardized to close the loop with ecosystems and this is a great start. Also good points raised on the namespace use.

>                         .oOo.
> 
> We have only one hour on Friday, so any discussion we could have here on the mailing list beforehand would ease the timing of the WG meeting.
> 
> Oh, and I should explicitly acknowledge the student contributions to the two individual drafts: it is a privilege to work with bright young students on this, and we had a little hackathon of our own this week to get the updates to the existing as well as the new draft in place.

Excellent work!


Cheers,
Ari