Re: [netmod] comments on draft-ietf-netmod-yang-instance-file-format-04

"Rob Wilton (rwilton)" <rwilton@cisco.com> Mon, 18 November 2019 15:24 UTC

Return-Path: <rwilton@cisco.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 61827120962 for <netmod@ietfa.amsl.com>; Mon, 18 Nov 2019 07:24:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=jo/B/2WM; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=fXchhFtV
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 wOskHVcoXcRR for <netmod@ietfa.amsl.com>; Mon, 18 Nov 2019 07:24:25 -0800 (PST)
Received: from alln-iport-1.cisco.com (alln-iport-1.cisco.com [173.37.142.88]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 44FAC1200FA for <netmod@ietf.org>; Mon, 18 Nov 2019 07:24:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3384; q=dns/txt; s=iport; t=1574090665; x=1575300265; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=DNVWL7HeT6Ci6+QRnYHmlzbG3WppFKcDfaorock5xFI=; b=jo/B/2WMb2Fr/o9zhtW7iGJNLmVXqoXK+BLcfN2XNWzdq+wgkXVpuD8f as1/piUjrOnRZmrGFDceRZfjXq/zSEMQsRbS87geWWs/GBjuw3m7ZxVm0 tn35DmKYQfL3skyqczCDEG46WHminFwSwmMk9q6mTqVDbFs8ugVWrVHpY U=;
IronPort-PHdr: =?us-ascii?q?9a23=3AIMVsvB1TkQJoR2cTsmDT+zVfbzU7u7jyIg8e44?= =?us-ascii?q?YmjLQLaKm44pD+JxKHt+51ggrPWoPWo7JfhuzavrqoeFRI4I3J8RVgOIdJSw?= =?us-ascii?q?dDjMwXmwI6B8vQE1L6KOLtaQQxHd9JUxlu+HToeUU=3D?=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AqAACIttJd/4UNJK1lGgEBAQEBAQE?= =?us-ascii?q?BAQMBAQEBEQEBAQICAQEBAYFtAgEBAQELAYFKUAVsWCAECyqEKoNGA4pwgl6?= =?us-ascii?q?YAIJSA1QJAQEBDAEBGAsKAgEBg3tFAheCDCQ3Bg4CAwsBAQQBAQECAQUEbYU?= =?us-ascii?q?3DIVRAQEBAQIBAQEQEREMAQEsCwEEBwQCAQgOAwQBAQECAiYCAgIlCxUICAI?= =?us-ascii?q?EAQ0FCBMHgwGCRgMOIAECDKUaAoE4iGB1gTKCfgEBBYR/GIIXAwaBDigBjBQ?= =?us-ascii?q?YgUA/gRFGgkw+gmIBAYFjgw4yggoijQSDD4VriSKPDQqCKpVqmhGOSJoIAgQ?= =?us-ascii?q?CBAUCDgEBBYFoI4FYcBU7gmxQERSRGoNzhRSFP3SBKI09AQE?=
X-IronPort-AV: E=Sophos;i="5.68,320,1569283200"; d="scan'208";a="366277848"
Received: from alln-core-11.cisco.com ([173.36.13.133]) by alln-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 18 Nov 2019 15:24:24 +0000
Received: from XCH-ALN-016.cisco.com (xch-aln-016.cisco.com [173.36.7.26]) by alln-core-11.cisco.com (8.15.2/8.15.2) with ESMTPS id xAIFOO9R006402 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 18 Nov 2019 15:24:24 GMT
Received: from xhs-rtp-001.cisco.com (64.101.210.228) by XCH-ALN-016.cisco.com (173.36.7.26) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 18 Nov 2019 09:24:24 -0600
Received: from xhs-aln-001.cisco.com (173.37.135.118) by xhs-rtp-001.cisco.com (64.101.210.228) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 18 Nov 2019 10:24:22 -0500
Received: from NAM05-DM3-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 18 Nov 2019 09:24:22 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OZ1mQ3Kc5g9Zc3Nx772aqMjNrgXcoeF8L438nv6zqDxyaKxaNhrFugUajKzAnnsLsbi8BJfz2PZOA2wbsltPtiuhH7x9W3DDikEncB8OARAuKb4ggKN/wAd4HSmzAcSN3VRHFe2n+Ayw9MDusfhGFwKbsRsmdO4TnRudXIEd0gq/gshUJ8QweCnXJAEbha7jGD+qjRomLEDTPixwfW/uJ/wQWx4HK9nq8zxclgYkj4H5o0urq/P5GbXNxSyoZB8aQJNQUJVD9V0BHQH9elSgoMc+YXHPjaNc8IdmsB3GDJmw8Hg6Md5YVKKsz5/lPKxUzz3IlX+3dv1YOnu+nwMUPQ==
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=DNVWL7HeT6Ci6+QRnYHmlzbG3WppFKcDfaorock5xFI=; b=Z7AFAn4agaju4tkTIfijiL/U9yU0pZMB7nsoXaHB1Wfj5InoXJNLRop8AkcShn/bRd4yNJQ6ZGL4eXlyLQeKbeJAv+Jwq5uCs4JbvVXyYjXShZX49821Y21cp4trvdqe5VtXRVJ2qatT3b4rJe7G++U90rHaVs3z89lKxB/LIV/acNMGFmEwyhCYrMR/I44JrBda3ZK9sbcq4HvnNZD2tXqSUO7hGSLQcIDZvL0+L20VXsNEFPtHY78P8Kqir2yQ/N6DMAvmE2jKO56Uea2OIkOj5syleAYJsJE95Td4cwcjT0x4OAO7SMyxsX6v2OU/1kAH3Y9Sw/xr6Fu6nxjF2Q==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DNVWL7HeT6Ci6+QRnYHmlzbG3WppFKcDfaorock5xFI=; b=fXchhFtVTVKExle/v9eK9xaw+/PZCXCoOJfZ1YYslQ50HxSDSTGzQqDgih1ZGl/y9AByv0wWPelOBXRU91dVubhUSCfQSMNfhR6OXQeyQWIDELI2ePXj+P8inY8bCBCzObi85fNzoeiNDKrCzH3eSRZAUqI9XijbFWtlsFo988A=
Received: from MN2PR11MB4366.namprd11.prod.outlook.com (52.135.38.209) by MN2PR11MB4047.namprd11.prod.outlook.com (20.179.150.208) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2451.23; Mon, 18 Nov 2019 15:24:20 +0000
Received: from MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::49b6:bc5c:bd3e:203c]) by MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::49b6:bc5c:bd3e:203c%5]) with mapi id 15.20.2451.029; Mon, 18 Nov 2019 15:24:20 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: Martin Bjorklund <mbj@tail-f.com>, "balazs.lengyel@ericsson.com" <balazs.lengyel@ericsson.com>
CC: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] comments on draft-ietf-netmod-yang-instance-file-format-04
Thread-Index: AQHVf4M9yDk22rW/1kmW55J7v8t9Rad+53mAgACg74CAEBUBgIAAMmKAgAAWWICAASi0gIAAOLsA
Date: Mon, 18 Nov 2019 15:24:20 +0000
Message-ID: <MN2PR11MB436675E44B73A7E62CA32ABAB54D0@MN2PR11MB4366.namprd11.prod.outlook.com>
References: <AM7PR07MB6214B5582C8EA2CB2924DA05F0720@AM7PR07MB6214.eurprd07.prod.outlook.com> <20191117.175235.2089925675266198271.mbj@tail-f.com> <AM7PR07MB6214D41C265D4AEEC63A0F7AF0720@AM7PR07MB6214.eurprd07.prod.outlook.com> <20191118.125429.1187631103383034310.mbj@tail-f.com>
In-Reply-To: <20191118.125429.1187631103383034310.mbj@tail-f.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=rwilton@cisco.com;
x-originating-ip: [2001:420:c0dc:1002::c3]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 1bf81d91-3689-4809-be9f-08d76c3b626f
x-ms-traffictypediagnostic: MN2PR11MB4047:
x-microsoft-antispam-prvs: <MN2PR11MB4047EB119603F63935E4C35AB54D0@MN2PR11MB4047.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0225B0D5BC
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(396003)(136003)(39860400002)(366004)(376002)(51444003)(199004)(189003)(13464003)(76176011)(14454004)(33656002)(66574012)(2906002)(74316002)(478600001)(99286004)(76116006)(966005)(14444005)(486006)(110136005)(25786009)(4326008)(316002)(6436002)(476003)(6246003)(55016002)(6306002)(9686003)(446003)(86362001)(8936002)(6506007)(11346002)(53546011)(71190400001)(71200400001)(102836004)(229853002)(256004)(6116002)(7696005)(186003)(8676002)(52536014)(81156014)(81166006)(2501003)(66446008)(7736002)(64756008)(66556008)(66946007)(66476007)(5660300002)(46003)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB4047; H:MN2PR11MB4366.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: LFKWdKI11EDd0Iing2MbdgHeTbqtR62/TUhUc1m7P0aF6WaXldxsqMNRsAGUiqQsMqEDAvCZvXaaI+HiMJfUQRCXKp+MbMJWeaBP33Y+SZLSU9ICt36gCqwuf+4UGbMvahlYUlD0OBT9D9AlwJ+DU9Mdo0wE/GCVnteYjLWcfjYTGIoUJItWXssmbI+UjbgGu3Z+v/n21PxBkxFoYLJX4GuNlLJ0uSO0FFRx/wqhBbKcP730Zj065T+guLGzq53LLfgFeE8d8W/NULsLu6og+J8TDnxMAs7TXYJOIiaCHPyCDLwY9uQHKFtUmEm4citWcHo+3feZH79GsUUxI7q5+EB6aQ2EnZMESfrBPxvAGyvyn98gRecWlsp9t84AROQdB1P4/2adfXEak+NPlb7XABFH+HU6SrDfu8DwcXSjZoCiUwXA1D9yoIpCUSf5DjY2
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 1bf81d91-3689-4809-be9f-08d76c3b626f
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Nov 2019 15:24:20.5975 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: fv4GsdSUWc0BKtwzejb3oidEAAfzpzwU2Y3e5eOAkao/cJ/hfUwZyucQhmQZYeEEHuK2ftSuvxhGfRngw2J6kg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4047
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.26, xch-aln-016.cisco.com
X-Outbound-Node: alln-core-11.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/niWITp-nOiefZdNbsFtlj9ZYunY>
Subject: Re: [netmod] comments on draft-ietf-netmod-yang-instance-file-format-04
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: Mon, 18 Nov 2019 15:24:27 -0000

Hi Martin,

One comment below.


> -----Original Message-----
> From: netmod <netmod-bounces@ietf.org> On Behalf Of Martin Bjorklund
> Sent: 18 November 2019 19:54
> To: balazs.lengyel@ericsson.com
> Cc: netmod@ietf.org
> Subject: Re: [netmod] comments on draft-ietf-netmod-yang-instance-file-
> format-04
> 
> Balázs Lengyel <balazs.lengyel@ericsson.com> wrote:
> >
> >

[RW] <snipped>
> >
> > BALAZS3: People explicitly asked for a short, simple solution, so
> > reusing the well-known module-file-naming format seemed logical, and
> > nobody misunderstood it till now.
> > I would really like to avoid creating a list with 2 separate leaf's:
> > longer, more complex. It goes against the express wishes of other
> > group members.
> > If you prefer we can drop the file extension.
> 
> Yes I think this is better.
> 
> > IMHO it will look strange.
> 
> Perhaps this document will set the standard for future references to
> modules, so that this short-hand notation is used in more places, rather
> than separate name / revision leafs...
> 
[RW] 
The module versioning draft (draft-verdt-netmod-yang-module-versioning) allows modules to be identified by their name and revision-label, e.g. from section 3.3:

   If a revision has an associated revision label, then it may be used
   instead of the revision date in two places:

      In an "rev:revision-or-derived" extension statement argument.

      In the filename of a YANG module, where it takes the form: module-
      or-submodule-name ['@' revision-label] ( '.yang' / '.yin' )

Obviously the revision label could be a YANG semver, e.g. it would be nice if we were allowed strings like:
  "module-name@1.0.0" rather than forcing it to use the revision date.

The module versioning draft hasn't been adopted as a WG item yet, but I'm hoping that this can be considered, along with the other drafts soon.

Thanks,
Rob


> BTW, you mentioned in your presentation of draft-ietf-netconf-
> notification-capabilities that this doc will be impacted by changes in
> draft-ietf-netmod-yang-instance-file-format.  I think that this is ok and
> we continue the process for this document.
> The RFC editor won't publish it until instance-file-format is done, so
> there is time to fix the examples.
> 
> 
> /martin
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod