Re: [Netconf] yang push drafts

Andy Bierman <andy@yumaworks.com> Thu, 19 May 2016 14:47 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 AF7CF12D501 for <netconf@ietfa.amsl.com>; Thu, 19 May 2016 07:47:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 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_LOW=-0.7, SPF_PASS=-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 qo6NTHrWfPjK for <netconf@ietfa.amsl.com>; Thu, 19 May 2016 07:47:32 -0700 (PDT)
Received: from mail-yw0-x230.google.com (mail-yw0-x230.google.com [IPv6:2607:f8b0:4002:c05::230]) (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 5350B12D50B for <netconf@ietf.org>; Thu, 19 May 2016 07:47:32 -0700 (PDT)
Received: by mail-yw0-x230.google.com with SMTP id g133so80238745ywb.2 for <netconf@ietf.org>; Thu, 19 May 2016 07:47:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=dswWl/1EQj95WLmKR9A1ZkcBOfIEyVhvIN9f3gwdEcY=; b=qZt0b38Td2Mv9bgzXsDLWFfntvzwuiBTFehKiOGLoMbxC7xSxs58pxZ4l6IvpIoVJE 2BuM5bJHztoSNEkKAGPWUcw1V3z7yKcXH8mCDEGE+RabY9I2hPvrbLgyUDsebx7a36/P VRLtZID6UckkOYaf9RGpk+lrUY9PLCU4NWaGTTsxgQqqEajWyljFomJa1x3AA88SorVj x5E9BEeB4QVjto7Am6pyQTVBjLP+yPg0T0CnaFRR8OrXGVPM5wfq5dQJ3VT6ayR/pOA3 8NMNi0cGqUV9y3A6Nz7n7bpp+qRbSfZLQHBjaaflycvUJl/WPm7cO1ocJEb1zB+Vp1UU 54kA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=dswWl/1EQj95WLmKR9A1ZkcBOfIEyVhvIN9f3gwdEcY=; b=QTW7o2yiB1w+9w2wxm39TfmXaD4wDtwoafl5+sPiyHjg4QBiMW25VY3ucAaySYTgb0 JcIMC1MOdVTw12gmFml6Kq/yLW5k46V+c2iF3dlBX9QSyPLeOfiQgWNoyjZB1fVM+1iG Z3hSYI7cbaJPZo08Q5DdsTSqsKtGZdaVONUbJHvuegw+raRl402klnaL7nOSkZCaMxNR LV8x3SmNcPuQLwNaORWPoWiCXERz1rnMajAL/iHGnjYRZJqQMVX/q5mdpj77SzqqQlOj HHBXXlkmMC3p/vSDZQ17nLOH6mJz6wmu9Moqfi0/8lQtbFJRbExHoAL6tCja3EkW3DeP 0FIg==
X-Gm-Message-State: AOPr4FWH646SP6NIygfgLAtxVdatyzttI2oK2GpxQ/ScvsfadN1odOX2SDeV1tIKapeKgLEGovkKq61QSKkKvQ==
MIME-Version: 1.0
X-Received: by 10.37.80.133 with SMTP id e127mr2188480ybb.162.1463669251606; Thu, 19 May 2016 07:47:31 -0700 (PDT)
Received: by 10.37.44.130 with HTTP; Thu, 19 May 2016 07:47:31 -0700 (PDT)
In-Reply-To: <20160519091528.GA1736@elstar.local>
References: <20160407.211618.713559915962370737.mbj@tail-f.com> <5955a6d8c3c349d89df9bea9d9d400b0@XCH-RTP-001.cisco.com> <20160408.083656.300674541946534958.mbj@tail-f.com> <f2afe3db62d943eaa07ab08193472f51@XCH-RTP-013.cisco.com> <7711f8d0-b1ea-da04-d811-837fa7064fd9@ericsson.com> <20160519091528.GA1736@elstar.local>
Date: Thu, 19 May 2016 07:47:31 -0700
Message-ID: <CABCOCHQWtLrPA6GQc743UZp+hM5qx5xgyxhj3NT4-7RX6uPFAA@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Balazs Lengyel <balazs.lengyel@ericsson.com>, "netconf@ietf.org" <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="001a113e9b6ccfc3c60533330d2b"
Archived-At: <http://mailarchive.ietf.org/arch/msg/netconf/rFcf_IdruV-nj28b7Q2MVhzGB1o>
Subject: Re: [Netconf] yang push drafts
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Network Configuration WG mailing 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: Thu, 19 May 2016 14:47:38 -0000

On Thu, May 19, 2016 at 2:15 AM, Juergen Schoenwaelder <
j.schoenwaelder@jacobs-university.de> wrote:

> On Thu, May 19, 2016 at 11:00:59AM +0200, Balazs Lengyel wrote:
> >
> >    1) Implementing yang-push for every data bit e.g. counters will make
> it
> >    difficult for some of our nodes to implement yang-push. I propose to
> have
> >    a yang-extension "not-notifiable"  that indicates that for a specific
> >    data-node datastore change notifications  will not be sent. An
> alternative
> >    could be to define streams that filter out fast changing data-nodes
> like
> >    counters. However how do we know from the model which data nodes are
> >    counters and which are slow changing state data for which
> notifications
> >    are needed: to solve this I think a yang-extension would be good.
> >
>
> I am not sure that pushing this decision to the data model writer is a
> good solution. How does a model writer decide which schema nodes to
> mark as 'not-notifiable'? Sure, there are cases where this may be
> clear but then there are also many cases where it is usage dependent
> whether an object can change too fast or there might be platform
> specific implementation constraints (that should not be documented in
> a data model).
>
> I think there are two alternatives: Make it runtime discoverable on
> which data nodes I can request change notifications or require that I
> can request change notifications on all data nodes but have a
> mechanism in place through which the system can tell me that certain
> data nodes will be excluded. On some systems, I might also have limits
> concerning the granularity (e.g., I get change notifications at max
> every N seconds but not on each individual change).
>
> Anyway, I do not know what the right solution is but to me it sounds
> wrong to push the decision on the data model writer.
>
>


I agree -- the frequency of YANG Push updates is dervied from the usage,
not the definition.

I do not like the use of a subtree filter to select the data do push.
I prefer a list of subtree identifiers.  The server could reject specific
subtree requests
if it decides the update frequency is too high.

A solution that allows the client to know the expected update frequency of
a specific subtree
would be useful.

Resource management is the hardest part of YANG Push.  The current draft
puts an impossible
burden on the server.  A realistic solution would include counters for the
client to inspect,
including drop counters for each subscription receiver address. It would
allow the server
to adjust parameters and report the differences.


/js
>
>
Andy


> --
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>
>
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
>