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

Alexander Clemm <alex@futurewei.com> Fri, 08 May 2020 19:51 UTC

Return-Path: <alex@futurewei.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 6CCB23A0F48 for <netconf@ietfa.amsl.com>; Fri, 8 May 2020 12:51:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.989
X-Spam-Level:
X-Spam-Status: No, score=-1.989 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_MSPIKE_H2=-0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=futurewei.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 Bihlm9kne0Ab for <netconf@ietfa.amsl.com>; Fri, 8 May 2020 12:50:58 -0700 (PDT)
Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2127.outbound.protection.outlook.com [40.107.237.127]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5D3DC3A0F06 for <netconf@ietf.org>; Fri, 8 May 2020 12:50:51 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ePGMNVM+iVtftI3y7tQUGZ707q02zLKs9XDSA3vp20HHvWGv2SdcoouCf7+uKTXs1rcUlxR84TTKSwCgt7M6S/cw4A5b1TS3MbtDQbrHt8Mz0gjGQDfIDb2k7dWhms8RCZZjy+rEUeY+40IQddM+1db/wIWDpHiF9ovlesU/cjr9c7C5XF3ivtxfMkrmTGWkpruTXji21YrHHiQCcu2kBi4nxaEtYCiPqmEzr/kFgYkgup+H6qW1AdmcZvRJdwSYm42e3jvKSeviZjmogoLGT2TLeXtKmHYY1DQQGAMvJK/4C+rIwyQvpZApS74OHd+PKE6Mz5r1NAzVqwl5k9tSoA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jCxy8PyDFNRtplShmRara3lpp0pwZqWHUcuRpsyzWDs=; b=GKAQQbG3VTVQQs8TrIpbyX64CSFkn3Kr75SYqlyh/WUADSBlqrFIzforKNGYPySgZsdqkTRXXxSajyPbJWvqTtVoxZt2bl4nKLyG8ZFaXoK5zIFR7rubYchFZVMAxFSuykUuxH1LJAj47M78M9QU6PN4RyA5YTyLr/xCpVSRIc7cIDdSdf/dtbICNlinZ0w4uxGqYX8jfW5NME5GEtOP+kZtn9Dl/59JIXH84XJUnJBwUfzMaGcAkcng4iBLWUBAVrymZXcvxXkBrx0JkTjPVZ3QA/ooAnYjLLOqm+rlgTb69c1JpHafrEtoeuIgFhdqI+yQii9eS6gwa3VDpUAv7w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=futurewei.com; dmarc=pass action=none header.from=futurewei.com; dkim=pass header.d=futurewei.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Futurewei.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jCxy8PyDFNRtplShmRara3lpp0pwZqWHUcuRpsyzWDs=; b=F1EUJXKR1niPkNF2L7FF5ToLNGXSa2pNGpr3SaXpwquGljgq+3FKBYUc9kRhztLUumzhF9cGiNiC+vTc3UFqZmiQVB3nht1SPNFNdFaK7BYdSsjqBKNBYqRS83iam8/JT6iGWoO9nVqceinukdBmQv1SUvpT+O/T4dV55kXqHdM=
Received: from BY5PR13MB3793.namprd13.prod.outlook.com (2603:10b6:a03:226::15) by BY5PR13MB3285.namprd13.prod.outlook.com (2603:10b6:a03:190::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.16; Fri, 8 May 2020 19:50:49 +0000
Received: from BY5PR13MB3793.namprd13.prod.outlook.com ([fe80::dce5:a4c0:a980:4867]) by BY5PR13MB3793.namprd13.prod.outlook.com ([fe80::dce5:a4c0:a980:4867%9]) with mapi id 15.20.2979.025; Fri, 8 May 2020 19:50:49 +0000
From: Alexander Clemm <alex@futurewei.com>
To: "Eric Voit (evoit)" <evoit=40cisco.com@dmarc.ietf.org>, Kent Watsen <kent+ietf@watsen.net>
CC: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [netconf] Virtual hum for the question on "https-notif" draft
Thread-Index: AQHWF3aZpbslnY0xcka+pz+/87preKiM6hkAgAA3xoCAAAWoAIANOl6AgAKZNwCAAbm1EA==
Date: Fri, 08 May 2020 19:50:49 +0000
Message-ID: <BY5PR13MB37938D3846C6F21BF595CAD1DBA20@BY5PR13MB3793.namprd13.prod.outlook.com>
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> <01000171e7ab5453-7199ade0-ec62-4f6c-837e-5132fb5a4e78-000000@email.amazonses.com> <BL0PR11MB3122F5047BC8653AF122D83BA1A50@BL0PR11MB3122.namprd11.prod.outlook.com>
In-Reply-To: <BL0PR11MB3122F5047BC8653AF122D83BA1A50@BL0PR11MB3122.namprd11.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dmarc.ietf.org; dkim=none (message not signed) header.d=none;dmarc.ietf.org; dmarc=none action=none header.from=futurewei.com;
x-originating-ip: [73.189.160.186]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: bc777505-ae5c-4bfd-f999-08d7f3891b82
x-ms-traffictypediagnostic: BY5PR13MB3285:
x-microsoft-antispam-prvs: <BY5PR13MB3285A5D1681E3AF17A8E8735DBA20@BY5PR13MB3285.namprd13.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:6430;
x-forefront-prvs: 039735BC4E
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: X+V/L5P5m44KVBpx/LxMUUS+sHYLnD1bEuUGdorLZ/4EpnNrQz0Eskb5hhSVJtjfEQ8baKtzBS09Hj3HES7nrOqSOkHK5r0Wv1g7cHRFtaboRT1tvEtb1PUl1oHZ0lV35IJtA6xnYWJ/+dIwo5grHEIueJ4TLOPhobaWti4nI6XQIpK/W0fI7WaTMH5l4NmMNyW23AocKBzS3mdBiwD93L4YsoT0Jtngnfv+CtxwiXKlYetVZXN3G7yFpnCj3mO5C4ZFNR0rscGaDXgoI1bNP3Oc0inD4BQ1KV5gWwaAKgvuuj4vKxzU2qTSrCDQyf918YaXS+iG2xfPDJDuyQ746S/f8DIXQAQ4XZ2o+pzlK8kImF1E2g2TZsTcSfQTvGi6IIezpo4cYhmooISUgZl4vyW5G3BzDGhycE9bE8iRJxxAv9mC7Xu+KGfeKBN2juhOuepqfNpyLRsD80ylNkTCHv3CUhNo/a8HrEI/JDflm8VqM9NeYvufCwcj+6S1MBdwh6gELI4Cjs/x/c2BkVRzjGhueotB8Pa8YAnN24goqYuMGUnRMpWo2bN9oDXhb85ZO7DgC4UMxt4D8/NdtcjkuUqbWQ5eE3pkDi+e8fVSspM=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR13MB3793.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(136003)(366004)(396003)(39840400004)(376002)(33430700001)(66556008)(186003)(86362001)(33440700001)(55016002)(7696005)(52536014)(83310400001)(83320400001)(83300400001)(5660300002)(53546011)(6506007)(66946007)(316002)(66476007)(66446008)(76116006)(2906002)(64756008)(4326008)(110136005)(33656002)(26005)(9686003)(8676002)(8936002)(71200400001)(966005)(478600001)(166002); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: or//QGtNq5T9rW7cm1VhIcex438rEQZ6u76ozb9hsh974qFrqQilESdZFlv4A36+IBHT9KfllrRwMd+mGUkPbWEiWFgmmwgKztEBS8IJSXDHihKinlcK+nmjmg1pNULqrRnE3SR8Gu57PShhxacBkYGnwEXTA/9Pw0lGAtXUlfCs3gLMtYZrpT1IgRo/2u3++S3UI3ZlRry30r6kCXXfCSB8p86oPybrwy/Qxt/FKSiZ83+HsQcviPQD6vFXnIUbYm4K0x7A57dgt7odUAGBOjCl344tDeVKqIkncyCtqE+NBiH04tLENJPhuCvOGUufhfoon184GkT37HPIQuaBWzLn+6vQOrepxGeEXMqddkbx9aQDiQrAC+YbSu98FkfLCuvVFj47tFiViyhVVM3+iuxs5J+697gtOhDRMKNI/r8PtVOguRo6bL76F3fQ6r/6qRLLc7MP4TVY8PXk8aDOOgyyH8FWSbNFIkbcH9J9nAJ0GXqbiBcVGj8mLLBttcqq
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_BY5PR13MB37938D3846C6F21BF595CAD1DBA20BY5PR13MB3793namp_"
MIME-Version: 1.0
X-OriginatorOrg: Futurewei.com
X-MS-Exchange-CrossTenant-Network-Message-Id: bc777505-ae5c-4bfd-f999-08d7f3891b82
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 May 2020 19:50:49.2049 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 0fee8ff2-a3b2-4018-9c75-3a1d5591fedc
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: cgQdJZin79HYuIgg1F2z0d1ApdBltJQ1ieV+KEZRcEj6rDExLQJ0AA5Ktdieh+2VY6lyUZbgk49rT52fPY4rxA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR13MB3285
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/yZorUJOUtFC_tYGqOrFFak648i4>
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: Fri, 08 May 2020 19:51:08 -0000

I am fine with the proposed text also.
--- Alex

From: netconf <netconf-bounces@ietf.org> On Behalf Of Eric Voit (evoit)
Sent: Thursday, May 07, 2020 10:29 AM
To: Kent Watsen <kent+ietf@watsen.net>
Cc: netconf@ietf.org
Subject: Re: [netconf] Virtual hum for the question on "https-notif" draft

Kent Watsen, May 5, 2020 9:48 PM
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?

<eric> I have no problem with the proposed text.

Eric



The NETCONF Chairs




On Apr 27, 2020, at 11:48 AM, Rob Wilton (rwilton) <rwilton@cisco.com<mailto: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<mailto:kent+ietf@watsen.net>>
Sent: 27 April 2020 16:28
To: Rob Wilton (rwilton) <rwilton@cisco.com<mailto:rwilton@cisco.com>>
Cc: Mahesh Jethanandani <mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>>; netconf@ietf.org<mailto: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://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftools.ietf.org%2Fhtml%2Fdraft-ietf-netconf-https-notif-02&data=02%7C01%7Calex%40futurewei.com%7C49653574ec18458902cd08d7f2ac2fe7%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637244693668208300&sdata=E3%2F8fphcoG6BkKs2It%2BouWtuqSzy8Cm7cqBufEONapE%3D&reserved=0> 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://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.surveymonkey.com%2Fr%2F68W3DX3&data=02%7C01%7Calex%40futurewei.com%7C49653574ec18458902cd08d7f2ac2fe7%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637244693668218294&sdata=pN%2F1KZfBouETe7F32a5lXkiCZLh7SXu2M0eCBJdduCc%3D&reserved=0>

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://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fnetconf&data=02%7C01%7Calex%40futurewei.com%7C49653574ec18458902cd08d7f2ac2fe7%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637244693668218294&sdata=hJ5rXJY0k0jBphtiapkmYjee24tMNEfM1IvHKoTnYt0%3D&reserved=0>