Re: [netmod] WG Last Call: draft-ietf-netmod-revised-datastores-04 duplicaiton

"t.petch" <ietfc@btconnect.com> Wed, 13 September 2017 16:44 UTC

Return-Path: <ietfc@btconnect.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B76B713306A; Wed, 13 Sep 2017 09:44:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.91
X-Spam-Level:
X-Spam-Status: No, score=-2.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.com
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 y3fwq7bamAKC; Wed, 13 Sep 2017 09:44:10 -0700 (PDT)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0109.outbound.protection.outlook.com [104.47.1.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 099311326FE; Wed, 13 Sep 2017 09:44:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector1-btconnect-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=+XDdzeVjOK5qFk5vr/GSfW0S9SBqudP9q/oCToZ6rGU=; b=apyetCvfwKNtOBUri9gy5TEnKkKQsebvArPBHpBrjSDiOdgLB27RYKzKu97X+d3p0mfHf2rn9uUDQPynCRYAw0BsQX3T3uN7bKdEOzDoYtQ2rYD5fHZHknfbyN6IMX8Q5+FWIVdlVNDHPN6abEZ3svu3lm1QvpytmePNh+Z8XD4=
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ietfc@btconnect.com;
Received: from pc6 (86.185.245.5) by AM5PR0701MB2995.eurprd07.prod.outlook.com (2603:10a6:203:48::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.4; Wed, 13 Sep 2017 16:44:07 +0000
Message-ID: <00bd01d32caf$4eb28e60$4001a8c0@gateway.2wire.net>
From: "t.petch" <ietfc@btconnect.com>
To: Lou Berger <lberger@labn.net>, netmod WG <netmod@ietf.org>
Cc: netmod-chairs@ietf.org, draft-ietf-netmod-revised-datastores@ietf.org
References: <511deba5-34ca-dde2-6637-ceaf4c4af125@labn.net>
Date: Wed, 13 Sep 2017 17:42:30 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Originating-IP: [86.185.245.5]
X-ClientProxiedBy: AM3PR07CA0106.eurprd07.prod.outlook.com (2603:10a6:207:7::16) To AM5PR0701MB2995.eurprd07.prod.outlook.com (2603:10a6:203:48::17)
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 35e20f18-3f8d-4bc2-18e2-08d4fac6a6de
X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:AM5PR0701MB2995;
X-Microsoft-Exchange-Diagnostics: 1; AM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AfadeyUZT46u1HJmGeWZP/D8YWz9Jd64oiAffgAC7N52+xL38iM2CT4T4b8L6JKSveDd/4paIPKYpv3Q8g3MB8r86ty2tDYVMkKAK2k3ooV; 4:q50Rujcy3am1qCHDvMrSXyvUyglX7WwA1MFFTlDDoQLkL6xj1mLsa0Gp/yBrUH1eTXjtQH9Gralo1qPRiDXYl+wBPqfzjbk60MpingYDoIcVB8H9Z4a/g8/n7QS+o9s85ZiwZp1pi83eaYkp+Xk5TAkTK6n7t6giJltxfn6eLEz8F59PSKzRb79nmOrW16QHIltZx0C1bEMS38zYE+jaLsmLxfIIPmcpwj64oqsELKCX4HSWkb4NWl2AnkpErHT9
X-Exchange-Antispam-Report-Test: UriScan:;
X-Microsoft-Antispam-PRVS: <AM5PR0701MB299595CC94565B8E5C20A333A06E0@AM5PR0701MB2995.eurprd07.prod.outlook.com>
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(100000703101)(100105400095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123564025)(20161123562025)(20161123558100)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM5PR0701MB2995; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM5PR0701MB2995;
X-Forefront-PRVS: 042957ACD7
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(7370300001)(4630300001)(6009001)(376002)(39860400002)(366002)(346002)(189002)(377454003)(51444003)(199003)(13464003)(3846002)(6306002)(54906002)(23756003)(7736002)(478600001)(50986999)(101416001)(76176999)(81686999)(81816999)(105586002)(6116002)(106356001)(61296003)(966005)(81166006)(50226002)(9686003)(305945005)(81156014)(8676002)(62236002)(66066001)(44716002)(316002)(33646002)(47776003)(68736007)(97736004)(25786009)(84392002)(230783001)(116806002)(4720700003)(86362001)(44736005)(7350300001)(6666003)(5660300001)(4326008)(229853002)(1556002)(230700001)(2906002)(6246003)(53936002)(1456003)(14496001)(6496005)(6486002)(50466002)(189998001)(74416001)(7726001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM5PR0701MB2995; H:pc6; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:0; LANG:en;
Received-SPF: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: 1; AM5PR0701MB2995; 23:7du+VY6lrewMe7TY2IN39DusIIqhzWK8LzXYzvzjEiKep0P+5I6mXqPXkMUF4dJr0K8KiI3Lmh9gpU3i/MX9enyn6iKJ7wK3e4F31xw9MV2e0SkArFnrAKJF3fkGdwu5VyxRIGSAFLf1d7sE/cHhbLHEbmxuYoK2z9MRWP3qeWnewX/6yt0e40g3hN7tGn1t09kc7KTme/lIrWosKLStrPPifR173hyMv6dm1lKTVFABEXCcLjGGL7h/RTVwic8NzVSvaex06FegB695bC88/lCgJJEasfs9h8u4a/ZeDhDl9H7xEifMnSfgm+M3alSGpb6RSMyJboIDDwSb5+E29T27vChqs3qq1wr/YvsML5plReWzkAZGI70TOuJltl2BQB/V86PNzK7omRCqvIEtr67iVcEAlpu46wq101h5TgJRNNFU+cf/DcXJVpSVQPHmNHzK7IR/RlOAHCMzcw7kXre63AUKjklpQdDr184btUSor443RiECNoO0rJO8CTCtrvecHTo9F3v7B2gqUSPyrq1C/+J/Bj/ZShHza/ixCeYQ/QSSNGhNuk+QFHwFChVhE8Ry5P58Y2+XNRHBR9XDf1QrP5nl/EAvOTuuaf5Bb/NsghzZ6c2BQ/5UlqN1nYAtBK+AaYT8zfIIkyCVtQF675QRqO7cjsqsbtrZxTpNnf/wG6m1MkK0AzFImJW34NyHay9pxzg9xCQE80ixptFUf66wed8kNIPBVl/KXW+4GYT1iMYbqhJ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UIjIC2rWh+DjwMZsYVvVxZD1ftmRUBdQUiCbQ3Mz57iPJIFEcXTHLDv8EEWcaBFUZ5bsgh8e8k+CQ4hepRYInVtL4KxvvmLSvUgJEsQ==; 5:PG6Q1ZSJjkuoaGML8JJiArR19sLPn6S2EFK+w6RuY8VI/Iff9DsUdXdzsOEK5Mg8xsqdS0uu1mSbikKr9iwjIC+hd9Yr6xPf5pG+ZKncVngK3xsp00vh9fSHVLoYGsK/hfrxznx/5EoVdox0S8Z5fg==; 24:waK+mUjvsIET993E0VySBDH84TM7R8Mg6WCCDGtAUQdXwe5Ixfy7RWIZo7zVM4OJ36AIQEp2BDc9vVA0GpjG8I/TURe5AQWaGZghZsP3w/I=; 7:ZI0wrJAtihYVDjs4UkV4JI34pOEFpdvlZKKFOcoovtEvag5HcKWJpI4LI8tqKgqJcaLbBUksQYljHWuaByf8bYjAByK20ca8a9ldTpkjpg3zos7P8cNlt8ftKWOizofKf5p+q4WxIhz7bgwfi0O++xGsIoRONHPjfzx+ODe3RVYjLeJjvbF8C3h4UMwLOUKZEFEkWAKc6oWRouwkCpd3BQka0Exsa31KnXJURVgxMFs=
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2017 16:44:07.3155 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0701MB2995
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/rCezDmJlzSF0vt7rlDxSGKfqTI0>
Subject: Re: [netmod] WG Last Call: draft-ietf-netmod-revised-datastores-04 duplicaiton
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Sep 2017 16:44:14 -0000

I think that in one respect, perhaps the key respect, this I-D fails to
state the obvious (or at least what is likely obvious to those who have
been at this for a while:-).

The problem that is hinted at but never explicitly stated is that data
objects can appear both as configuration and as state, e.g. when learned
by other means or at other times.  The original model of datastores
required these data objects to be modelled twice, as configuration false
and as configuration true, and since there could be many of them, and
the rules of YANG require them to be in separate trees, this led to a
twin-trees approach such as can be seen in RFC7277 or RFC7223.

Amongst other problems, this separation of operational state from
configuration in a
   separate branch in the data model has been found to be operationally
   complicated and impacts the readability of module
   definitions.  The relationship between
   the branches is not machine readable and filter expressions operating
   on configuration and on related operational state are different.

With revised datastores, there is a single data object to model both
values  but this now appears in two datastores, one for the
configuration value, one for the operational state value.

Instead of two YANG data nodes there is one data node in two datastores,
a more elegant and simpler solution to the problem.


I believe that text such as this would make the I-D much easier to
follow.  As it stands, you have to read between the lines and speculate.

Tom Petch


----- Original Message -----
From: "Lou Berger" <lberger@labn.net>
To: "netmod WG" <netmod@ietf.org>
Cc: <netmod-chairs@ietf.org>;
<draft-ietf-netmod-revised-datastores@ietf.org>
Sent: Friday, September 01, 2017 10:02 PM

> All,
>
> This starts a two week working group last call on
> draft-ietf-netmod-revised-datastores-04.
>
> The working group last call ends on September 17.
> Please send your comments to the netmod mailing list.
>
> Positive comments, e.g., "I've reviewed this document and
> believe it is ready for publication", are welcome!
> This is useful and important, even from authors.
>
> Thank you,
> Netmod Chairs
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod