Re: [netmod] Augmentation to Groupings

Alexander Clemm <alexander.clemm@huawei.com> Tue, 19 December 2017 19:51 UTC

Return-Path: <alexander.clemm@huawei.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 807B512D7FB for <netmod@ietfa.amsl.com>; Tue, 19 Dec 2017 11:51:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.23
X-Spam-Level:
X-Spam-Status: No, score=-4.23 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, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] 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 s8GJQL_xfcyt for <netmod@ietfa.amsl.com>; Tue, 19 Dec 2017 11:51:10 -0800 (PST)
Received: from huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B58731200F1 for <netmod@ietf.org>; Tue, 19 Dec 2017 11:51:10 -0800 (PST)
Received: from LHREML711-CAH.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 24E46BC5070D7; Tue, 19 Dec 2017 19:51:06 +0000 (GMT)
Received: from SJCEML703-CHM.china.huawei.com (10.208.112.39) by LHREML711-CAH.china.huawei.com (10.201.108.34) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 19 Dec 2017 19:51:08 +0000
Received: from SJCEML521-MBX.china.huawei.com ([169.254.1.83]) by SJCEML703-CHM.china.huawei.com ([169.254.5.4]) with mapi id 14.03.0361.001; Tue, 19 Dec 2017 11:51:06 -0800
From: Alexander Clemm <alexander.clemm@huawei.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Xufeng Liu <xufeng.liu.ietf@gmail.com>
CC: NETMOD WG <netmod@ietf.org>
Thread-Topic: [netmod] Augmentation to Groupings
Thread-Index: AQHTeOjLL9QEs1S4ZUun5Og6EQeTeKNLj8AA//+BZlA=
Date: Tue, 19 Dec 2017 19:51:05 +0000
Message-ID: <644DA50AFA8C314EA9BDDAC83BD38A2E0EAD4D37@sjceml521-mbx.china.huawei.com>
References: <CAEz6PPRtjHHRK_jFqCnygBN_nY4n0X2a2dUWqvSxhC2fAy+wFw@mail.gmail.com> <20171219191528.2snk3ahnipxcojtb@elstar.local>
In-Reply-To: <20171219191528.2snk3ahnipxcojtb@elstar.local>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.209.216.247]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/63d4VZOP_makMQdOn2fCY-s6_W4>
Subject: Re: [netmod] Augmentation to Groupings
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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, 19 Dec 2017 19:51:12 -0000

IMHO it would be worth a try.  If you wanted to only augment _some_ uses of a grouping, you could still do the same as today.  Also, I would expect augmentations to only affect servers that support the module defining the augmentation.  If verbosity were not an issue, why were groupings introduced in the first place?
--- Alex

> -----Original Message-----
> From: netmod [mailto:netmod-bounces@ietf.org] On Behalf Of Juergen
> Schoenwaelder
> Sent: Tuesday, December 19, 2017 11:15 AM
> To: Xufeng Liu <xufeng.liu.ietf@gmail.com>
> Cc: NETMOD WG <netmod@ietf.org>
> Subject: Re: [netmod] Augmentation to Groupings
> 
> The current approach may be verbose but it protects users of groupings from
> unwanted and uncontrolled side effects. Augmenting a grouping as
> suggested affects _all_ uses of a grouping; this can be tricky in situations
> where groupings are widely used.
> 
> /js
> 
> On Tue, Dec 19, 2017 at 11:45:06AM -0500, Xufeng Liu wrote:
> > During the discussions of TE tunnel and topology models, we have found
> > that it is desirable to have the capability of augmenting a grouping.
> >
> > In our case, there are multiple technology specific models augmenting
> > a base generic model. In the base model, some groupings are used
> > multiple times, and each augmentation model needs to add more schema
> > nodes to the grouping structure. For now, we have to specify an
> > “augment” statement for each location where the grouping is used. Such
> > an “augment” statement is repeated many times. It would be convenient
> > and cleaner if we could augment the grouping.
> >
> > We’d like to hear opinions on the feasibility of such a capability.
> >
> > Thanks,
> >
> > - Xufeng
> 
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
> 
> 
> --
> 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/>
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod