Re: [Netmod-ver-dt] Schema-comparison

"Joe Clarke (jclarke)" <jclarke@cisco.com> Fri, 20 March 2020 20:44 UTC

Return-Path: <jclarke@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 79CEE3A0E60 for <netmod-ver-dt@ietfa.amsl.com>; Fri, 20 Mar 2020 13:44:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.597
X-Spam-Level:
X-Spam-Status: No, score=-14.597 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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, 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=YhONAssl; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=CgtECP6W
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 O6c7Dq19NCkw for <netmod-ver-dt@ietfa.amsl.com>; Fri, 20 Mar 2020 13:44:31 -0700 (PDT)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 915843A0E23 for <netmod-ver-dt@ietf.org>; Fri, 20 Mar 2020 13:44:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=64991; q=dns/txt; s=iport; t=1584737071; x=1585946671; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=DX6405cRVf1nMYfsFoO/dz9ptxbJn9EyatSTdc5iGVk=; b=YhONAsslVWvS1u0+7Iz7JKHe+lcQVuEzrUDWbsMgf2/99kV2+IKHbCfh Fmeu8BzkCJfWXFVVo6QZRY7nUIGUehqrSsJdfKAnEE+143fQh3TrESNOD ys4Ua8HcZtRtuzA0ZGmgcO0x71xNS6PRUIwQUqmZYUkXo1UFteiSP0YjY g=;
IronPort-PHdr: 9a23:GwX9RxWHZYChRRG4IwwOy65KftHV8LGuZFwc94YnhrRSc6+q45XlOgnF6O5wiEPSA92J8OpK3uzRta2oGXcN55qMqjgjSNRNTFdE7KdehAk8GIiAAEz/IuTtank4F8BLTlxo13q6KkNSXs35Yg6arw==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CPBwDLKXVe/5JdJa1mHAEBAQEBBwEBEQEEBAEBgXuBJS9QBWxYIAQLKoQYg0UDim+COiWYHIJSA1AECQEBAQwBARgBCgoCBAEBg39FAheCDSQ4EwIDAQELAQEFAQEBAgEFBG2FVgyFYwEBAQEDAQEQER0BASwGBQEPAgEIEQMBAQEhAQYDAgICJQsUCQgCBA4FGweDBAGBfk0DLgEOoXICgTmIYnWBMhSCawEBBYUiGIIMAwaBOIwvGoFBP4ERJwwUgk0+gmQBAQKCAw0JglsygiyNWFMDgkWFdySJeY9ECoI8h1iPJh2bVZgPkmECBAIEBQIOAQEFgWkigVhwFTsqAYJBUBgNjh0MF4NQhRSFQXQCgSeNaQEB
X-IronPort-AV: E=Sophos;i="5.72,285,1580774400"; d="scan'208,217";a="744704668"
Received: from rcdn-core-10.cisco.com ([173.37.93.146]) by rcdn-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 20 Mar 2020 20:44:29 +0000
Received: from XCH-RCD-005.cisco.com (xch-rcd-005.cisco.com [173.37.102.15]) by rcdn-core-10.cisco.com (8.15.2/8.15.2) with ESMTPS id 02KKiTsI002580 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 20 Mar 2020 20:44:29 GMT
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by XCH-RCD-005.cisco.com (173.37.102.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 20 Mar 2020 15:44:29 -0500
Received: from xhs-rtp-001.cisco.com (64.101.210.228) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 20 Mar 2020 15:44:29 -0500
Received: from NAM11-DM6-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-001.cisco.com (64.101.210.228) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Fri, 20 Mar 2020 16:44:28 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jAbkUDeXpoRWJR53bUv6zSP++heqjfAzWDGnDVoDkSBXAIvZEDWn0JvEloEtipAx1dZgjnRtD7JpOQfluXJ0rIJ5fM6Uuf/wRui1uI05aEPc3keUe6K7R0oEYOXNfCSZLdrFU1k6MUXu7ERpS097jOmx31WTwN9/2g/Adj+Rudq1PBZWIoIpT2AN/cOhTjBz3bsvow++S+I5u96rIYKPi4BP59/6tys6JzP4dYhvLNEoRDbXRbohP2U+3CA9fuZlt3j+iuHUZ9av0RVYkhND3/MMwmB+aKJncQgluJBaogigy8MPSJztqqfsq0JwUOfT8xZKxu2AaVwy7V+c4Xqk/A==
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=DX6405cRVf1nMYfsFoO/dz9ptxbJn9EyatSTdc5iGVk=; b=C9ayebnLUQtrBw0Cbycn+deajVY7MyrWigu9php+cvcyu131X7vTOqsHoKExl+jWEirLiYm9zLboX9YAh608ynJLeubolldOAz+afIm+pHat3EbaVXlXu9pPWHSU4nZKKg8bwzJfu7FdzJoBJm9wJJbL0FoTf/Y3uKnqXA7HtEpY06EXX4XQ4fUiHo9n8x3u1y8pRVM/NB4gJrDKzGtryV+wjdYrboVZZ/wuWyXBiyqnTjHebzPEmUjF1anIfQghKjPpwQfmF+yJvwnQUSjst1qmm3eEicMqmo7ZIC+US4Tq5E+WkjOt9+mvT1edglzYZLMPKOSjQwLd9UfT7+r1nw==
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=DX6405cRVf1nMYfsFoO/dz9ptxbJn9EyatSTdc5iGVk=; b=CgtECP6WW0Un5M9MPONbJhOhqYO2+OUqRJTg/P87CTV438A7p7rNJwk2jZqMPQAklHrQoulFWEwR4dPrsdp/9rOaGJNIn7nE9Ubq/eTLQZK9GIIuDI0jVczslEwPDYIa69BhUCg8uraXo4oqeDhRMeWONiwHLUDaksuzIfPJs28=
Received: from BN6PR11MB1667.namprd11.prod.outlook.com (2603:10b6:405:e::12) by BN6PR11MB1812.namprd11.prod.outlook.com (2603:10b6:404:101::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.18; Fri, 20 Mar 2020 20:44:27 +0000
Received: from BN6PR11MB1667.namprd11.prod.outlook.com ([fe80::9dc8:a67:89cd:a2d2]) by BN6PR11MB1667.namprd11.prod.outlook.com ([fe80::9dc8:a67:89cd:a2d2%12]) with mapi id 15.20.2814.025; Fri, 20 Mar 2020 20:44:27 +0000
From: "Joe Clarke (jclarke)" <jclarke@cisco.com>
To: "Reshad Rahman (rrahman)" <rrahman=40cisco.com@dmarc.ietf.org>
CC: "Rob Wilton (rwilton)" <rwilton=40cisco.com@dmarc.ietf.org>, "netmod-ver-dt@ietf.org" <netmod-ver-dt@ietf.org>
Thread-Topic: [Netmod-ver-dt] Schema-comparison
Thread-Index: AQHV/WGL5/G+qj5vHk2HGbmAfTnnRKhPtJ7AgAH6BgCAAEdJAA==
Date: Fri, 20 Mar 2020 20:44:27 +0000
Message-ID: <6B5CEE04-AD60-4A0B-9761-0B41FCE2CDC3@cisco.com>
References: <79436E39-A845-4ACA-8903-42FCED4E2713@cisco.com> <MN2PR11MB4366E60FCA5768DD4C0E805FB5F40@MN2PR11MB4366.namprd11.prod.outlook.com> <A1B935FA-039D-4BA1-8404-05BCE98672BB@cisco.com>
In-Reply-To: <A1B935FA-039D-4BA1-8404-05BCE98672BB@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=jclarke@cisco.com;
x-originating-ip: [2001:420:c0c4:1002::4aa]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: dca19894-15b8-4dc4-2e7e-08d7cd0f7ba8
x-ms-traffictypediagnostic: BN6PR11MB1812:
x-microsoft-antispam-prvs: <BN6PR11MB1812C40F0A58AF9A7F4B09FBB8F50@BN6PR11MB1812.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 03484C0ABF
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(396003)(136003)(376002)(39860400002)(366004)(199004)(4326008)(53546011)(6506007)(6512007)(86362001)(2616005)(54906003)(8676002)(2906002)(71200400001)(36756003)(8936002)(6486002)(91956017)(66946007)(76116006)(66476007)(66556008)(64756008)(66446008)(5660300002)(81166006)(81156014)(478600001)(33656002)(316002)(966005)(186003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR11MB1812; H:BN6PR11MB1667.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A: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: ae3Ag78sujVLREJkqmjoVwrmLmCeoqY2NX+fD34jEQDQz2aCpIa/J6RUBInND8DpBBaKa0tTVj0OWKPf3cmxUP+lV9RsSWhU54QycPClah5gfX+Lv5QhCxm81/GPeO0CQxk+MHPoS3locjb9FPOzs2zTUwxiQHo8v4jiX2/JOtA/Z8tMA0nLrH+v/VgFMAiaqccoLWRfozRTL7g1giwL/f8dv5CNC6rFGQZUFWncIVDB5MVYalagRnSsS/GAtTEG7FH6gvDHD2hgZgk50NgukE8atGLqYdPdbV9XhSJQNJs9Xz85+EWxAFkWDWM/enn2ELx2pq7IyMhReIsCxhW724j4Dl3yCJzIxmf8q0eWKJkgiH10oydqYmiovQkBruQhAysY+Aw+Ygh1+XwK1TjkMzZtboKUAz6p2Tak4YYMIa2ag9h5I+42r1zlVLke+gmIJaQLFqJF6rOTbDxYNbSNJHZzQACK+Tahmn9+8p6Q10UdMQzE6sMan4siS337aoz4dsnL7D0JdLFM5Dog2CvQDg==
x-ms-exchange-antispam-messagedata: pyanqDNoVNEhwCsvkfKV11OjFl2yJ3ryc0t1xHL0sNuuGJytur8FQxviq6+ztjMSnWJOLs827AqTXaxZih7vmC4zCMZchxyP9YTi57ZapMFTJwTRPErbuXSiaAWD65qcNG7pGsYzUlWaTr8d52diISf6H641RS7zo9sNrpEgtTM=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_6B5CEE04AD604A0B97610B41FCE2CDC3ciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: dca19894-15b8-4dc4-2e7e-08d7cd0f7ba8
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Mar 2020 20:44:27.7268 (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: AX/rjbGRiWz6TuxmIHGubGcX6z2Czp4GCGX5Di5tJNvQdUaena5/BWZctUF3CWa5OY4AKQV92AskPdNrK1vANg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1812
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.15, xch-rcd-005.cisco.com
X-Outbound-Node: rcdn-core-10.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod-ver-dt/unLy1Pqkb5ugiaUV09rf9xgJ__Q>
Subject: Re: [Netmod-ver-dt] Schema-comparison
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: Fri, 20 Mar 2020 20:44:53 -0000

You may want to do a search and replace for “stuf” to “stuff” before you have to use the rev-ext:nbc tag :-).

Does it make sense to take a stance on points 1 and 2 here?  I think it makes sense to define the extensions in yang-versioning.

With respect to rev-ext:nbc, I think this is useful when the tooling would otherwise not be able to determine an nbc change (like in description).  So I think we could say nbc and renamed-from are the useful extensions.  I also don’t think it would be bad to allow a namespace in the value of renamed-from in case a vendor wanted to move something to a different module.

Joe

On Mar 20, 2020, at 16:29, Reshad Rahman (rrahman) <rrahman=40cisco.com@dmarc.ietf.org<mailto:rrahman=40cisco.com@dmarc.ietf.org>> wrote:

Hi Rob, all,

I’ve attached slides, it’s basically the slides Rob did for 106 (pruned a few) + small addition.

I’ve kept the 1st 3 points which were already part of next steps (slide 7), not sure if they should be rediscussed or not?

Inline.


From: "Rob Wilton (rwilton)" <rwilton=40cisco.com@dmarc.ietf.org<mailto:rwilton=40cisco.com@dmarc.ietf.org>>
Date: Thursday, March 19, 2020 at 12:42 PM
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com<mailto:rrahman@cisco.com>>, "netmod-ver-dt@ietf.org<mailto:netmod-ver-dt@ietf.org>" <netmod-ver-dt@ietf.org<mailto:netmod-ver-dt@ietf.org>>
Subject: RE: Schema-comparison

Hi Reshad,

Some comments inline …

From: Reshad Rahman (rrahman) <rrahman=40cisco.com@dmarc.ietf.org<mailto:rrahman=40cisco.com@dmarc.ietf.org>>
Sent: 18 March 2020 20:12
To: Rob Wilton (rwilton) <rwilton@cisco.com<mailto:rwilton@cisco.com>>; netmod-ver-dt@ietf.org<mailto:netmod-ver-dt@ietf.org>
Subject: Schema-comparison

Hi Rob, all,

I took a look at schema-comparison, it had been a while…. Regarding the issue<https://github.com/netmod-wg/yang-ver-dt/issues/25> we briefly discussed during the meeting:


  *   Ideally I believe any path should work with renamed-from (e.g. module to module). Helpful when comparing schemas. But TBH I don’t know how common this is. As for a solution, what comes to mind is we need an import statement for the “from-module” in the “to-module” and the identifier used in rename-from stmt would need to include prefix of “from-module”.

[RW]
For me:

  *   Renaming a node within a module is easier and we should make sure that we have that one covered.
  *   If we want to allow renaming from other modules then I think that we want to avoid using an import statement because it will create unwanted dependencies, and perhaps instead rely on a schema node path that uses qualified module name, e.g. perhaps like RESTCONF paths, with the default being the current module.

 <RR> Ack.


  *   The question about moving across module made me wonder whether a revision/version would be useful with the renamed-from extension.

[RW]
Not sure.  I think that this probably needs more further thought/discussion.  It may be that it turns out not to be required.
<RR> Missed the fact that this was already in the issue and presented at last IETF.

Regards,
Reshad.

Some comments/questions:

  1.  Actions aren’t mentioned in section 3, oversight?

[RW]
Yes, probably.


  1.  Filtered YANG schema comparison. In theory, some filters could be applied even for module comparison. Maybe take the filters out of YANG schema comparison and have a separate section?

[RW]
Yes, but I think that it might be more work than just pulling out the filtered section, since it also talks about constructing a full schema tree.

Perhaps:
Generic filtering should be a subsection of section 3 (or a new section 4).
The existing section 4 should also mention that the filtered comparison can be used.
The existing section 5.2 should be extended/renamed to indicate that it is comparing a full schema tree (or perhaps this is what we should be referring to a package schema).



  1.  Section 3 mentions minor and editorial and refers to yang-packages. Should refer to semver instead?

[RW]
Yes, good catch.


  1.  Section 3.1, this is where we should add descriptions of the extensions?

[RW]
Yes, as a starting point.


  1.  Examples would really help

[RW]
I agree.


  1.  Would be good to get feedback from tooling folks. Martin didn’t give any. I think we should ask yanglint (Radek?).

[RW]
Yes.  We could also take a look at what pyang does here.

Thanks,
Rob


Regards,
Reshad.


From: Netmod-ver-dt <netmod-ver-dt-bounces@ietf.org<mailto:netmod-ver-dt-bounces@ietf.org>> on behalf of "Rob Wilton (rwilton)" <rwilton=40cisco.com@dmarc.ietf.org<mailto:rwilton=40cisco.com@dmarc.ietf.org>>
Date: Tuesday, March 17, 2020 at 12:49 PM
To: "netmod-ver-dt@ietf.org<mailto:netmod-ver-dt@ietf.org>" <netmod-ver-dt@ietf.org<mailto:netmod-ver-dt@ietf.org>>
Subject: Re: [Netmod-ver-dt] Possible choices for editors

Notes from today’s DT meeting.

Bo, Joe, Reshad, Rob attended

We plan on keeping the 107 meeting slides format to broadly be the same, but raising more issues.

+ Joe to publish the ietf- version of the drafts..

+ RobW to ask about what we should do with the Reqs draft.

  *   Take to WGLC?
  *   Publish as informational?


+ RobW to raise with NETMOD/NETCONF chairs on the best way forward for progressing these drafts.

See further notes inline below.

From: Netmod-ver-dt <netmod-ver-dt-bounces@ietf.org<mailto:netmod-ver-dt-bounces@ietf.org>> On Behalf Of Rob Wilton (rwilton)
Sent: 03 March 2020 15:10
To: netmod-ver-dt@ietf.org<mailto:netmod-ver-dt@ietf.org>
Subject: [Netmod-ver-dt] Possible choices for editors

Obviously conditional on input from WG chairs & adoption results.

From discussion today:

6) draft-verdt-netmod-yang-schema-comparison-00 - Reshad?
  - Schema comparison tooling, unchanged from the version presented at 106.
[RW]

  *   Keep this discussion fairly short.


5) draft-wilton-netmod-yang-ver-selection-02 - Joe/Jason?
  - Version selection, updated since 106, as per notes below
[RW]
Issues:

  *   Move to NETCONF WG?
  *   Does it need to be split due to updating both NETCONF and RESTCONF?



4) draft-rwilton-netmod-yang-packages-03 - Bo?
  - YANG packages draft, updated since 106
[RW]
Bo producing slides
Discussed proposed issues to raise from the github issues list.


2) draft-verdt-netmod-yang-module-versioning-01 - Balazs?
  - Base module versioning solution, unchanged from the version presented at 106.
[RW]

  *   Feedback from Martin.
  *   Reshad to produce slides for 107.


3) draft-verdt-netmod-yang-semver-01 - Joe/Jason?
  - YANG Semantic version numbers, unchanged from the version presented at 106.
[RW]
-          Do we mandate IETF drafts use YANG Semver?
-          Joe’s going to produce slides.

1) draft-verdt-netmod-yang-solutions-03 - Rob?
  - Solution overview, updated since 106 to cover updates to version selection and schema comparison drafts.
[RW]

  *   Not planning to say much on this at all, at this stage.


0) requirements draft - Joe
  - Already adopted.
<ietf-107-netmod-yang-schema-comparison.pptx>_______________________________________________
Netmod-ver-dt mailing list
Netmod-ver-dt@ietf.org<mailto:Netmod-ver-dt@ietf.org>
https://www.ietf.org/mailman/listinfo/netmod-ver-dt