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

Martin Bjorklund <mbj@tail-f.com> Wed, 17 May 2017 07:50 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 6A25A129C09 for <netmod@ietfa.amsl.com>; Wed, 17 May 2017 00:50:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, 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 c3wOuBYzagwN for <netmod@ietfa.amsl.com>; Wed, 17 May 2017 00:50:02 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id 641EE129A90 for <netmod@ietf.org>; Wed, 17 May 2017 00:46:44 -0700 (PDT)
Received: from localhost (unknown [173.38.220.40]) by mail.tail-f.com (Postfix) with ESMTPSA id C45A61AE046C; Wed, 17 May 2017 09:46:42 +0200 (CEST)
Date: Wed, 17 May 2017 09:46:57 +0200
Message-Id: <20170517.094657.1191825685767676391.mbj@tail-f.com>
To: andy@yumaworks.com
Cc: netmod@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <CABCOCHSBp3v29k2S9HthUVx4GRBnYm4apeuXB6XrZBqeD1s0xQ@mail.gmail.com>
References: <149493700012.11951.17167734464796184887@ietfa.amsl.com> <20170516.142434.78646315149686396.mbj@tail-f.com> <CABCOCHSBp3v29k2S9HthUVx4GRBnYm4apeuXB6XrZBqeD1s0xQ@mail.gmail.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/zsA3V-q_PyFJIFkx_LkiljXi-iI>
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: Wed, 17 May 2017 07:50:04 -0000

Andy Bierman <andy@yumaworks.com> wrote:
> 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?

No; bug.

> Should it be "/ietf-interfaces:ietf-interfaces"?

It should be "/if:interfaces", and "if" should be declared in the
"namespace" list.  Will fix.  Thank's for catching this!

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

I also agree.  This is open until we have WG consensus.


/martin



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