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

Martin Bjorklund <mbj@tail-f.com> Wed, 27 September 2017 19:59 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 C7825134F13 for <netmod@ietfa.amsl.com>; Wed, 27 Sep 2017 12:59:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 R7bcuRH_bLf3 for <netmod@ietfa.amsl.com>; Wed, 27 Sep 2017 12:59:32 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id E6F7D135002 for <netmod@ietf.org>; Wed, 27 Sep 2017 12:59:25 -0700 (PDT)
Received: from localhost (h-40-225.A165.priv.bahnhof.se [94.254.40.225]) by mail.tail-f.com (Postfix) with ESMTPSA id CA3091AE0397; Wed, 27 Sep 2017 21:59:24 +0200 (CEST)
Date: Wed, 27 Sep 2017 21:59:24 +0200
Message-Id: <20170927.215924.550019105119501379.mbj@tail-f.com>
To: lberger@labn.net
Cc: netmod@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <de362950-c916-c548-7e8d-abcb86fd8bad@labn.net>
References: <150650952130.25003.1792240611663747386@ietfa.amsl.com> <20170927.125558.606437323539289377.mbj@tail-f.com> <de362950-c916-c548-7e8d-abcb86fd8bad@labn.net>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/00XiqcMaTNaX_nN1xfrjv7ys6QQ>
Subject: Re: [netmod] I-D Action: draft-ietf-netmod-schema-mount-07.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, 27 Sep 2017 19:59:34 -0000

Lou Berger <lberger@labn.net> wrote:
> Hi Martin,
> 
> See below
> 
> On 9/27/2017 6:55 AM, Martin Bjorklund wrote:
> > Hi,
> >
> > This version fixes the XPath context for parent-reference.
> >
> >
> > However, there is one more thing to discuss, which is the term "mount
> > point".  
> >
> > The current text says:
> >
> >    - mount point: container or list node whose definition contains
> >      the "mount-point" extension statement. The argument of the
> >      "mount-point" statement defines the name of the mount point.
> >
> >
> > So if we have:
> >     
> >   container top {
> >     container root {
> >       yangmnt:mount-point ni;
> >     }
> >   }
> >     
> > There is one mount point, the node /top/root, with the name "ni".
> in the NI draft [1] we solve this by keeping the names the same:
> 
>         container vrf-root {
>           description
>             "Container for mount point.";
>           yangmnt:mount-point "vrf-root" {
>             description
>               "Root for L3VPN type models. This will typically
>                not be an inline type mount point.";
>           }
>         }
> 
> [1] https://tools.ietf.org/html/draft-ietf-rtgwg-ni-model-04
> > Pretty confusing...   Does anyone have any comments around this?
> >
> When the NE authors discussed this, we (a) discussed it's not a
> significant impediment or issue worth discussing, and (b) one author
> noted that the flexibility may even be useful down the road.

Yes, I don't want to change any functionality, but perhaps change the
terminology to make it less confusion.

Maybe change the extension to:

  extension mount-point {
    argument id; // instead of 'name'
    ...
  }

So the container "vrf-root" would be a mount point, with id "ni".



/martin




> 
> Thanks,
> Lou
> (As contributor)
>  
> >
> > /martin
> >
> >
> >
> >
> >
> > 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 Network Modeling WG of the IETF.
> >>
> >>         Title           : YANG Schema Mount
> >>         Authors         : Martin Bjorklund
> >>                           Ladislav Lhotka
> >> 	Filename        : draft-ietf-netmod-schema-mount-07.txt
> >> 	Pages           : 27
> >> 	Date            : 2017-09-27
> >>
> >> 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-07
> >> https://datatracker.ietf.org/doc/html/draft-ietf-netmod-schema-mount-07
> >>
> >> A diff from the previous version is available at:
> >> https://www.ietf.org/rfcdiff?url2=draft-ietf-netmod-schema-mount-07
> >>
> >>
> >> 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
> >
>