[netconf] WGLC on draft-ietf-netconf-notification-messages? (Was Re: Configured receiver capability exchange)

Mahesh Jethanandani <mjethanandani@gmail.com> Tue, 28 January 2020 00:19 UTC

Return-Path: <mjethanandani@gmail.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 10CB43A117B for <netconf@ietfa.amsl.com>; Mon, 27 Jan 2020 16:19:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 Ybe1JybL__KM for <netconf@ietfa.amsl.com>; Mon, 27 Jan 2020 16:19:09 -0800 (PST)
Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E8BC53A1178 for <netconf@ietf.org>; Mon, 27 Jan 2020 16:19:08 -0800 (PST)
Received: by mail-pf1-x42d.google.com with SMTP id q10so5698532pfs.6 for <netconf@ietf.org>; Mon, 27 Jan 2020 16:19:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=tDRc8sCh9s2A4zV5Pgd5KxhA+oXAnPUcrT9V6lAg3pM=; b=MOGpIrDAO+rllH5XavdJelqDyYMB/3gwB/jGt4vRdwarOMxZ2K2t2pu1mhRH3NAYXi bRo6OY90OuFfCEwcqLcEoLTVHwdD1h2gufVemMaIs6MZorLm5YlVy7l8hor7dgWOJEkF aHHB/reBG7KSAlhMCbWQpgL2fdHB7bL+Kv3VL9xmr81bacdR6rYcwpx1G8uW5kDjX9gS hJS+TvCsLT4Y6m+ky1Ztu5R7fXnVgSBndBmVbRvxNxiKJhX0XQyWLA3rkK5q6x3vh686 On4dc3c1BJC52NaIqMW9uXiX6cdeJtkFb8lS6ZmPgVLiVllTqDp05jjlbcD11zq6ZhSB Qb6Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=tDRc8sCh9s2A4zV5Pgd5KxhA+oXAnPUcrT9V6lAg3pM=; b=kVeFg0FHAbQ+GN2cC5vEOfgNea3zcHd8GkqvR2pEyXbvwkeg7WMGabn/TJquDFtWw4 k/l2UhGUARPKal+C1pIPoEvSlWx4dksx7JGC0+Oi6Unk1zg3MyCWIzrq6C2XUd5H1b75 FX2piR+npA1xT5gNsCmmI20QVSWaFydMdy+SMjR7uFvs4jA77QRruo6bG7FJSGaJKwSW MtZglpE5hqLH/ogw13Tb9X84vy3fJrtsWI3f1de6VfprIr1g2y2pXFGD4p8lbdxZNGvh c2SCa6qFIP+KxxVrj1Tztwel4yQC/3+VjB1Rzmp9O1XEOFfYsFX+niBQpwyzNmTsOt+R mm8Q==
X-Gm-Message-State: APjAAAUk3NZDEWji+1cHmNdpcz5Z96QDHA2znQ80x3GPRnPkbMUc/M4X olKFIfLFF4q4vtcIE68cV3g=
X-Google-Smtp-Source: APXvYqwYl3GIZS+Pf/G05eyGLqiS9Z+XkXPgXIYfE+TtwlaVNHytzxj9EvMlfdR2UZR48sbu0ZbUKw==
X-Received: by 2002:a63:48d:: with SMTP id 135mr21783183pge.66.1580170748269; Mon, 27 Jan 2020 16:19:08 -0800 (PST)
Received: from [10.33.123.108] ([66.170.99.1]) by smtp.gmail.com with ESMTPSA id d22sm16769426pfo.187.2020.01.27.16.19.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jan 2020 16:19:07 -0800 (PST)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <123C86B4-CE8C-4BBD-84CF-630310CEA50E@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_C100C14A-3DB4-427F-922E-8FC1F3FD9DB1"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
Date: Mon, 27 Jan 2020 16:19:06 -0800
In-Reply-To: <BYAPR11MB25368EF3AFE9E2CBF396B8D0A1370@BYAPR11MB2536.namprd11.prod.outlook.com>
Cc: "netconf@ietf.org" <netconf@ietf.org>
To: "Eric Voit (evoit)" <evoit@cisco.com>
References: <BYAPR11MB25368EF3AFE9E2CBF396B8D0A1370@BYAPR11MB2536.namprd11.prod.outlook.com>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/31U8bj_HMTOp_qtUzGHj_EX_XpU>
Subject: [netconf] WGLC on draft-ietf-netconf-notification-messages? (Was Re: 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: Tue, 28 Jan 2020 00:19:12 -0000

Hi Eric,

This e-mail triggers two responses. Let us deal with draft-ietf-netconf-notification-messages here, and I will bring up comments/questions related to draft-ietf-netconf-https-notif in the other thread.

You have indicated a desire that receiver capabilities should be documented by the transport specific draft, e.g. draft-ietf-netconf-https-notif, and not this draft. As such you believe that the draft is ready.

To the WG, the authors have indicated a desire to wrap up this draft, and would like us, the chairs, to issue a WGLC on it. Before we do that, we wanted to ask if the WG believes that the document is ready, and that there are no more issues that need to discussed/addressed by draft-ietf-netconf-notification-messages document at this time.

Cheers.

Mahesh and Kent (as co-chairs).

> On Jan 15, 2020, at 12:23 PM, Eric Voit (evoit) <evoit@cisco.com> wrote:
> 
> Hi Mahesh,
>  
> During the IETF 106 session, there was discussion on how both a publisher might know if there is receiver support for draft-ietf-netconf-notification-messages <https://datatracker.ietf.org/doc/draft-ietf-netconf-notification-messages/?include_text=1>.  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 draft-ietf-netconf-notification-messages <https://datatracker.ietf.org/doc/draft-ietf-netconf-notification-messages/?include_text=1> *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

Mahesh Jethanandani
mjethanandani@gmail.com