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

"Eric Voit (evoit)" <evoit@cisco.com> Tue, 14 August 2018 21:17 UTC

Return-Path: <evoit@cisco.com>
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 30778130EF0 for <netconf@ietfa.amsl.com>; Tue, 14 Aug 2018 14:17:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 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_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 0Pa4eZMPlP42 for <netconf@ietfa.amsl.com>; Tue, 14 Aug 2018 14:17:50 -0700 (PDT)
Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 43D96130E55 for <netconf@ietf.org>; Tue, 14 Aug 2018 14:17:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=757; q=dns/txt; s=iport; t=1534281470; x=1535491070; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=rq7C7vxYBCcFoeUCRqzDx4HSipLc20kaDXnV6OBc6d8=; b=OZvCX2pDgzHyjXAbQjKl2p8Xum8xF/hLcVMkX482fmkvabX0BSCCkP4N gkn6UH9aoz7c0O95jlCKkRrn72MZ0mToA04eVNa4vdDQ1Je0XliE9aUKC NoAieAWyqITNymYf9NSbWPH6ETKR2Q6PE3UdaSpacnD30YelW42CbGonw E=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0C6AQDIRXNb/5pdJa1dGQEBAQEBAQEBAQEBAQcBAQEBAYNPY38oCpgrgg2WDYF6CxgLhANGAoMbITUXAQIBAQIBAQJtHAyFNwEBAQMBAQE4NAsFCwIBCA4oECcLJQIEAQ0FCIMbgXkID7EDilAFiRQXgUE/hCSDGwEBhxcgAppnCQKPToFWhCuIRJJyAhEUgSQfATWBUnAVO4JpixWFPm+LOoEbAQE
X-IronPort-AV: E=Sophos;i="5.53,240,1531785600"; d="scan'208";a="156926152"
Received: from rcdn-core-3.cisco.com ([173.37.93.154]) by alln-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Aug 2018 21:17:49 +0000
Received: from XCH-RTP-011.cisco.com (xch-rtp-011.cisco.com [64.101.220.151]) by rcdn-core-3.cisco.com (8.15.2/8.15.2) with ESMTPS id w7ELHnMc011766 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 14 Aug 2018 21:17:49 GMT
Received: from xch-rtp-013.cisco.com (64.101.220.153) by XCH-RTP-011.cisco.com (64.101.220.151) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Tue, 14 Aug 2018 17:17:48 -0400
Received: from xch-rtp-013.cisco.com ([64.101.220.153]) by XCH-RTP-013.cisco.com ([64.101.220.153]) with mapi id 15.00.1320.000; Tue, 14 Aug 2018 17:17:48 -0400
From: "Eric Voit (evoit)" <evoit@cisco.com>
To: Kent Watsen <kwatsen@juniper.net>, tom petch <ietfc@btconnect.com>, Martin Bjorklund <mbj@tail-f.com>
CC: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] [yang-doctors] YANG Doctor question: empty mandatory choice?
Thread-Index: AQHUJ1ReOwlfbH+3hkGPLp9Bm3apCaS3Rs0AgAgy14CAAFoT4A==
Date: Tue, 14 Aug 2018 21:17:48 +0000
Message-ID: <fd1642302aa1407da1ca22d14d4c6f8f@XCH-RTP-013.cisco.com>
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>
In-Reply-To: <C266AC08-6C4D-4BF9-AA94-C90B30A9038C@juniper.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.118.56.234]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Outbound-SMTP-Client: 64.101.220.151, xch-rtp-011.cisco.com
X-Outbound-Node: rcdn-core-3.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/X5j85TqU4Lh97P2KNbbYYj8UDko>
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 21:17:57 -0000

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

> No further comments are coming, so it seems that we've reached in end.
> I'm glad we had the discussion.
> 
> Eric, please post an updated SN draft without the mandatory choice.
> 
> Kent
> 
> 
> 
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf