Re: [netmod] draft-bjorklund-netmod-structural-mount / possible simplification

STUART VENTERS <stuart.venters@adtran.com> Wed, 16 March 2016 16:28 UTC

Return-Path: <stuart.venters@adtran.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 96E1C12D59E for <netmod@ietfa.amsl.com>; Wed, 16 Mar 2016 09:28:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level:
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=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 0Mef9zCLVJsu for <netmod@ietfa.amsl.com>; Wed, 16 Mar 2016 09:28:45 -0700 (PDT)
Received: from p02c11o145.mxlogic.net (p02c11o145.mxlogic.net [208.65.144.78]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B5BAA12D625 for <netmod@ietf.org>; Wed, 16 Mar 2016 09:28:45 -0700 (PDT)
Received: from unknown [76.164.174.83] (EHLO ex-hc2.corp.adtran.com) by p02c11o145.mxlogic.net(mxl_mta-8.5.0-8) with ESMTP id db989e65.2acce7e52940.227007.00-503.610171.p02c11o145.mxlogic.net (envelope-from <stuart.venters@adtran.com>); Wed, 16 Mar 2016 10:28:45 -0600 (MDT)
X-MXL-Hash: 56e989bd27bbc060-7d5a5bf48ee51c4f83e42acb4a11505dd324e3ef
Received: from unknown [76.164.174.83] (EHLO ex-hc2.corp.adtran.com) by p02c11o145.mxlogic.net(mxl_mta-8.5.0-8) over TLS secured channel with ESMTP id 5b989e65.0.226935.00-236.609934.p02c11o145.mxlogic.net (envelope-from <stuart.venters@adtran.com>); Wed, 16 Mar 2016 10:28:43 -0600 (MDT)
X-MXL-Hash: 56e989bb47c6c5cd-a09a849af4494fcc2926f602f6ddd32923282f72
Received: from ex-mb1.corp.adtran.com ([fe80::51a3:972d:5f16:9952]) by ex-hc2.corp.adtran.com ([fe80::a019:449b:3f62:28e5%10]) with mapi id 14.03.0266.001; Wed, 16 Mar 2016 11:28:37 -0500
From: STUART VENTERS <stuart.venters@adtran.com>
To: 'Juergen Schoenwaelder' <j.schoenwaelder@jacobs-university.de>
Thread-Topic: [netmod] draft-bjorklund-netmod-structural-mount / possible simplification
Thread-Index: AQHRf3+l7z9M94Im7kGWJzNDQhHyXp9cb3IA//+zOuCAAF1kgP//rY4g
Date: Wed, 16 Mar 2016 16:28:36 +0000
Message-ID: <1220E2C537595D439C5D026E83751866E7B4C0D5@ex-mb1.corp.adtran.com>
References: <1220E2C537595D439C5D026E83751866E7B4940C@ex-mb1.corp.adtran.com> <20160304165219.GA36535@elstar.local> <01bd01d17f7f$116bb2e0$4001a8c0@gateway.2wire.net> <20160316140828.GC39819@elstar.local> <1220E2C537595D439C5D026E83751866E7B4C079@ex-mb1.corp.adtran.com> <20160316150757.GA40102@elstar.local>
In-Reply-To: <20160316150757.GA40102@elstar.local>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [172.22.118.25]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-AnalysisOut: [v=2.1 cv=XrT8TAx9 c=1 sm=1 tr=0 a=5zDNsY1we+1mvVcp/5+1jQ==]
X-AnalysisOut: [:117 a=5zDNsY1we+1mvVcp/5+1jQ==:17 a=0eaKXOXVzoQA:10 a=kj9]
X-AnalysisOut: [zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=7OsogOcEt9IA:10 a=48vgC7m]
X-AnalysisOut: [UAAAA:8 a=j3Z76cjpAAAA:8 a=SJdXaTmaJ3iGhucLqpkA:9 a=DSl7vI]
X-AnalysisOut: [d7ponIJACA:21 a=8iSO8Cc20BKueszT:21 a=CjuIK1q_8ugA:10 a=Fv]
X-AnalysisOut: [gKqOQ44qUA:10 a=JrSEOxZJtCQA:10 a=-FEs8UIgK8oA:10 a=NWVoK9]
X-AnalysisOut: [1CQyQA:10]
X-Spam: [F=0.5000000000; CM=0.500; MH=0.500(2016031610); S=0.200(2015072901)]
X-MAIL-FROM: <stuart.venters@adtran.com>
X-SOURCE-IP: [76.164.174.83]
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/wi6trgFFIZ-cRU8XWMYEUKFhsIU>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] draft-bjorklund-netmod-structural-mount / possible simplification
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: Wed, 16 Mar 2016 16:28:48 -0000

Juergen,

Agreed, given where you are in the process, the Yang1.1/action ship has sailed. 

 At this point, if the feedback is valid (consensus for which hasn't been shown), 
   it only provides an Occam's Razor reminder for  thinking about how to add future features.

If the mount ship has not sailed, then mount might be one of those future features.

Cheers,
Stuart


-----Original Message-----
From: Juergen Schoenwaelder [mailto:j.schoenwaelder@jacobs-university.de] 
Sent: Wednesday, March 16, 2016 10:08 AM
To: STUART VENTERS
Cc: netmod@ietf.org; Martin Bjorklund
Subject: Re: [netmod] draft-bjorklund-netmod-structural-mount / possible simplification

Speaking with my WG chair hat on, I think it is a bit late to discuss the design of actions. The WG has been working on YANG 1.1 for almost two years and unless something is really broken in the specification I am not going to take the specification back from where it is now, namely the processing pipeline of the IESG. It is time to deliver and then use all the good stuff that is in YANG 1.1.

/js

On Wed, Mar 16, 2016 at 02:58:08PM +0000, STUART VENTERS wrote:
> Interesting, this highlights a concern I have with Yang.
> It's highlevel goals and progress are great, but at a detail level,
>    instead of using one general purpose language construct per feature, it seems to be evolving to use many.
> For a new language evolving in an old problem area, this doesn't seem right.
> 
> RFC6020bis-11 section 7.15 gives some clue as to the reasoning behind this.
> "The difference between an action and an rpc is that an action is tied
>    to a node in the datastore, whereas an rpc is not."
> 
> To me, this feels like a protocol or implementation issue is causing an unnecessary language addition.
> 
> I wonder if an alternative strategy could be to say that you can use an rpc in a node, but when you do the name of the rpc on the wire becomes some combination of the node name and the rpc name?
> 
> 
> 
> -----Original Message-----
> From: Juergen Schoenwaelder 
> [mailto:j.schoenwaelder@jacobs-university.de]
> Sent: Wednesday, March 16, 2016 9:08 AM
> To: t. petch
> Cc: STUART VENTERS; netmod@ietf.org; Martin Bjorklund
> Subject: Re: [netmod] draft-bjorklund-netmod-structural-mount / 
> possible simplification
> 
> On Wed, Mar 16, 2016 at 12:26:17PM +0000, t. petch wrote:
> > ----- Original Message -----
> > From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
> > Sent: Friday, March 04, 2016 4:52 PM
> > 
> > 
> > > On Fri, Mar 04, 2016 at 04:25:37PM +0000, STUART VENTERS wrote:
> > > >
> > > > 2)      Allow the 'rpc' and 'notification' nouns to be used in other
> > places in the schema tree besides at the top module level.
> > >
> > > This is already part of YANG 1.1.
> > 
> > Looking at rfc6020bis-11 s.14, I see 'notification-stmt' appearing 
> > in many places so indeed it is allowed in other places but only see 
> > 'rpc-stmt' appear in 'body-stmts' .  Which, if I understand aright, 
> > means that 'rpc-stmt' can still only appear at the top level.
> >
> 
> Yep. But there is a new action-stmt and in section 1.1 it says:
> 
>    o  Added a new statement "action" that is used to define operations
>       tied to data nodes.
> 
> /js
> 
> -- 
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>