Re: [Netmod-ver-dt] YANG packages - ready to post?

"Rob Wilton (rwilton)" <rwilton@cisco.com> Thu, 24 October 2019 12:33 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 2221C1200E0 for <netmod-ver-dt@ietfa.amsl.com>; Thu, 24 Oct 2019 05:33:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 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, 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=Al+hMGo5; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=a2OGTjKV
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 KOcmQA-jCZT5 for <netmod-ver-dt@ietfa.amsl.com>; Thu, 24 Oct 2019 05:33:27 -0700 (PDT)
Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D4065120026 for <netmod-ver-dt@ietf.org>; Thu, 24 Oct 2019 05:33:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=6372; q=dns/txt; s=iport; t=1571920406; x=1573130006; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=05luMyDliu7NmbpqnNMjNzcuVRhcNpdMylVOBbGE5Gw=; b=Al+hMGo5EsDONBdb2qTVM+A0eSKoVRyyD8M7zck4ZXnPhraXYY3lKAeD Oh/XxdJ3Z77Cz23VH2CvApOtTSMpmkwMq9Hl//ydTQyHIUT+mrQRQnBSI I5PxB0EKIMAAznyxzcpybYtCld/sBCOdod8TVVKuXPIkHFe7NevDtk5ti Y=;
IronPort-PHdr: 9a23:hV+6BxHr8d8MyaU62puM951GYnJ96bzpIg4Y7IYmgLtSc6Oluo7vJ1Hb+e4z1A3SRYuO7fVChqKWqK3mVWEaqbe5+HEZON0pNVcejNkO2QkpAcqLE0r+eeT1bigmG8JqX15+9Hb9Ok9QS47z
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AGAABWmbFd/5hdJa1lGQEBAQEBAQEBAQEBAQEBAQEBEQEBAQEBAQEBAQEBgWcEAQEBAQELAYFKKScFbFcgBAsWFAqEHoNHA4RYhgiCXpgDgS6BJANUCQEBAQwBARgNCAIBAYN7RQIXgyYkNAkOAgMJAQEEAQEBAgEFBG2FNwyFUAEBAQECAQEBEBERDAEBLAsBBAcEAgEIEQMBAQEBAgImAgICJQsVCAgCBAEJBAUIEweDAYJGAw4gAQIMp1UCgTiIYXWBMoJ+AQEFgTQBg1MYghcDBoEOKAGMDhiBQD+BEUaCHi4+gmIBAYFLGBWCeTKCLI0PAy+CN51vCoIkhw+ONoI7h1SPQ4Q7iX6IKZEjAgQCBAUCDgEBBYFSOYFYcBU7gmxQEBSDBoEnAQiCQ4UUhT90AQmBH41bAYEpAQE
X-IronPort-AV: E=Sophos;i="5.68,224,1569283200"; d="scan'208";a="349519713"
Received: from rcdn-core-1.cisco.com ([173.37.93.152]) by alln-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 24 Oct 2019 12:33:25 +0000
Received: from XCH-RCD-006.cisco.com (xch-rcd-006.cisco.com [173.37.102.16]) by rcdn-core-1.cisco.com (8.15.2/8.15.2) with ESMTPS id x9OCXPr5023532 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <netmod-ver-dt@ietf.org>; Thu, 24 Oct 2019 12:33:25 GMT
Received: from xhs-rtp-001.cisco.com (64.101.210.228) by XCH-RCD-006.cisco.com (173.37.102.16) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 24 Oct 2019 07:33:25 -0500
Received: from xhs-aln-002.cisco.com (173.37.135.119) by xhs-rtp-001.cisco.com (64.101.210.228) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 24 Oct 2019 08:33:23 -0400
Received: from NAM01-BY2-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, 24 Oct 2019 07:33:23 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nZjoMwB8z2ygAcDoEuEuM0UqJzYYiazOfmD3h6rBMWuR3axQLoNTgi0ZYIXURGMNqr5n9FXj1HsTKwxYQCFqoF54BIhU4tbJV2dGCqUH3YbGrfONoF+E5BDLqtqbu4EE7eosk4oFvs5R8DbulFGtrg4mDDctaXfz7LkhSpuZOdHHRg4w8LpUF8Xdy2Tmwnp+Y0G/iORvLxnzVigeeuHvWFRwUWlFoKzRm1dUgLZofwiOuCo1ndria+rsCcUnp0JMBflTG0cpJYeQI8x7w2dYAbNgNjuFGifq+wxWea4WSeVmCgMg30SSflgB/opwXpwRfvnnDcYFinHOxUrEdc62Ng==
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=05luMyDliu7NmbpqnNMjNzcuVRhcNpdMylVOBbGE5Gw=; b=fCCQR/ZWzmLR1paK4LIYCI6fUWty5rW50FmFuNpBtwMfBeE8In7yIwhfpJh86HE4q/V0d9TW2rn6zpJcrbG2XkbzLUZq6Zc+btig8kgorOJjdgtm1c56kWhVz/XFLe7O6zIYddb4mjW4YBNCu0lzxLrJMhs1kzFvLzlo7kteWQpm4laOW07d68Ek14/QWA0tj1zCZbzlIxd34FDM71uG/0A2qbTAnNCJxTOvJv2Y632tkBEg3jbxR+GAs4MShGmUl1aGbBR8y0PmuGBxU5CZjGXw5iPrhABC65dsE1Qzv1fQFkY6792u8t2KJUDI4E5KEw+/57wczzafUQHHfGeWTw==
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=05luMyDliu7NmbpqnNMjNzcuVRhcNpdMylVOBbGE5Gw=; b=a2OGTjKVQg/IGzxZbLxAqdoDEXcBhA6fkT9OeajT426EckGE0KNKDojuTcRMJLqAkdS6IKxtWp1l+5dDC+WJxSd4qZVtoDE8evR1/Tb+JZ84t7yAQGWEN8TqQ/tF2ys8UIB4c01GrY9TWqJw3RWu2f0+W5I3Mdawa6+NDnx/3tg=
Received: from MN2PR11MB4366.namprd11.prod.outlook.com (52.135.38.209) by MN2PR11MB4127.namprd11.prod.outlook.com (10.255.181.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2367.24; Thu, 24 Oct 2019 12:33:22 +0000
Received: from MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::cca:41bd:b0bb:c549]) by MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::cca:41bd:b0bb:c549%2]) with mapi id 15.20.2347.030; Thu, 24 Oct 2019 12:33:22 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: "Joe Clarke (jclarke)" <jclarke@cisco.com>, "Reshad Rahman (rrahman)" <rrahman@cisco.com>
CC: "netmod-ver-dt@ietf.org" <netmod-ver-dt@ietf.org>
Thread-Topic: [Netmod-ver-dt] YANG packages - ready to post?
Thread-Index: AQHVidfkcwc7guqQcEOnDi4fm3mfYKdonpoAgAEb/eA=
Date: Thu, 24 Oct 2019 12:33:21 +0000
Message-ID: <MN2PR11MB4366CD0631680B9DB73C3072B56A0@MN2PR11MB4366.namprd11.prod.outlook.com>
References: <341B2B76-98CE-4F78-84C7-E556250470A6@cisco.com> <630ECB06-2145-42D5-8D8D-B40396FC9ECA@cisco.com>
In-Reply-To: <630ECB06-2145-42D5-8D8D-B40396FC9ECA@cisco.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.40]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 094e01b8-38fc-414f-b865-08d7587e5b80
x-ms-traffictypediagnostic: MN2PR11MB4127:
x-ms-exchange-purlcount: 4
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <MN2PR11MB4127539E9A920C86623210C8B56A0@MN2PR11MB4127.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0200DDA8BE
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(39860400002)(136003)(366004)(396003)(346002)(199004)(189003)(13464003)(51444003)(6436002)(4326008)(25786009)(316002)(66066001)(71200400001)(71190400001)(74316002)(8936002)(110136005)(86362001)(64756008)(66946007)(76116006)(476003)(6246003)(66446008)(66476007)(446003)(66556008)(229853002)(486006)(55016002)(966005)(52536014)(9686003)(7696005)(76176011)(8676002)(99286004)(6306002)(11346002)(3846002)(6116002)(81156014)(5660300002)(81166006)(186003)(33656002)(14444005)(478600001)(26005)(4001150100001)(53546011)(2906002)(6506007)(256004)(14454004)(305945005)(102836004)(6636002)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB4127; 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: n+YH2fpCXRla84WekM5UlkDTo6fO++RlyL9ToXjSxcYhsqJlsJWHYK1UbFlaW7bOx5aV2+dWPV4AlGF8rzLgnbT6prw1W3uH8VrQaY5/ydbkt8dlkgi6s2Ga2O3XaytCb+QAlxN57v8sQJlsMS3qfKyCqnncLhj9yKVhTyWwmpLuPaDmchQjn02OZwS2cPvMQ6VkYT1GDH013Sm25cktPeiX3WgovqTHEcD17fqSX2K35jkJ5uYc4HK7MV9b22FakxvZHJuFKVPuV5/RvWjbFTmuGSE+wiUuXDXBntuN/p9Dl85Qh5rtbjuYG9x7vwAdyrBr8sG4QDaj8cc1wYXH1G9L79gBbmL5vjZjwrHt1bVF3PYM41RqkI0q8tBqeawYgCUvz+8QigOWOw6J+FPlEA5VaUU69xsZiX7aIsPCBam3u5b6f3Gd8pxV4vo7+kafu+Vl/o8I3ueez3KkE9NmvaPO06tdA2O3uvodbz44X8o=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 094e01b8-38fc-414f-b865-08d7587e5b80
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Oct 2019 12:33:22.0010 (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: 2dikyGXnN3Dn+Nyfw30Wb8R5ggjS5T7CJu303CwFH7UXrIhRfnqVOFYFuLT8R6tI+heX4fI5KVCWP5hOl+rd6g==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4127
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.16, xch-rcd-006.cisco.com
X-Outbound-Node: rcdn-core-1.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod-ver-dt/xf9KZF3G9MdRRV1VR-R4iZKz2mU>
Subject: Re: [Netmod-ver-dt] YANG packages - ready to post?
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, 24 Oct 2019 12:33:29 -0000

Now posted, so we can focus today's meeting only on the version selection draft.

Thanks,
Rob


-----Original Message-----
From: Joe Clarke (jclarke) <jclarke@cisco.com> 
Sent: 23 October 2019 20:36
To: Reshad Rahman (rrahman) <rrahman@cisco.com>
Cc: Rob Wilton (rwilton) <rwilton@cisco.com>; netmod-ver-dt@ietf.org
Subject: Re: [Netmod-ver-dt] YANG packages - ready to post?

Agreed.  Good WG questions.  I have opinions on some, but I’m still digesting others.

Joe

PGP Key : https://www.marcuscom.com/pgp.asc

> On Oct 23, 2019, at 15:28, Reshad Rahman (rrahman) <rrahman@cisco.com> wrote:
> 
> Hi Rob,
> 
> I took a quick look, nothing major stood out. Ship it....
> 
> Regards,
> Reshad.
> 
> On 2019-10-22, 11:26 AM, "Netmod-ver-dt on behalf of Rob Wilton (rwilton)" <netmod-ver-dt-bounces@ietf.org on behalf of rwilton@cisco.com> wrote:
> 
>    Hi,
> 
>    I think that I have hopefully resolved the main points that came up in review (principally except whether we have different structures for the file vs the device).
> 
>    I think that it would be good to get the current version posted to the WG, but if anyone wants to review/check my markups before I post, please let me know before Thursday's meeting.
> 
>    When I send it to the WG, I intend to also point out some of the open questions that they may want to consider or comment on.  Of course comments on the rest of the draft will also be welcome.
> 
>    The questions are:
> 
> 
>    1) Should packages use different structures for the file vs the device?
> 
>    The current approach aims to optimize for readability in the file and data transfer on the device (by reusing YANG library module-sets).
> 
>    One alternative is to use the same structure on both, with a duplication on module metadata information on the server by not reusing the YANG library module-sets.
> 
> 
>    2) The new version of the packages draft uses SHA-256 checksums on module, sub-module, and included package definitions.  Normally, a SHA-256 checksum is 64 characters long, but we could allow a prefix of the checksum to optionally be used in the files instead (i.e. similarly to how git commit hashes are handled).
> 
> 
>    3) Packages are allowed to use "tags" (from draft-ietf-netmod-module-tags) to add extra metadata to a package.  Currently, the draft doesn't provide any mechanism to add, remove, modify the tags associated with a package on a device.  Should this be added, or can this work reasonably be deferred?
> 
> 
>    4) The package definitions examples don't include/require XML namespaces.  Allowing, but not requiring, these in a package definition seems OK, but I prefer a solution that expects that package and module names to be unique (which, for modules at least, I think that the YANG JSON encoding effectively requires?).
> 
> 
>    5) I presume that we should try and define an IANA registry for package definitions, similar to the IANA YANG module registry.  Arguably, it might be more useful if the registry could be wider than just IETF modules.
> 
> 
>    Thanks,
>    Rob
> 
> 
> 
>    -----Original Message-----
>    From: Netmod-ver-dt <netmod-ver-dt-bounces@ietf.org> On Behalf Of Robert Wilton
>    Sent: 22 October 2019 11:07
>    To: netmod-ver-dt@ietf.org
>    Subject: [Netmod-ver-dt] [rgwilton/YANG-Packages-Draft] 72951e: Further markups
> 
>      Branch: refs/heads/master
>      Home:   https://github.com/rgwilton/YANG-Packages-Draft
>      Commit: 72951e88a99d3f412838badf9f9485e368d6ddd5
>          https://github.com/rgwilton/YANG-Packages-Draft/commit/72951e88a99d3f412838badf9f9485e368d6ddd5
>      Author: rwilton <rwilton@cisco.com>
>      Date:   2019-10-22 (Tue, 22 Oct 2019)
> 
>      Changed paths:
>        M draft-rwilton-netmod-yang-packages.txt
>        M draft-rwilton-netmod-yang-packages.xml
>        M ietf-yang-inst-data-pkg.yang
>        M ietf-yang-package-types.yang
>        M ietf-yang-package.yang
>        M ietf-yl-packages.yang
> 
>      Log Message:
>      -----------
>      Further markups
> 
> 
>    _______________________________________________
>    Netmod-ver-dt mailing list
>    Netmod-ver-dt@ietf.org
>    https://www.ietf.org/mailman/listinfo/netmod-ver-dt
> 
>    _______________________________________________
>    Netmod-ver-dt mailing list
>    Netmod-ver-dt@ietf.org
>    https://www.ietf.org/mailman/listinfo/netmod-ver-dt
> 
> 
> _______________________________________________
> Netmod-ver-dt mailing list
> Netmod-ver-dt@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod-ver-dt