Re: [yang-doctors] Features and must-condition

Ebben Aries <exa@juniper.net> Thu, 25 January 2018 04:25 UTC

Return-Path: <exa@juniper.net>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 42C5412E85E for <yang-doctors@ietfa.amsl.com>; Wed, 24 Jan 2018 20:25:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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, URIBL_BLOCKED=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 lBJJEI24FW7a for <yang-doctors@ietfa.amsl.com>; Wed, 24 Jan 2018 20:25:20 -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 72C1512E6A3 for <yang-doctors@ietf.org>; Wed, 24 Jan 2018 20:25:20 -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 w0P4NhAt014891; Wed, 24 Jan 2018 20:25:17 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : content-transfer-encoding : in-reply-to; s=PPS1017; bh=i3xIzjQJS10x30taZghp7XJ2lAlKDxJ/YWVo+f9XZm8=; b=tIXdlACYvq3GEflSjvrRj9Ob4cUNuFQnqiwsJ41Ehqxny5zzizwOVAsfpeiNzMhVMRRD Wk3QsMeazWrkcv4OMFDh2EuTT/n+Yr8dNKiR3HtqG4ldwULKKqPh8oebWN2dJKGJxySz JQ11PSTYTDQ0rM85ymB78EGHnJifhiVJDmJUvp9LmDyVMM9jhrqG2R39hOArwJL67TK+ dOYgCuzREdH8/hi6JjZO2F5zyk3DKEYCzc2p0I3GdzVaJECKkQ/zQe3kJIh2Nv0BSU6/ DBVC1datkzgGVUfgtD/S8KUPxCdXpYhlDpnFU3bOwxmHGXMRmRP73b2IzZtrZuFsl4yF nw==
Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp0021.outbound.protection.outlook.com [216.32.180.21]) by mx0a-00273201.pphosted.com with ESMTP id 2fq831r0cr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 24 Jan 2018 20:25:17 -0800
Received: from SN4PR0501CA0103.namprd05.prod.outlook.com (10.167.128.20) by MWHPR05MB3615.namprd05.prod.outlook.com (10.174.251.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.5; Thu, 25 Jan 2018 04:25:15 +0000
Received: from CO1NAM05FT045.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e50::208) by SN4PR0501CA0103.outlook.office365.com (2603:10b6:803:42::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.464.6 via Frontend Transport; Thu, 25 Jan 2018 04:25:14 +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 CO1NAM05FT045.mail.protection.outlook.com (10.152.96.159) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P256) id 15.20.444.7 via Frontend Transport; Thu, 25 Jan 2018 04:25:12 +0000
Received: from smtp.juniper.net (10.163.2.159) by P-EMFE01C-SAC.jnpr.net (172.24.192.21) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 24 Jan 2018 20:24:46 -0800
Date: Wed, 24 Jan 2018 21:24:45 -0700
From: Ebben Aries <exa@juniper.net>
To: Mahesh Jethanandani <mjethanandani@gmail.com>
CC: Benoit Claise <bclaise@cisco.com>, Andy Bierman <andy@yumaworks.com>, "Reshad Rahman (rrahman)" <rrahman@cisco.com>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
Message-ID: <20180125042444.vtdozlf7mm7wpcz5@smtp.juniper.net>
References: <16188AE1-697A-47E4-817B-CB6D7CE6D0B9@cisco.com> <20180110222610.qgdknjrkxdw65jbk@smtp.juniper.net> <20180110223801.hx23svra4xpuww2i@elstar.local> <CABCOCHQEsHGETaKnfa7bBM955h1L28WqqcT72MSRm4xcoNW1pw@mail.gmail.com> <20180110232830.6rqbhpw5s55kx6zo@elstar.local> <29599bf2-f920-355c-8b3f-a7d696380e73@cisco.com> <20180116174323.e2b4zr5ffgrycnei@elstar.local> <1101aeba-67ad-f8df-b8d0-30109b915129@cisco.com> <283f5774-5995-6ae3-16b7-385b8ea270d1@cisco.com> <E5618F14-46C8-40BB-9116-9E4A866575BC@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <E5618F14-46C8-40BB-9116-9E4A866575BC@gmail.com>
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)(39380400002)(396003)(346002)(39860400002)(376002)(2980300002)(189003)(199004)(39060400002)(1076002)(47776003)(2950100002)(6916009)(6246003)(7696005)(53546011)(76176011)(86362001)(575784001)(2906002)(69596002)(4326008)(2870700001)(53416004)(229853002)(50466002)(6306002)(55016002)(53936002)(305945005)(5660300001)(105596002)(1411001)(8676002)(356003)(81166006)(316002)(81156014)(8936002)(93886005)(54906003)(97736004)(966005)(23756003)(106466001)(478600001)(68736007)(336011)(77096007)(26005)(186003)(104016004)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR05MB3615; H:P-EMFE01C-SAC.jnpr.net; FPR:; SPF:SoftFail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en;
X-Microsoft-Exchange-Diagnostics: 1; CO1NAM05FT045; 1:VX0NY8cUeW6Cr+xbB0tqrOuYXJ3IMgD5VtU7liAa9wrE7EPIsjzmP1JsUcdX5UamMKDRuc/jkDz87M7x0/aRuvdPofUmU6tZtj+1gEiId5sTMaf/Shib4x3/KqLZbjnA
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 301bcd19-ef3c-48de-d091-08d563aba179
X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060); SRVR:MWHPR05MB3615;
X-Microsoft-Exchange-Diagnostics: 1; MWHPR05MB3615; 3:Hw3aAGXfgkSzJYaQ7ChlpcoXLt6QpwewZlaAkzrbIsrhB8UUlbtclmSXZz+almLrrr/HmLWfFe/o9sdPpSji5sgsn0RzwzQmpq/8KksOObUWxVQSntUv0uPcXrDb7aHbQ3GuaJ/QgrZ4013CEUidN1A9p1ZsEdjeVVu7pH53FTOGasoPQJ4PTuff2vljpoGEszjvdyWpmBsTCD2sdr+xgqzEJbsxMOC84+uvcWWS1FidfAYhTuHM33ImKKPz7JHb/0DNkPRt5DjoOtzZH+58TZHw5fgWA8GYjTdkHJOn7nMYKcy+1MeEBXPcM07FFHa2Uf9WFpCqLjrDa9nZHL8Nz89IcSySzBa8lOoGyZWcHYU=; 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0R9rutL+SvjASdGAQfzyKvlsT3myBMfafKV5KgJnSwhYc71PvnL1Il8LeBpoy8Ef3H58D+2SONDuzRyJ4vwu9PdRQ6JBq90qWqe
X-Microsoft-Antispam-PRVS: <MWHPR05MB3615B232931CA1EA5818DF13A8E10@MWHPR05MB3615.namprd05.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:(158342451672863)(10436049006162)(85827821059158)(95692535739014);
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(3231023)(2400081)(944501161)(10201501046)(3002001)(93006095)(93001095)(6055026)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:MWHPR05MB3615; BCL:0; PCL:0; RULEID:; SRVR:MWHPR05MB3615;
X-Microsoft-Exchange-Diagnostics: 1; MWHPR05MB3615; 4:IWGATqDXAWKlVUGPhbwjx7pRgF5yLsoU4riI7rjEsA2mRFsMoKWFoRF7AyViFoCUb08T45zH8XqiXsA9aYmQuyhIz3dKxsgKcVwIk3mZ7gc4oQ+Fb+NOZP6TO8UAcuBnP5lsvu3kZhEDZWFmd7Ccq6Y9si+bBaG0L6Xh8dckuEm0wpyQsJ400xjKrd7jd6+kDruhHMC5nOasY9l3hpkcJSiUdZXnf0gha7K9nAhLpnI2SXMABzQ0cOzIT7kIrhFSLJFvUYjepcBMWfniAGBYs2saK4I+8pzEZivYVa9R/ogpbsUPdyqxlypHvlA0NCtg4hdq+yw+YnoXEWP7sczC9XkxzEmqGuMe5zRGhnhPTARRLrqcPrEXnCi2ZeBy7JDrXTxGZ+DiKuWw4oY8YXZhgMBm7AiKDFWPP33qdV1h0Bo=
X-Forefront-PRVS: 0563F2E8B7
X-Microsoft-Exchange-Diagnostics: 1; MWHPR05MB3615; 23:54BUxzSKw/KCtHUOlvB4MqzC3ndHbc81/vQscSawY5LeWIObWxQVON2G5wLHSupK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C
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2018 04:25:12.4183 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 301bcd19-ef3c-48de-d091-08d563aba179
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: MWHPR05MB3615
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2018-01-25_01:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1801250059
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/x-AcC6RM1J8zUACVXQ3Nec-dK3w>
Subject: Re: [yang-doctors] Features and must-condition
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Jan 2018 04:25:23 -0000

I'm not sure I understand the intent of the newly proposed text

I'm reading this as now stating that if a 'feature' is optional, then a
'feature' should be defined.  I think the old text was mostly correct in
what is trying to be conveyed.

How about something like:

   If a data definition is optional which depends on server support then
   a YANG 'feature' statement SHOULD be defined and conveyed through a
   NETCONF or RESTCONF protocol capability.  The defined 'feature'
   SHOULD then be used in the conditional 'if-feature' statement
   referencing the optional data definition.

On Jan 24 10:49 AM, Mahesh Jethanandani wrote:
> How does one define a feature statement that indicates support for NETCONF or RESTCONF protocol capability? I thought feature statements were for features within the module.
> 
> > On Jan 24, 2018, at 5:54 AM, Benoit Claise <bclaise@cisco.com> wrote:
> > 
> > Btw, along the same lines, in section 4.5
> > OLD:
> >    If a data definition is optional, depending on server support for a
> >    NETCONF or RESTCONF protocol capability, then a YANG 'feature'
> >    statement SHOULD be defined to indicate that the NETCONF or RESTCONF
> >    capability is supported within the data model.
> > 
> > NEW:
> >    If a feature or a set of data definitions is optional, depending on server support for a
> >    NETCONF or RESTCONF protocol capability, then a YANG 'feature'
> >    statement SHOULD be defined to indicate that the NETCONF or RESTCONF
> >    capability is supported within the data model.
> > It will also be in my AD review email.
> > 
> > Regards, B.
> >> Hi Jürgen, 
> >> 
> >> I like it. 
> >> I'm busy with the RFC6087bis AD review and it will be part of the feedback. 
> >> 
> >> Regards, Benoit 
> >>> On Tue, Jan 16, 2018 at 06:03:05PM +0100, Benoit Claise wrote: 
> >>>> On 1/11/2018 12:28 AM, Juergen Schoenwaelder wrote: 
> >>>>> On Wed, Jan 10, 2018 at 02:49:48PM -0800, Andy Bierman wrote: 
> >>>>>> The feature-per-leaf approach should not be approved by YD. 
> >>>> Do we want to add a sentence in 
> >>>> https://urldefense.proofpoint.com/v2/url?u=https-3A__tools.ietf.org_html_draft-2Dietf-2Dnetmod-2Drfc6087bis-2D15-23section-2D4.17&d=DwIFaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=GIehbDpQlo31lSi6WbnEkA&m=7ZRQ7cSbMoQOwcUvfJf7Q1kdto8zoglQ4ZHXDURQl3s&s=uU5M6cHYuTrKiyxOMMI8MKvBIpYS_yg1VSIYI4MfxKo&e= <https://urldefense.proofpoint.com/v2/url?u=https-3A__tools.ietf.org_html_draft-2Dietf-2Dnetmod-2Drfc6087bis-2D15-23section-2D4.17&d=DwIFaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=GIehbDpQlo31lSi6WbnEkA&m=7ZRQ7cSbMoQOwcUvfJf7Q1kdto8zoglQ4ZHXDURQl3s&s=uU5M6cHYuTrKiyxOMMI8MKvBIpYS_yg1VSIYI4MfxKo&e=>, 
> >>>> expressing that a feature-per-leaf is most likely the wrong approach? 
> >>> This is difficult to describe. Perhaps something like this is a 
> >>> reasonably small change to the existing text (which only talks about 
> >>> too big features but not about too small features). 
> >>> 
> >>> OLD 
> >>> 
> >>>     The YANG "feature" statement is used to define a label for a set of 
> >>>     optional functionality within a module.  The "if-feature" statement 
> >>>     is used in the YANG statements associated with a feature. 
> >>> 
> >>>     The set of YANG features available in a module should be considered 
> >>>     carefully.  The description-stmt within a feature-stmt MUST specify 
> >>>     any interactions with other features. 
> >>> 
> >>>     If there is a large set of objects... 
> >>> 
> >>> NEW 
> >>> 
> >>>     The YANG "feature" statement is used to define a label for a set of 
> >>>     optional functionality within a module.  The "if-feature" statement 
> >>>     is used in the YANG statements associated with a feature.  The 
> >>>     description-stmt within a feature-stmt MUST specify any 
> >>>     interactions with other features. 
> >>> 
> >>>     The set of YANG features defined in a module should be considered 
> >>>     carefully. Very fine granular features increase interoperability 
> >>>     complexity and should be avoided. A likely misuse of the feature 
> >>>     mechanism is the tagging of individual leafs (e.g., counters) with 
> >>>     separate features. 
> >>> 
> >>>     If there is a large set of objects... 
> >>> 
> >>> /js 
> >>> 
> >> 
> > 
> > _______________________________________________
> > yang-doctors mailing list
> > yang-doctors@ietf.org
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_yang-2Ddoctors&d=DwIFaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=GIehbDpQlo31lSi6WbnEkA&m=7ZRQ7cSbMoQOwcUvfJf7Q1kdto8zoglQ4ZHXDURQl3s&s=Uah4DbYVrvtZTrkciA0m1OfOgmwMXrRg_tjGmG0iX8I&e=
> 
> Mahesh Jethanandani
> mjethanandani@gmail.com
>