Re: [netmod] Yang mount / ysdl example use case

Lou Berger <lberger@labn.net> Thu, 04 February 2016 12:08 UTC

Return-Path: <lberger@labn.net>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C2BC91B2CC8 for <netmod@ietfa.amsl.com>; Thu, 4 Feb 2016 04:08:02 -0800 (PST)
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 FTqn8eNKC3vb for <netmod@ietfa.amsl.com>; Thu, 4 Feb 2016 04:08:00 -0800 (PST)
Received: from gproxy10-pub.mail.unifiedlayer.com (gproxy10-pub.mail.unifiedlayer.com [69.89.20.226]) by ietfa.amsl.com (Postfix) with SMTP id 71B641B2CCB for <netmod@ietf.org>; Thu, 4 Feb 2016 04:08:00 -0800 (PST)
Received: (qmail 18150 invoked by uid 0); 4 Feb 2016 12:07:59 -0000
Received: from unknown (HELO cmgw4) (10.0.90.85) by gproxy10.mail.unifiedlayer.com with SMTP; 4 Feb 2016 12:07:59 -0000
Received: from box313.bluehost.com ([69.89.31.113]) by cmgw4 with id EC7t1s00i2SSUrH01C7wW1; Thu, 04 Feb 2016 05:07:59 -0700
X-Authority-Analysis: v=2.1 cv=IekUBwaa c=1 sm=1 tr=0 a=h1BC+oY+fLhyFmnTBx92Jg==:117 a=h1BC+oY+fLhyFmnTBx92Jg==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=-NfooI8aBGcA:10 a=qqXk6dxrMykA:10 a=jFJIQSaiL_oA:10 a=AUd_NHdVAAAA:8 a=OUXY8nFuAAAA:8 a=wU2YTnxGAAAA:8 a=48vgC7mUAAAA:8 a=eKuuEYs3ppqkrHsFZscA:9 a=XBj1Aonavjc4WFY8:21 a=tLnpYe997Jxuriz7: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:MIME-Version:Subject:References:In-Reply-To:Message-ID:Date:CC:To:From; bh=vZ+alNAK9TuCVhKitPCHFxOG9xO0st67wKQSwmwkqHQ=; b=G4iPDMXjaw6jEQSTqkq7/5w6P+awyAHIhlmgjFzjo0TsYGztNGx3uQqaMldQ6Wx1Tk/kekW3jhEJxSl4VPEWgq7phiipNlcIJ64lrMlRXVW1lkQ14YcbYUb3btNE5ArW;
Received: from [100.15.91.238] (port=57681 helo=[11.4.0.238]) by box313.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.84) (envelope-from <lberger@labn.net>) id 1aRIhV-0003po-Ip; Thu, 04 Feb 2016 05:07:53 -0700
From: Lou Berger <lberger@labn.net>
To: Robert Wilton <rwilton@cisco.com>, "Alexander Clemm (alex)" <alex@cisco.com>, Kent Watsen <kwatsen@juniper.net>, "Eric Voit (evoit)" <evoit@cisco.com>
Date: Thu, 04 Feb 2016 07:07:50 -0500
Message-ID: <152ac2e6df0.2818.9b4188e636579690ba6c69f2c8a0f1fd@labn.net>
In-Reply-To: <56B3206B.7070000@cisco.com>
References: <56B0FDAC.3090100@labn.net> <80DED68C-16DB-4723-9DDC-0D84DD6DD041@juniper.net> <56B209B9.2050504@cisco.com> <287698E9-361C-44EA-A23F-AEE25CE65F76@juniper.net> <a674088b9e534140ae2be7cc421e666f@XCH-RTP-001.cisco.com> <152aa883418.2818.9b4188e636579690ba6c69f2c8a0f1fd@labn.net> <56B3206B.7070000@cisco.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 AquaMail/1.6.0.10 (build: 24000016)
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Identified-User: {1038:box313.bluehost.com:labnmobi:labn.net} {sentby:smtp auth 100.15.91.238 authed with lberger@labn.net}
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/tSRz5-s0_2eelBnwCJqrLg4KkFw>
Cc: netmod WG <netmod@ietf.org>
Subject: Re: [netmod] Yang mount / ysdl example use case
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.15
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: Thu, 04 Feb 2016 12:08:02 -0000

Rob,


On February 4, 2016 4:57:24 AM Robert Wilton <rwilton@cisco.com> wrote:

> Hi,
>
> I wasn't actually suggesting that Alex's YANG mount draft be considered
> as a solution here.  I think that this draft is probably sufficiently
> complex that it would require a lot WG discussion and hence take too
> long to standardize to meet the RTG DT requirements.
>
> Hence, I envisage that we'll end up with two drafts:
>   1) A basic mount draft - based on either Martin's Structural Mount or
> Lada's Ysdl drafts.
>   2) A revision of Alex's YANG mount draft that extends from the base
> mount draft (1) above to cover alias and peer mount.
>
> The meeting should focus on (1).
>
> But what I am suggesting is for either Alex or Eric to evaluate both
> Martin's Structural Mount and Lada's Ysdl to determine whether either of
> the drafts are particularly better/easier/cleaner to extend to cover the
> Alias and Peer mount use cases covered in Alex's YANG mount draft, since
> that might be useful to help identify which of (Martin's Structural
> Mount of Lada's Ysdl) should be chosen as a starting point as a WG solution.
>
> I hope this clarifies my previous request.
>

Yes.  Although to me a merging may be more appropriate/likely then picking one.

Lou

> Rob
>
>
> On 04/02/2016 04:26, Lou Berger wrote:
>> Alex,
>>
>>
>> On February 3, 2016 8:35:54 PM "Alexander Clemm (alex)"
>> <alex@cisco.com> wrote:
>>
>>> Hi Kent,
>>>
>>> I do think that we should have a slot for that draft as well. The
>>> structural mount case is a variation of the alias mount case;
>>
>> Insofar as much that Structural mount and YSDL both have a model that
>> is used to control their mount functions there is similarity, but
>> there is a fundamental difference that the other documents cover a
>> schema being mounted not a datastore. Scheme mount is really a better
>> term than structural mount...
>>
>> Also for our use case we don't want to use a different/ additional model.
>>
>> That said covering alias and remote mount if there is time in the
>> interim would be fine with me, but not at the expense of identifying a
>> preferred approach of enabling the same amount that we are making use
>> of in our draft.
>>
>> Lou
>>
>>> it is certainly possible to have a continuum of solutions that allows
>>> to incorporate structural mount as well as alias mount and peer mount
>>> (the latter possibly at a later point).
>>>
>>> At the core in each case is the “mountpoint” construct / YANG
>>> extension, which was first introduced in the peer-mount draft and
>>> which also appears in the structured-mount draft.  In peer-mount, we
>>> also introduced two additional arguments/ extension in addition:  the
>>> subtree (used for alias mount), and the target (for peer mount –
>>> building on top, for when it is required).  In the discussions since,
>>> it became clear that there is also a use case where you don’t need an
>>> alias, where it is sufficient to just mount a module and instantiate
>>> it right under the mount point.  This is the case that Martin put in
>>> his draft.  So, there is really a continuum: a case of a mountpoint
>>> with no argument (structural mount - the new draft), with one
>>> argument (alias),  and with two (peer) (the earlier draft).
>>>
>>> --- Alex
>>>
>>>
>>> -----Original Message-----
>>> From: Kent Watsen [mailto:kwatsen@juniper.net]
>>> Sent: Wednesday, February 03, 2016 11:27 AM
>>> To: Robert Wilton -X (rwilton - ENSOFT LIMITED at Cisco)
>>> <rwilton@cisco.com>
>>> Cc: Lou Berger <lberger@labn.net>; netmod WG <netmod@ietf.org>;
>>> Alexander Clemm (alex) <alex@cisco.com>; Eric Voit (evoit)
>>> <evoit@cisco.com>
>>> Subject: Re: [netmod] Yang mount / ysdl example use case
>>>
>>>
>>> I was led to believe that the current set of drafts subsume
>>> draft-clemm-netmod-mount.  If that’s not true, then absolutely there
>>> should be a slot for that draft to be discussed as well. Please advise.
>>>
>>> Kent
>>>
>>>
>>>
>>>
>>>
>>>
>>> On 2/3/16, 9:07 AM, "Robert Wilton" <rwilton@cisco.com> wrote:
>>>
>>>> Hi Kent,
>>>>
>>>> There is also another Yang Mount related draft:
>>>> draft-clemm-netmod-mount-03
>>>>
>>>> Now, this draft doesn't directly address the RTG DT Arch team use-case,
>>>> and seems to cover two more complex problem scenarios (remote mount and
>>>> alias mount), but these do appear to be a valid mount use cases (e.g. I
>>>> think that it is used by OpenDaylight SDN controller), and I know that
>>>> there is at least one implementation of this draft.
>>>>
>>>> So, I want to echo Eric Voit's comments that it would be good if
>>>> whatever basic YANG mount draft we converge on is able to be cleanly
>>>> extended to cover the more complex mount scenarios.
>>>>
>>>> As such, if Alex Clemm or Eric Voit are willing, I think that it would
>>>> be useful if one of them could comment on how feasible it is to extend
>>>> either netmod-structual-mount or netmod-ysdl to cover the remote mount
>>>> and alias mount scenarios described in draft-clemm-netmod-mount-03.
>>>> Hence, if they agree, do you think that you would be able to add a 15
>>>> min slot to the agenda to cover this please?
>>>>
>>>> Thanks,
>>>> Rob
>>>>
>>>>
>>>> On 03/02/2016 02:24, Kent Watsen wrote:
>>>>> [Chair hat on]
>>>>>
>>>>> Given the number of competing/complementing drafts involved, and
>>>>> the general lack of discussion on any of them, a virtual interim
>>>>> meeting might be an expedient way to proceed.  In fairness, we know
>>>>> that there has been some discussion, but it hasn’t been picked up
>>>>> yet in a big way, and now Lou has an updated draft.
>>>>>
>>>>> The chairs discussed maybe scheduling one for a couple weeks from
>>>>> now, perhaps Thursday Feb 18 starting at 10am EST? I'm thinking
>>>>> about this slot only since it worked for us for previously.  Is
>>>>> this a good time slot?  I assume to schedule for 2 hours, with a
>>>>> plan to end early if needed - makes sense?     We also need to put
>>>>> together a proper agenda, perhaps the following?
>>>>>
>>>>>    10 min: RTG DT YANG Arch team use-case summary
>>>>>    20 min: draft-rtgyangdt-rtgwg-device-model
>>>>>    20 min: draft-lhotka-netmod-ysdl
>>>>>    20 min: draft-bjorklund-netmod-structural-mount
>>>>>    50 min: general discussion or end early
>>>>>
>>>>>
>>>>> We hope to schedule the meeting itself tomorrow or the next day, so
>>>>> please respond quickly to this email if possible.
>>>>>
>>>>> Thanks,
>>>>> Kent and Tom
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 2/2/16, 2:04 PM, "netmod on behalf of Lou Berger"
>>>>> <netmod-bounces@ietf.org on behalf of lberger@labn.net> wrote:
>>>>>
>>>>>> I thought it would be worth summarizing what we're looking for in
>>>>>> our draft, draft-rtgyangdt-rtgwg-device-model-02 (note new version
>>>>>> in case you missed it) with respect to the draft-lhotka-netmod-ysdl
>>>>>> and draft-bjorklund-netmod-structural-mount drafts. This is just my
>>>>>> view, so my co-authors may wish to chime in and correct me.
>>>>>>
>>>>>> I'd be interested in hearing from the authors of YSDL and
>>>>>> structural-mount, or anyone else for that matter, on how they see to
>>>>>> best meet these needs.
>>>>>>
>>>>>> Here's what I think our draft needs:
>>>>>>
>>>>>> 1. that there be a mechanism that allows the incorporation (or
>>>>>>    'mounting') of the data model defined by one top-level module
>>>>>>    within another module.
>>>>>>
>>>>>>    The implication here is that when information is instantiated
>>>>>>    for the parent model it is also instantiated for the
>>>>>>    incorporated/mounted model. In our case we expect to do this on
>>>>>>    list element creation. Both solutions drafts cover the path
>>>>>>    implications, so these are not repeated here.
>>>>>>
>>>>>> 2. that this mechanism allow identification of specific modules to
>>>>>>    be incorporated/mounted at time of module definition, i.e. that
>>>>>>    no additional module is needed to support 1. This doesn't
>>>>>>    preclude definition of such a module.
>>>>>>
>>>>>> 3. that this mechanism allow for a server to control (and
>>>>>>    identify) which modules are incorporated/mounted. (see Section
>>>>>>    3 LNE in our draft for an envisioned usage.)
>>>>>>
>>>>>> 4. that all capabilities that exist with the mounted module are
>>>>>>    available e.g. RPC operations and notifications.
>>>>>>
>>>>>> 5. while our primary requirement is for 'mounting' of top level
>>>>>>    modules, mounting of submodules may also be useful. (DT not draft
>>>>>>    driven.)
>>>>>>
>>>>>> We make use of the above in sections 3 and 4 of rtgwg-device-model.
>>>>>> We see having a solution as critical for the
>>>>>> simplifications/flexibility represented in the -02 version of our
>>>>>> draft vs the -03 rev.  We don't see wither solution draft as
>>>>>> significantly different and just hope for a standard solution as
>>>>>> soon as possible.  (a draft-ietf-netmod solutions draft on the topic
>>>>>> by BA would be fantastic given the impact on routing area -- even if
>>>>>> it had to document two variations / alternative solutions.)
>>>>>>
>>>>>> Again, this is just my opinion and my coauthors or others on the rtg
>>>>>> area yang DT may choose to chime in.
>>>>>>
>>>>>> Lou
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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
>>>>
>>
>>
>> .
>>
>
>