Re: [netmod] mount-point in anydata

Lou Berger <lberger@labn.net> Thu, 19 January 2017 17:21 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 5E01A129456 for <netmod@ietfa.amsl.com>; Thu, 19 Jan 2017 09:21:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.657
X-Spam-Level:
X-Spam-Status: No, score=-2.657 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1.156, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-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 QjRz6OhfZ-1U for <netmod@ietfa.amsl.com>; Thu, 19 Jan 2017 09:21:15 -0800 (PST)
Received: from gproxy7-pub.mail.unifiedlayer.com (gproxy7-pub.mail.unifiedlayer.com [70.40.196.235]) by ietfa.amsl.com (Postfix) with SMTP id D1CF1129447 for <netmod@ietf.org>; Thu, 19 Jan 2017 09:21:15 -0800 (PST)
Received: (qmail 6464 invoked by uid 0); 19 Jan 2017 17:21:12 -0000
Received: from unknown (HELO cmgw3) (10.0.90.84) by gproxy7.mail.unifiedlayer.com with SMTP; 19 Jan 2017 17:21:12 -0000
Received: from box313.bluehost.com ([69.89.31.113]) by cmgw3 with id aHM81u00W2SSUrH01HMBJw; Thu, 19 Jan 2017 10:21:12 -0700
X-Authority-Analysis: v=2.1 cv=YuCcGeoX c=1 sm=1 tr=0 a=h1BC+oY+fLhyFmnTBx92Jg==:117 a=h1BC+oY+fLhyFmnTBx92Jg==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=N659UExz7-8A:10 a=xqWC_Br6kY4A:10 a=IgFoBzBjUZAA:10 a=48vgC7mUAAAA:8 a=5iXfCOrpXH0-oAzJj94A:9 a=pILNOxqGKmIA:10 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:To:Subject:Sender:Reply-To:Cc: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=WOwf+2EfZPkBSUrScjws9n1LxqPQKfiLquL2S2XWibo=; b=wK/Sn+HZgdpdMULmQHgcL/36Dv lKmFAnR8ww6SSC8Jq3O9fIQZr0u1kiOL8ePZD00Ycgs98hVcz1NFKDekRCbUgSQrMQLQOVw6jLJsu GyIgXtBPVpMCSuGj8UrfnIP6x;
Received: from pool-100-15-85-191.washdc.fios.verizon.net ([100.15.85.191]:49109 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 1cUGOa-0005rA-1i; Thu, 19 Jan 2017 10:21:08 -0700
To: Martin Bjorklund <mbj@tail-f.com>, netmod@ietf.org
References: <20170117.132913.781493366440105564.mbj@tail-f.com>
From: Lou Berger <lberger@labn.net>
Message-ID: <0a200394-d2c0-a20d-eae8-a41bb2fd2c18@labn.net>
Date: Thu, 19 Jan 2017 12:21:04 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
MIME-Version: 1.0
In-Reply-To: <20170117.132913.781493366440105564.mbj@tail-f.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
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.85.191
X-Exim-ID: 1cUGOa-0005rA-1i
X-Source:
X-Source-Args:
X-Source-Dir:
X-Source-Sender: pool-100-15-85-191.washdc.fios.verizon.net ([IPv6:::1]) [100.15.85.191]:49109
X-Source-Auth: lberger@labn.net
X-Email-Count: 2
X-Source-Cap: bGFibm1vYmk7bGFibm1vYmk7Ym94MzEzLmJsdWVob3N0LmNvbQ==
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/AN9Po22WnjllVtDa_KsWdW10Kfc>
Subject: Re: [netmod] mount-point in anydata
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.17
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: Thu, 19 Jan 2017 17:21:17 -0000

Martin,

On 1/17/2017 7:29 AM, Martin Bjorklund wrote:
> Hi,
>
> Currently, the schema mount draft says that the "mount-point"
> extension only can be defined in an "anydata" node.  However, this
> doesn't really work, since RFC 7950 says:
>
>    An anydata node is treated as an opaque chunk of data.  This data
>    can be modified in its entirety only.
>
> But the idea with schema mount is to build a composite model that can
> be manipulated just like a normal model, or a model that is
> augmented.  If we mount models in an "anydata" node, clients would
> have to replace the enitire mounted subtree in order to change e.g. a
> single leaf.
>
> For this reason, I propose that we go back to the previous model where
> "mount-point" would be allowed in "container" and "list".  Note that a
> client that doesn't know anything about these mounts would see some
> nodes in some unknown namespace; just like in the case that there is
> an augment that the client doesn't know about.

would it be better to have the  schema mount draft updates 7950 to allow
for sub-tree changes under anydata?  It "feels" cleaner and I'd expect
to have no real impact on servers as this would only impact servers
supporting the draft.  I'm unsure about client impact though...

Thanks,
Lou

>
> /martin
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>