Re: [netmod] Augmenting an unimplemented module

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Wed, 08 February 2017 15:15 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 1A3B512997E for <netmod@ietfa.amsl.com>; Wed, 8 Feb 2017 07:15:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-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 8xh0bhldOLSx for <netmod@ietfa.amsl.com>; Wed, 8 Feb 2017 07:15:32 -0800 (PST)
Received: from atlas3.jacobs-university.de (atlas3.jacobs-university.de [212.201.44.18]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B6D6D120724 for <netmod@ietf.org>; Wed, 8 Feb 2017 07:15:31 -0800 (PST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id 85E857B6; Wed, 8 Feb 2017 16:15:30 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas3.jacobs-university.de ([10.70.0.205]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10030) with ESMTP id IAL3G9ukFdHV; Wed, 8 Feb 2017 16:15:27 +0100 (CET)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas3.jacobs-university.de (Postfix) with ESMTPS; Wed, 8 Feb 2017 16:15:30 +0100 (CET)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id 313C7200BE; Wed, 8 Feb 2017 16:15:30 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id a8aqHAD6Brhs; Wed, 8 Feb 2017 16:15:29 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id C174D200BD; Wed, 8 Feb 2017 16:15:29 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id B9D213E6CD58; Wed, 8 Feb 2017 16:15:33 +0100 (CET)
Date: Wed, 08 Feb 2017 16:15:33 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Martin Bjorklund <mbj@tail-f.com>
Message-ID: <20170208151533.GG98457@elstar.local>
Mail-Followup-To: Martin Bjorklund <mbj@tail-f.com>, chopps@chopps.org, netmod@ietf.org
References: <f7bc785b-f729-3959-53af-58dff99d7ab4@ericsson.com> <8737foixpg.fsf@chopps.org> <20170208145104.GE98457@elstar.local> <20170208.161101.1862603410685888666.mbj@tail-f.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20170208.161101.1862603410685888666.mbj@tail-f.com>
User-Agent: Mutt/1.6.0 (2016-04-01)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/OYrcYWoI5F6Prnh9NEUY-s0PlBk>
Cc: netmod@ietf.org
Subject: Re: [netmod] Augmenting an unimplemented module
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
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, 08 Feb 2017 15:15:33 -0000

On Wed, Feb 08, 2017 at 04:11:01PM +0100, Martin Bjorklund wrote:
> Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> wrote:
> > On Wed, Feb 08, 2017 at 09:06:19AM -0500, Christian Hopps wrote:
> > > 
> > > We also went with the split route with our tags draft.
> > > 
> > > https://datatracker.ietf.org/doc/draft-rtgyangdt-netmod-module-tags/
> > > 
> > > Features like deviations were not liked internally by the group. 2
> > > modules seemed like the KISS approach.
> > >
> > 
> > I wonder why your define add-tags, remove-tags, and reset-tags
> > operations given that we have generic primitives to edit datastores.
> 
> I think (hope) they mean that these operations affect only the tags in
> yang-library, not the config container 'modules-tags' in the module
> itself.
> 
> But I think it would be better to only have these tags in the
> yang-library, and not in the module itself.  (In that case the rpcs
> are required).
> 
> Also, it might be useful if the module designer could tag modules
> at design time, using an extension:
> 
>   mt:module-tag "ietf:element-model";
>   mt:module-tag "vendor:native";

We should perhaps start a separate thread but I fail to see why tags
require new editing primitives. In fact, there seem to be system
supplied tags and configured tags. It is unclear whether I can remove
a system supplied tag. It is unclear what the persistence of added
tags is. If NC/RC clients can tag modules, then these tags are just
more config I would say.

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