Re: [Netconf] [yang-doctors] YANG Doctor question: empty mandatory choice?

Kent Watsen <kwatsen@juniper.net> Tue, 14 August 2018 22:03 UTC

Return-Path: <kwatsen@juniper.net>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 23626130DE0 for <netconf@ietfa.amsl.com>; Tue, 14 Aug 2018 15:03:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.711
X-Spam-Level:
X-Spam-Status: No, score=-2.711 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, T_DKIMWL_WL_HIGH=-0.01] 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 PV4KtUSvEBt3 for <netconf@ietfa.amsl.com>; Tue, 14 Aug 2018 15:03:46 -0700 (PDT)
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 1D389130DC1 for <netconf@ietf.org>; Tue, 14 Aug 2018 15:03:46 -0700 (PDT)
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 w7EM3gwG004607; Tue, 14 Aug 2018 15:03:44 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=PPS1017; bh=9upfcq85a8cYIFOvhbu8lkVgcC1wEO8HQtHhps6WBo4=; b=oETSvddDXMOcG74Wn5GZMUCsr1TZ8WnGrvdxMFWiZdmkTKizEtl0U3EbaiC1ZrY/FUYF NyQEdki99qXkkpGG/14RzY8+pkbCf8EozNncQPX3UKCpLwr2IyZuhc6omkONI1751hYg fCGrl6xuvEq7y0g/HgvVuLm1U9t9BSturBfh1fZJWJIzLXECzWZs/yiMaFNri9pts2g6 0SDd8XpamjQpbrNWaOTVylO2cJgSgP48eM2xWDW4T9PWkQzhj02IyHTsEpXNOcO4g4vv EKK5VEoXr2eG/b8clgucw+NSYf2Mh147eXruw2DC5z1YzKQmex9QXDSmgnPhE7ueVV+R Pg==
Received: from nam04-sn1-obe.outbound.protection.outlook.com (mail-sn1nam04lp0084.outbound.protection.outlook.com [216.32.180.84]) by mx0a-00273201.pphosted.com with ESMTP id 2kv2938hx7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 14 Aug 2018 15:03:44 -0700
Received: from DM6PR05MB4665.namprd05.prod.outlook.com (20.176.109.202) by DM6PR05MB4539.namprd05.prod.outlook.com (20.176.79.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1059.18; Tue, 14 Aug 2018 22:03:42 +0000
Received: from DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::e0bc:6a82:571d:258]) by DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::e0bc:6a82:571d:258%2]) with mapi id 15.20.1059.010; Tue, 14 Aug 2018 22:03:41 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: "Eric Voit (evoit)" <evoit@cisco.com>
CC: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] [yang-doctors] YANG Doctor question: empty mandatory choice?
Thread-Index: AQHUKbd2gxK9WoMf0kWoD5voFWQc9qS3Rs0AgAgy14CAAFttAP//ycOA
Date: Tue, 14 Aug 2018 22:03:41 +0000
Message-ID: <863624D6-3408-4591-9632-7D08EA1DBEE0@juniper.net>
References: <05ee68cd-ccc0-6803-6c71-b3952ee5608d@cisco.com> <CABCOCHRtg9jB0=b5bPPT3MS0QJcwgAY24Fg0RewXhPMR8Y+O0w@mail.gmail.com> <958669b9-c523-3c43-eca4-fbc255fc1bc8@cisco.com> <20180805.111123.2123994471181114333.mbj@tail-f.com> <03f501d42e2a$da6f0500$4001a8c0@gateway.2wire.net> <E4A0250D-B2B9-47D5-81EF-275A0144379A@juniper.net> <C266AC08-6C4D-4BF9-AA94-C90B30A9038C@juniper.net> <fd1642302aa1407da1ca22d14d4c6f8f@XCH-RTP-013.cisco.com>
In-Reply-To: <fd1642302aa1407da1ca22d14d4c6f8f@XCH-RTP-013.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.20.0.170309
x-originating-ip: [66.129.241.13]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM6PR05MB4539; 6:phmILoIfsfXbvG0TsQbT2kCGr22fsFVqLaoFHp8WBnEnNrTolxf9fo5BHYxoRzeLzhi630s0LpVh1lHb8+bFY1jH+bIVhVokTlaZ/GXGoySMRQEx8KduqGycAPxafGvcy4GHTXaGCpIAQIFoLOFiF0793BLY7IpNySy2e8AGaDue0HRiZgOGie75uZ0Mjn3y8Io0r5x6grbiTLa0eE35I0EJQHOMloqiaI7OyGTND8CmEpN6zjWFSrIK4CqUw/rOtX2lUv6pyz0fJg3aH8IarXSCEJ6Duy2vO6WKWgYUs97zPpt/XjHkfRp1W9HWRKvVGwT5vtDCLfGkIeur9mGAVWGced6Q8j+ygqKjKp1OTYwbsuLCWuNizEn+DsevRwDIchvlk6Hlzg5jb0t2+il/WRLrxNHMJzeGuSrUs3BMitTKzsa8FY+V/5Psrpph0Ed2VfIhBsDJjVae1VFy7Li3Cw==; 5:6K7CeE5rJ6+4MiDpiB+/cqZxe8vmBxttDdOw6GElvWxIsUVj+3XT+YbpWefEGAmuFfPdeG+NdRPIU8EpNVf/UZfAE3xddfli4f8oa/FoIWUlG+diZPX2rYG4x3V4rPH/wkAMfDtXwe8Rvujl9gtrBg63KAAdCYXBVJAZm7WQlcc=; 7:3B2pK2Jt95s5gI3hiIOYYU0U/5KQav1uyy3T2gVwAq9Kj4DR7Q2OR9uLnwHHLoqL/USllGaEsNQRhVbOVbh3GzRbv9bquR9MRw51ziSA0yYcRaRlLYRTnSXmEDiReYOZyOLNsGVrgyye/ue874beet/3oo23F7x3ndRNDLla4PMlayrkjgAHiZONi5XflpR8BJltHTNDIIKWawuHCTScVeE0MMyOzLPO3m905QgwJN3F+xPzRkFTTmyqM6y4nmNL
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 2e6abace-d400-4e0d-a8ea-08d60231cc13
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DM6PR05MB4539;
x-ms-traffictypediagnostic: DM6PR05MB4539:
x-microsoft-antispam-prvs: <DM6PR05MB453951FC0C2E6EEE11150BCBA5380@DM6PR05MB4539.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231311)(944501410)(52105095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:DM6PR05MB4539; BCL:0; PCL:0; RULEID:; SRVR:DM6PR05MB4539;
x-forefront-prvs: 0764C4A8CD
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(396003)(136003)(346002)(376002)(366004)(199004)(189003)(36756003)(478600001)(14454004)(5250100002)(102836004)(93886005)(33656002)(186003)(26005)(6346003)(2616005)(476003)(486006)(6916009)(11346002)(3846002)(256004)(6116002)(2900100001)(82746002)(97736004)(2906002)(5660300001)(446003)(8936002)(6506007)(53936002)(58126008)(86362001)(316002)(6246003)(6436002)(6512007)(25786009)(4326008)(68736007)(106356001)(229853002)(66066001)(6486002)(105586002)(8676002)(99286004)(305945005)(81166006)(81156014)(76176011)(7736002)(83716003); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR05MB4539; H:DM6PR05MB4665.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-microsoft-antispam-message-info: ZEPJ97qyac63W0Q38FJQftW+akUBB+B4FEz43Unk+WUyXCWbANzpZ3VUkUTLjC4bGNqfbciomsBilEvhuxNahXY0yD+32IIIiKiTyFL2+g4jT4/87s/Y/71tHeA3yMyuX3gRroN+LzK6oNq/MReQL46Y/SofRWuqUumcU75G2UMnNDUNmVpBpKh/82T3uFfrBWd7oISwzMWM+yg5QRr75cJ1saIbM4dz3CsfX/O4o42iI6vbGsiMyX3ndolKZ6NtIDyP5XFNV6q5ObbKfoesWZScAWfXNVSE97Okk7sMk1JiluZEcQN/35Q+GT5VipYuNe+0Q2UJcBy4AP2oz6SmyPPLWJnHhfI7smTnzslDR4Y=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <D16AFC1CA9039445B291351D8928EC95@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 2e6abace-d400-4e0d-a8ea-08d60231cc13
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Aug 2018 22:03:41.8536 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB4539
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-08-14_10:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1808140219
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/3--8rbirmoe4laXsiS-zEU29678>
Subject: Re: [Netconf] [yang-doctors] YANG Doctor question: empty mandatory choice?
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Aug 2018 22:03:48 -0000

Hi Eric,

I think it's okay to leave that appendix section and associated reference
in Section 2.5.7, for the purpose of the Last Calls.  I do not think that
the section should be moved to the netconf-notif draft, as it is unclear
if the WG will ever standardize *configured* NETCONF notifications.

Kent



===== original message =====

Hi Kent,

Before I post the change, there is the question of whether SN Appendix A should be totally dropped, or whether it should be tweaked and inserted into NETCONF-Notif.   

Moving it to NETCONF-Notif would allow SN section 2.5.7 to retain a reference to a non-normative example augmentation without SN becoming dependent on a document split of RESTCONF-Notif.

Eric