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

Lou Berger <lberger@labn.net> Wed, 13 September 2017 16:56 UTC

Return-Path: <lberger@labn.net>
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 6F0851321DF for <netmod@ietfa.amsl.com>; Wed, 13 Sep 2017 09:56:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 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_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (768-bit key) header.d=labn.net
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 vZs48VU1CzFq for <netmod@ietfa.amsl.com>; Wed, 13 Sep 2017 09:56:38 -0700 (PDT)
Received: from gproxy5-pub.mail.unifiedlayer.com (gproxy5-pub.mail.unifiedlayer.com [67.222.38.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 147251321B6 for <netmod@ietf.org>; Wed, 13 Sep 2017 09:56:38 -0700 (PDT)
Received: from cmgw3 (unknown [10.0.90.84]) by gproxy5.mail.unifiedlayer.com (Postfix) with ESMTP id B4C2D14058C for <netmod@ietf.org>; Wed, 13 Sep 2017 10:56:36 -0600 (MDT)
Received: from box313.bluehost.com ([69.89.31.113]) by cmgw3 with id 94wZ1w00o2SSUrH014wcqV; Wed, 13 Sep 2017 10:56:36 -0600
X-Authority-Analysis: v=2.2 cv=K/VSJ2eI c=1 sm=1 tr=0 a=h1BC+oY+fLhyFmnTBx92Jg==:117 a=h1BC+oY+fLhyFmnTBx92Jg==:17 a=IkcTkHD0fZMA:10 a=xqWC_Br6kY4A:10 a=2JCJgTwv5E4A:10 a=wU2YTnxGAAAA:8 a=48vgC7mUAAAA:8 a=riEW31MorCH5E5iC0eoA:9 a=QEXdDO2ut3YA:10 a=Yz9wTY_ffGCQnEDHKrcv:22 a=w1C3t2QeGrPiZgrLijVG:22
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=labn.net; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version :Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=g933hkqaWeCdIFzm2OdA6ATgmhDhBtx7+IOVn+Qssxc=; b=x5S/weKNxdNgOLnND4oSn0a8XL +fH/PDA65pYnyAFqAXHng8Vf/miS3cYleAbtG9bbWzIG4nkUkHWnKEvMt+Dxjm6YeRCd13gvj3rvJ 1bPv1vtihmP3a43tu7v1DKoB3;
Received: from pool-100-15-84-20.washdc.fios.verizon.net ([100.15.84.20]:40716 helo=[IPv6:::1]) by box313.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from <lberger@labn.net>) id 1dsAxl-0049nF-FO; Wed, 13 Sep 2017 10:56:33 -0600
To: "t.petch" <ietfc@btconnect.com>, 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> <00bd01d32caf$4eb28e60$4001a8c0@gateway.2wire.net>
From: Lou Berger <lberger@labn.net>
Message-ID: <92a410a9-e479-2321-7420-4bd2d9dbed38@labn.net>
Date: Wed, 13 Sep 2017 12:56:31 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <00bd01d32caf$4eb28e60$4001a8c0@gateway.2wire.net>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - box313.bluehost.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - labn.net
X-BWhitelist: no
X-Source-IP: 100.15.84.20
X-Exim-ID: 1dsAxl-0049nF-FO
X-Source:
X-Source-Args:
X-Source-Dir:
X-Source-Sender: pool-100-15-84-20.washdc.fios.verizon.net ([IPv6:::1]) [100.15.84.20]:40716
X-Source-Auth: lberger@labn.net
X-Email-Count: 4
X-Source-Cap: bGFibm1vYmk7bGFibm1vYmk7Ym94MzEzLmJsdWVob3N0LmNvbQ==
X-Local-Domain: yes
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/w17yuZgNehX_rXUW9L26lN6BYk0>
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:56:40 -0000

> 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,

    Thank you for the comments.  Do you have a specific change in mind,
or could your propose text, that would address this?

Thanks,
Lou

On 9/13/2017 12:42 PM, t.petch wrote:
> 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
>