Re: [netmod] questions about draft-rtgyangdt-rtgwg-device-model-00

Lou Berger <lberger@labn.net> Thu, 27 August 2015 11:13 UTC

Return-Path: <lberger@labn.net>
X-Original-To: rtgwg@ietfa.amsl.com
Delivered-To: rtgwg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DD11E1A889D for <rtgwg@ietfa.amsl.com>; Thu, 27 Aug 2015 04:13:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.667
X-Spam-Level:
X-Spam-Status: No, score=-1.667 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=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 CI3tDIL2uXjC for <rtgwg@ietfa.amsl.com>; Thu, 27 Aug 2015 04:13:29 -0700 (PDT)
Received: from gproxy8-pub.mail.unifiedlayer.com (gproxy8-pub.mail.unifiedlayer.com [67.222.33.93]) by ietfa.amsl.com (Postfix) with SMTP id 6B9981B308C for <rtgwg@ietf.org>; Thu, 27 Aug 2015 04:13:29 -0700 (PDT)
Received: (qmail 23553 invoked by uid 0); 27 Aug 2015 11:13:28 -0000
Received: from unknown (HELO cmgw2) (10.0.90.83) by gproxy8.mail.unifiedlayer.com with SMTP; 27 Aug 2015 11:13:28 -0000
Received: from box313.bluehost.com ([69.89.31.113]) by cmgw2 with id 9nDJ1r00b2SSUrH01nDMAu; Thu, 27 Aug 2015 05:13:26 -0600
X-Authority-Analysis: v=2.1 cv=C6F6l2/+ c=1 sm=1 tr=0 a=h1BC+oY+fLhyFmnTBx92Jg==:117 a=wU2YTnxGAAAA:8 a=cNaOj0WVAAAA:8 a=4g2epv4a4k0A:10 a=IkcTkHD0fZMA:10 a=-NfooI8aBGcA:10 a=uEJ9t1CZtbIA:10 a=uRRa74qj2VoA:10 a=48vgC7mUAAAA:8 a=AM4U9HTYUM337l1cg80A:9 a=TzunZr6NLibGDXDZ:21 a=qVhNWpL7OwBvqPxE:21 a=QEXdDO2ut3YA:10
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=labn.net; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=SpiqKJ51Q9iREDwWM/0ub7IN00ZdmZPa9P6Y7sM2hSg=; b=cBzHyc9aGSJcbDJdotmlSVMz5S5ngWbuN7aqi717goIobIKGO+p1o141EQFE5mK/kjB3S/VCBx56IRcqsKMhmivMrzAksH1MfaIydegnF4X63xggwpShrgbJIA6b7qkq;
Received: from box313.bluehost.com ([69.89.31.113]:33521 helo=[127.0.0.1]) by box313.bluehost.com with esmtpa (Exim 4.84) (envelope-from <lberger@labn.net>) id 1ZUv7Q-0004aT-9h; Thu, 27 Aug 2015 05:13:20 -0600
Message-ID: <55DEF0CC.10302@labn.net>
Date: Thu, 27 Aug 2015 07:13:16 -0400
From: Lou Berger <lberger@labn.net>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Andy Bierman <andy@yumaworks.com>
Subject: Re: [netmod] questions about draft-rtgyangdt-rtgwg-device-model-00
References: <D203014F.2CA9C%acee@cisco.com> <20150826.122600.1110046163132211535.mbj@tail-f.com> <19CCF9F5-87F1-4C41-8151-18AD36D98CE6@lucidvision.com> <20150826.140918.2163222167742824482.mbj@tail-f.com> <D203327E.2CAE1%acee@cisco.com> <ED14E3B4-450F-4E33-A786-8767E55C7002@lucidvision.com> <55DE1471.40305@labn.net> <CABCOCHQmvsHVug2v+NLaxw=tYE3pwZ5yeNwZd=KDANbAVmQsQA@mail.gmail.com>
In-Reply-To: <CABCOCHQmvsHVug2v+NLaxw=tYE3pwZ5yeNwZd=KDANbAVmQsQA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-Identified-User: {1038:box313.bluehost.com:labnmobi:labn.net} {sentby:smtp auth 69.89.31.113 authed with lberger@labn.net}
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtgwg/OSKxNP0-CJPkvWbu2nRXAb8pC68>
Cc: "netmod@ietf.org" <netmod@ietf.org>, "draft-rtgyangdt-rtgwg-device-model@ietf.org" <draft-rtgyangdt-rtgwg-device-model@ietf.org>, "rtgwg@ietf.org" <rtgwg@ietf.org>
X-BeenThere: rtgwg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Routing Area Working Group <rtgwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtgwg/>
List-Post: <mailto:rtgwg@ietf.org>
List-Help: <mailto:rtgwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Aug 2015 11:13:31 -0000

On 08/26/2015 03:48 PM, Andy Bierman wrote:
> 
> 
> On Wed, Aug 26, 2015 at 12:33 PM, Lou Berger <lberger@labn.net
> <mailto:lberger@labn.net>> wrote:
> 
>     Tom,
> 
>     On 8/26/2015 9:34 AM, Nadeau Thomas wrote:
>     > ...
>     >       This is exactly what I want to get on the table.
> 
>     So taking a step back, perhaps there is a YANG language question at the
>     heart of this discussion.  I think we're seeing cases where the same
>     data model is useful in multiple cases/places.  The example I like to
>     use (although I know others disagree with the example) is the case of
>     PE/CE config information, where some of the exact same information may
>     end up on the CE and PE devices as well as the L3 service model.  In
>     this case we'd like a core model to be "included" (or "linked") into two
>     larger models.  Importantly, I'm referring to doing this as part of
>     model definition - not at server/device run time.  This is important for
>     the pre-provisioning case.
> 
>     It is my understanding that there is no way to really do this in a
>     general and extensible way (including allowing for augmentations)
>     today.  If there was such support, I do think we'd be saying that we'd
>     like the existing models to support this mechanism rather than our
>     current proposal of being relocated .
> 
> 
> If you are talking about schema reuse, then YANG has groupings as the
> solution.

My understanding is that the usage scope of groupings is pretty limited
and not really suitable for complex (sub)tree/module representation.
Also groupings can't be augmented

> But it seems you are talking about YANG Mount -- the ability to have a
> subtree on server X represent a different subtree on server Y.  On the
> controller
> the 'mount point' is not the actual data root (as Martin has explained).
> On the NE, the data models are in their real location  On the controller
> they are not.
> 
> This can be done with an 'anyxml' hack today.
> It would be better to have real YANG support for this very basic
> use-case 

I think finding a yang-based solution (to reuse) would be helpful.

Lou

> for YANG Mount.


> 
> 
>  
> 
>     Lou
>     (BTW this is my opinion, not speaking for the DT.)
> 
> 
> 
> Andy
>  
> 
> 
>     _______________________________________________
>     netmod mailing list
>     netmod@ietf.org <mailto:netmod@ietf.org>
>     https://www.ietf.org/mailman/listinfo/netmod
> 
>