Re: [netconf] http client draft

Balázs Lengyel <balazs.lengyel@ericsson.com> Tue, 17 September 2019 11:04 UTC

Return-Path: <balazs.lengyel@ericsson.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 B1D7F120822 for <netconf@ietfa.amsl.com>; Tue, 17 Sep 2019 04:04:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.025
X-Spam-Level:
X-Spam-Status: No, score=-2.025 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.026, SPF_PASS=-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=ericsson.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 HL5hvVNNoNCW for <netconf@ietfa.amsl.com>; Tue, 17 Sep 2019 04:04:57 -0700 (PDT)
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10080.outbound.protection.outlook.com [40.107.1.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9FABD12081D for <netconf@ietf.org>; Tue, 17 Sep 2019 04:04:56 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mnVHjVunfCqthOBXRWVq2vViyBVMZWLt7YJPovLCVabjNaUb/xLZ7YgOuVeY1tmZYKH+sZdHu0K1OHRZyLxqas7yu39va8U9XMzEHYBnjmTWqC7UjmGGNI91MphsqeX0v5rNi7oVtTHN8CThChftnol++yPbKaFKkITwdWW4Yb9KH8Lmnp/vjK53Qg4jPPB7yBhH62cGjp5ILLDWQAPJHX5GMtleuaHcTTj2+QHfUFgntj+A8EPIMwrovb9fXgf/3yHqt6KDY7Ip+Q6XlANLKdr6Y8KVFPMgH+g0LQ6h5OH6gg9wIHKSSB5mE69gsxygl/h6ZSpfEm+DzZQzxBBT/g==
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=H1iVLzp4vqjfKZd7LShv4WiwvxAoQGZlwnXyAJPr+HM=; b=U4iKnAKwhgHnhURBcK6Y8HrQNN5BCA3Ao/I+2jeGocZX83dH7fszS30xDKPh4eUczbTkn1o1NOxN6yLOQIIWFtUDUmKEZymri4keqOK3lUbi5r8SfqTSSkiVUGIuZA+nvBGQwp8O7Q1gy69H/y4eQcCzHOJ27eDnVzuwGpDL7dAVkustA+BovbAv3R/bBtEOxZpAOWQP2CWnqt7S7YS1T4wh+/7I9LXQHwD03AfvPt20f/g6FJYfoPRFu4QkX0eb5cv22aZV1UmWtvDFrg4EGOpe9gyxbrFgsZaC3DqS3tJOe+Y8AdWNQvKRfvdmiq/KKygcuCaFDmbV8tz0aGtXKw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=H1iVLzp4vqjfKZd7LShv4WiwvxAoQGZlwnXyAJPr+HM=; b=G/J6dYGE8pRAyHBJqoLRHQ/39eqvO+UazDZDn/m4V7PUUyA2TZk9bpdBsCnAmgk2DHTppi0ucIg+4gYgxWE8M14uyhN7y2kX8yMzYU+Q+JQZDWhKA8KaTKiz2lOQVZMgh66Wk6VZ6HLOjyqW37l8d74nWjxKFv2Zr+RGojm+nBg=
Received: from VI1PR0701MB2286.eurprd07.prod.outlook.com (10.169.137.153) by VI1PR0701MB2400.eurprd07.prod.outlook.com (10.168.138.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2284.13; Tue, 17 Sep 2019 11:04:53 +0000
Received: from VI1PR0701MB2286.eurprd07.prod.outlook.com ([fe80::f44b:854c:51cf:c69f]) by VI1PR0701MB2286.eurprd07.prod.outlook.com ([fe80::f44b:854c:51cf:c69f%7]) with mapi id 15.20.2284.009; Tue, 17 Sep 2019 11:04:53 +0000
From: Balázs Lengyel <balazs.lengyel@ericsson.com>
To: Netconf <netconf@ietf.org>
Thread-Topic: http client draft
Thread-Index: AdVsc6Z2V8qszT4sTLyEa3zmCo1E5gAN2JUAACbRvUA=
Date: Tue, 17 Sep 2019 11:04:52 +0000
Message-ID: <VI1PR0701MB2286B83143BD318B4580B53EF08F0@VI1PR0701MB2286.eurprd07.prod.outlook.com>
References: <VI1PR0701MB2286E7E131B78F9BE76422EEF08C0@VI1PR0701MB2286.eurprd07.prod.outlook.com> <88BAEBEC-7C31-4642-81A2-C1C5CF666D78@gmail.com>
In-Reply-To: <88BAEBEC-7C31-4642-81A2-C1C5CF666D78@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=balazs.lengyel@ericsson.com;
x-originating-ip: [89.135.192.225]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 4e0ffb7b-87e2-4eb2-c484-08d73b5eddcb
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600167)(711020)(4605104)(1401327)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(49563074)(7193020); SRVR:VI1PR0701MB2400;
x-ms-traffictypediagnostic: VI1PR0701MB2400:
x-microsoft-antispam-prvs: <VI1PR0701MB240009E6CDFD8590475142ACF08F0@VI1PR0701MB2400.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:5797;
x-forefront-prvs: 01630974C0
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(396003)(346002)(136003)(376002)(366004)(189003)(199004)(99286004)(11346002)(66556008)(476003)(7116003)(76176011)(478600001)(26005)(102836004)(486006)(606006)(7696005)(81156014)(8936002)(81166006)(446003)(33656002)(53546011)(85202003)(52536014)(64756008)(66446008)(66476007)(25786009)(66616009)(256004)(7736002)(14444005)(66946007)(790700001)(86362001)(229853002)(3480700005)(74316002)(316002)(6916009)(6506007)(186003)(8676002)(3846002)(66066001)(6116002)(99936001)(2906002)(5660300002)(6436002)(55016002)(85182001)(71190400001)(236005)(71200400001)(14454004)(6246003)(66574012)(6306002)(9686003)(54896002)(76116006); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0701MB2400; H:VI1PR0701MB2286.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: YBXMJMDxF5I/syC2t43oA77G+ILSMsg3BbCmzpZ+3z6UvErKG/1eZS/tWPCO+2BqK8msfJl56qpde21239yvfLztl8m7rK2G6ZCMi6K8gC9wZVZ2XBF87xeiBUGxGQXri0j+daDwB9JByLW+M6vwt+Wd6FGo3Ccyy2MY/XcERrfFyDgVI3K1LwXSJVxv5QQK/LZrnwypWY+86CWFoYCHIIq4GrnRaOMNzSN5XMTBxsTyGzExIN3wSK5LHyEUY7hHALL2y2CgPF1ljlPx7QKmvqlPbpz9Evsu+zxIfRH9S8Tw5yBdD1r37Hl9kXEee/vGdXXUE96wXz9idMFV1mIliJIjzsiczkqlD3Oh3ejNlwgLVPA314QeZl/DDspUdWzBpLGXkUzFgi7yn6fQ2YN5CX2pLIWnrg9PV6nXPhQ9WmE=
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_00CE_01D56D58.7D742150"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 4e0ffb7b-87e2-4eb2-c484-08d73b5eddcb
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Sep 2019 11:04:52.7469 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: qNd1F0qduim5M1T9FH8PwG0T93uCRYZSDyB7I7BPzHFsaRoQEF5LTlqftbsMKmjwrsImd2ET5vMN91kD5GhsLxdDOs/3vYwoB422Mw8+b64=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0701MB2400
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/ywCjYZ4vQ9Nb45dxp_hqdkrdkeM>
Subject: Re: [netconf] http client 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: Tue, 17 Sep 2019 11:05:00 -0000

From: Mahesh Jethanandani <mjethanandani@gmail.com> 
Sent: 2019. szeptember 16., hétfő 18:23
To: Balázs Lengyel <balazs.lengyel@ericsson.com>
Cc: Kent Watsen <kent+ietf@watsen.net>
Subject: Re: http client draft

 

Hi Balasz,





On Sep 16, 2019, at 2:49 AM, Balázs Lengyel <balazs.lengyel@ericsson.com <mailto:balazs.lengyel@ericsson.com> > wrote:

 

Hello Kent,

As I need something like  <https://tools.ietf.org/id/draft-mahesh-netconf-https-notif-00.txt> draft-mahesh-netconf-https-notif asap I am trying to look into some of the details.  (I might even propose a temporary extreme-simplified version to some industry bodies.)

Looking at the HTTP client draft I am missing the “path” section of the URI. Is that just a mistake or intentional?

 

[mj] You must have seen Kent’s discussion with Martin on the same topic. What is your preference to either one of the options.

 

- feature statement around a “path” leaf

- augment http-params module to add a “path” leaf

- add a new section for “path”

 

You can respond to the thread in the netconf mailing list.

 

[BALAZS]: In our practice PATH is nearly always used for HTTP based communications. Most of the times it is a fixed path that could be configured for the receiver/endpoint, so my proposals in order of preference would be to 

1.	add path to the http-client model as a mandatory=false leaf. (or defaulting to an empty string)
2.	feature statement around a “path” leaf
3.	augment http-params module to add a “path” leaf

 

regards Balazs