Re: [netmod] Adoption Poll: draft-rtgyangdt-netmod-module-tags-02

Phil Shafer <phil@juniper.net> Wed, 07 February 2018 19:01 UTC

Return-Path: <phil@juniper.net>
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 AC1791270B4 for <netmod@ietfa.amsl.com>; Wed, 7 Feb 2018 11:01:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level:
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net
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 zrrePrPOQ01M for <netmod@ietfa.amsl.com>; Wed, 7 Feb 2018 11:01:15 -0800 (PST)
Received: from mx0b-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (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 7F2C81270AB for <netmod@ietf.org>; Wed, 7 Feb 2018 11:01:15 -0800 (PST)
Received: from pps.filterd (m0108157.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w17IxhQX005214; Wed, 7 Feb 2018 11:00:51 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=message-id : from : to : cc : subject : in-reply-to : mime-version : content-type : content-id : date; s=PPS1017; bh=PIodeuFwG5jvwL5YO9R8aN23BOFPnUF7WVFSOcA85BY=; b=TJpxR3lhjF8Bi6lusSrJ91lu1K+ekTdsnq5O7tbnDK0tjep57GL115GUWuLLytoPsKP5 Ort5FsgCA5eS8TkMbZy0HsBDi1f6zcTDfFeFec+2+NuHB4yjn8lAR86VJHEDlGM0ziKM lAIvj/Dwp2o96UBjZsoedm/UYtbhY1fjy436st0z69EeB/pXDexNN+BAJf5q9VqGsZGB CIgZt8kt71wTREHRJscpYuV0bfJcQ1zAzq7nmkDgCPQFniV/2xdMDFvl8xMI8+rtFaSc 4BFqmfymQw7dhi8RQME3VFQCHdLce5qWp/moT7c5iZAKNVs8QWucMpiOsly9yJbYIQs3 qw==
Received: from nam03-by2-obe.outbound.protection.outlook.com (mail-by2nam03lp0052.outbound.protection.outlook.com [216.32.180.52]) by mx0a-00273201.pphosted.com with ESMTP id 2g06a203wb-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 07 Feb 2018 11:00:51 -0800
Received: from SN4PR0501CA0059.namprd05.prod.outlook.com (2603:10b6:803:41::36) by BLUPR0501MB2067.namprd05.prod.outlook.com (2a01:111:e400:c475::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.506.7; Wed, 7 Feb 2018 19:00:42 +0000
Received: from DM3NAM05FT009.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e51::202) by SN4PR0501CA0059.outlook.office365.com (2603:10b6:803:41::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.485.3 via Frontend Transport; Wed, 7 Feb 2018 19:00:41 +0000
Received-SPF: SoftFail (protection.outlook.com: domain of transitioning juniper.net discourages use of 66.129.239.15 as permitted sender)
Received: from P-EMFE01C-SAC.jnpr.net (66.129.239.15) by DM3NAM05FT009.mail.protection.outlook.com (10.152.98.115) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.485.5 via Frontend Transport; Wed, 7 Feb 2018 19:00:41 +0000
Received: from p-mailhub01.juniper.net (10.47.226.20) by P-EMFE01C-SAC.jnpr.net (172.24.192.21) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 7 Feb 2018 10:59:43 -0800
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26]) by p-mailhub01.juniper.net (8.14.4/8.11.3) with ESMTP id w17IxfU8003512; Wed, 7 Feb 2018 10:59:42 -0800 (envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1]) by idle.juniper.net (8.15.2/8.15.2) with ESMTP id w17IxjwU073675; Wed, 7 Feb 2018 13:59:46 -0500 (EST) (envelope-from phil@juniper.net)
Message-ID: <201802071859.w17IxjwU073675@idle.juniper.net>
From: Phil Shafer <phil@juniper.net>
To: Andy Bierman <andy@yumaworks.com>
CC: joel jaeggli <joelja@bogus.com>, NETMOD Working Group <netmod@ietf.org>
In-Reply-To: <CABCOCHQeganL9z8+QRbRvc-Y_jwVc7ZD0+-rd1yp4rhJfP-Kdg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <73673.1518029985.1@idle.juniper.net>
Date: Wed, 07 Feb 2018 13:59:45 -0500
X-EOPAttributedMessage: 0
X-MS-Office365-Filtering-HT: Tenant
X-Forefront-Antispam-Report: CIP:66.129.239.15; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(376002)(396003)(346002)(39860400002)(39380400002)(2980300002)(189003)(199004)(7696005)(50466002)(6246003)(186003)(8276002)(53936002)(8676002)(81156014)(81166006)(106466001)(69596002)(8936002)(68736007)(54906003)(47776003)(26005)(77096007)(97736004)(336011)(316002)(105596002)(6916009)(16586007)(86362001)(53416004)(2950100002)(229853002)(76506005)(23726003)(97756001)(1076002)(46406003)(4326008)(478600001)(305945005)(356003)(7126002)(2810700001)(2906002)(5660300001); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR0501MB2067; H:P-EMFE01C-SAC.jnpr.net; FPR:; SPF:SoftFail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en;
X-Microsoft-Exchange-Diagnostics: 1; DM3NAM05FT009; 1:JEghQaTIaEJKsI0xknksKrHMHjDy6I8X832eu6Ph+z77zT42tRxwMPvnV4QKmbkwK5e2sdm54aQf0G81TYVv39u7IGHgonkum2GbFDJqvljr9SMV40v+VAAJ0air4Qwb
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 974e1b2e-676c-498f-70c4-08d56e5d15a8
X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060); SRVR:BLUPR0501MB2067;
X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB2067; 3:RoY4bMgW7FylUedzqXuf4wNeZgjEQLBb8A8cz59NuvjPa/If/UFFr6GXfeWNtcB5rAnIdOnXCSDTNiSDXa6uU6qHyZss4S0AZoomszzcHKJbNuIv6VzCMSgYAJuUohD5dCcrwVR8ElOx/grjxkTXKrpM28Mb7Mw/7JSGC5epe4/kRXmpBx4tbGThEUVITd+fDvhT4Is+nJcRFFJcJibVJ++GYeoOosTUj0vK/ucx3FF6XFv7pdf7Cv3Mux4x4F8kGbv793HnWEP0uBLw798rviwoPlajccUBOqWeyvhvlbF0jPddj8JTTPEV8PvFIKM82TOuFBijBymZhDk7d2cYB+hW5Zp7F50icHbIEOO8u54=; 25:eAH/QJxufvv71ZioZEx1yo9+BnW9OVy9WgLVWj47NiL5sB4mEEkODuwbMzE0YMXAZ4nNewrMtg0rNuUTqJONPwZWPIw3pCB3noXIfMz1ErAWwi4ESUmxBV3fPwhGbkZmBqYh2QJrhO7XfcR/SyZYA1Px6fbuweTpeluANUqkHw0Ko5a0ssPuezUNjPd62jDHL3+CcF2z9mDNyq6LFXG5qQhari7A0IhPV3dinyg3PkWeywvXke12QDpOBBYSWp3W3bjYsjg1pWK4sH0A5m8DHqD1KHJj8vGN3Cid3XAxSLp8EM428Pp3uNHrKyDDJQ0vE8uBPrADFfUCUmR9MLhusw==
X-MS-TrafficTypeDiagnostic: BLUPR0501MB2067:
X-LD-Processed: bea78b3c-4cdb-4130-854a-1d193232e5f4,ExtAddr
X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB2067; 31:T3zUVmPRHNI/rk4q49j3m5WdUFkL2pk6VaC8nHSjyY6NBJR9WIJgMtkliMgJLOmfBFSJrM3RP43fQ3zOYGLO/P8Ho7vSoZ/maggjwwdlNfvWsBTruEgNq4QGhTUVI4OQxYNPBZK60HDyjBPzhebZYkKiPxaYbR5pfkYDyrDi40L1uSwsyGvM8Pj1QNoX3t9yPH7z8eOrIiVKPFYM0C1qxOsIIpIB7sXv5/Jq4CmKuqg=; 20:0HOth/2NwadWX8Uj9FhRKbiy3VcApKUraNroIv1nxubOMlPq90jGEnDP0qTsyKMTV8aZ2qgKChPpY7/6laLzNOgGW8UdNBZIKzL23WPNA9WDzwMBUMUm1nep1NaJncHdX4oJJg6Hul4UxDyCxkrGtXSazcX+HVpM+8/yHp4yYG+/03Lm2EIRFcpkclwYX6QQpct20QNKfWci3itaNKXeAaJJijeQJVMp6Wvxto+0+ziJRikLM+NC5o3fB05aCIbUrduC0QMrLVlOwRWZp/wv1g3q03te4OXiue5034PE/ukG/AkmgcQcqv89kIVc4HGxvHIOEp+QTmOoKxT3aVDHNhd5lMN0YlF88YIXRqRh4n9DAiI/MwTGdo5KXjTYE9rEkjH+uXB9M4lS5qXOyIb0sqcborVcXyN9NM4Dc1w+wn4vgbqLFyMb3soFkykf1Tvh8Nt5zpDRSnqIxAb7riguY49JKeoNhEsvp17PDASo/qzUiTpmhBQFag0diW1YAquS
X-Microsoft-Antispam-PRVS: <BLUPR0501MB2067C428FC6152FF9D710F3EC9FC0@BLUPR0501MB2067.namprd05.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:(278428928389397);
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(10201501046)(3231101)(2400082)(944501161)(3002001)(93006095)(93001095)(6055026)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(6072148)(201708071742011); SRVR:BLUPR0501MB2067; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0501MB2067;
X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB2067; 4:/HCgPWG0dLi+aHury2NZhXb5qrOhiurSDromZfi6CPAb6c17iNvKvKx9kw/1hAs7yKaQRWfuYNpnRYUUS/0mfBSXgrBTIvOpg1Ho8PeP/UdJoLSKFvvkQQmWyaAqo4SLLy4dT+mbPmOEXU2xg4N8sGF0FVJ8T+MT4LIBzzz3EPyMWfipcD5GX1mCnAApCJUVWvb55mJ0/TxsB7k15PRwy22s975Zd1bTtVYwJZ9dmNaUqId2WjYw4FQ+OEnKdmqr/uS2gGKfC2/YdCQgPbB5xe4LJfF3NNx306u3GrmRfZMe2UJgTYCHwxcWYHFmB2B3
X-Forefront-PRVS: 0576145E86
X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB2067; 23:Gu55AVjBQjvebZIvu+WzwGWm5gNq8fiWIuIxnOQ1EAG14PmEfPBhZuCSNInb+idD2P86I93NXlgbvak5VKK/3+JMHbr3cQ3FE9azntJwNKZ4ecIZfa1U9Obm8jwVbVOv2muOuXuQWxJoDmHX6vP6Vf5+xhmrAFSF85nn2UfgbryHIbl+GNGjdig3BBG58jFxtmEePCbyznXW0zRPdHRB8ZRXmx/3kqkrPa3+RwGG6KAR8UP+16fn73Tkn/SvmzJDZcry5PoINdphH+xMSVSwQSlbFhv/cEcaO8oJzSCICJ0HkM50od5sP2Fs0dhHKCsNFJoAIwo2hx0ldrxbPmjvTcVk8e+c6QIHA1z0aQkG8gFMkPKq6TH92MxMZP7EXiWpC/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TVAbqIreafmZRuKf8VOkOqeKiS3XkMh0XYeIlIGHr3FGfubqm6JfnT4Vfd9vFXlniShxBlF5//7ZdkJYgqmYo+uVIL4=; 5:YbhYaY52G1ALyVo0R5zkHvKZjqUs2PlF/qObf9GDSb0qZKhDwHdVgHIG2XO8JAuyqZ1I1T0hv1+lIzyVCROQM+2Am7HRcAVpaMsgKUhn5wxPdbyjW2mvpiJ2GgcAdLumScn94aJneHGrTBros+bEfb+HJnFrOvkgpOEvVckuIhE=; 24:2dQMhunZR8utvPixJvf0thE2CPG99MC8g+GYsc7g35hTtmM3BPaIKrTfHRyapk/WR/C68Lz0Bk0710tpLuPSLDEAeNrWpNHJA228qjpVKqc=; 7:NH3DktMOXwD1RRYJ6C2B1+xjDKHoyVHbbIe0GJfd2iavzk8MzIHke/L+9UY9W7noRpunOtwT8iYa8eum57f/LrfDHm7gYphPF/x25eCeHYiui6EDNFYutMGpC7amNB2fuY/fvXwOpmDzIhrmbIp22uekLS4dUG/vK+WERX6qgS0dt3zhDRE804wW9y3WX8x6loiX4DJwLPc00e/gqdGCzxyU6L7duXrfaG/H/UMT4v7ob0MbizRY0u8Ug+euBRiK
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2018 19:00:41.4042 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 974e1b2e-676c-498f-70c4-08d56e5d15a8
X-MS-Exchange-CrossTenant-Id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=bea78b3c-4cdb-4130-854a-1d193232e5f4; Ip=[66.129.239.15]; Helo=[P-EMFE01C-SAC.jnpr.net]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0501MB2067
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2018-02-07_06:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 suspectscore=2 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1802070241
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/WuE5tEcblcSD1sBFPn0Hg0Mij1s>
Subject: Re: [netmod] Adoption Poll: draft-rtgyangdt-netmod-module-tags-02
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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, 07 Feb 2018 19:01:18 -0000

Andy Bierman writes:
>The draft avoids discussion of any useful operations based on tags.

Nor does it really clearly say "what" is being tagged.  The absract
talks about "used to help classify and organize modules", but the
Introduction lacks any expansion on this.  There's really no clear
problem statement or a clear definition of why we need tags or what
one would use them for.

It would also be helpful to understand why "#hashtag" and the string
format ("ietf:routing", "vendor:super-duper:...") are chosen over
YANG identities.  It seems like identity naming standards and inheritance
would be good features.

Also it's not clear why these would be configurable rather that
controlled by the module author.  I'd rather have the OAM standard
YANG module say something like:

    module ietf-oam {
        import "ietf-category" { prefix ietf-category; }

        identify ietf-oam {
            base ietf-category:ietf-standard;
            description "This module category represents something
                         OAM related.";
        }

        ietf-category:module-category ietf-oam;
        ...
    }

The draft says:

   Implementations that do not support the reset rpc statement (whether
   at all, or just for a particular rpc or module) MUST respond with an
   YANG transport protocol-appropriate rpc layer error when such a
   statement is received.

The entire idea of NETCONF/YANG is that the client _knows_ what it
can safely send instead of tossing spaghetti at the wall until
something sticks.  Avoid programming-by-error-detection, which
creates fragile infrastructure.

Use "feature" to control optional portions of a YANG module.  I'd
suggest one feature for "reset" support and another for "read-only",
since IMHO the idea of someone munging the categories of standard
modules is, well, disconcerting.

"Local" tags are not well explained.  The idea of a user/admin
tagging modules means that something is broken.  Users shouldn't
understand YANG modules.  Users use applications, some of which are
home-grown.  Is "local" appropriate for my "audit interfaces" script?

6.1 is missing the list "module-tags".

9.1 advocates putting vital information in the description string,
which is IMHO not a good idea.  We want to put as much information
in machine-readable format as possible, so I can ask ietf.org
questions like "give me a list of ietf-oam-related yang modules"
and get a nice list.

It also talks about "SHOULD" and "MAY" tags without giving any
clue as to why or when this would be appropriate or useful.

So my vote would be that this document needs some significant work
and expansion before it's a supportable draft.  I think the authors
have more in their heads than they've put into the draft and I'd
like to see the rest of their thoughts.

Thanks,
 Phil