Re: [Netmod-ver-dt] YANG packages draft

"Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com> Thu, 23 January 2020 14:42 UTC

Return-Path: <jason.sterne@nokia.com>
X-Original-To: netmod-ver-dt@ietfa.amsl.com
Delivered-To: netmod-ver-dt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 99F17120025 for <netmod-ver-dt@ietfa.amsl.com>; Thu, 23 Jan 2020 06:42:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=nokia.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 SzsJGrIHW-Qd for <netmod-ver-dt@ietfa.amsl.com>; Thu, 23 Jan 2020 06:42:18 -0800 (PST)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03on0706.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0a::706]) (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 CA8F81200CD for <netmod-ver-dt@ietf.org>; Thu, 23 Jan 2020 06:42:17 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GexEfXBe4n0N+3jNS4kuV1MpI/su3r+Ov7WAOE/PyIydFzuKNuo2eUrN6kc5hcxs7A+g7D/qireuLnlYsDBJHW6/SaTWPuxLu5IZ2yQKbfaK24r0nJkfrJI3tKa4w/+c8NoLBMsDFl67ucmLorY2teR+ZgCQSHGO8VckRV1uLbBhlua9vr85XUQxNnfB9CrRGs1Fly81k20anr6XyqUaoDoTk+C/N5yWjC7rCwfXzkEfpUPhK7ei1m2MrW5IPPUCX3pdtxGKJqB5PgyJQvu3Q+LVtFZr3s6R9/relzyZWkXvtGUGN23nR8pLgPgw9NYk/P3MH+HMOPwcbVq1znyChA==
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=P6EWxIvFnzDdcHMg6SCafd3QDhPjQVOcTBjqeyD6fzM=; b=kbKI+alAKxy+WTBBk4EXmKKhHdqoZ0v4thknohZ98OtNt5aV23OsjitR40ajE6vWJ/DaguzDlYHA+flFEj3YepOpdP7V6iUej5kFdNZhnRdLEc+glHwefXokg34XPFqeGowCJWqNWicjcEg/nBxwaq8xaxqOQ4MMh7gd766OidLH8PkXM/SWjZjsi4LNLg+Q8//PF+ighyLu0uHhl/FUfIi27PtL1kM95mh6R7TrWd+LJjW7q33+1itctImFoFDX5ZLhNM8sZ5rf+jN3vpiELmvs21P/0eDsAsuT8vj7Y+PY5Syz0TDxSMaZVJDJcWc1TaKtOArg5dgLSuXKoaY5iA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nokia.com; dmarc=pass action=none header.from=nokia.com; dkim=pass header.d=nokia.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P6EWxIvFnzDdcHMg6SCafd3QDhPjQVOcTBjqeyD6fzM=; b=PJXj6QWGQzFOHYtCCyViETOzDkPL1sT4NTlb9nRYJJiGdPK0hrYDp8N3HtixFqgeRhApyuLFyTIEVGm1d/ZLSUeJUtNrsDQ0RRzrkp/i71PpJfQCeBnUfHVUekNtHDHBjxDf3KgDRB9f/ioRMHMmFCjpsEx4sV87CVyDi/d9iGI=
Received: from VI1PR07MB3981.eurprd07.prod.outlook.com (52.134.29.24) by VI1PR07MB3263.eurprd07.prod.outlook.com (10.175.243.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.15; Thu, 23 Jan 2020 14:42:15 +0000
Received: from VI1PR07MB3981.eurprd07.prod.outlook.com ([fe80::f4ac:1bfd:a5a1:aadf]) by VI1PR07MB3981.eurprd07.prod.outlook.com ([fe80::f4ac:1bfd:a5a1:aadf%6]) with mapi id 15.20.2665.017; Thu, 23 Jan 2020 14:42:15 +0000
From: "Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com>
To: "Rob Wilton (rwilton)" <rwilton@cisco.com>, "netmod-ver-dt@ietf.org" <netmod-ver-dt@ietf.org>
Thread-Topic: YANG packages draft
Thread-Index: AdXRPzP8xf0FW7oIQNOXn6fVW+I9tQAl3iFwAAkiOhA=
Date: Thu, 23 Jan 2020 14:42:15 +0000
Message-ID: <VI1PR07MB398165D23EB4F7E03806303A9B0F0@VI1PR07MB3981.eurprd07.prod.outlook.com>
References: <MN2PR11MB436660E1CA5268D3152985FCB50C0@MN2PR11MB4366.namprd11.prod.outlook.com> <MN2PR11MB436615034C2A337881D5F7B6B50F0@MN2PR11MB4366.namprd11.prod.outlook.com>
In-Reply-To: <MN2PR11MB436615034C2A337881D5F7B6B50F0@MN2PR11MB4366.namprd11.prod.outlook.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=jason.sterne@nokia.com;
x-originating-ip: [45.72.162.204]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: ca8edd4b-978d-4bae-99f5-08d7a012708b
x-ms-traffictypediagnostic: VI1PR07MB3263:
x-microsoft-antispam-prvs: <VI1PR07MB3263C21DE0A65B6197016C9C9B0F0@VI1PR07MB3263.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 029174C036
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(396003)(39860400002)(366004)(346002)(136003)(376002)(199004)(189003)(81156014)(86362001)(7116003)(8936002)(2906002)(81166006)(33656002)(110136005)(8676002)(478600001)(55016002)(7696005)(53546011)(6506007)(71200400001)(9686003)(316002)(186003)(26005)(76116006)(66476007)(64756008)(66446008)(66556008)(5660300002)(3480700007)(66946007)(52536014); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR07MB3263; H:VI1PR07MB3981.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: bzmZYOtWjbS2LsqCndEkSEzOTQG90ytDFpCf1pKCvhXNwybv4UeCmoVH3qtRWD4GKNqgbIwMifxFTF4SOa5prlFbCHpPXCOMsXAUc4Ty9Fbweo2LkN7zohDV/Vv7c7FvjTdKSkWZc2eMesHCi78VDtuAqdn4EJaREP34JI578wef+JwZijDl4wkDZPZ+HtmNDMDdzpY1d6LvCHSZ5lXU0yNs1A1xKyNyWv4TJl6HUagDs+VHeFCr6QK6qImjeZsyvQmFEwYZT5i7Ofzzo1XRLeIZeY2gBpSyacLWeBSPGOIZO8mccl8voWfxNPVF55uSaSbGUN1uovgzVAx1Li4O5g4On88cJdRWtBIEfzBLyQJQIFQlevdCLqlawF7ePryPZ/GtKKJKRlLUz8Mc88Lj3NrdMWX7CEsBkTlLYZdUFjoEqE0onru9ZYB+kQl2bR1J
x-ms-exchange-antispam-messagedata: RJCVn3yC1JIPSQk0Y313OTDdXTHEjBkiJXPYSGpwQmC5tL7Q9P0gl5wgod8aIvnMeRMgEuZ14flvaniCZwZZ7duOKVS2v7ruTLF84XyKSLGbQwVGmEBjWaFN34osgP03S5mWSFulGfQZ2t8ROPH1+A==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_VI1PR07MB398165D23EB4F7E03806303A9B0F0VI1PR07MB3981eurp_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ca8edd4b-978d-4bae-99f5-08d7a012708b
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jan 2020 14:42:15.2458 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: MppU5Fea4t1nXd3HzaxPGw1mTF+1AfEowARstEOtUU1fWTB6DPT/hUZorbFJiWU2rkhzpOBbZYOuLtJaowb7Hg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB3263
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod-ver-dt/5Z0m8IflBjpLCf6R5_Gd_r8zFeU>
Subject: Re: [Netmod-ver-dt] YANG packages draft
X-BeenThere: netmod-ver-dt@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NetMod WG YANG Model Versioning Design Team <netmod-ver-dt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod-ver-dt>, <mailto:netmod-ver-dt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod-ver-dt/>
List-Post: <mailto:netmod-ver-dt@ietf.org>
List-Help: <mailto:netmod-ver-dt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod-ver-dt>, <mailto:netmod-ver-dt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Jan 2020 14:42:21 -0000

The split at the top level sounds like a good idea.

Let's put them in separate YANG modules.

From: Netmod-ver-dt <netmod-ver-dt-bounces@ietf.org> On Behalf Of Rob Wilton (rwilton)
Sent: Thursday, January 23, 2020 5:27 AM
To: Rob Wilton (rwilton) <rwilton@cisco.com>; netmod-ver-dt@ietf.org
Subject: Re: [Netmod-ver-dt] YANG packages draft

One further thought on the updates that I made to the packages draft:

Currently the "packages" top-level container and the YANG library augmentation are in the same YANG module (and hence they have a dependency on the RFC 8525 version of YANG library).  I wonder whether it would be better to split these into two separate modules, i.e. allowing the packages solution to coexist with the older version of YANG library RFC 7995)?

Any thoughts on this?

Thanks,
Rob


From: Netmod-ver-dt <netmod-ver-dt-bounces@ietf.org<mailto:netmod-ver-dt-bounces@ietf.org>> On Behalf Of Rob Wilton (rwilton)
Sent: 22 January 2020 16:31
To: netmod-ver-dt@ietf.org<mailto:netmod-ver-dt@ietf.org>
Subject: [Netmod-ver-dt] YANG packages draft

FYI, I've updated the YANG packages draft with the updated YANG model structure that we discussed previously and were using, and changed the way that the model is described (i.e. reference the common structure of the grouping).

I've made one further change which is to root the package list under a "packages" top level container rather than augmenting YANG library as was done previously.  I think that this probably makes YANG library more user friendly (so that clients querying YANG library don't suddenly get all the packages information that mostly they should not need - given the desire for packages information to be available offline).  I think that this probably also helps with YANG packages, since clients won't need to necessarily get the duplicate module list information in YANG library, and it also allows the package information to be included (e.g. in an instance-data document) without the YANG library information.

I've pushed the updates to my github rgwilton/YANG-Packages-Draft repository (so that you can easily see the history of what has changed), and also to the yang-ver-dt repository, which I propose that we use for this document going forward.

I've also been resolving/closing some of the open issues at github rgwilton/YANG-Packages-Draft repository.  For the ones that I think that we need to still keep open, I will copy them to the yang-ver-dt repository, so that everything is in one place, and anyone can easily update.

The examples in this draft still need to be updated, which would be nice to do before an adoption call, but is not critical.

Any comments, concerns, etc, please let me know, or raise them in tomorrow's meeting.

Thanks,
Rob