Re: [netmod] WG Last Call: draft-ietf-netmod-yang-instance-file-format-06

Balázs Lengyel <balazs.lengyel@ericsson.com> Thu, 12 March 2020 17:09 UTC

Return-Path: <balazs.lengyel@ericsson.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1A05D3A0DC2 for <netmod@ietfa.amsl.com>; Thu, 12 Mar 2020 10:09:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level:
X-Spam-Status: No, score=-2.101 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, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 WSl6P-LL31Cz for <netmod@ietfa.amsl.com>; Thu, 12 Mar 2020 10:09:14 -0700 (PDT)
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10079.outbound.protection.outlook.com [40.107.1.79]) (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 955883A0DA4 for <netmod@ietf.org>; Thu, 12 Mar 2020 10:09:13 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; =?utf-8?q?b=3DQ2m03Ha9f5dLMaKN+wh3gncKPkzXoluwJT+mOdP9jnECdiWLnxrecwC2q/a2Y?= =?utf-8?q?h8kNTXZo+9NWOy+wVdJZnlr7k4N1RLewo9OZn4112D+TPzg2sneEvw9sCPUvSqHBT?= =?utf-8?q?C+eliGKbLsB87mBZIOJ33C7L093MWVXnypl/IfX8yEPQyEExK8IPTfpZyLI8lqdSd?= =?utf-8?q?gdux3+YMFuwwgVNwgvLtSy6EntsBRzIo7G/lEzNCNOEzxsedPssB7aexbYunS9YcL?= =?utf-8?q?PEkjSFirT9AW4sEYBzD4fpCROktw+g0+000P67/iY6/x0Gzgg+QuzjXmBYNLtC2hT?= =?utf-8?q?SUGR2fSZKKltREkglz50w=3D=3D?=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; =?utf-8?q?h=3DFrom=3ADate=3ASubject=3AMessage-ID=3ACont?= =?utf-8?q?ent-Type=3AMIME-Version=3AX-MS-Exchange-SenderADCheck=3B?= =?utf-8?q?bh=3Dxnyg7QU/YqT+/Fnf9zCHahSsjhRKEiCPA8jkiwVsgQo=3D=3B_b=3DfL17+T?= =?utf-8?q?s3RXWc8kEKOx5b5t87mPUy0H1KT/O4ciM4+YZ/LQCczDAqsre4Wb7xDd40LpsdRG0?= =?utf-8?q?z9iqrY6xysfnJwVbRuBAtla5PfQc0Nno7dAqoqzIiWwrTKige69aRGeeb5uNqWjic?= =?utf-8?q?rtoP6XiBY6bLZinTsIhJvoSpR03l/UcdVN6q3aAVtHmB9mpiEE1lXX5iDjbvQ5whU?= =?utf-8?q?nhZlPm7t9tez372Z+LQdc/90VtlfBOPks3bGR7LkcPRjJU6szZlUYM3K9rvKOKyig?= =?utf-8?q?/uQLQrRo9Bpni9KVxX8jbVneNqfOY4P0CihgazuyDigPfB/Yq4qTQpC1F8QH2YobM?= =?utf-8?q?WfJXZEzbrsg=3D=3D?=
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; =?utf-8?q?h=3DFrom=3ADate=3ASubject=3AMessage-ID=3AContent-Typ?= =?utf-8?q?e=3AMIME-Version=3AX-MS-Exchange-SenderADCheck=3B?= =?utf-8?q?bh=3Dxnyg7QU/YqT+/Fnf9zCHahSsjhRKEiCPA8jkiwVsgQo=3D=3B_b=3DGC9Pig?= =?utf-8?q?3SKVP3RSHPCgtv6Oepn5oc23Br1iDnLwA/xC38w84B3QC4w2+cl01P/CmBVJNqHVy?= =?utf-8?q?IovcyhQl7El985ZrPFZQsu6cSAfDppVRhYPpM4tdGuFRfUFBcOuuGQA3d1im08T3x?= =?utf-8?q?yfXOtCkwpbbiabpt/uaOS0TIT/swdAkgDj4=3D?=
Received: from DB7PR07MB4011.eurprd07.prod.outlook.com (52.134.97.155) by DB7PR07MB4956.eurprd07.prod.outlook.com (20.178.43.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.6; Thu, 12 Mar 2020 17:09:10 +0000
Received: from DB7PR07MB4011.eurprd07.prod.outlook.com ([fe80::15cf:dc81:c6f4:aa0c]) by DB7PR07MB4011.eurprd07.prod.outlook.com ([fe80::15cf:dc81:c6f4:aa0c%7]) with mapi id 15.20.2814.007; Thu, 12 Mar 2020 17:09:10 +0000
From: =?iso-8859-1?Q?Bal=E1zs_Lengyel?= <balazs.lengyel@ericsson.com>
To: =?iso-8859-1?Q?Martin_Bj=F6rklund?= <mbj+ietf@4668.se>, "j.schoenwaelder@jacobs-university.de" <j.schoenwaelder@jacobs-university.de>
CC: "netmod@ietf.org" <netmod@ietf.org>, "bclaise=40cisco.com@dmarc.ietf.org" <bclaise=40cisco.com@dmarc.ietf.org>
Thread-Topic: [netmod] WG Last Call: draft-ietf-netmod-yang-instance-file-format-06
Thread-Index: =?utf-8?q?AQHVxVfSEJ6TUivwA0OmLdrVeJgwbqfztdUAgCEFvqCAAsFUgIAA?= =?utf-8?q?Y06ggAqwh4CAF9AXkIAGAvgAgABGBfCAAC0TAIADO+CAgAAVwwCAAWtzAIAAAvrQ?=
Date: Thu, 12 Mar 2020 17:09:10 +0000
Message-ID: =?utf-8?q?=3CDB7PR07MB4011C577209422E83C24F654F0FD0=40DB7PR07MB4?= =?utf-8?q?011=2Eeurprd07=2Eprod=2Eoutlook=2Ecom=3E?=
References: <20200309163548.zq4nq6xe44zkest6@anna.jacobs.jacobs-university.de> <bab729da-999d-da90-ff64-d037e2a29f68@cisco.com> <20200311191646.a6r77jr5lglxchml@anna.jacobs.jacobs-university.de> <20200312.175736.1911206510177234294.id@4668.se>
In-Reply-To: <20200312.175736.1911206510177234294.id@4668.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=balazs.lengyel@ericsson.com;
x-originating-ip: [89.135.192.225]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 6bdaf33c-ab92-4dac-de1d-08d7c6a81527
x-ms-traffictypediagnostic: DB7PR07MB4956:
x-microsoft-antispam-prvs: =?utf-8?q?=3CDB7PR07MB495602116AF5DF99919E27FFF0F?= =?utf-8?q?D0=40DB7PR07MB4956=2Eeurprd07=2Eprod=2Eoutlook=2Ecom=3E?=
x-ms-oob-tlc-oobclassifiers: OLM:2331;
x-forefront-prvs: 0340850FCD
x-forefront-antispam-report: SFV:NSPM; =?utf-8?q?SFS=3A=2810009020=29=284636?= =?utf-8?b?MDA5KSgzOTYwMDMpKDM2NjAwNCkoMTM2MDAzKSgzNDYwMDIpKDM3NjAwMikoMzk4?= =?utf-8?q?60400002=29=28199004=29=28478600001=29=2833656002=29=28966005=29?= =?utf-8?q?=2866616009=29=2886362001=29=28110136005=29=289686003=29=28550160?= =?utf-8?b?MDIpKDU0OTA2MDAzKSg3NjExNjAwNikoNjY1NTYwMDgpKDE4NjAwMykoMjYwMDUp?= =?utf-8?q?=2866946007=29=2864756008=29=2866446008=29=2866476007=29=28432600?= =?utf-8?b?OCkoNTI1MzYwMTQpKDU2NjAzMDAwMDIpKDI5MDYwMDIpKDY1MDYwMDcpKDMx?= =?utf-8?b?NjAwMikoNjY1NzQwMTIpKDg5MzYwMDIpKDUzNTQ2MDExKSg4MTE2NjAwNiko?= =?utf-8?q?71200400001=29=287696005=29=2881156014=29=288676002=29=3B?= DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR07MB4956; H:DB7PR07MB4011.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: =?utf-8?q?awiRhe4oEnm1vd0FSp096R5TBYUu8CS?= =?utf-8?q?Lfj3ZryfQS1b9yU1vI/tLb9U9wau61THZ1rhYYgqSmgmy8s7T3DdUZFcdKKA/wewx?= =?utf-8?q?rYiPWgPOblCR/PfhkNIBRvGI4L1sNN+CxvTPsV9lEK0S9OYh0da26iEv2Tp44PrJG?= =?utf-8?q?x5oJf0ZSATl1E+B4XguIy2avXvo/q0+QId61PGE+gENw6OyxT/Xoq+63x2qJq0YuV?= =?utf-8?q?17aZNU8lSF1PFqe9u8rowb3xUlhsTdc/9mSRVmmKIUBRcgfMFfoAA3uRDZ5ul2P29?= =?utf-8?q?xdBeafFBL15NvRP1iSD0DVvNoA3ZQFEJuHSQQ/60LMMYbIxGLbhrRQJ9Mmh2UDNXK?= =?utf-8?q?Vo/yy+g8nC2mP1+RR6LGRwyTmxjnDADNCYnG2nkhT7pYaxjVZSBp5KkXIkZ9wvMK2?= =?utf-8?q?KmhiXnM4D+0zZ2Jgc3I9I4Upjmecb7dxz1Q3xdl6zvVGG9ARYRU8jX7JsAkDFaF+U?= =?utf-8?q?VkGC55MiuiSGc2zq0FemfF1ZV4sB9sf9LGISCKt7CreiXeMw=3D=3D?=
x-ms-exchange-antispam-messagedata: =?utf-8?q?RSEDQrzrSdmDimkiwENFZw0/l+yweZ?= =?utf-8?q?C1Sb7CLiQk3xEu1PamKLgd6b4PhWCQGNT4052qewJYoZMzNXn3ZGAn3tBJJASSwsH?= =?utf-8?q?99IEzSXSEbjxXhdaW3sTIq4cgafALa/XNL2V7SBL+ZPeumRCV4am7KQ=3D=3D?=
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0187_01D5F899.538186E0"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 6bdaf33c-ab92-4dac-de1d-08d7c6a81527
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Mar 2020 17:09:10.7054 (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: =?utf-8?q?ykDbNYN8xf38UDqyHj/6X?= =?utf-8?q?+0YmgR6Rcjl2IWJgA2s+hvkiHM+ksPBbAtaT6fn+e6SPUhElneP5r0GCos/1aRwOd?= =?utf-8?q?TgJkhxybK2TUta+JvVUFI=3D?=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB4956
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/78PO2Z6-EV6j6588C0InDtperi0>
Subject: Re: [netmod] WG Last Call: draft-ietf-netmod-yang-instance-file-format-06
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Mar 2020 17:09:19 -0000

OK, I will remove it.
Balazs

-----Original Message-----
From: netmod <netmod-bounces@ietf.org> On Behalf Of Martin Björklund
Sent: 2020. március 12., csütörtök 17:58
To: j.schoenwaelder@jacobs-university.de
Cc: netmod@ietf.org; bclaise=40cisco.com@dmarc.ietf.org
Subject: Re: [netmod] WG Last Call:
draft-ietf-netmod-yang-instance-file-format-06

Hi

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> wrote:
> On Wed, Mar 11, 2020 at 06:58:53PM +0100, Benoit Claise wrote:
> > Juergen,
> > 
> > On on side, Balazs mentions:
> > 
> > 4+ people asked me explicitly to state this similarity during the
> > development of the draft.
> > 
> > The current text is:
> > 
> >        P2  Instance data shall reuse existing encoding rules for YANG
> >            defined data.  Its format will be similar to the response of
a
> >            NETCONF <get> operation or the RESTCONF response to a GET
method
> >            invocation on the (unified) datastore resource.
> > 
> > This modification is based on your feedback:
> > 
> > Well, then the correct wording would be "similar to the response of 
> > a NETCONF <get> operation or the RESTCONF response to a GET method 
> > invocation on the (unified) datastore resource". Sounds complex and 
> > I still prefer the text to be agnostic to specific operations
> > 
> > On the other side, you insist now on removing the latter sentence.
> > Could you propose a similar sentence that would satisfy your concern?
> >
> 
> The new sentence is this:
> 
> 
> 
> 
> [Yeah, I suggested removal so the new sentence is empty.]

I agree with Juergen.  

I find the sentence about similarity confusing.  What exactly does "similar"
mean?  Does it mean that it has a <rpc-reply> on the top?

This section defines the prinicples / objectives, and the principle is
clear:

       Instance data shall reuse existing encoding rules for YANG
       defined data.


> PS: I do not mind if somewhere there is an example stated. But even
>     then I would prefer something like this:
> 
>       For example, instance data of the <running> configuration
>       datastore is encoded similar to the response of a NETCONF
>       <get-config> operation on the <running> datastore or a GET
>       method invocation on the <running> datastore resource and it
>       will be embedded into a container together with the metadata
>       describing the instance data.

Hmm.   If you really want to show how a reply to <get-config> compares
to a corresponding instance file, it might be better with an example that
shows a complete reply to this get-config, and the corresponding instance
data.


/martin



> 
>     (I prefer to avoid NETCONF GET and the RESTCONF unified datastore
>     since they have issues. But if people insist on an example using
>     operations that have issues, I will keep my mouth shut.)
> 
> -- 
> 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/>
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod