Re: [netmod] schema mount open issue #1

Ladislav Lhotka <lhotka@nic.cz> Mon, 28 August 2017 14:15 UTC

Return-Path: <lhotka@nic.cz>
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 EBB3B1321ED for <netmod@ietfa.amsl.com>; Mon, 28 Aug 2017 07:15:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7
X-Spam-Level:
X-Spam-Status: No, score=-7 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_HI=-5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nic.cz
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 RcGubT7QrXxd for <netmod@ietfa.amsl.com>; Mon, 28 Aug 2017 07:15:51 -0700 (PDT)
Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) (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 A8F12132076 for <netmod@ietf.org>; Mon, 28 Aug 2017 07:15:51 -0700 (PDT)
Received: from birdie (unknown [IPv6:2001:1488:fffe:6:509a:2bff:fe5b:b691]) by mail.nic.cz (Postfix) with ESMTPSA id 35340623B2; Mon, 28 Aug 2017 16:15:50 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1503929750; bh=K0XpsMLkHrvz4WvxeWN+6LHEbAupyRavD7ez2qURYhM=; h=From:To:Date; b=qD1vq7Q09ewkwoA99qk092Mtd4Jg6sy9Htn4SNYR2+C1LwGC4iDeiSQBtS0eWIZjY f7yD8PMHmmVGwx8MTfcakSdx3+8XMSEEyJMRDoikaQWJ9izpPlHLCOMaRTLCKwYsMM ShRKaaANFr1j4Z040M+gM4Qupbm0ul++xmkKhLeY=
Message-ID: <1503929779.1715.65.camel@nic.cz>
From: Ladislav Lhotka <lhotka@nic.cz>
To: Lou Berger <lberger@labn.net>, Martin Bjorklund <mbj@tail-f.com>
Cc: netmod@ietf.org
Date: Mon, 28 Aug 2017 16:16:19 +0200
In-Reply-To: <7c99497f-d719-0fe2-01f5-a06d53c8fc68@labn.net>
References: <edf93508-3b14-e962-488f-a4844d7f8399@labn.net> <20170828.122845.1527315474517128533.mbj@tail-f.com> <ca476502-c8f5-ffad-a463-04f21e2411f9@labn.net> <20170828.133507.2047018591752852829.mbj@tail-f.com> <e356dcb1-6bb2-96ec-17d4-c0bf7f1868b4@labn.net> <1503927029.1715.46.camel@nic.cz> <7c99497f-d719-0fe2-01f5-a06d53c8fc68@labn.net>
Organization: CZ.NIC
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.24.5
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: clamav-milter 0.99.2 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/wnMyld5LiXrgQ2kdRUf8GCiipiY>
Subject: Re: [netmod] schema mount open issue #1
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: Mon, 28 Aug 2017 14:15:54 -0000

Lou Berger píše v Po 28. 08. 2017 v 09:40 -0400:
> Lada,
> 
> On 8/28/2017 9:30 AM, Ladislav Lhotka wrote:
> > > Can you please take a look at it and see if we have any other disconnects?
> > 
> > This is really scary. 
> 
> I agree!
> 
> > How can we expect poor data modellers to understand the
> > concept if we have such fundamental disconnects, after so many hours of
> > discussing it?
> 
> This highlights why getting the text in (any) document is so important,
> and why discussions shouldn't be viewed as being closed until the impact
> on the text is agreed to!

I think many people still don't make much distinction between schema mount
(manipulation of the schema) and data mount. I still believe we need to clearly
separate these two concepts, preferably using two different mechanisms.

Moreover, draft-clemm-netmod-mount-06 adds heavily to this confusion. I myself
feel dizzy when reading e.g. this:

     extension mountpoint {
       argument name;
       description
         "This YANG extension is used to mount data from another
          subtree in place of the node under which this YANG extension
          statement is used.
          ..."

See? The data has to be placed to a *data tree*, and the extension is used in
the *schema tree*, but the description talks about just one node.

> 
> Lou
> 
> PS is your view aligned with martin or our example?

If you mean shifting the XPath context node to the mount point instance, then
yes.

Lada

> 
> > Lada
> > 
-- 
Ladislav Lhotka
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67