[Netmod-ver-dt] YANG packages draft

"Rob Wilton (rwilton)" <rwilton@cisco.com> Wed, 22 January 2020 16:31 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 9F04E1201DE for <netmod-ver-dt@ietfa.amsl.com>; Wed, 22 Jan 2020 08:31:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.498
X-Spam-Level:
X-Spam-Status: No, score=-14.498 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FILL_THIS_FORM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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=VVupg/Gs; dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=cisco.onmicrosoft.com header.b=Q3Cb3oMW
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 Wk5hCQp_29GP for <netmod-ver-dt@ietfa.amsl.com>; Wed, 22 Jan 2020 08:30:58 -0800 (PST)
Received: from rcdn-iport-2.cisco.com (rcdn-iport-2.cisco.com [173.37.86.73]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C484C120271 for <netmod-ver-dt@ietf.org>; Wed, 22 Jan 2020 08:30:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=164273; q=dns/txt; s=iport; t=1579710657; x=1580920257; h=from:to:subject:date:message-id:mime-version; bh=04AD17kRu5QkK00X+W4F2MHyg4EoKhob1jY0t+0E3xk=; b=VVupg/Gsh8HaSTaXwFmcf2dVAEH5DzbKVh7sUOqBj0jV23K+2PSDCFUy 7UHmxctjr//YLYgxSqC+nTD4uWW4Sg+7e3uzwf2oRhwUZo4EeRf1OZU0P dUQkjY5nT3vsfGR4XIk7NrElAoncOHJvny2WQYTANlA5jQGg1yHXkeYa3 o=;
X-Files: draft-rwilton-netmod-yang-packages.txt : 101935
IronPort-PHdr: 9a23:6CL1SREB1g0Mx2B/+JqHbJ1GYnJ96bzpIg4Y7IYmgLtSc6Oluo7vJ1Hb+e4z1A3SRYuO7fVChqKWqK3mVWEaqbe5+HEZON0pNVcejNkO2QkpAcqLE0r+eeT1bigmG8JqX15+9Hb9Ok9QS47z
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0A0GACndyhe/4UNJK1bCoNmLyQsBWxYIAQLKgqHTgOLBho0gSiBaocmiwWEYoFCgRADUAQCBwEBAQwBARgBDAQEAgEBgUyCL0UCghokOBMCAw0BAQQBAQECAQUEbYU3AQuFYQUBEAgBDAYTAQEqAgwRARoCGRIJJQsUAw8BBBMIBgYHBAODBYJKAy4BAgykGAKBOYgSGjWBdDOCfwEBBYEvARNBgncYggUHCYE4iU2CIyYagUE/gRABR4IXgmwWSgsBAQOBGQIKCAEHCwEHAhMFBQUCIQkCBYMDgiyNPCEDFhcFggOGHCRuhmSQOXYKgjmDZ4NYhHlKhCyFIIJHMEiHEoREiXyBZo5egUqHGI8UgxICBAIEBQIOAQEFgWkiZ3FwFTuCOAEBMgkWMRgNiAwBF4MeMoRZO4E9hAJ0Cw6BEIoCDxcHgQQBgQ8BAQ
X-IronPort-AV: E=Sophos;i="5.70,350,1574121600"; d="txt'?scan'208,217";a="710078403"
Received: from alln-core-11.cisco.com ([173.36.13.133]) by rcdn-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 22 Jan 2020 16:30:54 +0000
Received: from XCH-ALN-008.cisco.com (xch-aln-008.cisco.com [173.36.7.18]) by alln-core-11.cisco.com (8.15.2/8.15.2) with ESMTPS id 00MGUsQO000703 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <netmod-ver-dt@ietf.org>; Wed, 22 Jan 2020 16:30:54 GMT
Received: from xhs-aln-001.cisco.com (173.37.135.118) by XCH-ALN-008.cisco.com (173.36.7.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 22 Jan 2020 10:30:53 -0600
Received: from xhs-rcd-001.cisco.com (173.37.227.246) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 22 Jan 2020 10:30:52 -0600
Received: from NAM11-DM6-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 22 Jan 2020 10:30:51 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fm6FnW5kCb8nxc5RZyFkxiIKPhSQSHfBLIax8E9S5oGzkBzHQSnDdk50uQP4AcxTOWHWEkKGgH0p0FoPsozY0r0ze4xf/2SnkTJ5O8OPcGkUuDgqPnZjYW8iCPvdiWfO4pi3WAn6daz0b7+MtBAk2wm61zLt+vXyBJBQC0RiJCPUXvn/MTLQhGfLTdNnzDlDHbBTjchaJrk/GUDIhtiMIozhFqPPbIivybQ2NqT1t4qHxgGtOwIx1wE1Khf33IFt+Pxt4fHZaZobZGKjaIlTLJru8c4LCAYROLXIZFbf0up0MywskxG20aO/7cs7+VcVO/IKU6Ws7lKR925/0NNQ3Q==
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=2XxJsBQJ+niksa9Z4X5FspA6Hrps7Pz8GXwz2KS3Bsw=; b=NnsAhguWM5LC9OAz0PzK7kcTo6NB5B6gUWmuNypetw7++rAz3nm9hhTSqiYCySgGRkt2utsOS2AfGuajuXCuY8Z7slwy2ddAmAHQAKUJZetqErriesjMrWAv4aywTRDrsnMfzsNWKtB96taJEq5ThUXjOAAj5R5JLZRbsQBp9l5lcRVrD6YUaWDkNFpV2CZwbwsvME96TDOVgKoWAgLGa/CZupg2JhI4gRx66uP0tISOianX52eQwzYI4xPMxTnQvpI2XZsSVeu5GrT1vx38iwN+JGMxEMhX0B0nvxsDtdZigh2knnXoOIk7QsLNIG/4kZxeI1HsR/PKtCeRk0tUYg==
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=2XxJsBQJ+niksa9Z4X5FspA6Hrps7Pz8GXwz2KS3Bsw=; b=Q3Cb3oMWeLH2Bs9Y/1Nmagd2kiGT5kxVWAqOweCFZg5RF4p/U6s+ja0/4jnspQWr9/82Sw2WtP/Rb7Ar7bU9FyQlXj4HEUAE/aDkfYMJpsrLvnRazidu3+hRPePejaG3rUq5NkKkyavj6aXOFyknBPz92x+xRem8qq/utpmH3yc=
Received: from MN2PR11MB4366.namprd11.prod.outlook.com (52.135.38.209) by MN2PR11MB3935.namprd11.prod.outlook.com (10.255.180.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.20; Wed, 22 Jan 2020 16:30:49 +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; Wed, 22 Jan 2020 16:30:49 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: "netmod-ver-dt@ietf.org" <netmod-ver-dt@ietf.org>
Thread-Topic: YANG packages draft
Thread-Index: AdXRPzP8xf0FW7oIQNOXn6fVW+I9tQ==
Date: Wed, 22 Jan 2020 16:30:49 +0000
Message-ID: <MN2PR11MB436660E1CA5268D3152985FCB50C0@MN2PR11MB4366.namprd11.prod.outlook.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=rwilton@cisco.com;
x-originating-ip: [173.38.220.39]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 8239b5fd-93aa-41c4-a7a6-08d79f587118
x-ms-traffictypediagnostic: MN2PR11MB3935:
x-microsoft-antispam-prvs: <MN2PR11MB3935A1CE32D9C3445AA3BD59B50C0@MN2PR11MB3935.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 029097202E
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(346002)(366004)(376002)(396003)(39860400002)(199004)(189003)(7116003)(9686003)(86362001)(8936002)(81166006)(81156014)(8676002)(33656002)(55016002)(2906002)(478600001)(71200400001)(76116006)(6916009)(66946007)(66576008)(66446008)(64756008)(66556008)(66476007)(6506007)(186003)(7696005)(316002)(26005)(52536014)(3480700007)(5660300002); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB3935; 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: GLshlD6hCcOE7ekp1+u6Ph60O+z1Y0RQsjJXBKSBYhPvjXHQAAhWDEzLc6dLk5uoRHbziNQZkqck8MhzbWonmGTmcd5H8WLEVj1BDxXRQU95z4uoX32UcAyqREc7xETTv+eaPT+i3eN9+B2YGgJILjN/d2MQHhsVgU9ML5yR8yjLTN65jrBPpYI9aWhTGXX9y/gtjlh+NCme67CYxnWqmrFNH7k42CEJ/mQqg/ZIGLowdgUd1zT7UPPEJAd32JB/aG3+m2Qpv6IdnvVIDjDq6Dp/BnyVGZGgtbgsIHwhjQjeVsrtbunDchgXsLIJk8vwqkDGbBbrE0nxPoL5JQqHi6875DOxRf6If9rORh8r6pXZfkooH8VsULXoVi8oWCax6vHNG+YMKVsrjUHWNrGZfdPvWrp5Ydx4c0UNDRbXUMw39VvIQZj7qwwwgDremqG5
x-ms-exchange-transport-forked: True
Content-Type: multipart/mixed; boundary="_006_MN2PR11MB436660E1CA5268D3152985FCB50C0MN2PR11MB4366namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 8239b5fd-93aa-41c4-a7a6-08d79f587118
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jan 2020 16:30:49.8584 (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: XoM9W0JeZVr2cj1hPt5XHNGMA85g/jyUArlYYHHOtSDGKoubAu8Brz4KlekYEcZqyd+kP6P822211hXr0+m6FA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3935
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.18, xch-aln-008.cisco.com
X-Outbound-Node: alln-core-11.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod-ver-dt/y9caiT6UXLS9r5KqfvPOmT4a16w>
Subject: [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: Wed, 22 Jan 2020 16:31:05 -0000

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

--- Begin Message ---
  Branch: refs/heads/master
  Home:   https://github.com/rgwilton/YANG-Packages-Draft
  Commit: a2d94dfbe416fe77f41d12dbdb321f602c95149d
      https://github.com/rgwilton/YANG-Packages-Draft/commit/a2d94dfbe416fe77f41d12dbdb321f602c95149d
  Author: rwilton <rwilton@cisco.com>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M draft-rwilton-netmod-yang-packages.txt
    M draft-rwilton-netmod-yang-packages.xml
    M ietf-yang-inst-data-pkg.yang
    A ietf-yang-package-instance.yang
    M ietf-yang-package-types.yang
    R ietf-yang-package.yang
    A ietf-yang-packages.yang
    R ietf-yl-packages.yang
    R tmp/ietf-yang-library-packages.yang
    M tmp/ietf-yang-revisions.yang

  Log Message:
  -----------
  Update draft with recent changes to packages YANG model


_______________________________________________
Netmod-ver-dt mailing list
Netmod-ver-dt@ietf.org
https://www.ietf.org/mailman/listinfo/netmod-ver-dt
--- End Message ---
--- Begin Message ---
  Branch: refs/heads/develop
  Home:   https://github.com/netmod-wg/yang-ver-dt
  Commit: 03d258d63982945375e22853be09d4c598ffe067
      https://github.com/netmod-wg/yang-ver-dt/commit/03d258d63982945375e22853be09d4c598ffe067
  Author: rwilton <rwilton@cisco.com>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    A yang-pkgs/draft-rwilton-netmod-yang-packages.txt
    A yang-pkgs/draft-rwilton-netmod-yang-packages.xml
    A yang-pkgs/example-3-pkg.json
    A yang-pkgs/example-ietf-network-device-pkg-folded.json
    A yang-pkgs/example-ietf-network-device-pkg.json
    A yang-pkgs/example-ietf-routing-pkg-folded.json
    A yang-pkgs/example-ietf-routing-pkg.json
    A yang-pkgs/example-import-1-pkg.json
    A yang-pkgs/example-import-2-pkg.json
    A yang-pkgs/full-example-ietf-network-device-pkg.json
    A yang-pkgs/ietf-yang-inst-data-pkg.yang
    A yang-pkgs/ietf-yang-package-instance.yang
    A yang-pkgs/ietf-yang-package-types.yang
    A yang-pkgs/ietf-yang-packages.yang
    A yang-pkgs/ietf-yang-types@2019-07-21.yang
    A yang-pkgs/simple-example-ietf-network-device-pkg.json
    A yang-pkgs/tmp/ietf-datastores.yang
    A yang-pkgs/tmp/ietf-module-tags@2018-10-17.yang
    A yang-pkgs/tmp/ietf-origin.yang
    A yang-pkgs/tmp/ietf-yang-instance-data@2019-07-04.yang
    A yang-pkgs/tmp/ietf-yang-library.yang
    A yang-pkgs/tmp/ietf-yang-revisions.yang
    A yang-pkgs/tmp/ietf-yang-structure-ext@2019-03-07.yang
    A yang-pkgs/tools/example-ietf-network-device-pkg-folded.json
    A yang-pkgs/tools/example-ietf-network-device-pkg.json
    A yang-pkgs/tools/example-ietf-routing-pkg.json
    A yang-pkgs/tools/fold-artwork.sh

  Log Message:
  -----------
  Add YANG packages draft to ver-dt-repo


_______________________________________________
Netmod-ver-dt mailing list
Netmod-ver-dt@ietf.org
https://www.ietf.org/mailman/listinfo/netmod-ver-dt
--- End Message ---