Re: [Netmod-ver-dt] Today's Ver DT meeting

"Rob Wilton (rwilton)" <rwilton@cisco.com> Thu, 09 January 2020 14:51 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 50DD41200B4 for <netmod-ver-dt@ietfa.amsl.com>; Thu, 9 Jan 2020 06:51:49 -0800 (PST)
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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, 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=hDzl+1cq; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=afyljhDH
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 mp0L5hhzOl-t for <netmod-ver-dt@ietfa.amsl.com>; Thu, 9 Jan 2020 06:51:46 -0800 (PST)
Received: from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AC60D120059 for <netmod-ver-dt@ietf.org>; Thu, 9 Jan 2020 06:51:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=33728; q=dns/txt; s=iport; t=1578581506; x=1579791106; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=QLOLbo7i7HQu277uP/97opfEOKXdzWwgZj+yKEN1DCM=; b=hDzl+1cqNBgCP0wf/VFmC30tzXQoZp2wcb++gp28KbWR9HNsT7FA7Jev SrvlVSItiFz8Pyup0Mljevz/RM5+7h0bCh0cvqZbMClYowTvgMlDAe54C 53ysQYfqgFbiha8MQx2Km2Fsy1lntxjj1FbMBMirD2DupxhXZ9i/2b5Nu Y=;
X-Files: example1b.xml : 5906
IronPort-PHdr: 9a23:/Dr78BKO/HsnTm2XI9mcpTVXNCE6p7X5OBIU4ZM7irVIN76u5InmIFeBvad2lFGcW4Ld5roEkOfQv636EU04qZea+DFnEtRXUgMdz8AfngguGsmAXFfkLfr2aCoSF8VZX1gj9Ha+YgBY
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BbDgBfPRde/4gNJK1bCh4BCxyBcQuBJS9QBWxYIAQLFxMKg3+DRgOKfE6CEZgNgS6BJANUAgcBAQEJAwEBLQIBAYRAAheBVyQ1CA4CAw0BAQQBAQECAQUEbYU3DIVeAQEBAQMSEQoTAQE4DwIBBgIRBAEBKwICAjAdCAEBBAESCAYUgwWCSgMuAQKPJ5BkAoE4iGF1gTKCfgEBBYUcGIIFBwmBNoFTikYagUE/gViCTD6EHhUYgw4ygiyOBQOCP4VXgRKIVY8pCoI2g2GCOJAkgkeMQYtbjleabAIEAgQFAg4BAQWBUwE3gVhwFYMnPRMYDY0SDBeDUIpTdIEojjABgQ8BAQ
X-IronPort-AV: E=Sophos;i="5.69,414,1571702400"; d="xml'?scan'208,217";a="694355833"
Received: from alln-core-3.cisco.com ([173.36.13.136]) by rcdn-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 09 Jan 2020 14:51:45 +0000
Received: from XCH-ALN-007.cisco.com (xch-aln-007.cisco.com [173.36.7.17]) by alln-core-3.cisco.com (8.15.2/8.15.2) with ESMTPS id 009EpjHH009964 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <netmod-ver-dt@ietf.org>; Thu, 9 Jan 2020 14:51:45 GMT
Received: from xhs-rcd-001.cisco.com (173.37.227.246) by XCH-ALN-007.cisco.com (173.36.7.17) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 9 Jan 2020 08:51:44 -0600
Received: from xhs-aln-001.cisco.com (173.37.135.118) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 9 Jan 2020 08:51:44 -0600
Received: from NAM11-CO1-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Thu, 9 Jan 2020 08:51:43 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W8leI0ovEBnP4G+LxxdOIknuUlpG6sCKizCyx1x4DdEohfFf9hG65YfZyftpi5fiFmoCIGZY6THXXFqn4Yl256JfDh+qsPxXYeExeTRbNgpw4p4DIHPdga2ixncY+kik3ImH+PcEow83dANdT7UZ8/1tGXbHBLtM0y4jteGRL5TEc7FN88O4wbQTZvwpt2F08pVRo8slUGh3gjr5w64wArzH39WP9sLlpXLtDqqkCWH09LRyGuh5nzkNyN2IV6ACftehAZPJvH/OD3mQSKLvgZlh//YgK9tUi3glLBPLzTCysyPUo8fPH5ElpcjV503WAEzJeermWzaRccNTfsNMTg==
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=3kwg851+Bk8qHshsP/q/u7NEcBmOpfbqNabe5erLTss=; b=hBu2oqWB22HO8GlUJqZpVdhL1PehojgwAZCM4aUuZ9if2s48PEpeX7E6UXAT2dQSeYXxuapy6BNDs/k6Yzi4BPOkk1DvCwPQO53/8UV276T0Zj+rwepBynLDmuM9e+k2+4/ywyRLVzC/gu0F3pYFlxOWE/sf7xzNFowIYm4hta/13qFibBi1lmXlQz8NZwXQuvxVchL6ILvL8rK8CLrnj6lLjoPOpJD+uubY7TIYhMmLl0TVTJPGd5++GWQGfDZhj7yDJ4AGovyp9g2DBoW15xIWPt+G5hc9a6Fu8xl1QptyYlgK+nJ1terPwydLehiFJaeHx0vsrT/QgwnqzWAEYQ==
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=3kwg851+Bk8qHshsP/q/u7NEcBmOpfbqNabe5erLTss=; b=afyljhDHlKEAu33pDKd6TtR/EsosuA4hZ0UTV1s9TbhPLRwYy3Y6ypG+AR9lk8eCyLintZFEBY1X8Db8Web50xv+ij5nO76stma2APj55eeZ9fosOfcGD00xbif07afDc1QWL6iwzIGOMUMFAkLnR18BTH/jimxn3vv1zc1GTOw=
Received: from MN2PR11MB4366.namprd11.prod.outlook.com (52.135.38.209) by MN2PR11MB4014.namprd11.prod.outlook.com (20.179.150.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.9; Thu, 9 Jan 2020 14:51:42 +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.2623.008; Thu, 9 Jan 2020 14:51:42 +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: Today's Ver DT meeting
Thread-Index: AdXG47yWvRZSoL9ySmq4bMXqAiY4LwAGGP+g
Date: Thu, 09 Jan 2020 14:51:42 +0000
Message-ID: <MN2PR11MB4366AB5966216B076C30FF1CB5390@MN2PR11MB4366.namprd11.prod.outlook.com>
References: <MN2PR11MB43666401ECE64078915622EFB5390@MN2PR11MB4366.namprd11.prod.outlook.com>
In-Reply-To: <MN2PR11MB43666401ECE64078915622EFB5390@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.52]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 7c095c1d-2633-4562-cdf8-08d795137100
x-ms-traffictypediagnostic: MN2PR11MB4014:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <MN2PR11MB40144AE01BEB888C8215D7D9B5390@MN2PR11MB4014.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 02778BF158
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(376002)(346002)(396003)(136003)(39860400002)(199004)(189003)(51444003)(71200400001)(5660300002)(478600001)(7696005)(110136005)(26005)(2906002)(33656002)(53546011)(52536014)(86362001)(6506007)(3480700007)(55016002)(2940100002)(9686003)(76116006)(66946007)(81156014)(66446008)(66556008)(66616009)(8676002)(64756008)(186003)(66476007)(81166006)(316002)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB4014; 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: OKcPK02FVr8/SbHp6flz/9dDVg9TsxNer0NkoQ53h490hABQ+iwiXOjd3KQr2+S9tfP71q8L1uWxB8L/7NjfzP3sDpu5ZsPOuH1bOdW9LuNAIVytz3bU8Cv5ms4xAo5+RHXW1FCfRayfXwebHrEGpFBUuDge5lOwHwKkTKIjucmITC6Up4qBVgB1eo9kF8X/BgYkKuBEWzD5QbqwZ7v1nMxDJXvjakPVmgkLm1RqfF7H7PpVt4fCSwyBq1k1uZOxNCRmoPCXUXaqQq3Zix4pq42keBlJR4EXkVSNlFwTJqja8FyqySig3wvG65w7bugKe4LgFTmM/BcnpeeRXwet7/fd1GG0tdwokrznqBi2DyVKGNrYcJWBAFIKL5X/WrRmHRdp2M2SkYS/Ug/NV8xEJ92rGQOqkdMAlkR5tAMp9htH4/AXppyUqOR1QLtVlk83mw/XbdQvqipkifm5xX5GefoFZ3oba8F8h3s9ecm/gdhTDXRj2NLnRYcpn3JwMfhh
Content-Type: multipart/mixed; boundary="_004_MN2PR11MB4366AB5966216B076C30FF1CB5390MN2PR11MB4366namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 7c095c1d-2633-4562-cdf8-08d795137100
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jan 2020 14:51:42.7820 (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: ao7apth2g4s1+13Skqgjmm3j31yOQUCV0Zss/3jUurkx3arrpwQgeVALwy+3H5TSLU9qttcxANn7Zg6zND5tIQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4014
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.17, xch-aln-007.cisco.com
X-Outbound-Node: alln-core-3.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod-ver-dt/VLbk0LKZss8csE_avMHfTSzQ-vI>
Subject: Re: [Netmod-ver-dt] Today's Ver DT meeting
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, 09 Jan 2020 14:51:49 -0000

A slightly more complex example is attached.

Thanks,
Rob


From: Netmod-ver-dt <netmod-ver-dt-bounces@ietf.org> On Behalf Of Rob Wilton (rwilton)
Sent: 09 January 2020 14:11
To: netmod-ver-dt@ietf.org
Subject: [Netmod-ver-dt] Today's Ver DT meeting

Happy New Year!

From the last meeting I did say that I would work on producing some concrete examples of version selection 😊

I’ve started working on this, but more work is required.  I have attached one example that we can discuss in the meeting, more may be forthcoming before the meeting.

As part of that work, I’ve been thinking more about the default/secondary schema.

As a recap, I think that this is roughly where I am at:


  1.  The default schema:

     *   is the schema that is used if a client doesn’t specify a secondary schema during their connection (i.e. NETCONF capabilities negotiation, or RESTCONF path).
     *   is also the schema used for the persistent configuration (and the <startup> datastore). [I think that this is probably right, but might need further thought/discussion]


  1.  Secondary schema:

     *   are additional schema that clients can choose to use, and are specified during their session (i.e. NETCONF capabilities negotiation, or RESTCONF path).
     *   can probably take several forms:

        *   A filtered view on the default schema (e.g. if the default schema supported vendor native + IETF + OC schema) then a filtered schema view might just be the OC subset.  This should be simple to support since it broadly equivalent to a subtree filter on any get operations.
        *   A translated view on the default schema (e.g. perhaps a different version of a schema),  All reads/writes to a translated schema are converted to/from the default schema.  The configuration is persisted in the “default schema”.

     *   It might be useful if some of the secondary schema could be labelled as read-only views on the data.  E.g. it might be reasonable to see the configuration using a secondary schema non native version, but not allow it to be modified.

Attached example:

Example 1, a simple example of a server supporting two schema versions, and the client can choose between which version is used for the primary schema.

  *   One question related to this example is what happens to the current configuration if a client changes the default schema to a different version.  Does that configuration also automatically get translated as well?  What happens if that translation fails?
  *   Do we need a simpler way to reporting the per datastore schema?  E.g. should we have a special value to identify all datastores, or all conventional datastores?

Thanks,
Rob