Re: [netmod] Review comments for module-tags-02

Rohit R Ranade <rohitrranade@huawei.com> Wed, 17 October 2018 11:46 UTC

Return-Path: <rohitrranade@huawei.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 A6783130DC8 for <netmod@ietfa.amsl.com>; Wed, 17 Oct 2018 04:46:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=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 TDDyxANjiiqo for <netmod@ietfa.amsl.com>; Wed, 17 Oct 2018 04:46:17 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9A886124BE5 for <netmod@ietf.org>; Wed, 17 Oct 2018 04:46:17 -0700 (PDT)
Received: from LHREML714-CAH.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 521C34C828645 for <netmod@ietf.org>; Wed, 17 Oct 2018 12:46:14 +0100 (IST)
Received: from DGGEML401-HUB.china.huawei.com (10.3.17.32) by LHREML714-CAH.china.huawei.com (10.201.108.37) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 17 Oct 2018 12:46:15 +0100
Received: from DGGEML510-MBX.china.huawei.com ([169.254.2.196]) by DGGEML401-HUB.china.huawei.com ([fe80::89ed:853e:30a9:2a79%31]) with mapi id 14.03.0399.000; Wed, 17 Oct 2018 19:46:03 +0800
From: Rohit R Ranade <rohitrranade@huawei.com>
To: Christian Hopps <chopps@chopps.org>
CC: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] Review comments for module-tags-02
Thread-Index: AdRlz2ZrcdhVQBKIRg2w21rqsHkwQf//xHQA//9Ky/A=
Date: Wed, 17 Oct 2018 11:46:03 +0000
Message-ID: <991B70D8B4112A4699D5C00DDBBF878A6BC65480@dggeml510-mbx.china.huawei.com>
References: <991B70D8B4112A4699D5C00DDBBF878A6BC65175@dggeml510-mbx.china.huawei.com> <E9770126-7345-4E0F-B03A-08F22D2A867D@chopps.org>
In-Reply-To: <E9770126-7345-4E0F-B03A-08F22D2A867D@chopps.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.18.150.121]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/9YcHiMjJOxnlG01RgUkpgsYJsbA>
Subject: Re: [netmod] Review comments for 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: Wed, 17 Oct 2018 11:46:21 -0000

I think we need to define a subtree for non-NMDA clients to get the operational tags.

Reference:  https://tools.ietf.org/html/draft-dsdt-nmda-guidelines-01
"   2.  Models that require immediate support for "in use" and "system
       created" information SHOULD be structured for NMDA.  A non-NMDA
       version of these models SHOULD also be published, using either an
       existing model or a model created either by hand or with suitable
       tools that support current modeling strategies.  Both the NMDA
       and the non-NMDA modules SHOULD be published in the same
       document, with NMDA modules in the document main body and the
       non-NMDA modules in a non-normative appendix.  The use of the
       non-NMDA model will allow temporary bridging of the time period
       until NMDA implementations are available."  

-----Original Message-----
From: Christian Hopps [mailto:chopps@chopps.org] 
Sent: 17 October 2018 14:08
To: Rohit R Ranade <rohitrranade@huawei.com>
Cc: Christian Hopps <chopps@chopps.org>rg>; netmod@ietf.org
Subject: Re: [netmod] Review comments for module-tags-02



> On Oct 17, 2018, at 12:09 AM, Rohit R Ranade <rohitrranade@huawei.com> wrote:
> 
> 1. In the desrciption of leaf-list tag
>   "
>   The operational view of this list will contain all
>              user-configured tags as well as any predefined tags that
>              have not been masked by the user using the masked-tag leaf
>              list below.
>   "
>   ==> So the predefined tags, should be output as <default> origin  in <operational> ?
>   If so, I would suggest renaming them to "default" tags.

default has this in it's definition:
 
    "The default origin is only used when the configuration has not been
     provided by any other source."

The predefined tags are being added due to the module definition or by the vendor implementing the module, and the user would be adding to this set (not replacing) when they configure tags (and thus the reason for the mask). So I think predefined tags should have "system" origin. We can add text to the document to clarify this if others agree.

> 2. For "masked-tag", if the purpose is to only mask "predefined" tags, 
> why not rename as masked-default-tag or masked-predefined-tag ?
> Also if a tag say tag-1 (not predefined) is added to this list, and 
> tag-1 added to "tag", the tag-1 will still be output in <operational>, 
> which may look confusing to the user as the tag-1 will exist in both "tag" and "masked-tag". Changing the "masked-tag" may help in this case.

What's the compelling reason to make this more complex? Right now, the predefined tags are added, the configured tags are added, and then the masks are applied. KISS is the goal.

> 3.  It is still not clear, what is the use-case where user wants to "mask" a predefined tag..

The user is the ultimate arbiter over their network is the point. On example is a vendor adds a tag indicating the module belongs to a certain category of modules which would enable it's use in that users network, but for whatever reason the user does not agree.

> 4. What about already existing modules which donot define the tags, should they be output in the
>   "module-tags" list ? Or better to use "min-elements" for leaf-list "tags" ?

If they have no tags, there's no reason for them to be in the list, whether they come before or after the publication of this document (or after a device implements it). However, any client software is going to need to deal with no module entry, and also with an entry with no tags. I think it's better to stay away from adding restrictions that don't add real value, but do allow for software to "get it wrong".

> 5. I also agree with other reviewer's comment that this document must standardize what a module-tag must look like.
>   Currently it only standardizes a prefix, if the rest of the tag is not standardized a client has no way to parse
>   this tag.
>   Maybe we can say that a tag will contain 3 parts, 1st part is about organization, 2nd part is about the whether it is service / element, 3rd part
>   can be a sub-category of part-2.

There's a lot of prior art here in leaving this open to however people want to use the meta-data (see routing admin-tags, media tags, social media tags, etc).. The reservation of prefix space allows for future definition if that ends up being needed. Users are free to define whatever structure they want if any. This discussion in particular was carried out over routing admin tags in the IETF and not pre-defining structure/meaning was the end result and has worked out well.

Thanks,
Chris.

>  
> With Regards,
> Rohit R
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod