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

"Acee Lindem (acee)" <acee@cisco.com> Tue, 01 November 2016 16:21 UTC

Return-Path: <acee@cisco.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 2B009129508 for <netmod@ietfa.amsl.com>; Tue, 1 Nov 2016 09:21:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -16.018
X-Spam-Level:
X-Spam-Status: No, score=-16.018 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.497, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 FwRuR-EWJkQw for <netmod@ietfa.amsl.com>; Tue, 1 Nov 2016 09:21:35 -0700 (PDT)
Received: from rcdn-iport-2.cisco.com (rcdn-iport-2.cisco.com [173.37.86.73]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7393D1294BF for <netmod@ietf.org>; Tue, 1 Nov 2016 09:21:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5378; q=dns/txt; s=iport; t=1478017285; x=1479226885; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=/uIhnGSa6sa3+lRB2ZdieNwNuSp+ZX9CLsD30OG3RZc=; b=FTdejFmweMRdXSQZAGj0H6tiGwlGjHK3ROhbmRoVitlaqo8Wn0VeBUsa JkDJFSOLQY1TO7dYcpp+F8lBqnpQBxl80tzO61omywI7rMYOJkFpCQhPP Ls6Cweb79GX4AlgxEK72aapdGCixyZ99abhZPTiq9sLx9hh75KtJ5At0x w=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0B1AQCEwBhY/4MNJK1dGgEBAQECAQEBAQgBAQEBgyoBAQEBAR9YfAeNL5cBlEWCBx0LhTBKAhqBdT8UAQIBAQEBAQEBYiiEYQEBAQMBAQEBIBE6BAcQAgEIGAICJgICAiULFRACBA4FiEwIDqoejHcBAQEBAQEBAQEBAQEBAQEBAQEBAQEcgQeKC4Regm2CXAWaGgGGMIoEgW5OhCCJKo0ThAMBHjZghRNyhlCBDAEBAQ
X-IronPort-AV: E=Sophos;i="5.31,580,1473120000"; d="scan'208";a="169199953"
Received: from alln-core-1.cisco.com ([173.36.13.131]) by rcdn-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 01 Nov 2016 16:21:24 +0000
Received: from XCH-RTP-013.cisco.com (xch-rtp-013.cisco.com [64.101.220.153]) by alln-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id uA1GLNPe025427 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 1 Nov 2016 16:21:24 GMT
Received: from xch-rtp-015.cisco.com (64.101.220.155) by XCH-RTP-013.cisco.com (64.101.220.153) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 1 Nov 2016 12:21:23 -0400
Received: from xch-rtp-015.cisco.com ([64.101.220.155]) by XCH-RTP-015.cisco.com ([64.101.220.155]) with mapi id 15.00.1210.000; Tue, 1 Nov 2016 12:21:23 -0400
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Ladislav Lhotka <lhotka@nic.cz>
Thread-Topic: [netmod] I-D Action: draft-ietf-netmod-schema-mount-03.txt
Thread-Index: AQHSM4D/FqDZOvecQEyb0k4bEdBHfaDDDqoAgAD3AID///eAgIAAR/AAgAAL2IA=
Date: Tue, 01 Nov 2016 16:21:23 +0000
Message-ID: <D43E3790.86E09%acee@cisco.com>
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> <E1688D2A-24BF-4AE7-B0A8-16529652DFE1@nic.cz>
In-Reply-To: <E1688D2A-24BF-4AE7-B0A8-16529652DFE1@nic.cz>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.116.152.197]
Content-Type: text/plain; charset="utf-8"
Content-ID: <FF1E33908BBFA94D8D397D03482EE593@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/-lWjAnGHTT6M5utkV_jcntWOIjY>
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 16:21:37 -0000


On 11/1/16, 7:38 AM, "Ladislav Lhotka" <lhotka@nic.cz> wrote:

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

I think we need to be able to handle either an absolute path or one
relative to the mount point. I can see how this is going to be difficult
since the models don’t support this today.

Thanks,
Acee 





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