Re: [netconf] WGLC on draft-ietf-netconf-notification-messages? (Was Re: Configured receiver capability exchange)
Andy Bierman <andy@yumaworks.com> Fri, 31 January 2020 19:13 UTC
Return-Path: <andy@yumaworks.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 46173120105 for <netconf@ietfa.amsl.com>; Fri, 31 Jan 2020 11:13:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.887
X-Spam-Level:
X-Spam-Status: No, score=-1.887 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 Jmd9cTiKBzIv for <netconf@ietfa.amsl.com>; Fri, 31 Jan 2020 11:13:49 -0800 (PST)
Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (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 4E39D1200F6 for <netconf@ietf.org>; Fri, 31 Jan 2020 11:13:49 -0800 (PST)
Received: by mail-lj1-x22b.google.com with SMTP id h23so8213660ljc.8 for <netconf@ietf.org>; Fri, 31 Jan 2020 11:13:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5SC/7Gwb9abrx79Ixf3N5nMIjSdR3WXcQjpTaDrfN0g=; b=DPROsSS2RWst+pUy6YKab5zcBa49y1I/r2qAom8bRERRTM+6lMRu8RgBm0qLHN4d6u 2N2n/HAXmszo/IqSC5lhQrI0rY/hz4osGmo5Wn4qAyCBy+JhTL7LyjvREe3u1Xol1aLk Cercusr0BWE85fbNagi0+WtJZcSlz4BNwQb6OLCytULFkoAUnfinYpuEGg2HWe7DLbES MOTqpckwdYz3SpEcg+09WaK3jtW/sQ0crPV4birDczYT78WvsZg5mr7lc/FOhVFFpRNt zrSHTovHQR9KkNcyXH86FbbDR5unOhmcDHplzTqnW/PwQzqKAslyjsUaJAcK586nBt5T HgVg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5SC/7Gwb9abrx79Ixf3N5nMIjSdR3WXcQjpTaDrfN0g=; b=oNWZubottt8kotsYVigAL/faPK1KmspQfFsSzO8V4lEzhkBq3F3aKm3TdPOlQEpjqB 3bUG8pro/o41WIiPghCvKYVXzk41tjnu04rHRG1WjJDf+NQdKnc+mpftFYKEXfalMFgz CCMv/mimU3Cl1EUniaBZclHGiSFQnaMI8aySSlBv6lOxQCNsBzfmJaXEZ42eUn3HsO5T V/YDc1WpN/B3tX60PAbyKxLDqQ3idRekwrrIiSspinlgnnsLTrTSfO0aR/gNOpIsfXTD vHyMKmcTRFfCwk/2IM/2iHo3lcmWqABg+U/U9Y176YxiOrURLOVFMx0bQK/yOxKRmzbB r0rg==
X-Gm-Message-State: APjAAAU5MsKktVi72JXQUUOeSBcDnJQToCRN8MpKp3GiodbfAv6ZvVC/ QCm2DliRKggRMjmQccV6nQTfH2yvvAhPBepA8qhj/OtBjrk=
X-Google-Smtp-Source: APXvYqwzhi5lSBNtRTb/5NjCYGtFGCF9ntiVxVRIKzuH1v3SKZAQET1OCUrNhiWQDxxVSRcq9lNK3UCceTEky6CgnEU=
X-Received: by 2002:a2e:5854:: with SMTP id x20mr6319887ljd.287.1580498027295; Fri, 31 Jan 2020 11:13:47 -0800 (PST)
MIME-Version: 1.0
References: <BYAPR11MB25368EF3AFE9E2CBF396B8D0A1370@BYAPR11MB2536.namprd11.prod.outlook.com> <123C86B4-CE8C-4BBD-84CF-630310CEA50E@gmail.com> <CABCOCHShV-yQznA7OncPeTtiknxmNVMQARHU=Jhh=Dki+vsEAg@mail.gmail.com> <BYAPR11MB253666D0F66E0334D2C3361CA1070@BYAPR11MB2536.namprd11.prod.outlook.com>
In-Reply-To: <BYAPR11MB253666D0F66E0334D2C3361CA1070@BYAPR11MB2536.namprd11.prod.outlook.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Fri, 31 Jan 2020 11:13:36 -0800
Message-ID: <CABCOCHQ6S0DqdLBLg7bjLYbnZ5ke2J5zJDJEc0PPG21hG_BU7g@mail.gmail.com>
To: "Eric Voit (evoit)" <evoit@cisco.com>
Cc: Mahesh Jethanandani <mjethanandani@gmail.com>, "netconf@ietf.org" <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000007c4cb1059d745f4a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/uCbXfPPrr6nn8Z5BMX14SRVcyTs>
Subject: Re: [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: Fri, 31 Jan 2020 19:13:53 -0000
Hi Eric, All these changes sound good to me. How about changing the cited text: OLD: These RFCs MUST be updated to enable this draft. These RFCs SHOULD be updated to provide examples NEW: These RFCs need to be updated to enable this draft and provide examples. Andy On Fri, Jan 31, 2020 at 10:04 AM Eric Voit (evoit) <evoit@cisco.com> wrote: > Hi Andy, > > > > *From:* Andy Bierman, January 28, 2020 1:13 PM > > On Mon, Jan 27, 2020 at 4:19 PM Mahesh Jethanandani < > mjethanandani@gmail.com> wrote: > > 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. > > > > > > > > I would like to see clear and consistent text wrt to RFC 5277. > > There is this confusing text: > > > > YANG one-way exchanges currently use a non-extensible header and > > encoding defined in section 4 of RFC-5277 <https://tools.ietf.org/html/rfc5277#section-4>. These RFCs MUST be > > updated to enable this draft. These RFCs SHOULD be updated to > > provide examples > > > > > > This seems inconsistent with this text: > > > > Backwards Compatibility > > > > > > With this specification, there is no change to YANG's 'notification' > > statement > > > > Legacy clients are unaffected, and existing users of [RFC5277 <https://tools.ietf.org/html/rfc5277>], > > [RFC7950 <https://tools.ietf.org/html/rfc7950>], and [RFC8040 <https://tools.ietf.org/html/rfc8040>] are free to use current behaviors until all > > involved device support this specification. > > > > <eric> I don't see these as inconsistent. The YANG notification statement > is defined in RFC-7950 Section 7.16. And legacy clients do not need to > change. > > > It is rather odd to see RFC 2119 language used for a directive to a WG > to take on some sort of work item. (RFCs MUST be updated) > > <eric> I agree that RFC 2119 language is not proper here. Perhaps the > specific changes should be framed as notes to RFC editor. > > > > I think this draft needs some sort of Applicability Statement. Why are > servers supposed > > to use this header and stop using the RFC 5277 header? > > <eric> Makes sense, I will put together some text on this. > > > > The mandatory info like subscription-id is redundant since the payload > already has this info. > > <eric> The subscription-id is only in the notifications defined in > RFC-8641. I.e. "push-update" and " push-change-update". This is the > biggest gap which needs to be remedied. > > > > This new header can make it much more difficult for a client to write code > to process a notification, > > since the header itself would be modeled with YANG and subject to change. > The processing > > may also be slower because the added complexity. It does not seem that > every server needs > > this added complexity. > > <eric> This is one reason that this specification isn't ready to obsolete > RFC-5277 notifications. > > > > Eric > > > > > > > > Cheers. > > > > Mahesh and Kent (as co-chairs). > > > > > > > > Andy > > > > 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 > > > > > > > > _______________________________________________ > netconf mailing list > netconf@ietf.org > https://www.ietf.org/mailman/listinfo/netconf > >
- [netconf] Configured receiver capability exchange Eric Voit (evoit)
- Re: [netconf] Configured receiver capability exch… Balázs Lengyel
- Re: [netconf] Configured receiver capability exch… Eric Voit (evoit)
- Re: [netconf] Configured receiver capability exch… Eric Voit (evoit)
- Re: [netconf] Configured receiver capability exch… Martin Bjorklund
- Re: [netconf] Configured receiver capability exch… Eric Voit (evoit)
- Re: [netconf] WGLC on draft-ietf-netconf-notifica… Andy Bierman
- Re: [netconf] Configured receiver capability exch… Mahesh Jethanandani
- Re: [netconf] Configured receiver capability exch… Eric Voit (evoit)
- Re: [netconf] Configured receiver capability exch… Mahesh Jethanandani
- [netconf] WGLC on draft-ietf-netconf-notification… Mahesh Jethanandani
- Re: [netconf] WGLC on draft-ietf-netconf-notifica… Eric Voit (evoit)
- Re: [netconf] WGLC on draft-ietf-netconf-notifica… Andy Bierman
- [netconf] 答复: WGLC on draft-ietf-netconf-notifica… Tianran Zhou
- Re: [netconf] WGLC on draft-ietf-netconf-notifica… wangzitao
- Re: [netconf] WGLC on draft-ietf-netconf-notifica… Eric Voit (evoit)
- Re: [netconf] WGLC on draft-ietf-netconf-notifica… Qin Wu
- Re: [netconf] WGLC on draft-ietf-netconf-notifica… Eric Voit (evoit)
- Re: [netconf] WGLC on draft-ietf-netconf-notifica… Qin Wu
- Re: [netconf] WGLC on draft-ietf-netconf-notifica… Eric Voit (evoit)
- Re: [netconf] WGLC on draft-ietf-netconf-notifica… Qin Wu
- Re: [netconf] WGLC on draft-ietf-netconf-notifica… Eric Voit (evoit)
- Re: [netconf] WGLC on draft-ietf-netconf-notifica… Qin Wu