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

"Reshad Rahman (rrahman)" <rrahman@cisco.com> Wed, 23 October 2019 19:27 UTC

Return-Path: <rrahman@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 8BD3C1208E9 for <netmod-ver-dt@ietfa.amsl.com>; Wed, 23 Oct 2019 12:27:49 -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=B6fmDh6O; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=u/WLb7Ze
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 EQObtQLcjO1N for <netmod-ver-dt@ietfa.amsl.com>; Wed, 23 Oct 2019 12:27:47 -0700 (PDT)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 19E6912008C for <netmod-ver-dt@ietf.org>; Wed, 23 Oct 2019 12:27:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5288; q=dns/txt; s=iport; t=1571858867; x=1573068467; h=from:to:subject:date:message-id:content-id: content-transfer-encoding:mime-version; bh=qvoMTHV8NhXL4AW5iN+f3ca759IcNfXpPAidSeADaVA=; b=B6fmDh6OJGDGvCwnRCcqaHl9rjgl1hK1kgknluIVJXfkzQbA0eqW2lw2 qU24Fxzn/VWRDHYkpDHaFJXouwXjv+C59xep4828FBUeKHgPED5nKVxoM QyHCgQHF+EGB6fxxWp57KmMUuOncwpwONGxcOSUf0rJxPqOh+/GHezhQZ Q=;
IronPort-PHdr: 9a23:FJtNQhXnuTj4ylOasqVawGNvocXV8LGuZFwc94YnhrRSc6+q45XlOgnF6O5wiEPSA92J8OpK3uzRta2oGXcN55qMqjgjSNRNTFdE7KdehAk8GIiAAEz/IuTtankgBs1CUVZj13q6KkNSXs35Yg6arw==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CfAABiqbBd/49dJa1lHAEBAQEBBwEBEQEEBAEBgWcHAQELAYFKKScFbFcgBAsqhCeDRwOEWIYBToIQmAOBLoEkA1QJAQEBDAEBGA0IAgEBg3tFAheDHSQ0CQ4CAwEDAgMBAQQBAQECAQUEbYU3DIVQAQEBAQMBARAREQwBASwMCwYBCBEDAQEBAwImAgQlCxUICgQBCQkbB4MAAYJGAy4BDqgVAoE4iGF1gTKCfgEBBYE0AYEUgkMYghcDBoEOKAGMDhiBQD+BEScfgh4uPoJiAQGBSxYXgnkygiyNDwOCZp1rCoIkhw6OGRuCO4dUj0GEOol8iCeRIQIEAgQFAg4BAQWBUjmBWHAVOyoBgkFQEBSDBoEnAQiCQ4UUhT90CoEfjyQBAQ
X-IronPort-AV: E=Sophos;i="5.68,222,1569283200"; d="scan'208";a="363660091"
Received: from rcdn-core-7.cisco.com ([173.37.93.143]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 23 Oct 2019 19:27:32 +0000
Received: from XCH-RCD-003.cisco.com (xch-rcd-003.cisco.com [173.37.102.13]) by rcdn-core-7.cisco.com (8.15.2/8.15.2) with ESMTPS id x9NJRW4u027321 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <netmod-ver-dt@ietf.org>; Wed, 23 Oct 2019 19:27:32 GMT
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by XCH-RCD-003.cisco.com (173.37.102.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 23 Oct 2019 14:27:31 -0500
Received: from xhs-aln-002.cisco.com (173.37.135.119) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 23 Oct 2019 14:27:29 -0500
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; Wed, 23 Oct 2019 14:27:29 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DMEvYQG2fY44oWw1hbQGY82MpO2wZn++y6HUsWgZPurTE2Yxh3MJJqRUieUkmu7Z3O98703dYSUKQdNp1CxIvEVsXt7c4nfw4rl5JvAPWQeUo7AnZNA3oJ9SZWgO+R5u2L26NTNejSFEiq1UenyX1m5IWuIKeE7CsaZ+AWjqDKGpxfJNPdVlMT5FojlkzZv3iclPC6L8Of13wiJJAM0Yv8XoM3/6unOgF2O7Z53e/OHx8DKKorK/A3NohIEY0PnGta7OGKkxMyE+zESEUfhB0bsA5OdkRGpB8Z49DQZNxz9avPR++aGsNtXYS34Qq76Q6ee95Y/nebd8FZDjEW6UtA==
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=qvoMTHV8NhXL4AW5iN+f3ca759IcNfXpPAidSeADaVA=; b=WPvD/0Qxlo6gxcY6sUCJIw+nXTqJUfpsb9jeQW1Vr5WBUwwMqBKhpFQcXfeJHCh8x0HuRBeutxY7XMuuWNfoHhMTQSQH1C6bSaLSSW4I+gaKzuImdI8dEjBnoOkU5X51JN4TiD7v0sYJTm0pdUpOxwUn3Lj/NvlxwoS2F8I7TaA3xpuAz4BgGUWE6HLEpX/hnMO2rw/iH6rls7ZL4NouyM7r5AX+eox6lf502wXQQTtuoIQaVVDM2U0m9K0VX0cqwIrlF5+4ClnTh/bOyvnsk21jkS5DUearX9JqZeP2/2kTAhPJXtxGxhDUj8RHFdaoNyBgTSlewJzLAEv/ekSpug==
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=qvoMTHV8NhXL4AW5iN+f3ca759IcNfXpPAidSeADaVA=; b=u/WLb7ZeSdXFObvDEtgZXqRS5T9c33ok0W5fPBlBjDJdojFtVuoVYxyCZHvKyKg6vhG3WW38npHZ9zQQDlmF7ahsb9lOyZ5hXNIoDkAsD6OkuOB6G3ir2K65jfXSv/+XKprdQ+YSRnmn8DcUm/iTQP6RD2zKQywxzXxtO/ykg6k=
Received: from MN2PR11MB4157.namprd11.prod.outlook.com (10.255.181.213) by MN2PR11MB4349.namprd11.prod.outlook.com (10.255.90.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2387.22; Wed, 23 Oct 2019 19:27:22 +0000
Received: from MN2PR11MB4157.namprd11.prod.outlook.com ([fe80::88cb:fcc7:df90:124]) by MN2PR11MB4157.namprd11.prod.outlook.com ([fe80::88cb:fcc7:df90:124%5]) with mapi id 15.20.2387.021; Wed, 23 Oct 2019 19:27:22 +0000
From: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
To: "Rob Wilton (rwilton)" <rwilton@cisco.com>, "netmod-ver-dt@ietf.org" <netmod-ver-dt@ietf.org>
Thread-Topic: [Netmod-ver-dt] YANG packages - ready to post?
Thread-Index: AQHVidfkcwc7guqQcEOnDi4fm3mfYA==
Date: Wed, 23 Oct 2019 19:27:21 +0000
Message-ID: <341B2B76-98CE-4F78-84C7-E556250470A6@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.1c.0.190812
authentication-results: spf=none (sender IP is ) smtp.mailfrom=rrahman@cisco.com;
x-originating-ip: [2001:420:2840:1250:6900:eb73:e481:aee6]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 0433f5a4-b9d7-4489-0f3b-08d757ef06fe
x-ms-traffictypediagnostic: MN2PR11MB4349:
x-ms-exchange-purlcount: 3
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <MN2PR11MB4349BCF0BAB4912F644992BBAB6B0@MN2PR11MB4349.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 019919A9E4
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(376002)(136003)(396003)(39860400002)(346002)(13464003)(51444003)(199004)(189003)(71190400001)(71200400001)(476003)(486006)(2616005)(8936002)(76116006)(66946007)(81166006)(8676002)(81156014)(66446008)(64756008)(66556008)(66476007)(229853002)(25786009)(53546011)(186003)(6116002)(36756003)(33656002)(110136005)(316002)(6506007)(58126008)(7736002)(102836004)(99286004)(46003)(6486002)(4001150100001)(2501003)(6306002)(14454004)(966005)(6512007)(6246003)(86362001)(478600001)(14444005)(256004)(2906002)(305945005)(5660300002)(6436002); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB4349; H:MN2PR11MB4157.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: 9W9L0QiTHWmKqaLB7yhxKJjlEqH+GpunoOvDUe/cQIGuhKJmH/SHu5Xs6rsramq/gFvVWkLGbc3aWdAInJJOwrlKLMPIxT+CuxxxJTEr8b3q6C0GmtxPsnfznNmHlWElXZY48kOZRVZ25fhv2cP1iedek+5SPXyWRMo72f39MapzNl6p5CNZkNL9GfYreBU+rS36ouN0IAP9j+3fvTVV7U+dB7QjH/7byQLdut64VVzxhfk1OvFzV1p+feTmii5joICCneKc8YRrcMBpHr0arF6cJf25L26iVEcUwzXAmgA7bqN2AaIL2QEsFPi9TT7WIo6W9wuNauBrWx4sXw8mnuouxm+URoILLqpI61FbeF2wfRxiPni/23K2SorTHrhvlRSpEWT4psUXbAtqL4y0seu6TJazPp+zadigpzgM8+GBoJZYbwQrkKIRwCNWy6epZnB4N4NL4CyFfl4IPPMhllawlRExmOyqAiLby+TAA8s=
Content-Type: text/plain; charset="utf-8"
Content-ID: <A8ADE6A36167564181F7040C7785D817@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 0433f5a4-b9d7-4489-0f3b-08d757ef06fe
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Oct 2019 19:27:21.9849 (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: Y50dQzAPyCyFNBke4pGlnAvQ8wPQuE5LT8zd9mJdB42IiQ+a0KRu94rRpA5+aJKBY9TifC4waCi7C+902X787g==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4349
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.13, xch-rcd-003.cisco.com
X-Outbound-Node: rcdn-core-7.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod-ver-dt/lMvSZ1UyhVdyLJj1G9hzcX6l03Q>
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: Wed, 23 Oct 2019 19:27:50 -0000

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