Re: [Netconf] [yang-doctors] YANG Doctor question: empty mandatory choice? (was RE: YangPush now)

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Fri, 27 July 2018 06:07 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 D1FB6130DDC; Thu, 26 Jul 2018 23:07:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=unavailable 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 Lu-tghuqyV_W; Thu, 26 Jul 2018 23:07:01 -0700 (PDT)
Received: from anna.localdomain (anna.eecs.jacobs-university.de [IPv6:2001:638:709:5::7]) by ietfa.amsl.com (Postfix) with ESMTP id A4723130DFE; Thu, 26 Jul 2018 23:06:57 -0700 (PDT)
Received: by anna.localdomain (Postfix, from userid 501) id A87802386A48; Fri, 27 Jul 2018 08:06:56 +0200 (CEST)
Date: Fri, 27 Jul 2018 08:06:56 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Kent Watsen <kwatsen@juniper.net>
Cc: "Eric Voit (evoit)" <evoit=40cisco.com@dmarc.ietf.org>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "netconf@ietf.org" <netconf@ietf.org>
Message-ID: <20180727060656.hrsg4njv7npfla34@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Kent Watsen <kwatsen@juniper.net>, "Eric Voit (evoit)" <evoit=40cisco.com@dmarc.ietf.org>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "netconf@ietf.org" <netconf@ietf.org>
References: <727ae35abd394a85812168615acce2d3@XCH-RTP-013.cisco.com> <20180726221120.bv3mtlitoqqov2zm@anna.jacobs.jacobs-university.de> <52EFF12D-DC75-49C2-B887-FB2450616A4C@juniper.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <52EFF12D-DC75-49C2-B887-FB2450616A4C@juniper.net>
User-Agent: NeoMutt/20180716
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/2d-GVGOiNAG4hAdlI2jJsMS_I9Q>
Subject: Re: [Netconf] [yang-doctors] YANG Doctor question: empty mandatory choice? (was RE: YangPush now)
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: Fri, 27 Jul 2018 06:07:06 -0000

On Thu, Jul 26, 2018 at 11:30:34PM +0000, Kent Watsen wrote:
> 
> > Why do all receivers of a subscription have to use the same transport?
> 
> This was something that Martin and Eric worked out before we did the first
> Last Call.  Eric doesn't seem to know the particular reason, other than 
> Martin seems to think it’s easier.
> 
> Thinking out loud, I can sort-of, but not really, understand the motivation
> for wanting to enforce the same encoding (xml, json, etc.) across receivers
> and, since some transports may require certain encodings (i.e. netconf-->xml,
> coap-->cbor, etc.), it carries that the transports should be the same too?
>

The encoding can't be the reason because a single transport may allow
for different encodings.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>