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

Kent Watsen <kent+ietf@watsen.net> Wed, 06 May 2020 01:48 UTC

Return-Path: <01000171e7ab5453-7199ade0-ec62-4f6c-837e-5132fb5a4e78-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 4612E3A0CD6 for <netconf@ietfa.amsl.com>; Tue, 5 May 2020 18:48:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 f-zAY0y9X1_y for <netconf@ietfa.amsl.com>; Tue, 5 May 2020 18:48:18 -0700 (PDT)
Received: from a8-88.smtp-out.amazonses.com (a8-88.smtp-out.amazonses.com [54.240.8.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B10543A0CD7 for <netconf@ietf.org>; Tue, 5 May 2020 18:48:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1588729697; h=From:Content-Type:Mime-Version:Subject:Date:References:To:In-Reply-To:Message-Id:Feedback-ID; bh=BqS3Drc1sAwmYEEw+kS14VmbFDSBkooMEdNSUTcihbk=; b=Kh/QmFc7WF0GblpnGPd/tYUVmdC1WKzycqdm1UGxdC4WygYNo8yCTF2HSyTI1mlo aaB4Dlcy/5DsIJ/hfZKnI3LS8TodN2ViLXZrcPVzNlshA5At5deu0VgeqSEsCAH0so8 5x/O6CsYAy3q2cRQi4YOw0WssCBkKzqGbB3CXjiA=
From: Kent Watsen <kent+ietf@watsen.net>
Content-Type: multipart/alternative; boundary="Apple-Mail=_8D8CFB5F-FD07-4CF2-826E-3105C2832881"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Wed, 06 May 2020 01:48:17 +0000
References: <5CE2095E-7117-4092-B356-A5C4FF490D10@gmail.com> <MN2PR11MB4366FC94F18140F1BB153A1FB5AF0@MN2PR11MB4366.namprd11.prod.outlook.com> <01000171bc405640-6e173d84-f921-4f6f-929a-6431410051c8-000000@email.amazonses.com> <MN2PR11MB4366D99288DA72B2C872A907B5AF0@MN2PR11MB4366.namprd11.prod.outlook.com>
To: "netconf@ietf.org" <netconf@ietf.org>
In-Reply-To: <MN2PR11MB4366D99288DA72B2C872A907B5AF0@MN2PR11MB4366.namprd11.prod.outlook.com>
Message-ID: <01000171e7ab5453-7199ade0-ec62-4f6c-837e-5132fb5a4e78-000000@email.amazonses.com>
X-Mailer: Apple Mail (2.3445.104.11)
X-SES-Outgoing: 2020.05.06-54.240.8.88
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/XBpoFqtRynfc0zaRggMEiEMBW2M>
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: Wed, 06 May 2020 01:48:21 -0000

This email closes the virtual hum on the for the question on the "https-notif” draft.

As reported before, 70% picked "Let the market decide”, with the remaining 30% all picking "Publisher MUST implement JSON encoding”.

Rob raises a good point about the language in RFC 8639, but the results of the poll reveal a contradiction.  How can we “let the market decide” if a default MUST be picked?

The chairs are questioning how vetted that text in RFC 8639 is, noting that RESTCONF also doesn’t pick a default.  We wonder if the text in RFC 8639 should be softened.  For instance:

  OLD:

   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.

  NEW:

   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, or
   provide a mechanism whereby supported encodings can be discovered.


At least, it seems that the intent of the draft is to handle the case for when the “encoding” leaf is not configured (since it’s “mandatory false”), more so than force interoperability, but there are other ways to determine an encoding in such circumstances, and thus maybe the text is overly proscriptive?


The NETCONF Chairs




> On Apr 27, 2020, at 11:48 AM, Rob Wilton (rwilton) <rwilton@cisco.com> wrote:
> 
> At least the hum seems to have narrowed it down to two choices (assuming sufficient voices).
>  
> But I can see interop benefit in defining at least one encoding that clients know will be supported by the server.
>  
> Hence, I wonder if anyone wouldn’t be able to live with:
>  
>   “The default encoding is JSON.  Publishers MUST support JSON encoding”
>  
> * or a slight variant (that I don’t like so much) would be to soften the MUST to a SHOULD, with the expectation that servers that don’t support JSON would reject the configuration unless the clients had specified an alternative supported encoding.
>  
> Rob
> [As a contributor]
>  
>  
> From: Kent Watsen <kent+ietf@watsen.net> 
> Sent: 27 April 2020 16:28
> To: Rob Wilton (rwilton) <rwilton@cisco.com>
> Cc: Mahesh Jethanandani <mjethanandani@gmail.com>; netconf@ietf.org
> Subject: Re: [netconf] Virtual hum for the question on "https-notif" draft
>  
>  
> 
> 
> On Apr 27, 2020, at 8:08 AM, Rob Wilton (rwilton) <rwilton=40cisco.com@dmarc.ietf.org <mailto: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>
>