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

"Xufeng Liu" <xufeng.liu.ietf@gmail.com> Wed, 27 September 2017 13:43 UTC

Return-Path: <xufeng.liu.ietf@gmail.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 7F8F613214D for <netmod@ietfa.amsl.com>; Wed, 27 Sep 2017 06:43:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 W1zDsWmmFecL for <netmod@ietfa.amsl.com>; Wed, 27 Sep 2017 06:43:57 -0700 (PDT)
Received: from mail-wr0-x231.google.com (mail-wr0-x231.google.com [IPv6:2a00:1450:400c:c0c::231]) (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 81D8D134B5E for <netmod@ietf.org>; Wed, 27 Sep 2017 06:43:44 -0700 (PDT)
Received: by mail-wr0-x231.google.com with SMTP id v109so16564547wrc.1 for <netmod@ietf.org>; Wed, 27 Sep 2017 06:43:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-transfer-encoding:thread-index:content-language; bh=jFOjjctfBO5FZoFaO5+6U9utejh6FWqkAEScFiKr6kQ=; b=LlZHxqy8Rff8vybxZD5t5/6RXi+FtBXBqbO7gzSWlIpiaA3uO2ATTCh8xrOv+ZfV85 Fo/lX2MQ0QxzKuv+Aw6PvM8Xifx+yUMaiJT1CLpGWrMHhRGC2VLbXEKdYOeKmxdsFPl0 q5LDJrbirt5vxNJewG93ySTCUf1Pq2haAVzWRgTfBsjWiqEzM9dshrlZ9dQUdhLTjUwz v4xsOrMk6aB5tMfHsqAdn/VQ/VcpjW8pdDPvT0paDv7W2/8BfQgQE1su+SPtjsehxFLj Q4yP4IFMhijA/fqzjQJktpQiaObAvFo6FuAC1ap/w4zxFtaSQ9u8nKO92cGep8uv5cIP /Dhw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:thread-index :content-language; bh=jFOjjctfBO5FZoFaO5+6U9utejh6FWqkAEScFiKr6kQ=; b=KXZ6yLbWCDhFtRHzf65W2Svv3G/PbId1Q5MCHB2gLLeX24qRKenNec31nfBWDSnS9g HvX7qPXgRmtrI9lTcln4OtUSsRG4Hd/8EFrC9SA5AvzRl7mVA7Z3OppbuvLbrFHhtToD Vduw3b3d3LjfRolDFH93nEnvR7yPUmgMQv1h133/NyawtYDgl5UWGnZABb/4tVJM7AVI mmYj74wwrOHdshZ1IRPeGqXf7Lsksa0SV49IVgj3WT7dybM9HCoTnl7jICXL3uoV0+tR Ej3cl1Du3J+yoOsvF/lD4Vkv5jOQFam8r9LydTWfcFC1il1tGfqdEmOhP5glPFlJS6pH Gb8w==
X-Gm-Message-State: AHPjjUjxStEQEgq8cO81JT4V9aYwFlE/BWBpCJ6nElmTwW8wmFHoZt6S hqxPteBDrgL8uFHwUKbhXY4=
X-Google-Smtp-Source: AOwi7QDmL4mKr3XlBe5XFgLLzbVrUA/54RaqtiIfT6+P2qCDwh22r9zuyC+nByM9CfRmb/mo7KnYAA==
X-Received: by 10.46.4.154 with SMTP id a26mr737847ljf.6.1506519823055; Wed, 27 Sep 2017 06:43:43 -0700 (PDT)
Received: from xliuus (wsip-98-191-72-170.dc.dc.cox.net. [98.191.72.170]) by smtp.gmail.com with ESMTPSA id q190sm1713155lfe.51.2017.09.27.06.43.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Sep 2017 06:43:42 -0700 (PDT)
From: "Xufeng Liu" <xufeng.liu.ietf@gmail.com>
To: "'Martin Bjorklund'" <mbj@tail-f.com>, <netmod@ietf.org>
References: <150650952130.25003.1792240611663747386@ietfa.amsl.com> <20170927.125558.606437323539289377.mbj@tail-f.com>
In-Reply-To: <20170927.125558.606437323539289377.mbj@tail-f.com>
Date: Wed, 27 Sep 2017 09:43:40 -0400
Message-ID: <011301d33796$a1d3f100$e57bd300$@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQMIT43kc5jtpSAat0yG5Djln5sx+AGe1P1yoFGMMrA=
Content-Language: en-us
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/8GNNKtM-HIjngTxr0mI0JReA-bw>
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 13:43:59 -0000

Alternatively we can use "/top/root" as the name of the mount-point, then
there won't be case for 
  'A module MAY contain multiple "mount-point" statements having the same
argument.'
The "mount-point" extension statement won't take an argument, which will be
cleaner, and make the extension statement look more like a property
specifier than a node declaration.

Thanks,
- Xufeng

> -----Original Message-----
> From: netmod [mailto:netmod-bounces@ietf.org] On Behalf Of Martin
> Bjorklund
> Sent: Wednesday, September 27, 2017 6:56 AM
> To: netmod@ietf.org
> Subject: Re: [netmod] I-D Action: draft-ietf-netmod-schema-mount-07.txt
> 
> 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".
> 
> Pretty confusing...   Does anyone have any comments around this?
> 
> 
> 
> /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-0
> > 7
> >
> > 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