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

Martin Bjorklund <mbj@tail-f.com> Tue, 14 August 2018 21:54 UTC

Return-Path: <mbj@tail-f.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 DE792130DD7 for <netconf@ietfa.amsl.com>; Tue, 14 Aug 2018 14:54:51 -0700 (PDT)
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, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 JK9GeEMKow1Y for <netconf@ietfa.amsl.com>; Tue, 14 Aug 2018 14:54:50 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id E3757130DC1 for <netconf@ietf.org>; Tue, 14 Aug 2018 14:54:49 -0700 (PDT)
Received: from localhost (h-80-27.A165.priv.bahnhof.se [212.85.80.27]) by mail.tail-f.com (Postfix) with ESMTPSA id 6E8FF1AE0426; Tue, 14 Aug 2018 23:54:47 +0200 (CEST)
Date: Tue, 14 Aug 2018 23:54:47 +0200
Message-Id: <20180814.235447.386903603331582623.mbj@tail-f.com>
To: evoit@cisco.com
Cc: kwatsen@juniper.net, ietfc@btconnect.com, netconf@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <fd1642302aa1407da1ca22d14d4c6f8f@XCH-RTP-013.cisco.com>
References: <E4A0250D-B2B9-47D5-81EF-275A0144379A@juniper.net> <C266AC08-6C4D-4BF9-AA94-C90B30A9038C@juniper.net> <fd1642302aa1407da1ca22d14d4c6f8f@XCH-RTP-013.cisco.com>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/QYsJCSyfkmSpw2xU2jjV7GkLvf0>
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:54:52 -0000

Hi,

"Eric Voit (evoit)" <evoit@cisco.com> wrote:
> 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.

I think an example of what a transport-specific module looks like
should be in this document.  Adding an example tranport module to the
netconf transport draft (that eventually already defines a real
transport module) doesn't make much sense.

However, the example in this draft should be made for an example
transport, rather than for NETCONF.  And the module should be named as
such.  Specifically, it must not be called
"ietf-netconf-subscribed-notifications", but instead
"example-something...".



/martin




> 
> 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
>