Re: [netmod] WG LC draft-ietf-netmod-module-tags-02 - 10/2/18 - 10/16/18
Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Tue, 16 October 2018 13:08 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 8F25A130DE2 for <netmod@ietfa.amsl.com>; Tue, 16 Oct 2018 06:08:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 canCZ4CMDMYs for <netmod@ietfa.amsl.com>; Tue, 16 Oct 2018 06:08:34 -0700 (PDT)
Received: from atlas5.jacobs-university.de (atlas5.jacobs-university.de [212.201.44.20]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B844F130DC9 for <netmod@ietf.org>; Tue, 16 Oct 2018 06:08:33 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id 00847E71; Tue, 16 Oct 2018 15:08:32 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas5.jacobs-university.de ([10.70.0.217]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10032) with ESMTP id oNn5o0w0zvXd; Tue, 16 Oct 2018 15:08:28 +0200 (CEST)
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 atlas5.jacobs-university.de (Postfix) with ESMTPS; Tue, 16 Oct 2018 15:08:31 +0200 (CEST)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id D3D2220037; Tue, 16 Oct 2018 15:08:31 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id 8TMxR_qDzuvj; Tue, 16 Oct 2018 15:08:31 +0200 (CEST)
Received: from exchange.jacobs-university.de (SXCHMB02.jacobs.jacobs-university.de [10.70.0.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "exchange.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by hermes.jacobs-university.de (Postfix) with ESMTPS id 5D17220036; Tue, 16 Oct 2018 15:08:31 +0200 (CEST)
Received: from anna.localdomain (10.50.218.117) by sxchmb03.jacobs.jacobs-university.de (10.70.0.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1415.2; Tue, 16 Oct 2018 15:08:30 +0200
Received: by anna.localdomain (Postfix, from userid 501) id 378B8300222ACC; Tue, 16 Oct 2018 15:08:29 +0200 (CEST)
Date: Tue, 16 Oct 2018 15:08:29 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Christian Hopps <chopps@chopps.org>
CC: joel jaeggli <joelja@bogus.com>, NETMOD Working Group <netmod@ietf.org>
Message-ID: <20181016130829.3jnbnxyb5vjlogih@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Christian Hopps <chopps@chopps.org>, joel jaeggli <joelja@bogus.com>, NETMOD Working Group <netmod@ietf.org>
References: <b45d1c39-c2f0-bcaf-61a4-9822ac04725a@bogus.com> <20181002203031.pcdclhq7vb5tohrj@anna.jacobs.jacobs-university.de> <57BCB4D8-D82F-43C9-8D05-2F52A174F37C@chopps.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <57BCB4D8-D82F-43C9-8D05-2F52A174F37C@chopps.org>
User-Agent: NeoMutt/20180716
X-ClientProxiedBy: SXCHMB04.jacobs.jacobs-university.de (10.70.0.156) To sxchmb03.jacobs.jacobs-university.de (10.70.0.155)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/Bq2FLWhQKzoF3z54Sq8JhSVwtyc>
Subject: Re: [netmod] WG LC draft-ietf-netmod-module-tags-02 - 10/2/18 - 10/16/18
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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, 16 Oct 2018 13:08:38 -0000
On Tue, Oct 16, 2018 at 08:31:43AM -0400, Christian Hopps wrote: > > On Oct 2, 2018, at 4:30 PM, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> wrote: > > - Standard tags defined in description statements > > > > I do not like this. YANG has extension statements and having to > > parse stuff out of free text description statements seems to be a > > movement backwards. > > This is used by the human implementer of the module (i.e., they need to write code to implement the module). As such it was not intended for machine parsing. > I am personally not convinced. The whole reason why we have YANG is automation and I believe people will go and write tools to extract tags and having to extract them out of free form text looks like a step backwards. > > - System management > > > > What is 'system management' and a 'system management protocol'? > > These were derived from the work the RtgYangDT originally did where we were organizing everything under a single device tree. This tree concept was (rightly) abandoned to be replaced with use of tags. Examples of protocols would be Syslog, TACAC+, SNMP, Netconf, ... I've added that to the description. > I am generally not a fan of definition by example. Is SSH a 'system management protocol'? > > - Tag format > > > > Apparently, the colon has a special meaning in a tag string and > > otherwise there do not seem to be any restrictions. (Which is good, > > I can finally put various smileys on my gear.) > > > > Should we state explicitly somewhere that a colon has a special > > meaning and that tag strings are structured into a sequence of > > 'taggies' separated by colons? Or is definition by example good > > enough? > > I think it's good enough. :) I am not convinced this will work well. My understanding is that other 'hashtags' also have restrictions - whitespace and punctuation characters are often excluded, it seems. Apparently ':' already means something special here. Should you later need more special meanings, you will love to have characters available that you can use. What about tags that include whitespace or control characters? Do we really want such tags? > > - Meaning of tag masks > > > > Do masks mean a complete string match or can I mask along the prefix > > hierarchy, i.e., 'vendor:acme:' masks everything starting with > > 'vendor:acme:'? > > Exact match, I've added text to clarify this. OK. One obvious extension is then to have at some point in time tag match expressions, such as 'vendor:acme:*' (assuming that * is not a valid character for a tag, see above). /js -- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany Fax: +49 421 200 3103 <https://www.jacobs-university.de/>
- [netmod] WG LC draft-ietf-netmod-module-tags-02 -… joel jaeggli
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Juergen Schoenwaelder
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Alex Campbell
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Christian Hopps
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Christian Hopps
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Juergen Schoenwaelder
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Andy Bierman
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Christian Hopps
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Christian Hopps
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Andy Bierman
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Christian Hopps
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Alex Campbell
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Andy Bierman
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Martin Bjorklund
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Martin Bjorklund
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Christian Hopps
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Christian Hopps
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Christian Hopps
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Martin Bjorklund
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Alex Campbell
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Christian Hopps
- Re: [netmod] EXTERNAL: Re: WG LC draft-ietf-netmo… Alex Campbell
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Joel Jaeggli
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Christian Hopps
- Re: [netmod] WG LC draft-ietf-netmod-module-tags-… Joel Jaeggli
- Re: [netmod] EXTERNAL: Re: WG LC draft-ietf-netmo… Christian Hopps