Re: [netconf] Adoption-suitability for draft-tao-netconf-data-export-capabilities

Andy Bierman <andy@yumaworks.com> Tue, 11 August 2020 18:10 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 5E1B03A081C for <netconf@ietfa.amsl.com>; Tue, 11 Aug 2020 11:10:33 -0700 (PDT)
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, 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 x_8N85gfNvCA for <netconf@ietfa.amsl.com>; Tue, 11 Aug 2020 11:10:30 -0700 (PDT)
Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) (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 0A30C3A080C for <netconf@ietf.org>; Tue, 11 Aug 2020 11:10:29 -0700 (PDT)
Received: by mail-lj1-x22d.google.com with SMTP id w14so14582666ljj.4 for <netconf@ietf.org>; Tue, 11 Aug 2020 11:10:29 -0700 (PDT)
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=/TAZkQxNrDKoLx3z8PvajXe3hG/4hF5GHpnt4HaSjZE=; b=Ykh+wZqA/Ouv4hzRHIq1ISyRWykSxWSlV6lTbGOUvX8Jp9TtS0J771bQNVuTWrJHYB nsfdNtERFPVlWTInIrrGzb+xIywQGD9m1X2Zs15+Kkg10BNokD5hs72ntwmJIUD80i+m KJF3cvrd/JrclMU3gOESDGkxmJhgeoiOIblWE1xdvxIwmExGVxGhWsoNtABg4BcyTyDb Qi8KRS5/YB68M8CALZ7jJ5hPNgBm66YVEgFna1zEolT/div8lLQoN28PZvWGDK6Yajqb pp0OODgcDSslQLHBRnTrjONTtAXzTvL/Ion+2mfmxGC7yRKFzxp8XEAzMJlo25T2EByN g/9w==
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=/TAZkQxNrDKoLx3z8PvajXe3hG/4hF5GHpnt4HaSjZE=; b=WWBl8dASzS2pL9Uvn4hn2G538wT/yc8ZGMZKJol8N5kiOrHzV3QHrBXzpmUN1+0YjZ cCyMbxT1E9PSYGNB9S2PvhowQiqSX2k3IOa4GwZmVdvTTWGtaeV2algqS2YcOXM9hd2f g3e7+2AijA7cEbU/wXb3aFgBUnfkW+gEdSKtQfYBV+86WRaWZ0i/MGTFhcIx+yqAoLP0 yotZXnLUEEQa/9WjdWbsR/FoFS/Oncoci8u2qOnM8gULHA+cYIhPXJwpMLfF+MsZSK25 RqIPiKGkKipEG9tM3lZzCxi3a/lig8eiaKUe0GXbuZZC1X03AYy8QganCz0CIFPqh/0p w+VQ==
X-Gm-Message-State: AOAM531ThleczCTqYTf7E2YKVRUclVayAiGMFNPCOQpfLEUNrTpcZXeT e7Ic/RZw8bgUZsjRLhH0vTh1zHzusLTkoy5qdV27eg==
X-Google-Smtp-Source: ABdhPJwMb5rLXP2BVr6ia/Wk63tl9/ZbaHXf2nf/lYBAOr5OFJ0UNrEbf6cCXBtQ49rU6E6XfLwurJSsWzdob68rdc4=
X-Received: by 2002:a2e:b619:: with SMTP id r25mr3872488ljn.220.1597169428000; Tue, 11 Aug 2020 11:10:28 -0700 (PDT)
MIME-Version: 1.0
References: <B8F9A780D330094D99AF023C5877DABAAD8FAC16@dggeml511-mbs.china.huawei.com>
In-Reply-To: <B8F9A780D330094D99AF023C5877DABAAD8FAC16@dggeml511-mbs.china.huawei.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 11 Aug 2020 11:10:17 -0700
Message-ID: <CABCOCHTumq+yZzasYb5Z-obC7d92UZ9UmOLexaS6=NdOyd0iEg@mail.gmail.com>
To: Qin Wu <bill.wu@huawei.com>
Cc: Kent Watsen <kent+ietf@watsen.net>, "netconf@ietf.org" <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000670a7705ac9dfc7b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/CscF7GBua2NO4ygt0A078ZiCro8>
Subject: Re: [netconf] Adoption-suitability for draft-tao-netconf-data-export-capabilities
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, 11 Aug 2020 18:10:33 -0000

On Mon, Aug 10, 2020 at 7:09 PM Qin Wu <bill.wu@huawei.com> wrote:

> *发件人:* netconf [mailto:netconf-bounces@ietf.org] *代表 *Andy Bierman
> *发送时间:* 2020年8月11日 3:39
> *收件人:* Kent Watsen <kent+ietf@watsen.net>
> *抄送:* netconf@ietf.org
> *主题:* Re: [netconf] Adoption-suitability for
> draft-tao-netconf-data-export-capabilities
>
>
>
> Hi,
>
>
>
> I am trying to understand the problem this draft is attempting to solve.
>
> The premise seems to be that the error handling and "hints" mechanism
>
> in RFC 8639 and RFC 8641 do not work
>
> [Qin]: The data export capabilities is not designed to replace error
> handling and is positioned as capability negotiation and used before
> netconf connection to be setup,  they are complementary,
>
> error handling will be the last resort
>
> When dynamic subscription request is declined or rejected. Error handling
> is only applicable to dynamic subscription
>
> based on section 3.2 of RFC8641.
>
>
>
> Our argument is why not prevent the problem to happen in the first place
> instead of waiting for the server making mistake and remedy it.
>
> One of principle set by RFC8641 is:
>
> minimize the number of subscription iterations between subscriber and
> publisher, discourage Random guessing of different parameters by a
> subscriber.
>
>
>
> The solution being provided is generic, targeted to address this
> challenge, not only applicable to dynamic subscription, but also configured
> subscription.
>
>

IMO the solution approach does not scale well.
There is very little value for too much complexity.

A set of capabilities for every possible data node that can be used with
YANG Push
will be very large. Any yet, that is still mostly useless, since it is very
likely that
the particular instances of the data node affect the push capabilities.
The filter used in the subscription will have a huge impact on the
capabilities.

Take the most obvious entry -- for the "interface" list.  It is very likely
that the
type of interface, or firmware revision of the line card, or any of a 1000
proprietary
details could change the push parameters supported for that interface.

There are also very vendor-specific capabilities that impose an
implementation design.
This is way out of scope. Example below: Does this mean all vendors need to
change their server code
so it has a set limit per update, based on some new concept you made up
called sensor groups??


     leaf max-nodes-per-sensor-group {
        type uint32 {
          range "1..max";
        }
        description
          "Maximum number of selected data nodes that can be sent
           per sensor group.";
      }
      leaf max-sensor-group-per-update {
        type uint32 {
          range "1..max";
        }
        description
          "Maximum number of sensor groups that can be sent
           in an update.";
      }



Andy



>
> and the client needs to retrieve
>
> extensive monitoring info to determine how to setup notifications on the
> server.
>
>
>
> In theory this data could be used to prevent an <rpc-error> to be returned
>
> for <establish_subscription> or <edit-config>
>
>
>
>
>
> IMO the current approach is much better than this proposed approach.
>
> The server can provide the hints based on the exact request from the
> client.
>
> [Qin]: It may be late, still require multiple subscription iterations
> between subscriber and publisher. But data export has no intention to
> replace it. Error handling have its value in many different cases.
>
> The static "per-node" monitoring data can be quite large, and yet not
> provide
>
> the correct answer for a specific combination of subscription parameters..
>
>
>
> [Qin]: It is server capability exposure, check early implantation time
> information of the capability what the server support (e.g., GRPC
> transport, TCP support, UDP transport support),
>
> not targeted to keep track of dynamic change data.
>
> These capabilities seldom change. In addition, to allow the client compose
> various different subscription policy (e.g., adaptive subscription), we
> require the server to indicate whether specific data object supports
>
> Thresholds handling.
>
> This is missing pieces to support event based telemetry solution.
>
>
>
> Andy
>
>
>
>
>
> On Wed, Aug 5, 2020 at 3:17 PM Kent Watsen <kent+ietf@watsen.net
> <kent%2Bietf@watsen..net>> wrote:
>
>
>
> NETCONF WG,
>
> Per the previous email sent moments ago, the chairs would like to solicit
> input on the following draft:
>
>
>
>    Title: Telemetry Data Export capability
>
>    Link: https://tools.ietf.org/html/
> draft-tao-netconf-data-export-capabilities
>    Abstract:
>
>       This document proposes a YANG module for telemetry data export
>
>       capability which augments system Capabilities model and provides
>
>       additional telemetry data export attributes associated with system
>
>       capability for transport dependent capability negotiation.
>
>
>
>
> In particular, please discuss adoption-suitability as it regards to the
> following questions:
>
>
>
>     1) is the problem important for the NETCONF WG to solve?
>     2) is the draft a suitable basis for the work?
>
>
>
> PS: this message is itself not an adoption poll, but rather an attempt to
> gauge interest/support for a potential future adoption poll.
>
> NETCONF Chairs
>
> _______________________________________________
> netconf mailing list
> netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
>
>