Re: Gen-Art LC review: draft-ietf-netmod-yang-metadata-04

tom p. <daedulus@btconnect.com> Fri, 11 March 2016 17:02 UTC

Return-Path: <daedulus@btconnect.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BB0BD12D971; Fri, 11 Mar 2016 09:02:46 -0800 (PST)
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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.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 KtNXQj_HXmNc; Fri, 11 Mar 2016 09:02:43 -0800 (PST)
Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3on0740.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe04::740]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C14CC12D995; Fri, 11 Mar 2016 09:02:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector1-btconnect-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=h05LEyDnl+WfautV6rbz4JmL8Hx9udDEH6z53U4OVi0=; b=Q7kvw4Say9B2xtWMN40GjLbZGekM8zLMVWxNTZrSoGxiU1QGN8LDxa+HopndeGanz0twi/BQRaHvp2PpBQZRsZlbreOFfle0QQO4rQ+UdJLYfaxg44ul7Gk6QmlSRTIITLsEu+TDNxcgb+BCu4xR8xhE67jrPYouYnY8s2q+qkM=
Authentication-Results: jacobs-university.de; dkim=none (message not signed) header.d=none;jacobs-university.de; dmarc=none action=none header.from=btconnect.com;
Received: from pc6 (86.147.17.222) by AM4PR07MB1553.eurprd07.prod.outlook.com (10.165.249.9) with Microsoft SMTP Server (TLS) id 15.1.443.7; Fri, 11 Mar 2016 17:01:57 +0000
Message-ID: <014101d17bb7$2a799de0$4001a8c0@gateway.2wire.net>
From: tom p. <daedulus@btconnect.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
References: <56D60EF5.7020001@nostrum.com> <m27fhbvb07.fsf@birdie.labs.nic.cz> <56E209E3.4030805@nostrum.com> <415C6558-F5D2-4575-B380-C082171DFA21@nic.cz> <033701d17b91$710ce580$4001a8c0@gateway.2wire.net> <20160311130707.GA10591@elstar.local>
Subject: Re: Gen-Art LC review: draft-ietf-netmod-yang-metadata-04
Date: Fri, 11 Mar 2016 16:39:54 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Originating-IP: [86.147.17.222]
X-ClientProxiedBy: AM4PR02CA0019.eurprd02.prod.outlook.com (25.165.239.157) To AM4PR07MB1553.eurprd07.prod.outlook.com (25.165.249.9)
X-MS-Office365-Filtering-Correlation-Id: c88e8f4a-1df9-4911-1b45-08d349cedb46
X-Microsoft-Exchange-Diagnostics: 1; AM4PR07MB1553; 2:sSb/IP+ftCmAKA85FtP59QMKFBWAjae+9Y9w47oXQfEFmqzWIyCw4skQJdCtyQbxKZ5MYpJdjA7ovmJy0K5KUuZp2exFgKJfRdO18GHXnkOSo5fgdpEjan9EZj4Vvnav7u4P0mHdJKrb1IUMlWFjFMOlZb3sLUuws58CM8BiiABhin5MTVtcrH2Qm8bEzAFn; 3:nZ1I+Per++mmWdUrbvMusRse629k7/19lFQVuJz79fXVAYbn7hXpjevpL2EMqy8mOwodO0HMTLXzI9rSR2WsITwlFAmA24Mi8jLkz33G3iU54cMQLTvXUdr8Q7M0Wqua; 25:8/veubDNkmigvgaTO1S0scsr5Lgtsi5mmccZrnwPfhZZq3O0GjmOKfgpx16pGT+P4gphRW0QEI2ue+fgoSUvzU3h+Z724EU8wMjg7khOFDq7lsm9H47ymQCJlX5ahJBvWdReWRw+HhnlwZwooZ4b9y+mjO2XJ8MJoPGPvEsFy07yeYMEvfgrMaMYfKqrGe6UqIeaVSZUju5ut55zU+oePZM/VXQgJoynH1jTk/FtGgPtSWQyHq7IqFz/ruiD+Qv2MKgmfblhq1b5ngNd0ejZaOWu00O/eOncZ5Aiu/DeD9R+U3YFPf/bBpgVsjIjRsa+Cknvp8ENmz/MAbPQO/5a/w==
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM4PR07MB1553;
X-Microsoft-Antispam-PRVS: <AM4PR07MB1553CF34BC4267C4F95C4AB2C6B50@AM4PR07MB1553.eurprd07.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:AM4PR07MB1553; BCL:0; PCL:0; RULEID:; SRVR:AM4PR07MB1553;
X-Microsoft-Exchange-Diagnostics: 1; AM4PR07MB1553; 4:57CxPe15geQ3OK7cuUZm88AQuED52ROFYWoXhcWzh3TltxEtdH7iA2hkSRdCZJuay0D8E7yQIkGu3e+BIJjCbNOGPDp1yfzcNdOKgMnDvVFRC7wJ2S6AxageHIB8wTZw44JLxZpdJCoMhV0CylS4dr0L/DP7qq1YZ7v299hhohgi5k5F+2nvbOqHzqYYcUXoOkVLjI7LcQDYB9fkVw3HauVp89uBS3kDQ+x0naN4ZxcIZe0wBGbqM1izoxl91xcaRh/I8L3yavj7QeNPVziTbP3lQSmcTl2Qt68MQaxRF+oNISk7G79ufCQ7mn17qArwg6OCZmUpUUiEtRkRkm4oYZ/cOnSCf3JTBq6Zss4EjQAtLU7ktVcVFY9b49qmxyQj
X-Forefront-PRVS: 087894CD3C
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(13464003)(24454002)(377454003)(81166005)(93886004)(47776003)(62236002)(44716002)(2906002)(586003)(23756003)(84392002)(50466002)(5008740100001)(42186005)(66066001)(33646002)(4326007)(77096005)(1456003)(61296003)(44736004)(110136002)(189998001)(230700001)(6116002)(3846002)(230783001)(50226001)(5004730100002)(86362001)(50986999)(116806002)(1556002)(92566002)(76176999)(19580395003)(14496001)(81816999)(19580405001)(81686999)(1096002)(74416001)(7726001)(4720700001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM4PR07MB1553; H:pc6; FPR:; SPF:None; MLV:sfv; LANG:en;
X-Microsoft-Exchange-Diagnostics: =?iso-8859-1?Q?1; AM4PR07MB1553; 23:PR37wTn9QHO+ASMI00dCIJe18MKrlnRtq27P5Y2?= =?iso-8859-1?Q?UA0rs8SulJrO65zEMYOUMrNykjO17nfLbpa/fFzDkIThrF9/XpYSHBpZ3T?= =?iso-8859-1?Q?URk8QY4bNzMOP2O7gBDSm51tJAz/ZT+AfzvnVHqfGvkLDRfdcZ3V66qxdA?= =?iso-8859-1?Q?M87BLgRPAKPAiCW9vWm+bOQiwr6IJZo++W9+AxifICO+ZZb3womu+1ryTf?= =?iso-8859-1?Q?8DtYcE+VudgK+3lmIhtSfHlWRgmC3virtMNddxu51SvtUdoAz9hzLkCdCC?= =?iso-8859-1?Q?xgWbaetnPlpzM5/lkQs4OzowEBghRnRqNVXhbcP0/ZLhIZLVVDC0+W/dqR?= =?iso-8859-1?Q?+SBYZFwAwTB7UfC43zKKS8S5Y2KjhvVuT2WM09ZayppBJGstJhxNbrD8M9?= =?iso-8859-1?Q?JeSWNGOAzzVX//P/DgT/Pwo5LqwofLBgU2JTRJ93peo2Dgy470Scbwl0qf?= =?iso-8859-1?Q?mBTzRsHxthGyB7gnQ4DoXPiyBai7n57FtA2fYT3B67G04CCC7iphLGtQaE?= =?iso-8859-1?Q?mPWVfp1R0yxBsM4r80ggmyWGIpesosNxxZ02sqNp6+7+/H2cunHUBPBadn?= =?iso-8859-1?Q?2WU2QvAn7PtVgUrB/1Q3zLhTR+JPfGlWMdX60m2n85b/YFhqw/vsENpowD?= =?iso-8859-1?Q?1Y69XBGAyi5kgK2bPMTvSAFlTCcNGbbnnxnRGBcKx2MNlJ8LaGSnflx+WW?= =?iso-8859-1?Q?BBXCM30wC3aHKio+dc4zHn4HAJFOrvnI2t62dNfQLQ1GTig7WB2DyOoI5B?= =?iso-8859-1?Q?CVLvj1JQ+wxX6KO5Ztcpx+u65BdrSbh1L/jOeBA1QB9n2H+7duDjEaeoC3?= =?iso-8859-1?Q?tevC4UbkgaIA1y+Ix2vgllALqOLXo59DLwkwuQyI23GYkS52bmobd5yP7R?= =?iso-8859-1?Q?BcDOhldnfMszuKQsMIzODaNySke+l0XLCovcmeecuUSn3Sarf4pl06O0En?= =?iso-8859-1?Q?PxC4nw3QmEAhNjwJH5PG0DtXE3fYYxDqBeyG09MWrCgVkultpJSEerONvL?= =?iso-8859-1?Q?TI/4xi7KTDvDS869m7Kq5cibNJ6AyVtpCv7WcFw4rIplci+k7QVANIJu+U?= =?iso-8859-1?Q?GQGwYcrogimXtvaLhMlNrCcQCA8qQuTKQ8AbC6TP1yGRuwiqQpiPs56kFu?= =?iso-8859-1?Q?nl96biqjk8UtLaeJXR0n3L+wk8HW9cRWwO34eZNhlQefI9EZgmPlPnM9i5?= =?iso-8859-1?Q?qX3UZ4OjD+2SYMeAWSwPTGx5vY69u74n/SKOkoGgE+kf5IGbsIrUWpp8ko?= =?iso-8859-1?Q?gh5rX/ITUTYcSlV4A?=
X-Microsoft-Exchange-Diagnostics: 1; AM4PR07MB1553; 5:dGJj79NYrm+5FC+AHyFRtDGLaOKhq/qy25u54svdQp+BVK1h5Bd1/Q/lTiLkCsW8Z2zPLjDPa4K50fJTXfzyM3lNW44M+6Okp2qmDS/xdeg2gor+H8rBAeJ3sUjGrTrf/F+VvfyvlT4AvGN27PfmXg==; 24:26/5Hlj5gl88YXJG+a3RLt8UM+WZ7KvIcHmVrpTIR/xl+WXZzsRAuaRA3GqxnG+MLg+DOzJObdOS7FjNLPvgMiC5XCAHZ/Q3yFsqnNlhkoM=
SpamDiagnosticOutput: 1:23
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Mar 2016 17:01:57.7611 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR07MB1553
Archived-At: <http://mailarchive.ietf.org/arch/msg/ietf/PtXtDZwG9cxEWsRso-xMF3yzT78>
Cc: draft-ietf-netmod-yang-metadata.all@ietf.org, netmod@ietf.org, General Area Review Team <gen-art@ietf.org>, ietf@ietf.org
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Mar 2016 17:02:47 -0000

----- Original Message -----
From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
Sent: Friday, March 11, 2016 1:07 PM


> On Fri, Mar 11, 2016 at 11:15:28AM +0000, tom p. wrote:
> > Lada, Robert
> >
> > The other angle from which this might be approached is that the I-D
> > already says
> >
> > "   Using the "type" statement, a type is specified for the
annotation
> >    value according to the same rules as for YANG "leaf" type. "
> >
> > while rfc6020bis says
> >
> > "   The "leaf" statement is used to define a scalar variable of a
> >    particular built-in or derived type."
> >
> > so if you know your YANG off by heart, then you will know that
> > annotations must be scalar.  I agree that the text needs to be
clearer.
> > Perhaps,
> > OLD
> > "   o  annotations are scalar values and cannot be further
structured;"
> > NEW
> > "Annotations obey the same rules as for a YANG "leaf" type
[rfc6020bis
> > s.7.6] and so are limited to scalar variables."
>
> There is no 'leaf type' in YANG. YANG has leaf nodes in the schema
> tree. An annotation is not a node in the schema tree. Perhaps
> something like this:

Juergen

Well, I know, but I was quoting directly from yang-metadata-04 s.3,
namely

"Using the "type" statement, a type is specified for the annotation
   value according to the same rules as for YANG "leaf" type. "

which is why I gave a reference to s7.6 of RFC6020bis rather than s.7.4.

Perhaps change s.3 in addition to your change

OLD
   Using the "type" statement, a type is specified for the annotation
   value according to the same rules as for YANG "leaf" type.
NEW
   Using the "type" statement, a type is specified for the annotation
   value according to the same rules as for the type of a YANG
"leaf"[RFC6020bis s.7.6].

I do think that that mention of leaf is helpful - as you say, the WG
agreed to this restriction as opposed to allowing more complex
annotations and referencing "leaf" for me makes that clearer.

Tom Petch

>   An annotation carries a single value. The type substatement, which
>   must be present, takes as an argument the name of an existing
>   built-in or derived type and the value of the annotation must match
>   this type. See Section 7.4 of [RFC6020bis] for details.
>
> /js
>