Re: [netconf] Configured receiver capability exchange

Balázs Lengyel <balazs.lengyel@ericsson.com> Fri, 17 January 2020 12:27 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 1172E120836 for <netconf@ietfa.amsl.com>; Fri, 17 Jan 2020 04:27:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 YN_RBTIJt3MK for <netconf@ietfa.amsl.com>; Fri, 17 Jan 2020 04:27:13 -0800 (PST)
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10067.outbound.protection.outlook.com [40.107.1.67]) (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 64D6B12003F for <netconf@ietf.org>; Fri, 17 Jan 2020 04:27:12 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FM2AJln+Tu6NNCH8qunOiU4S/OXDVzQNJwaY06SOGS8AmGfUOlVJVpk9lb3WfeQB7BbQjwYBQPhyJKrBmAe7xyc53tV/UoFavBL8cSJhZkFxjwCM7pQtcCCqpOG/jhybLtvPUWLxU7eFVX0glwiN1X1wckckhNKODk4m6h4SMQLOh4ChFqPrVJpSxMBDbNC2OoaiTUyX9ZzNWMC/f7GGn/x9gsiogEbhionKgNTTFRXmO8Ujy9NP0DJ8YvFaYF0jHRMy5OnSSut4OzbsoeoBKqgWF4loGDXE5z95zJbf1P9rhlLLSbnSOJ9kXOjh9iwVqdyVuuC9Vjx3os79rcFjeQ==
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=ezzyXUdDrR1OYbyrKbpLuMWhzstp5igVCiLbR1ejhNQ=; b=T6tmfbODHjY+JFJfEHJPWU/wAcx3KhXN30ZB5F5tqhFxk/QAWWOqpXNhnjBMYwc7o1ai3omwntwnPYRUw6UcRd6PUYpwjNTA9HZUQL1st+ne4t3h2MOnIf3hhKEXuQqM+72I6+WGhmqIUIhxPKhEJ+1viYdi29GTxCN/upfj98UT+KwK3XjrZ40czC7MKwuoAMSfxvcoLy8w17kan79cZC2HGMOAxXXTxOZk4pc0F+axOxm3pkDE2H72xuq/RevvwU1YNnmIKOxqxYe676Tik6b6tSQAXFi+d47CtIO3eYbGbbI8FrX6VUbmLOX6jWrLYEL+6NithpPaim4dFc7i5w==
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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ezzyXUdDrR1OYbyrKbpLuMWhzstp5igVCiLbR1ejhNQ=; b=TYj865o6QsBf6eSjZYBSN0f8JBnTONK7EX5UIWzLVyQ63whYwnJnGEUfkLDwaNnTHhLNtrMLEGzJ46GW+nBJ0YDnEvTFGpa/y/MkxDEa0BXC+HT0UsaWlGKLfD/8iL1TqaGzVCUDm8Q800Mn8Egx514HOMyCne0BInmmLfMbMQI=
Received: from VI1PR07MB4047.eurprd07.prod.outlook.com (52.134.20.154) by VI1PR07MB6111.eurprd07.prod.outlook.com (20.178.124.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.6; Fri, 17 Jan 2020 12:27:10 +0000
Received: from VI1PR07MB4047.eurprd07.prod.outlook.com ([fe80::819:a879:8fe2:1686]) by VI1PR07MB4047.eurprd07.prod.outlook.com ([fe80::819:a879:8fe2:1686%5]) with mapi id 15.20.2644.015; Fri, 17 Jan 2020 12:27:10 +0000
From: Balázs Lengyel <balazs.lengyel@ericsson.com>
To: "Eric Voit (evoit)" <evoit@cisco.com>, Mahesh Jethanandani <mjethanandani@gmail.com>
CC: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: Configured receiver capability exchange
Thread-Index: AdXL4TILBTPP/wetTxqO44ff1VxXqQBT5rgg
Date: Fri, 17 Jan 2020 12:27:09 +0000
Message-ID: <VI1PR07MB40470BE1301037BFF3996308F0310@VI1PR07MB4047.eurprd07.prod.outlook.com>
References: <BYAPR11MB25368EF3AFE9E2CBF396B8D0A1370@BYAPR11MB2536.namprd11.prod.outlook.com>
In-Reply-To: <BYAPR11MB25368EF3AFE9E2CBF396B8D0A1370@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=balazs.lengyel@ericsson.com;
x-originating-ip: [89.135.192.225]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: df5b193d-32f9-4ed0-a55c-08d79b4892de
x-ms-traffictypediagnostic: VI1PR07MB6111:
x-microsoft-antispam-prvs: <VI1PR07MB611187C785C6AC0F8E7B9DDAF0310@VI1PR07MB6111.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:6108;
x-forefront-prvs: 0285201563
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(376002)(396003)(346002)(136003)(39860400002)(199004)(189003)(53546011)(6506007)(55016002)(7696005)(9686003)(9326002)(86362001)(71200400001)(2906002)(110136005)(316002)(26005)(66574012)(3480700007)(4326008)(478600001)(186003)(5660300002)(52536014)(66946007)(66616009)(8676002)(66556008)(64756008)(66476007)(66446008)(81156014)(81166006)(33656002)(76116006)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR07MB6111; H:VI1PR07MB4047.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: WGnD2Em7j4SylJA7kSnS0Meta0AvDfnURClE31bmO3XQ4kJZILYYswIuCP+TLEkbv3FuSKc5rLSQlXXe3ML+Z0MDa9/dbojaxRdrLalkzKx/4231BAIto0GL4TydXuWEn26nCTeZFpPvDsFxux/qAozIwlj4vHi3hKnBTwrwQMNCUn3C3Hdp1KKJGeEHeUoho3P6Q1+0o5h+d96JvYxneSp3zGFE9A9GtryILnfy/+I5nJRSpRoX5aXJsvDsLZAxR0M8seuFWW1FvsiSzQpw6Ws1uTAIHEEg6Bp7a7M9zMUeNc563hocLWP1uggM/tMz+tj1WcjeqpodI4dbgNlFmKZrosCRGLRgCydtDI50jK0bYcp+13L5eCrOW0sAEUCIWNQmJrDx3Li+dcm7a6sogiXpXWvmjSHgLHNoNJXCm6Oki2xbaTr14xGMBBOa+4Gc6rwqvroIyoDZnNFEwlgEtVwuRVDYUlYusmmtxVm7vFPBqCczl7St0iB/yC3z5PWhjyZfa17IAJMpIOlhhgkxnA==
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_00C5_01D5CD39.D11A7660"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: df5b193d-32f9-4ed0-a55c-08d79b4892de
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jan 2020 12:27:09.9300 (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: OvzuQMklMSjXaR4HNA+MosHKTHd7Oqjf01qZ1dhbMrsoc6FMDEP+9A23Dv63wTWgsZLi7lelkVyVs5YiNAE8oU0Gt9Mz8sV/oPA/dZUSAMA=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB6111
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/mGafL_Pc7RWwISYf9XrPgcg16cc>
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 12:27:20 -0000

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> On Behalf Of Eric Voit (evoit)
Sent: 2020. január 15., szerda 21:23
To: Mahesh Jethanandani <mjethanandani@gmail.com>
Cc: 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