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

Robert Wilton <rwilton@cisco.com> Thu, 04 February 2016 09:57 UTC

Return-Path: <rwilton@cisco.com>
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 D83C71A6EF4 for <netmod@ietfa.amsl.com>; Thu, 4 Feb 2016 01:57:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.502
X-Spam-Level:
X-Spam-Status: No, score=-14.502 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=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 fPND6NFRlTqZ for <netmod@ietfa.amsl.com>; Thu, 4 Feb 2016 01:57:02 -0800 (PST)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 43DD81A6F13 for <netmod@ietf.org>; Thu, 4 Feb 2016 01:57:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=9464; q=dns/txt; s=iport; t=1454579822; x=1455789422; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=6yd1GMiPDA1bPO+Sb6fklW6slvOPmrWROCLSBjFMwHM=; b=i0Xklo4FGPj16HAB4vYhiWxR43czAOE1G8L2vs+Pjdhd8C24YECo/s+r iP8USIQE5uv2gfg7YXWoHywueJIG0V2zHXbIUT8gBdkkLnVPmLpZ0ONPb xnlm5mRP6B611B+XlffrRna9EHDb9+dX5IqH7oMnMCrOhwJbeLBfOblEv s=;
X-IronPort-AV: E=Sophos;i="5.22,395,1449532800"; d="scan'208";a="632160334"
Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Feb 2016 09:57:00 +0000
Received: from [10.63.23.97] (dhcp-ensft1-uk-vla370-10-63-23-97.cisco.com [10.63.23.97]) by aer-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id u149uxY0004934; Thu, 4 Feb 2016 09:56:59 GMT
To: Lou Berger <lberger@labn.net>, "Alexander Clemm (alex)" <alex@cisco.com>, Kent Watsen <kwatsen@juniper.net>, "Eric Voit (evoit)" <evoit@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>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <56B3206B.7070000@cisco.com>
Date: Thu, 04 Feb 2016 09:56:59 +0000
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
MIME-Version: 1.0
In-Reply-To: <152aa883418.2818.9b4188e636579690ba6c69f2c8a0f1fd@labn.net>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/x4bE89peIFwKCqbtZe601t02x3Y>
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 09:57:06 -0000

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.

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