Re: [netmod] WG LC draft-ietf-netmod-module-tags-02 - 10/2/18 - 10/16/18

Andy Bierman <andy@yumaworks.com> Tue, 16 October 2018 23:40 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 A00E5130E62 for <netmod@ietfa.amsl.com>; Tue, 16 Oct 2018 16:40:06 -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=ham 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 vl3w6cezoHyx for <netmod@ietfa.amsl.com>; Tue, 16 Oct 2018 16:40:04 -0700 (PDT)
Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (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 CF6F1130E5D for <netmod@ietf.org>; Tue, 16 Oct 2018 16:40:01 -0700 (PDT)
Received: by mail-lj1-x229.google.com with SMTP id v6-v6so22542348ljc.11 for <netmod@ietf.org>; Tue, 16 Oct 2018 16:40:01 -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=eW1E5EHz9ML8M208NZrTNkJiyTCLtbp17d1EJpvp6EA=; b=bQLrEXImNaceFspwgKKWUGqoB5VccQr3Ybtz6T2pA0/Vi0a+7ZHKFa6f6fv846gkRR CByYDdKan6lKy4E+Dep/DzfQ0hqmRM6Lr7LhhMgPTBhRVqxuSF+E41oMvsafeHHaC4M7 6JWYlV6jdhm5ObtlHQDtj4TSDKcDWcOCt6leDsupX5aPVfHqp74B6Mfw9GpKsHF1vXsX qc0+CoH7BlY/RyCC7Lnly309pp3n7ioKTw+E/Q3eatEqp+YD/ym7O1TgzDIPQlcFi0UB wDSM5Fb9JY7uJGND+1d+NOllMIqmpupVIvpcoJq8RnaA2bQAe95XIr0WSt0syh/X196H /YUA==
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=eW1E5EHz9ML8M208NZrTNkJiyTCLtbp17d1EJpvp6EA=; b=KM1TFSJS/Umba5LiEZQhTve6aEAgTnZF5M+paqnBGzj9BsSFtUr4IqQyY92GRd/RV+ IkX2uvoep7yJj5uXhRoze1g8SEoTii93VchiaPIESEKhBH5zPOHbEcAapM3+61F7+Zii c+cZml4AJHmml2zkzgpk938pwOh3heQcNK9Ij6FHHTg5R9uI4iODFkXTO81gxIROJpjf 9RS+13V+zT/gEScAXiZFtthk9ODhdgEPgqZSh6o1t1C7mi/um/W6VkCV5EeF+jS/Xi+j JwjwRo1znJ0xQUGrsPmUtn6f4gOerao6ZPMNuzAvQl4AloOKsIifOl56lCZRWov+3r1Q bH4Q==
X-Gm-Message-State: ABuFfogei/eS5q5Au4h3oqScTk2YZWd2Q2cGbEl7tCldpwOoxN+dhzWo kgz3wnKQa6TRi7YXCTOc2IKzkshy+G3NYcn3NYx7cQ==
X-Google-Smtp-Source: ACcGV61XezDyd4TVAlTNfIsYVqjT/wf/eCK12n5crVvMVoLKxsHBCjGQJ7yVhjqyrPduNIQaMgTJFiAhRzuLw6RpLH8=
X-Received: by 2002:a2e:810e:: with SMTP id d14-v6mr1848471ljg.170.1539733199893; Tue, 16 Oct 2018 16:39:59 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:f811:0:0:0:0:0 with HTTP; Tue, 16 Oct 2018 16:39:59 -0700 (PDT)
In-Reply-To: <sa6zhvd7d32.fsf@chopps.org>
References: <b45d1c39-c2f0-bcaf-61a4-9822ac04725a@bogus.com> <20181002203031.pcdclhq7vb5tohrj@anna.jacobs.jacobs-university.de> <57BCB4D8-D82F-43C9-8D05-2F52A174F37C@chopps.org> <20181016130829.3jnbnxyb5vjlogih@anna.jacobs.jacobs-university.de> <CABCOCHTZ6Vj+5WxmAXQLVCEQ3AP95RbYtvCqh0PtsuUdaANM8A@mail.gmail.com> <sa64ldl8ypz.fsf@chopps.org> <CABCOCHQNrdNhAqEx_KMToJw6kRHCWAP2e10cBTH8r_b-MZYSnQ@mail.gmail.com> <sa6zhvd7d32.fsf@chopps.org>
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 16 Oct 2018 16:39:59 -0700
Message-ID: <CABCOCHQmtL_-wHTKrL3SR=25eRhRe3z64ECoo7CzGk71N4E5tw@mail.gmail.com>
To: Christian Hopps <chopps@chopps.org>
Cc: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, joel jaeggli <joelja@bogus.com>, NETMOD Working Group <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000006dcc6d0578611262"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/WKsCfyt-YVPU2RrPkTPbvO128lY>
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 23:40:07 -0000

On Tue, Oct 16, 2018 at 3:15 PM, Christian Hopps <chopps@chopps.org> wrote:

>
> Andy Bierman <andy@yumaworks.com> writes:
>
>>
>> This draft needs to define the module-tag encoding wrt/
>>    - valid characters (e.g., some subset of UTF-8)
>>    - min/max length (e.g., implementation MUST support at least 64 chars
>> and can support larger)
>>
>
> I'm looking for suggestions on how to do this subset. We had intended to
> allow for as wide as possible content; however, I think disallowing tabs,
> newlines, carriage returns is more than reasonable. Has a type like this
> already been standardized or is there an example available somewhere?
>

I suppose yang-identifier type is too restrictive so I will agree that
restricting whitespace and colon chars
is probably good enough


> Section 3 (Tag Prefixes) seems to imply that all modules tags follow a
>> structure to specify the naming authority.
>>
>> According to the YANG module, the data type is a plain string, which
>> includes lots of
>> problematic chars and zero-length strings.
>>
>> Does the string "routing" match "ietf:routing" or "vendor:routing"? How
>> about "routing:bgp"?
>>
>
> No. Do we need to state that non-matching strings don't match?
>

The official prefixes and colon char lead people to believe the string is
structured.
Intelligent searches on sub-sfields might be purpose of such structure. Or
not I guess.


> Is the char ":" allowed in a tag?
>>
>
> Yes, why not?
>

Because it confuses people who think the colon character has special
meaning in this string



>
> Is "vendor::::::::" a valid tag?
>>
>
> Again why not?
>
> The only thing the draft talks about are standard prefixes. Why should a
> standard enumerate a subset of the unbounded set of things it isn't
> standardizing? This seems more confusing (why was X included as OK but not
> Y) than just sticking to what it *is* standardizing.
>
> Perhaps a bit of text saying more explicitly that only the prefix is
> restricted would help though?
>
> IMO this draft does not need to define any specific module-tag content but
>> it does need to define
>> in precise terms how a protocol encodes a module-tag and how a module-tag
>> match is determined.
>>
>
> We considered leaving out all the predefined tags, but conversely we also
> thought it would be useful to establish a base set. We went with the latter
> obviously. Perhaps it just needs to be trimmed down more?
>


I think the registry details have to be there to populate the IANA
registery



>
> Thanks,
> Chris.
>
>
>>
>> Thanks,
>>
>>> Chris.
>>>
>>>
>> Andy
>>
>
>
Andy