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

Ladislav Lhotka <lhotka@nic.cz> Tue, 01 November 2016 11:39 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 4A1A5129659 for <netmod@ietfa.amsl.com>; Tue, 1 Nov 2016 04:39:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.497
X-Spam-Level:
X-Spam-Status: No, score=-8.497 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, RP_MATCHES_RCVD=-1.497] 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 OeP5RKpVc0IE for <netmod@ietfa.amsl.com>; Tue, 1 Nov 2016 04:38:57 -0700 (PDT)
Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 84B02129658 for <netmod@ietf.org>; Tue, 1 Nov 2016 04:38:57 -0700 (PDT)
Received: from [IPv6:2001:1488:fffe:255:e99a:c4d0:cd99:ed70] (unknown [IPv6:2001:1488:fffe:255:e99a:c4d0:cd99:ed70]) by mail.nic.cz (Postfix) with ESMTPSA id DB9C2611A7; Tue, 1 Nov 2016 12:38:55 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1478000335; bh=NAFi8ftW868l935POP187q/YG1N+Z/2gBNEyMG903js=; h=From:Date:To; b=XzCGZu2+qDcgx1ZIqF0iQB3joOzqCD/gSBPCvBNyXnTTti67ytcY4jRbo0EyGUODE if0RIhey3+D14PI6htsnlpFvN58cSU9OJW4ilQqDKjhOUrJte1XO3BeLeeBIFmG2dF E4q2pCrhLyKnN8TCjb1mM7pImfDcMM8znlWU1Wgc=
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\))
From: Ladislav Lhotka <lhotka@nic.cz>
In-Reply-To: <D43DF1E3.86D18%acee@cisco.com>
Date: Tue, 01 Nov 2016 12:38:56 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <E1688D2A-24BF-4AE7-B0A8-16529652DFE1@nic.cz>
References: <147792321214.32369.17480502582405559340.idtracker@ietfa.amsl.com> <D43D2A12.86A35%acee@cisco.com> <20161101.085153.1841880487538583641.mbj@tail-f.com> <D43DF1E3.86D18%acee@cisco.com>
To: "Acee Lindem (acee)" <acee@cisco.com>
X-Mailer: Apple Mail (2.3251)
X-Virus-Scanned: clamav-milter 0.98.7 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/lrqf2jIq94slnm_guilNuEz0Y7c>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] I-D Action: draft-ietf-netmod-schema-mount-03.txt
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.17
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, 01 Nov 2016 11:39:00 -0000

> On 1 Nov 2016, at 12:21, Acee Lindem (acee) <acee@cisco.com> wrote:
> 
> 
> 
> On 11/1/16, 3:51 AM, "Martin Bjorklund" <mbj@tail-f.com> wrote:
> 
>> Hi,
>> 
>> "Acee Lindem (acee)" <acee@cisco.com> wrote:
>>> Hi Lada, Martin,
>>> 
>>> With respect to the restriction in section 3.1, I think it would be
>>> better
>>> to support paths that relative either to the mount point or to the
>>> absolute device root If not, how will we support device list interface
>>> references? 
>> 
>> Can you elaborate on the use case a bit?
> 
> Let’s say you want to schema mount a model, e.g., ietf-routing, and it has
> references to interfaces using the interface-ref from ietf-interfaces (RFC
> 7223). Is this possible?

It is possible if ietf-interface and ietf-routing are part of the same (mounted) schema. If you want to have, e.g., a global list of interfaces and refer to it from a mounted schema (routing instance), then it is not supported by schema mount - and it could hardly be because modules such as ietf-routing do not have the information where they can possibly be mounted.

It is probably necessary, as in the logical-devices example, to include ietf-interfaces in the mounted schema, and handle the relationship between the global and mounted interface list outside the data model.

Ideas how to handle this formally would certainly be appreciated.

Lada 

> 
> Thanks,
> Acee 
> 
> 
> 
> 
>> 
>> 
>> /martin
>> 
>> 
>> 
>>> 
>>> Thanks,
>>> Acee 
>>> 
>>> On 10/31/16, 10:13 AM, "netmod on behalf of internet-drafts@ietf.org"
>>> <netmod-bounces@ietf.org on behalf of 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-03.txt
>>>> 	Pages           : 24
>>>> 	Date            : 2016-10-31
>>>> 
>>>> 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's also a htmlized version available at:
>>>> https://tools.ietf.org/html/draft-ietf-netmod-schema-mount-03
>>>> 
>>>> A diff from the previous version is available at:
>>>> https://www.ietf.org/rfcdiff?url2=draft-ietf-netmod-schema-mount-03
>>>> 
>>>> 
>>>> 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
>>> 
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

--
Ladislav Lhotka, CZ.NIC Labs
PGP Key ID: E74E8C0C