Re: [netmod] Augmentation to Groupings

Alexander Clemm <> Tue, 19 December 2017 18:11 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 6EEAD12D7E7 for <>; Tue, 19 Dec 2017 10:11:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -4.229
X-Spam-Status: No, score=-4.229 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, 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 ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id rpRBwUHzsJzx for <>; Tue, 19 Dec 2017 10:10:58 -0800 (PST)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 9F5E31243F3 for <>; Tue, 19 Dec 2017 10:10:58 -0800 (PST)
Received: from (unknown []) by Forcepoint Email with ESMTP id 4A450FF459C73 for <>; Tue, 19 Dec 2017 18:10:55 +0000 (GMT)
Received: from ( by ( with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 19 Dec 2017 18:10:56 +0000
Received: from ([]) by ([]) with mapi id 14.03.0361.001; Tue, 19 Dec 2017 10:10:51 -0800
From: Alexander Clemm <>
To: Xufeng Liu <>, NETMOD WG <>
Thread-Topic: [netmod] Augmentation to Groupings
Thread-Index: AQHTeOjLL9QEs1S4ZUun5Og6EQeTeKNK9tLA
Date: Tue, 19 Dec 2017 18:10:50 +0000
Message-ID: <>
References: <>
In-Reply-To: <>
Accept-Language: en-US
Content-Language: en-US
x-originating-ip: []
Content-Type: multipart/alternative; boundary="_000_644DA50AFA8C314EA9BDDAC83BD38A2E0EAD4C84sjceml521mbxchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <>
Subject: Re: [netmod] Augmentation to Groupings
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: NETMOD WG list <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Tue, 19 Dec 2017 18:11:00 -0000


I would like to see such a capability as well.  As mentioned, specifically when groupings are used in multiple places, augmentation becomes really unwieldy without an option to simply augment the grouping instead.  It also gets harder to read; to some degree it negates the benefits from ntroducing groupings in the first place.

--- Alex

From: netmod [] On Behalf Of Xufeng Liu
Sent: Tuesday, December 19, 2017 8:45 AM
Subject: [netmod] Augmentation to Groupings

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.


- Xufeng