Re: [netmod] WG adoption poll draft-ietf-netmod-module-tags-02

Andy Bierman <andy@yumaworks.com> Sun, 30 September 2018 23:57 UTC

Return-Path: <andy@yumaworks.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 809FC130E21 for <netmod@ietfa.amsl.com>; Sun, 30 Sep 2018 16:57:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.com
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 n8QW-V5bPJ4f for <netmod@ietfa.amsl.com>; Sun, 30 Sep 2018 16:57:33 -0700 (PDT)
Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9F1D9130E1F for <netmod@ietf.org>; Sun, 30 Sep 2018 16:57:32 -0700 (PDT)
Received: by mail-lf1-x12f.google.com with SMTP id m80-v6so8473525lfi.12 for <netmod@ietf.org>; Sun, 30 Sep 2018 16:57:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=y3Hvdwel/v7ESHcccp+Eg223SWATROZ64D7DLHSbUKE=; b=CWzfc8EJfTikLt0TT7ZiW3MibpzQhFNfs2W58Yy0sZq4EVNazX1ZfTFOnnoZuQaenn 9DFtiZBL35mnTY7AnWalADvlMoGQDV3V31GQN6dhhwCDmc3br9XtyewengqtOhVQ5W2e oa5jP1z/eEzNyMM+6dE3h+3ywB3ibWUIL81m6I6vQMpAr9i51c5ds+hNkk3/CkyJ4tFz U3KgX+EYXGlFS1MSHUK53X9xNtp8SAjtYOm45EFziWrNiPRvc7XlF2Ay4WSctLPnnwi8 t6l8AR4yj4N7orU1lUGuzXoQLuYsQKUHXDRVoZk7oT/kS4IUP9th8Gr6VJPoNdqFUCI9 ENVg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=y3Hvdwel/v7ESHcccp+Eg223SWATROZ64D7DLHSbUKE=; b=GZAGqGDxufwPn8qUdydqINNmfffvMYKtOhNeApzrW37IEbfMxEJk87pt6FnWsquMOg xjrov+XBsha3R6ZyqsdvvcYYas8U+kR6ww9MIvpjbd2Zh+yFfG6CF471uOzVPJ10IiQK ZK0VZu7/hJF10BZkmSJAX0vuWPr7QVMuit0brA/OuPAlboyyuCxDXn52LVjv6ostCm3x tG8CU/E24dpXG7V3TK5qzhbn2hxS2LC14BAmGuI6MxEI+HNC9S5MiVcvtFiCY840W6zU jptEU/mhqOu0Eotg0hoO4F2feM8dgvvK1zzUVFa4WyOuWvyhQlgbd6sxYqBR8wJ6RTvK QpUA==
X-Gm-Message-State: ABuFfogXIusKlNfHzE07rdnhCDLsp+WlRJm6wPQIDdhvv46hXTEvlTIW 5rO2Lw5aYMyJNXdAuUN8t5JyUioqdR5hSoswFIPTAg==
X-Google-Smtp-Source: ACcGV62TqfVbr8bvIlu2G1YKR7ttoaZyEaHb4mt5qfd5S5mCZYTqp2xAagcB59LhvtlYus5arL8DMazZUbvJ7ogeY6U=
X-Received: by 2002:a19:1603:: with SMTP id m3-v6mr3937679lfi.82.1538351850581; Sun, 30 Sep 2018 16:57:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:f811:0:0:0:0:0 with HTTP; Sun, 30 Sep 2018 16:57:29 -0700 (PDT)
In-Reply-To: <CAJK7ZqJfx0watMencn-ECbAHn-J5VGBwhqGLO4FvJ9MnkLf60A@mail.gmail.com>
References: <99C61F4F-6826-4FB5-87A1-77BED624B53D@gmail.com> <CABCOCHTpvbc9uH-4RTGmCCVGGeUyYQQR8HWn2QE6+xLPuwn8Eg@mail.gmail.com> <20180926160942.z534dzoji3jlgpd5@anna.jacobs.jacobs-university.de> <CABCOCHTP9R2VYKq7NS7dyoAvf=YhPqHNw4TtepSY8AaV_6tugg@mail.gmail.com> <2499792f-325e-ac3d-3a9f-ee5186a57b1b@bogus.com> <CABCOCHTtyR7fR2VWV9ZfRNEaLTna0eqXXetFQZG5NVBNGALxWg@mail.gmail.com> <CAJK7ZqJfx0watMencn-ECbAHn-J5VGBwhqGLO4FvJ9MnkLf60A@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Sun, 30 Sep 2018 16:57:29 -0700
Message-ID: <CABCOCHQcYxgwciBKLn3K+i8PgH9sCbzY87cCvwCphhSX=5Ywcg@mail.gmail.com>
To: Anees Shaikh <aashaikh@google.com>
Cc: Joel Jaeggli <joelja@bogus.com>, joel jaeggli <joelja@gmail.com>, draft-ietf-netmod-module-tags@ietf.org, NETMOD Working Group <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000098065d05771f7327"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/H-mefyC7R6sfStXKQ2fm8KOGQnI>
Subject: Re: [netmod] WG adoption poll draft-ietf-netmod-module-tags-02
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: Sun, 30 Sep 2018 23:57:37 -0000

On Sun, Sep 30, 2018 at 4:28 PM, Anees Shaikh <aashaikh@google.com> wrote:

> I'm afraid I missed the discussion of tags at recent IETF meetings where
> this may have been covered.  In my read of this draft, I'm still not sure
> what the intended use cases are (i.e., is #hashtag ubiquity really the
> primary motivation)?   What is the difference with a tag extension?
>
>

The YANG extension vs. description-stmt issue is related to how the module
author
assigns a module-tag mapping to a module.


Perhaps it's overkill to have a separate use cases draft for such a small
> model, but I think the draft really does need a section or two explaining
> why and how this is envisioned to be used, and what server implementors are
> supposed to do with it.
>


A module-tag provides a 1:N mapping so instead of specifying (e.g.) every
routing module
by name, a tag like "routing" can be used instead.

This mapping allows the tag to be stable even if the modules in the mapping
are not stable.
The mappings can change release to release or server to server.

We have implemented module tags as a new filter type, for get and
get-config operations.,
as well as a rule-type for NACM rules.

I assume the plan is that NETMOD WG would work on the data model and
NETCONF WG
would eventually do the protocol work.



> thanks.
> -- Anees
>
> On Sun, Sep 30, 2018 at 4:15 PM Andy Bierman <andy@yumaworks.com> wrote:
>
>>
>>
>> On Sun, Sep 30, 2018 at 1:17 PM, joel jaeggli <joelja@bogus.com> wrote:
>>
>>> On 9/26/18 09:23, Andy Bierman wrote:
>>> >
>>> >
>>> > On Wed, Sep 26, 2018 at 9:09 AM Juergen Schoenwaelder
>>> > <j.schoenwaelder@jacobs-university.de
>>> > <mailto:j.schoenwaelder@jacobs-university.de>> wrote:
>>>
>>> >
>>> > It is even worse than a step backwards.
>>> > The draft specifies a lot of details about module tag conformance
>>> > that needs to be present in the description-stmt.
>>>
>>> this seems like an important issue to square away  before we  move ahead.
>>>
>>>
>> agreed.
>>
>> Also, what does it mean to match a module-tag?
>> There is text that implies it is an opaque string and other text that
>> suggests it is a colon-separated list of terms.
>> It cannot really be both.
>>
>>
>>
>>> > The idea that tools must screen-scrape description statements goes
>>> against
>>> > everything YANG-based management is all about. YANG has extension
>>> > statements, so we don't need to put complex syntax into comments and
>>> > descriptions..
>>>
>>> and parse descriptions for meaning.
>>>
>>
>> So what the choices?
>>
>> 1) IANA
>> 2) YANG extension
>> 3) ad-hoc
>> 4) do nothing
>>
>> IMO IANA has enough to do and it only covers IETF modules anyway, so (1)
>> is out.
>> The current approach is (3).  It is slightly better than (4), but there
>> is nothing
>> preventing every module from declaring the module tags differently.
>> This does not help the YANG reader (#1 priority).
>>
>> Only a YANG extension (or real statement in YANG 2.0) supports all modules
>> in a way that is consistent for all readers.
>>
>>
>>
>>
>>>
>>> > IMO all text about module tag conformance and defining tags in
>>> > description-stmts
>>> > should be removed.  There is no explanation why a standard YANG module
>>> > would define multiple module-tags for the same module in the first
>>> place,
>>> > let alone why each different tag would have different conformance
>>> > requirements.
>>> >
>>> >
>>> >
>>> >     .....
>>> >
>>> >     /js
>>> >
>>> >
>>> > Andy
>>> >
>>>
>>
>> Andy
>>
>>
>>
>>> >
>>> >
>>> >     --
>>> >     Juergen Schoenwaelder           Jacobs University Bremen gGmbH
>>> >     Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen |
>>> Germany
>>> <https://maps.google.com/?q=Campus+Ring+1+%7C+28759+Bremen+%7C+Germany&entry=gmail&source=g>
>>> >     Fax:   +49 421 200 3103         <https://www.jacobs-university.de/
>>> >
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > netmod mailing list
>>> > netmod@ietf.org
>>> > https://www.ietf.org/mailman/listinfo/netmod
>>> >
>>>
>>>
>>>
>> _______________________________________________
>> netmod mailing list
>> netmod@ietf.org
>> https://www.ietf.org/mailman/listinfo/netmod
>>
>