Re: [netconf] Configured receiver capability exchange

"Eric Voit (evoit)" <evoit@cisco.com> Fri, 17 January 2020 17:35 UTC

Return-Path: <evoit@cisco.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 824EB120043 for <netconf@ietfa.amsl.com>; Fri, 17 Jan 2020 09:35:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=b2YpN9Xh; dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=cisco.onmicrosoft.com header.b=lLB3feE4
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 NxlRPF3aL0XV for <netconf@ietfa.amsl.com>; Fri, 17 Jan 2020 09:35:43 -0800 (PST)
Received: from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8EA5712007C for <netconf@ietf.org>; Fri, 17 Jan 2020 09:35:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=22362; q=dns/txt; s=iport; t=1579282543; x=1580492143; h=from:to:subject:date:message-id:mime-version; bh=AJvbAq5HQqf34sz8OjGD4Rd96dWX9L56dFDW/2eWO7M=; b=b2YpN9XhkC2qbUf/Ybbu51tVcuJg2QC181STBNAjI5grYR6vPQk84jT2 55rXi/KKHQ03q8oQQLQx1BPbNxfa1JpNiVeTWfX4qqiLrDRSeUBJESH1W TTSyDqhxpinBYplSHfUJnTt1mEf7srmSk9AAFM9QVGwiWk4ZuOg0VXwaJ U=;
X-Files: smime.p7s : 3975
IronPort-PHdr: 9a23:wfSc0B3OOeI0YRBzsmDT+zVfbzU7u7jyIg8e44YmjLQLaKm44pD+JxGPt+51ggrPWoPWo7JfhuzavrqoeFRI4I3J8RVgOIdJSwdDjMwXmwI6B8vQBFP8LeLCZC0hF8MEX1hgrDm2
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0C1EwDu7yFe/51dJa1lHgELHIMgLyQsBWwrLSAECyoKh00DinlOghGJYIlMhGKCUgNUAgcBAQEJAwEBJQgCAQGEQAKCCiQ4EwIDDQEBBAEBAQIBBQRthTcMhV4BAQIDEhsTAQE4EQEIEQQBAQ4aCR8RFAkJAQQBEggGDQeDBYF9TQMfDwECDKIAAoE5iGGCJ4J/AQEFgTMCDkGCew0LggUHAwaBNoFTg0gMhm0agUE/gViCTD6BVEdJAQECAQEYgUkrCYMMgiyNWg2JTJdZRAqCOYNlgjg5Z4pLhEOaco5ciGGCIZADAgQCBAUCDgEBBYFpIoFYcBWDJ1AYDYgBg3OFFIU/dIEpiy4BgQ8BAQ
X-IronPort-AV: E=Sophos;i="5.70,331,1574121600"; d="p7s'?scan'208,217";a="699262626"
Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by rcdn-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 17 Jan 2020 17:35:42 +0000
Received: from XCH-RCD-005.cisco.com (xch-rcd-005.cisco.com [173.37.102.15]) by rcdn-core-6.cisco.com (8.15.2/8.15.2) with ESMTPS id 00HHZghs030601 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 17 Jan 2020 17:35:42 GMT
Received: from xhs-aln-002.cisco.com (173.37.135.119) by XCH-RCD-005.cisco.com (173.37.102.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 17 Jan 2020 11:35:41 -0600
Received: from xhs-rcd-001.cisco.com (173.37.227.246) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 17 Jan 2020 11:35:41 -0600
Received: from NAM10-BN7-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Fri, 17 Jan 2020 11:35:41 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GA63kbQKIFp/R5E9bNhO8zkTVbat3VZd/S8etjdCi3SnUIOvsXG6UVMYGgRt7CSjjd31jt/xdDZbZXJtxWpKMkVsavM8NG1tlFtjwjNNyGMGAc8R/HsKQDyhFpDBko1kGafBOXa8cDF7RUf3xWBaXyl1nf7Zi844KUj5yQqt9a+a0ZG8Am+CBLQQPl8LYwNsE81/Q2nFxWmu3MxQ2W24dmoAYGlEtj63eLAWOMyROgnz5sknrZUcVAFGKgGHkU27o4zCi6r2OSdrLCZbhOVZmb3dX6qBefWQdRrZkcsxqPzDdqyldkzaa67hTiDj3+b5hMQClhu66pVw7oxdmjTcoQ==
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=kf/PlYLtLUi5IL4rCYuaSlzSEXlmv97YtioHy/7oRIg=; b=QW4lu6UcF5YaZRadZK+da/tbYGn66atVQoHSm+dabb651Dz3Iswk4Sy9UoHIvpc12ppHwpvkjJSHYYL7KOv0vPE22hecMQ/Mz7mbYZG0c6Pwsffn6jA0ntdXg2tFEFk3JmmIcHofoq+lalfMsO2mf3UJYkdxDpZQKFY1hiK9yoBLqbtRwuE+xI/ino+PN10geUHTm0FS4Oo8LOqbImk6mmSx8ni2hIPoqcXieSzvcCHzPjuhHcBN4tWsG7Kl19Om1YkSxlfAetXzplJdtPDpHxlRH2JNQYnqUtDayYl4MyaMPuyLxTy6u+0+QPs5t3Ma+FyoTYoTzqQ8/qJAGifVOw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kf/PlYLtLUi5IL4rCYuaSlzSEXlmv97YtioHy/7oRIg=; b=lLB3feE4cjwAw1K62/HPGDELVqF6FpzASSyraveOnZ8qX9Bh7PJoUbGaDyvuX8g+zcBpdpHxiQaOWfpR85UUTpB1/m8vsTSB7iQ1Nli9ZpypydqFszESy6HSndUCFunVWuRAB0muM1VX4XC6vb8IIgMAtA1SpKJ9tVeGVJH6NiM=
Received: from BYAPR11MB2536.namprd11.prod.outlook.com (52.135.226.32) by BYAPR11MB3063.namprd11.prod.outlook.com (20.177.225.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.23; Fri, 17 Jan 2020 17:35:39 +0000
Received: from BYAPR11MB2536.namprd11.prod.outlook.com ([fe80::20d1:96f3:bde9:17e5]) by BYAPR11MB2536.namprd11.prod.outlook.com ([fe80::20d1:96f3:bde9:17e5%5]) with mapi id 15.20.2644.015; Fri, 17 Jan 2020 17:35:39 +0000
From: "Eric Voit (evoit)" <evoit@cisco.com>
To: "netconf@ietf.org" <netconf@ietf.org>, "Balazs Lengyel <balazs.lengyel@ericsson.com> (balazs.lengyel@ericsson.com)" <balazs.lengyel@ericsson.com>
Thread-Topic: Configured receiver capability exchange
Thread-Index: AdXNXIcLBTPP/wetTxqO44ff1VxXqQ==
Date: Fri, 17 Jan 2020 17:35:39 +0000
Message-ID: <BYAPR11MB25365E1E5A7BD0B1C80D1A25A1310@BYAPR11MB2536.namprd11.prod.outlook.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=evoit@cisco.com;
x-originating-ip: [173.38.117.76]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 12a74c6a-9e57-4993-4bd6-08d79b73ab9c
x-ms-traffictypediagnostic: BYAPR11MB3063:
x-microsoft-antispam-prvs: <BYAPR11MB3063C5C6A9D9B17E08A9A033A1310@BYAPR11MB3063.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:3513;
x-forefront-prvs: 0285201563
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(366004)(376002)(39860400002)(136003)(396003)(189003)(199004)(66476007)(66616009)(316002)(110136005)(52536014)(55016002)(76116006)(64756008)(66556008)(66446008)(71200400001)(66574012)(33656002)(66946007)(86362001)(9686003)(5660300002)(3480700007)(7696005)(2906002)(53546011)(81166006)(26005)(6506007)(186003)(9326002)(81156014)(8676002)(8936002)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR11MB3063; H:BYAPR11MB2536.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 5bNLxvDIbCKTlT+/J+yTiD+VliYVl7Sq/CaNrDD5EHSIHigVAO/vcbVrCHc5AY0Z/+L6x5agNe5xR7VgCkMhCYO2lClDshu955peRxM01+w6sCg5BDB8uE6/wREElAAawD2tesI0q1x+s/XH2wy9WQfVKTTkN6Z8OJf/ic5QgMl9SyvWuoBBCuuMg66BzRKRMlVmyJhX9ugpW6lXbqRG4xxijs6KviKELhsYxNt3pmE0bp1DB972uZPDOAP1jwj2+atjiBCr+qCbdQ+lr62aysvx3bh5gn9RBjeKTf1XS/BT1D9ScUGVTaQoMgAZtEnr/ofeUvUL2WeYOvlFoCwAkZPBqkaQ5Latw02rMeK9IqPAzlvm0lF6eJhbnix5XDTiaFM8x8y+dBajvBR52cdjZ1c6OxyMUBhXgx7mdEvEPB/gKviWhM/HfAORHk1TWc83xBc+Ey7s4CyLQ4fQmvtnJuJeRW8ziLBf2tTHiJx7iCw=
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_0053_01D5CD32.9E40E690"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 12a74c6a-9e57-4993-4bd6-08d79b73ab9c
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jan 2020 17:35:39.6197 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: /i3dhaFP9yxq0T1tcwBrz8cz6e3jyRqc0oHXqAOlCw8vvaqrZ2xR5kykzfCxvlOD
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3063
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.15, xch-rcd-005.cisco.com
X-Outbound-Node: rcdn-core-6.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/8__NmAom0HPmtR6HSIPb2pWTnjU>
Subject: Re: [netconf] Configured receiver capability exchange
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, 17 Jan 2020 17:35:48 -0000

Hi Balazs,

 

The proposal below wouldn't have another roundtrip.  Basically the 'OK'
response to a <subscription-started> would include the receiver
capabilities.

 

As there could be multiple configured subscriptions, these receiver
capabilities could end up being delivered a number of times.  I guess we
might then only include the receiver capabilities for the first configured
subscription established to that receiver.

 

Eric

 

From: Balázs Lengyel <balazs.lengyel@ericsson.com
<mailto:balazs.lengyel@ericsson.com> > 
Sent: Friday, January 17, 2020 7:27 AM
To: Eric Voit (evoit) <evoit@cisco.com <mailto:evoit@cisco.com> >; Mahesh
Jethanandani <mjethanandani@gmail.com <mailto:mjethanandani@gmail.com> >
Cc: netconf@ietf.org <mailto:netconf@ietf.org> 
Subject: RE: Configured receiver capability exchange

 

Hello,

I would like a discovery mechanism that does not include a mandatory
additional message roundtrip. 

 

Most of the times the subscriber will be aware of the receivers
capabilities, in these cases so discovery is not needed; so don’t add
overhead.

 

Customers also indicated that they anticipate that TCP/TLS will often be
used only for a few notifications broken down and later reestablished so any
overhead we add will be added for each (many) session setup. 

 

Regards Balazs

 

From: netconf <netconf-bounces@ietf.org <mailto:netconf-bounces@ietf.org> >
On Behalf Of Eric Voit (evoit)
Sent: 2020. január 15., szerda 21:23
To: Mahesh Jethanandani <mjethanandani@gmail.com
<mailto:mjethanandani@gmail.com> >
Cc: netconf@ietf.org <mailto:netconf@ietf.org> 
Subject: [netconf] Configured receiver capability exchange

 

Hi Mahesh,

 

During the IETF 106 session, there was discussion on how both a publisher
might know if there is receiver support for
<https://datatracker.ietf.org/doc/draft-ietf-netconf-notification-messages/?
include_text=1> draft-ietf-netconf-notification-messages.  Section 6
highlights several of the considerations.   Relevant are the following:

 

(a) Remote device capability discovery from the point of view of the
Publisher needs to be enhanced to know if the far end can interpret
notification messages type beyond RFC-5277, Section 4.

 

(b) This capability discovery question is relevant for both configured
subscription receivers and dynamic subscribers.  

 

(c) The capability discovery question can be generalized beyond
subscriptions, as there are many reasons to know the available capabilities
of the far end.   

 

(d) Capability discovery advertisement has traditionally been discussed
within transport documents (e.g. RFC-6241 Section 8.1).   

 

 

Based on (a)-(d), coming up with a transport independent point-solution
within
<https://datatracker.ietf.org/doc/draft-ietf-netconf-notification-messages/?
include_text=1> draft-ietf-netconf-notification-messages *just* to discover
this single element of client functionality seems overkill/heavyweight.

 

I was fine with letting this remote capabilities discovery question sit for
a while.   However draft-ietf-netconf-https-notif
<https://tools.ietf.org/html/draft-ietf-netconf-https-notif-01>  shows that
we now must address this question.  Specifically should the diagram section
1.4.1 show this capability exchange?  

 

It turns out that independent of draft-ietf-netconf-notification-messages,
there several questions in draft-ietf-netconf-https-notif which need to be
answered prior to the section 1.4.1 arrow: "Send HTTPS POST message with
YANG defined notification #1" anyway.  These questions are:

  (1) Does the targeted HTTPS receiver support configured subscriptions?

  (2) Can the targeted HTTP@ receiver accept a new subscription as described
in a <subscription-started>?

Only if these questions are "yes", should the <subscription-started> be
responded to with an "OK".

 

Add to this a third question driven from (a)-(d):

  (3) Does the receiver support the message type within
"draft-ietf-netconf-notification-messages"?

 

A strawman way to handle the all three questions within
draft-ietf-netconf-https-notif would be to respond to a
<subscription-started> notification with an HTTP Status 202 (Accepted)"
acknowledgement.  This 202 would include body elements listing supported
receiver resources.  Maybe something YANG encoded via
ietf-yang-structure-ext containing:

 

      <foo xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

        <capabilities>

          <capability>

            urn:ietf:params:xml:ns:yang:ietf-notification-messages:1.0

          </capability>

        </capabilities>

      </foo>

 

What do you think of this approach?

 

Eric