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

"Rob Wilton (rwilton)" <rwilton@cisco.com> Thu, 23 January 2020 10:27 UTC

Return-Path: <rwilton@cisco.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 C9E75120879 for <netmod-ver-dt@ietfa.amsl.com>; Thu, 23 Jan 2020 02:27:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.499
X-Spam-Level:
X-Spam-Status: No, score=-14.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=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=ZULrBFjh; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=AG5PPd8Z
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 I3P7Zzn4RL55 for <netmod-ver-dt@ietfa.amsl.com>; Thu, 23 Jan 2020 02:27:05 -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 0A4AF12086B for <netmod-ver-dt@ietf.org>; Thu, 23 Jan 2020 02:27:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=11449; q=dns/txt; s=iport; t=1579775225; x=1580984825; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=CHBhkZWulWBf7MCaKyXa26u3RIG2BWV+R4T/EvPW/dk=; b=ZULrBFjhwsQSmy2TIgGVJhczX8xcznKmZ25fNtC7wJrQiFVt84+K31Oe xxzEKCnx7NblCevTjNXjYGq3WaY05yVq/PVqilRhWwF0EdYlJQdwo4vZC ZPVA1vMLOu4BMHfjrKJV3ONABJIc7c7PmKOTji6Xo6UK8zv33gmyyHHxk o=;
IronPort-PHdr: 9a23:Wlr4xB0eRGnFUEsCsmDT+zVfbzU7u7jyIg8e44YmjLQLaKm44pD+JxKHt+51ggrPWoPWo7JfhuzavrqoeFRI4I3J8RVgOIdJSwdDjMwXmwI6B8vQE1L6KOLtaQQxHd9JUxlu+HToeUU=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AiEAAadCle/49dJa1lHgELHIFwC4ElL1AFbFggBAsXEwqHTgOLC06CEZMthGKBLoEkA1QJAQEBDAEBLQIBAYRAAoIeJDYHDgIDDQEBBAEBAQIBBQRthTcMhV4BAQEBAxIbEwEBOA8CAQgRBAEBLzIdCAEBBAESCBMEA4MFgX1NAy4BAqIwAoE5iGGCJ4J/AQEFhQsYggwJgTiMFxqBQT+BWIJMPoRLg0CCLJYzmSUKgjmWT4JHiAqQJo5egUqZPgIEAgQFAg4BAQWBWQ4kgVhwFTuCbFAYDYgBg3OKU3SBKYtGAYEPAQE
X-IronPort-AV: E=Sophos;i="5.70,353,1574121600"; d="scan'208,217";a="411485391"
Received: from rcdn-core-7.cisco.com ([173.37.93.143]) by alln-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 23 Jan 2020 10:27:03 +0000
Received: from XCH-ALN-010.cisco.com (xch-aln-010.cisco.com [173.36.7.20]) by rcdn-core-7.cisco.com (8.15.2/8.15.2) with ESMTPS id 00NAR3OW009643 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <netmod-ver-dt@ietf.org>; Thu, 23 Jan 2020 10:27:03 GMT
Received: from xhs-rtp-003.cisco.com (64.101.210.230) by XCH-ALN-010.cisco.com (173.36.7.20) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 23 Jan 2020 04:27:03 -0600
Received: from xhs-aln-002.cisco.com (173.37.135.119) by xhs-rtp-003.cisco.com (64.101.210.230) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 23 Jan 2020 05:27:02 -0500
Received: from NAM11-BN8-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Thu, 23 Jan 2020 04:27:01 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NpF+qdP+LzstiFA7W51RV9iL0q8VNlgeIPGiz1q1YlCCFMNXuGfJRCvWHgdcXNy5t0bAiRF+yD5UDEMDOsYmRsqt5ErTEE4yubZL3DMWDKY3aNPV7GNMqNNGkwOaNEcr6xV/QniOdRM0QPe0POzzAc5DJBqfck4Xb3nuHHkpBfE34ZxCxsTXCMlzbOkrPltr0enfHSLtKrYYnHojuvMhPAPUpzU8O2PxD6zS+ufzg/jIJbBKLtTQPfB4Fn4kEHffkdQPJVdUWfkzDh4t4LJ2lXPQULclMdBw6kNPv/+shJ6pqV42LAyTFwBrZy+ji8KyvrcvsCdD63BnhLCokL+IPQ==
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=8pqcpMUF6yGpCQUp9MGSdvgCaAav8uUtcf7SSlWo7Aw=; b=HNluFXs8QU0Cih8aJH80RQ/PZdk20+cxjse251dWTT/dfLo/2nermU6VI+wQ+z6VsWgU3CfmTJ7g9nV1GBxy+rj2ASKl2fa349TEApNvwjA8cBUYvAWNNS7rRf+Km+H8sC1QDK4TbmGzs6AiZ/EXh0nWttsCMimZ4RKITgCeryUBuF+ovePJuo4zWHtalbx2ND/HDewegYQAoGYiYs27mrQZJ2NX7IvACw4rC5xaNZd+lJ693w3R0D1EaVA25faownjJoZwtNbj4yMJvvBObI1khDsEC3sBMMpxNidBFVEmSKNlm0UIfBpUo6IQ48R0SQOymfzDTDEvIbWM3JnAMNg==
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=8pqcpMUF6yGpCQUp9MGSdvgCaAav8uUtcf7SSlWo7Aw=; b=AG5PPd8ZHReijFJT4KaNTowmz82Xw0bwHpGG/ypGdYcfIT5+MVMkOVQkxksN9pTSdsVo7B/D1VuFRN1zE6aq7w63n2NnEUD3PP8QU3o2SbOVv/fpNd3cra1QzaMu4Fb+0UHheC7J9GwMhU1PkxoLvg1gPUHFE/QlR/Eg9v7f/HM=
Received: from MN2PR11MB4366.namprd11.prod.outlook.com (52.135.38.209) by MN2PR11MB3661.namprd11.prod.outlook.com (20.178.252.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.19; Thu, 23 Jan 2020 10:27:00 +0000
Received: from MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::b9ce:1058:5fa6:44a1]) by MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::b9ce:1058:5fa6:44a1%7]) with mapi id 15.20.2644.027; Thu, 23 Jan 2020 10:27:00 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.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+I9tQAl3iFw
Date: Thu, 23 Jan 2020 10:27:00 +0000
Message-ID: <MN2PR11MB436615034C2A337881D5F7B6B50F0@MN2PR11MB4366.namprd11.prod.outlook.com>
References: <MN2PR11MB436660E1CA5268D3152985FCB50C0@MN2PR11MB4366.namprd11.prod.outlook.com>
In-Reply-To: <MN2PR11MB436660E1CA5268D3152985FCB50C0@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=rwilton@cisco.com;
x-originating-ip: [173.38.220.33]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 59272806-e496-4d95-fb4c-08d79feec859
x-ms-traffictypediagnostic: MN2PR11MB3661:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <MN2PR11MB3661B4684602F22313D3A1CDB50F0@MN2PR11MB3661.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 029174C036
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(39860400002)(366004)(136003)(396003)(346002)(199004)(189003)(3480700007)(9686003)(186003)(8936002)(55016002)(7116003)(5660300002)(71200400001)(6506007)(86362001)(53546011)(2906002)(26005)(7696005)(110136005)(66556008)(76116006)(66476007)(64756008)(66946007)(316002)(33656002)(66446008)(52536014)(8676002)(81156014)(478600001)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB3661; 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: lRkmNG2BklrB212VCxeUN31MhjNsQr7oY0x8b936k2zHDzs9RjpeArm39f7YZTm/wmOHgIjgKi+l8HWD09elPUPsN07l4Hvqg8UA796O4mBwYkd+PlPer5zg8wbXPlrZXqPDFrE6oBMH2bJZ8P/0CF/rtFpqErwD+xMRZgeYvhSn1nPULGnHe2tXysrXiozwBvhaa9IUKmM8PwK2rQFTqU8PgQvUWlEdsKQXGQLGqFx49QD3W7sW3kj4tV2j55xgv4Qah3oZgqAy2FE8tjCb7LxGLw92pRD8nfi4zIVU/pWl6gWuBsWikjRsh41dJZwh18TLutllTbLRWiCCk69fx5bncZAa1payGBjdxn9zJ+IXDJjJEkOF8wip9/VA4sh9rSmMYwmsCiIlBX/WjGj4ClI+IxcBYnCHPgd/rFPtCNfYd34CfH+y+FyS3Bx0fVY6
x-ms-exchange-antispam-messagedata: v/897NiueLT8qMwdC4qSJ5RsBZ6JgBMtzFGTLFa8ErXSHRgn4HZTAhxziBcjGgzUw0Kex3jxsfAFkq3VJ/CyxDMn+AlJyozhjuDjmyi00sL/TG9wm6O6eEpQPW+iFBNQqKYIF6PbQ3Oxf4O690bkXw==
Content-Type: multipart/alternative; boundary="_000_MN2PR11MB436615034C2A337881D5F7B6B50F0MN2PR11MB4366namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 59272806-e496-4d95-fb4c-08d79feec859
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jan 2020 10:27:00.6118 (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: Gu98cy7HGWAdVuNHjbTfQ+j/7fZOX6bZDTQMHMgGvx4QwO6TTqZINdnZJgCV5FT/MhNjM7nGjwr+z0tmUOzQWQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3661
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.20, xch-aln-010.cisco.com
X-Outbound-Node: rcdn-core-7.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod-ver-dt/H8HNy1cjSgbN0kiXTVl--dTC7sQ>
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 10:27:10 -0000

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> On Behalf Of Rob Wilton (rwilton)
Sent: 22 January 2020 16:31
To: 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