Re: [netmod] I-D Action: draft-ietf-netmod-schema-mount-05.txt

Andy Bierman <andy@yumaworks.com> Tue, 16 May 2017 22:44 UTC

Return-Path: <andy@yumaworks.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 93F6D12EC41 for <netmod@ietfa.amsl.com>; Tue, 16 May 2017 15:44:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 gsYfhJYwSeQc for <netmod@ietfa.amsl.com>; Tue, 16 May 2017 15:44:50 -0700 (PDT)
Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0332112EC9D for <netmod@ietf.org>; Tue, 16 May 2017 15:40:47 -0700 (PDT)
Received: by mail-wm0-x22d.google.com with SMTP id b84so147460127wmh.0 for <netmod@ietf.org>; Tue, 16 May 2017 15:40:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=evRa6xLSSaIhOAZQaF5HIg5xDaMrPPJFZsOgnqFo3es=; b=U4fAMYAlhSz2RQc/doI0MiK3xawkgWugm7i9axPK7Yer7WMM9d/+KoMSPP6bHQnmu9 dZfgVqGon+12TCqVLou+6hLKRCVALspcOPAeHuzGYS1NZRjwQbkqwt665UO8OBsfh+be o9pw+fyeLIDQfWNLgJVK335bt/FfHQr5+Nvr3gHEjePAaXY3S6XCFnlVhKyD+Bb6OB0+ sObRTIkEnXUNWBELKwcwwXotsTaELXeOp+dlYq/hnRxhcM2W6jDQOHnKVmQpT7Mnso8F 48w4xBD4YQoGqpKAgxdMsVe+ePzR9Lt7E8+Gdj5pwrdWbI0MEaucDT+PHR2puHgb2AUb FI2w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=evRa6xLSSaIhOAZQaF5HIg5xDaMrPPJFZsOgnqFo3es=; b=ACBy7DXORjOCbq/pDmwA48OYIDEHzAdi2MQkH0kcnNA/XNlLlSU65zHGdzhJmjn2Cp UY55OcjF5f7449ltUYg0z3SzQPRQBbGcfW8Y9pyINHdR7orviPuoC2r4yRX/a2tm40dH qOh47y1ciEznQYRZfaH/ehpq1Rs3Fm0DkLOVv2c444t61JMuGfDO02zE+fyTBhvSQLza GYme2DvMWCPVlrddOGJptujo4jgNi0ZAzER9RX1ylLORe8vgVc8LYJIIhXoaQbGjqH/x EYqRw2RRFNEZEFBaMR04FpHJoGv9DhnBWP3AqjJy6WEIl0QTYbwCLZ69hXzxeMppYrHA +zvA==
X-Gm-Message-State: AODbwcDh++WaYh+IFc6UZ12rCUXzylU2t0kg/kWKQMYKcN3gSk2N+AB+ SzqBPu94rgm9ViAVYtGHC2juM0zdB1fUJzQ=
X-Received: by 10.28.145.138 with SMTP id t132mr7948308wmd.136.1494974445491; Tue, 16 May 2017 15:40:45 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.155.2 with HTTP; Tue, 16 May 2017 15:40:44 -0700 (PDT)
In-Reply-To: <20170516.142434.78646315149686396.mbj@tail-f.com>
References: <149493700012.11951.17167734464796184887@ietfa.amsl.com> <20170516.142434.78646315149686396.mbj@tail-f.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 16 May 2017 15:40:44 -0700
Message-ID: <CABCOCHSBp3v29k2S9HthUVx4GRBnYm4apeuXB6XrZBqeD1s0xQ@mail.gmail.com>
To: Martin Bjorklund <mbj@tail-f.com>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="001a1145b164c5b087054fabdcb5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/fdy1H_LNKRnrFkeSfs3NOUUzECY>
Subject: Re: [netmod] I-D Action: draft-ietf-netmod-schema-mount-05.txt
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: Tue, 16 May 2017 22:44:52 -0000

Hi,

I am glad you got rid of the when-stmt.
The parent-reference is defined as an xpath1.0 string, but
the example in sec A.3 is just the string "ietf-interfaces" not
an XPath expression at all. Is this what you meant?
Should it be "/ietf-interfaces:ietf-interfaces"?

Also open issue B.3 says design time mounts are not supported yet but
sec 1 (Intro) says they are out of scope:

   The schema mount mechanism defined in this document provides support
   only for the latter two cases because design-time definition of the
   mounted schema doesn't play well with the existing YANG modularity
   mechanisms.  For example, it would be impossible to augment the
   mounted data model.


I agree with sec 1. Leave them out of scope.


Andy


On Tue, May 16, 2017 at 5:24 AM, Martin Bjorklund <mbj@tail-f.com> wrote:

> Hi,
>
> This version resolves the issue around parent references in
> XPath/leafrefs in mounted modules.  Please check the text in section
> 4, and the corresponding YANG nodes ("parent-reference").
>
> There are still some open issues, see Appendix B.  These issues will
> be dicsussed at the Virutal Interim Meeting next Monday.
>
>
> /martin & lada
>
>
> internet-drafts@ietf.org wrote:
> >
> > A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
> > This draft is a work item of the NETCONF Data Modeling Language of the
> IETF.
> >
> >         Title           : YANG Schema Mount
> >         Authors         : Martin Bjorklund
> >                           Ladislav Lhotka
> >       Filename        : draft-ietf-netmod-schema-mount-05.txt
> >       Pages           : 28
> >       Date            : 2017-05-16
> >
> > Abstract:
> >    This document defines a mechanism to combine YANG modules into the
> >    schema defined in other YANG modules.
> >
> >
> > The IETF datatracker status page for this draft is:
> > https://datatracker.ietf.org/doc/draft-ietf-netmod-schema-mount/
> >
> > There are also htmlized versions available at:
> > https://tools.ietf.org/html/draft-ietf-netmod-schema-mount-05
> > https://datatracker.ietf.org/doc/html/draft-ietf-netmod-schema-mount-05
> >
> > A diff from the previous version is available at:
> > https://www.ietf.org/rfcdiff?url2=draft-ietf-netmod-schema-mount-05
> >
> >
> > Please note that it may take a couple of minutes from the time of
> submission
> > until the htmlized version and diff are available at tools.ietf.org.
> >
> > Internet-Drafts are also available by anonymous FTP at:
> > ftp://ftp.ietf.org/internet-drafts/
> >
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
> >
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>