Re: [netconf] Virtual hum for the question on "https-notif" draft

Kent Watsen <kent+ietf@watsen.net> Mon, 27 April 2020 15:28 UTC

Return-Path: <01000171bc405640-6e173d84-f921-4f6f-929a-6431410051c8-000000@amazonses.watsen.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 0441B3A0D2F for <netconf@ietfa.amsl.com>; Mon, 27 Apr 2020 08:28:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=amazonses.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 LCxYgOBIigPc for <netconf@ietfa.amsl.com>; Mon, 27 Apr 2020 08:28:12 -0700 (PDT)
Received: from a8-96.smtp-out.amazonses.com (a8-96.smtp-out.amazonses.com [54.240.8.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 008213A0D7E for <netconf@ietf.org>; Mon, 27 Apr 2020 08:27:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1588001265; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=Yi6YLR2EeBT8nvbc9/kVWbt2n8p9ldE3G6ZkpIhrDyk=; b=UZ7dUB2oMW4Fi5vDA7OFHfOiwBQt4jXS5JBw3+yo+swZRzwzhQLQSinqOMgVXW9D qqE/uZqMFcvw9eKcQgn6fxEag7/K6zaYfmaxHE38jkWBmN8ix5vETqkxJkddfhX+93o kwLelnqENBWBFhJlJMm/7n6bhTd/KQpZxzu5JSSc=
From: Kent Watsen <kent+ietf@watsen.net>
Message-ID: <01000171bc405640-6e173d84-f921-4f6f-929a-6431410051c8-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_E0B59FE8-45E1-4155-A1B4-C3F549322893"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Mon, 27 Apr 2020 15:27:45 +0000
In-Reply-To: <MN2PR11MB4366FC94F18140F1BB153A1FB5AF0@MN2PR11MB4366.namprd11.prod.outlook.com>
Cc: Mahesh Jethanandani <mjethanandani@gmail.com>, "netconf@ietf.org" <netconf@ietf.org>
To: "Rob Wilton (rwilton)" <rwilton=40cisco.com@dmarc.ietf.org>
References: <5CE2095E-7117-4092-B356-A5C4FF490D10@gmail.com> <MN2PR11MB4366FC94F18140F1BB153A1FB5AF0@MN2PR11MB4366.namprd11.prod.outlook.com>
X-Mailer: Apple Mail (2.3445.104.11)
X-SES-Outgoing: 2020.04.27-54.240.8.96
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/h0NPkWR1AdhmqrpNNkdwjwkRIfA>
Subject: Re: [netconf] Virtual hum for the question on "https-notif" draft
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG 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: Mon, 27 Apr 2020 15:28:14 -0000


> On Apr 27, 2020, at 8:08 AM, Rob Wilton (rwilton) <rwilton=40cisco.com@dmarc.ietf.org> wrote:
> 
> [As an individual contributor]
>  
> Changing my stance somewhat from the NETCONF meeting …
>  
> After looking into the details a bit more, section 7 of rfc8639 states:
>  
>    A specification for a transport MUST identify any encodings that are
> 
>    supported.  If a configured subscription's transport allows different
> 
>    encodings, the specification MUST identify the default encoding.
> 
>  
> Does this imply that the http-notif draft either must state a default encoding (or otherwise update rfc8639)?

It seems that way...at least when https-notif is being used for RFC 8639 (it doesn’t have to be).

Looking at the hum-results so far, 70% picked "Let the market decide” (with the remaining 30% all picking "Publisher MUST implement JSON encoding”). 

In light of the RFC 8639 text quoted above, we might question the validity of the hum…or, given the strong preference from the hum, we might question the validity of that constraint in RFC 8639.  If questioning RFC 8639, a better question to ask might be why the configurable “encoding” leaf isn’t mandatory (also eliminating this issue and seemingly cleaner)?


> If so, my thinking is to make the default encoding JSON, because it is easier to generate than XML, and easier to convert into CBOR.  Clients don’t have to support JSON if they know that the publisher supports a different encoding that they do support.

If we had to pick one, JSON is more agreeable than XML.  Picking JSON would likely also be the kiss-of-death for XML, as once support for JSON has been coded, it’s unlikely XML support would be coded (like how XPath-filters are rarely implemented due to subtree-filters having to implemented).  Picking JSON would NOT be the kiss-of-death for CBOR (or some other binary encoding) as *binary* offers real value in space and time consumption.


Kent // contributor


>  
> I’ve also filled in the virtual hum.
>  
> Regards,
> Rob
>  
>  
>  
> From: netconf <netconf-bounces@ietf.org <mailto:netconf-bounces@ietf.org>> On Behalf Of Mahesh Jethanandani
> Sent: 21 April 2020 01:48
> To: Netconf <netconf@ietf.org <mailto:netconf@ietf.org>>
> Subject: [netconf] Virtual hum for the question on "https-notif" draft
>  
> 
> At the 107 NETCONF virtual meeting, the authors posed the question of mandatory encoding for draft-ietf-netconf-https-notif <https://tools.ietf.org/html/draft-ietf-netconf-https-notif-02> draft to the WG. This virtual hum in the form of a survey is being presented to record the response from the WG. 
>  
> Please respond by selecting one of the options in the survey page.
>  
> https://www.surveymonkey.com/r/68W3DX3 <https://www.surveymonkey.com/r/68W3DX3>
>  
> The relevant slide that was used for discussion was this. In addition to the options discussed here, Rob suggested that the WG could defer to the market to decide.
>  
> Thanks
>  
> Mahesh & Kent (as co-chairs)
> _______________________________________________
> netconf mailing list
> netconf@ietf.org <mailto:netconf@ietf.org>
> https://www.ietf.org/mailman/listinfo/netconf <https://www.ietf.org/mailman/listinfo/netconf>