[netmod] mount-point in anydata

Martin Bjorklund <mbj@tail-f.com> Tue, 17 January 2017 12:29 UTC

Return-Path: <mbj@tail-f.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 05DC7129A30 for <netmod@ietfa.amsl.com>; Tue, 17 Jan 2017 04:29:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.1
X-Spam-Level:
X-Spam-Status: No, score=-5.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-3.199, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 MPrfqQW84yic for <netmod@ietfa.amsl.com>; Tue, 17 Jan 2017 04:29:16 -0800 (PST)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id 0545D1293E9 for <netmod@ietf.org>; Tue, 17 Jan 2017 04:29:16 -0800 (PST)
Received: from localhost (unknown [173.38.220.36]) by mail.tail-f.com (Postfix) with ESMTPSA id 267501AE02EF for <netmod@ietf.org>; Tue, 17 Jan 2017 13:29:15 +0100 (CET)
Date: Tue, 17 Jan 2017 13:29:13 +0100
Message-Id: <20170117.132913.781493366440105564.mbj@tail-f.com>
To: netmod@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/r3Z8eee3L-sr0iEVZsV6HXkN9lg>
Subject: [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: Tue, 17 Jan 2017 12:29:17 -0000

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.


/martin