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

Balázs Lengyel <balazs.lengyel@ericsson.com> Fri, 06 March 2020 14:44 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 8C8EA3A0835 for <netmod@ietfa.amsl.com>; Fri, 6 Mar 2020 06:44:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, 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 rXTC0Zt2tIys for <netmod@ietfa.amsl.com>; Fri, 6 Mar 2020 06:44:34 -0800 (PST)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70077.outbound.protection.outlook.com [40.107.7.77]) (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 369323A0833 for <netmod@ietf.org>; Fri, 6 Mar 2020 06:44:34 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IIHwwGKeF9Cqs49cQsG4eB6eOVQJ4eOqCTiV10OTlSgmlbWEW/DQHS44M/3I9/97RRe7k1AoEkK+TTZ4amnoFmxw+zksHzzNsqB2ZY++hoPkmdOVujUAn1AYHwUPShQJ6hWz4zt9DIjOvC+Da3WWGwlkQrbfmPO9BSUD8QRZu800pLgUVO29QzrAGRSkQCtbfAkssN2i/9/EG6TxFu7n+drM+OV47QqmuYZG+EL9zi2vsjKLrXhNK/LPb1s4LH/20lFNxzgt6qrd5iJUscQbRe25Zzw9V7weLV3W5YZFFHno9NFb5tkHYLOmmsPAubBLxzYYoC9THvLMTiLox59IXA==
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=ESdcHH3fqA1FgyaIcqygubDp6k3shQkrV2ZuXzgwzRI=; b=PC9oIZZlBYbMS5M5PuwoemhnPIow4oOrqlQVnRuOl1K2gMgWtNHymyXgONfLWvuWrOn7hmz8eIJ13Psm0D303hLaNwvFhSA2nMqSjDG44ez/uKrP0c1SPKQ2yzJHFQO3JabSdW+I0AB9lqFm8tx+4Q6wRFxIojR6d1NyVN7RoExFHP76R8vgRuJAtb6iDDn+ydmEg8Koxv97zAbQ5r0TXJBj/8rD1zqt7+weLIaZ+trU2eLDLqre8xDW0lXBOF9rol22XNA8ULcujAmbf/9BFrcPZ24cI9xwltqxj7JUnL87/Cd/rLDeWB7mK+ko7nfGoUV4LXW5wpGP2UbC5uVIRg==
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=ESdcHH3fqA1FgyaIcqygubDp6k3shQkrV2ZuXzgwzRI=; b=jDlgmffY9+PXrDNGxmk0uaxbMGv73Qo8as5O3bISWcoi2LYokrPoO/v1YTDZUoo4qBlklPNT3St65xzh0qd14AkPBSc+XQtc7yinhdtMqiATIpyKaEFFnwwMNa0E6A9xaJVAlxGF8IcrmOOBae4/siV8n6wg0NDzcPtk8SFQDmg=
Received: from DB7PR07MB4011.eurprd07.prod.outlook.com (52.134.97.155) by DB7PR07MB3931.eurprd07.prod.outlook.com (52.134.104.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2793.9; Fri, 6 Mar 2020 14:44:31 +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; Fri, 6 Mar 2020 14:44:31 +0000
From: Balázs Lengyel <balazs.lengyel@ericsson.com>
To: Kent Watsen <kent+ietf@watsen.net>
CC: "netmod@ietf.org" <netmod@ietf.org>, Benoit Claise <bclaise@cisco.com>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Thread-Topic: [netmod] WG Last Call: draft-ietf-netmod-yang-instance-file-format-06 to -07
Thread-Index: AdXjRaul/baoBR3OSym1n0wm+wChUgAJWeEAA+aGbsA=
Date: Fri, 06 Mar 2020 14:44:31 +0000
Message-ID: <DB7PR07MB40119ED41717889CFACC08F4F0E30@DB7PR07MB4011.eurprd07.prod.outlook.com>
References: <DB7PR07MB4011402E836C2FABCB3E7F42F0150@DB7PR07MB4011.eurprd07.prod.outlook.com> <0100017045205157-ba7a6e8f-0d4d-4540-b6ca-94d4d81dbe02-000000@email.amazonses.com>
In-Reply-To: <0100017045205157-ba7a6e8f-0d4d-4540-b6ca-94d4d81dbe02-000000@email.amazonses.com>
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: d4bac93a-e115-4635-defc-08d7c1dce153
x-ms-traffictypediagnostic: DB7PR07MB3931:
x-microsoft-antispam-prvs: <DB7PR07MB3931BAE0249DDA031E44BD69F0E30@DB7PR07MB3931.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:6430;
x-forefront-prvs: 0334223192
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(376002)(346002)(39860400002)(136003)(396003)(189003)(199004)(55016002)(85202003)(76116006)(66946007)(66446008)(54906003)(53546011)(6506007)(66476007)(66616009)(64756008)(66556008)(66574012)(8936002)(9686003)(5660300002)(2906002)(52536014)(8676002)(81156014)(81166006)(4326008)(71200400001)(966005)(478600001)(85182001)(86362001)(26005)(33656002)(7696005)(186003)(316002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR07MB3931; H:DB7PR07MB4011.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; 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: HSHujgY9rSx2ScUQ+xE6b/+kgU99puWWvpsZbbkt2G8p+2TgnDg87D41MhSI6ZRzm9JYibRsWw38YDDAibW2CSBgVRQpqemXzq0WCF/yKqgP4AYBMNpsvzwspnkCHpYqAR0EAonf2U1BChYy/7tQ6Vhd3yXpha5yqhCESMTL7hUEYm/zrcEpWQfrlQiMfeqR3iXvZCS/otnCYaLQ+0QRK7NdCvmsJ9rMlqQM36DQRXhzw3bwxmjR1jlb17/nxiRuiwnhT/9cSxkdVSW1t7zBmiU7BHzT1dUUTiVxYNevR+G4tIAdcWY3Jlw0dlyckFz+JmLlAvIqyaz05BVO14HwyqPbpRjxFiNtaGk9+zsMzfCm00u5lgVgZmjUuX27gGaLPJkfYewYYkBh7FRw0viS70ohJ7nsp7ntgISma2FTUnhRlLpsIBEa8JMDwT6GybEjwy7HwqR3B5iiUSNVHmyAoqY4V9QTYg3wIQZwZ3+97OFuAfiOKCoXYaGGIfzVuLLnZiIwf14pArcIL9DwWsJuOQ==
x-ms-exchange-antispam-messagedata: l/2FLsnVhwg1X25KfgxyRL/4YmGTkF3G9aidFxVTzI50AJAxusqwFWa2GSFE/axBIWFm6oOSV8DkB6Iu8wZ0CkgJXTVF/q6+WssW1ehAacoHBsW24H7XoFxiw/zGwJJ0JA0Q+gwCR4kogfSsra3w3g==
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_0295_01D5F3CE.1F88A8C0"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: d4bac93a-e115-4635-defc-08d7c1dce153
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Mar 2020 14:44:31.1861 (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: nejUFK4kQSk9sXDOLUX/WbtDOOX3KsNvYTJsNjCVX0I/BQFY7DhkETBZewog3JHQhRryngS9chyVwcLKbHLC0qYYb52JNtjprV89uleMxnA=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB3931
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/b1eD747AmaQntJzwbKzTlvKbb9c>
Subject: Re: [netmod] WG Last Call: draft-ietf-netmod-yang-instance-file-format-06 to -07
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: Fri, 06 Mar 2020 14:44:38 -0000

 

 

From: Kent Watsen <kent+ietf@watsen.net> 
Sent: 2020. február 14., péntek 20:15
To: Balázs Lengyel <balazs.lengyel@ericsson.com>
Subject: Re: [netmod] WG Last Call: draft-ietf-netmod-yang-instance-file-format-06 to -07

 

Have the YANG modules been validated and tested for formatting?

(i.e., pyang -f yang --keep-comments --yang-line-length 69 filename) 

BALAZS: yes. With pyang offline and yangvalidator.com

 

Have the examples in the draft validated against the YANG module?

BALAZS: Only manually. How do you validate samples conforming to a yang data structure ?

 

Please review the Normative/Informative status of the references.

Not looking carefully, but RFCs 2119 and 8174 should be Normative, 

and I think RFCs 3688 and 6020 should be Informative, right?

BALAZS: OK, changed in rev 08 

 

All of the “import” statements in the YANG module are missing a

“reference” statement.

BALAZS: 

Added:

rfc6991 for types added. 

Already present: 

rfc8342 for datastores

ietf-netmod-yang-data-ext for ietf-yang-structure-ext

 

Please add a paragraph to Section 5.2 preceding the YANG module

indicating all the aforementioned Normative references.

BALAZS: OK, I did it, but 

this is not what is required by https://tools.ietf.org/html/rfc8407#section-3.9.

I also see no value in this statement.

 

The copyright in the YANG module needs to be 2020 (not 2019)

BALAZS: OK

 

Please ensure a blank line between paragraphs in the “description"

statements.

BALAZS: OK

 

Please add a statement to the Introduction regarding why the module

Isn’t compliant with NMDA.

BALAZS: Sorry, don’t understand. Why is this not compliant with NMDA ? 

IMHO it is NMDA compliant, or rather it  has nothing to do with NDMA.

 

The tree diagram does not adhere to the syntax described in 

draft-ietf-netmod-yang-data-ext.  

BALAZS: OK I try, but what actually is the problem? Any help would be really appreciated.

Sadly 

pyang -p ../ietfYams ietf-yang-instance-data\@2020-03-06.yang -f tree --tree-print-yang-data --tree-print-yang-data

doesn’t print out anything, so I am handcrafting.

I just updated pyang from git. Any idea why this doesn’t work for me?

It would be good if YangValidator would print out the tree. At some point it did. Not now. :-(

Please update the first sentence  in Section 5.1 to also reference draft-ietf-netmod-yang-data-ext.

BALZS: OK

 

Please ensure that the planning-text version of the draft passes

IDNITS (https://www6.ietf.org/tools/idnits <https://protect2.fireeye.com/v1/url?k=e5cfab15-b91ba273-e5cfeb8e-8610d8a762ca-c786959c5f6d65dc&q=1&e=9a66002a-9006-4173-87aa-d650b9cbdf03&u=https%3A%2F%2Fwww6.ietf.org%2Ftools%2Fidnits> ) at the “verbose output”

level and correct any issues found, or explain why they shouldn’t

be corrected.

BALAZS: OK, corrected

 

 

Thanks,

Kent  // shepherd

 





On Feb 14, 2020, at 11:03 AM, Balázs Lengyel <balazs.lengyel@ericsson.com <mailto:balazs.lengyel@ericsson.com> > wrote:

 

Hello Chairs,
I replied to Juergen, and exchanged some additional mails with him. I updated the draft to draft-ietf-netmod-yang-instance-file-format-07. Please take it forward in the process.

https://protect2.fireeye.com/v1/url?k=ed368c2e-b1bcaefa-ed36ccb5-0cc47ad93e6a-1bf0817821133165 <https://protect2.fireeye.com/v1/url?k=ed368c2e-b1bcaefa-ed36ccb5-0cc47ad93e6a-1bf0817821133165&q=1&e=b8630aed-b037-42b0-a579-0e6e8067e0eb&u=https%3A%2F%2Ftools.ietf.org%2Fhtml%2Fdraft-ietf-netmod-yang-instance-file-format-07> &q=1&e=b8630aed-b037-42b0-a579-0e6e8067e0eb&u=https%3A%2F%2Ftools.ietf.org%2Fhtml%2Fdraft-ietf-netmod-yang-instance-file-format-07
Regards Balazs

-----Original Message-----
From: netmod <netmod-bounces@ietf.org <mailto:netmod-bounces@ietf.org> > On Behalf Of Kent Watsen
Sent: 2020. február 9., vasárnap 20:23
To: netmod@ietf.org <mailto:netmod@ietf.org> 
Subject: Re: [netmod] WG Last Call: draft-ietf-netmod-yang-instance-file-format-06

This message closes the WGLC.

Authors, please respond to Juergen’s message from Jan 20, ultimately posting an update to the draft.

Thanks,
Kent // as shepherd






On Jan 7, 2020, at 7:41 AM, Kent Watsen <kent+ietf@watsen.net <mailto:kent+ietf@watsen.net> > wrote:


This begins a two-week Working Group Last Call (WGLC) on draft-ietf-netmod-yang-instance-file-format-06.  The WGLC ends on Jan 21.  Please send your comments to the working group mailing list.

Positive comments, e.g., "I've reviewed this document and believe it is ready for publication", are welcome!  This is useful and important, even from authors.  Objections, concerns, and suggestions are also welcomed at this time.

Thank you,
NETMOD Chairs

_______________________________________________
netmod mailing list
netmod@ietf.org <mailto:netmod@ietf.org> 
https://www.ietf.org/mailman/listinfo/netmod <https://protect2.fireeye.com/v1/url?k=89fe7c6a-d52a750c-89fe3cf1-8610d8a762ca-ab9209e107d110d3&q=1&e=9a66002a-9006-4173-87aa-d650b9cbdf03&u=https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fnetmod> 


_______________________________________________
netmod mailing list
netmod@ietf.org <mailto:netmod@ietf.org> 
https://www.ietf.org/mailman/listinfo/netmod <https://protect2.fireeye.com/v1/url?k=ef180575-b3cc0c13-ef1845ee-8610d8a762ca-c0ef022d895b1910&q=1&e=9a66002a-9006-4173-87aa-d650b9cbdf03&u=https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fnetmod>