Re: [netmod] Smart filters for YANG-Push

Alexander Clemm <alexander.clemm@huawei.com> Tue, 03 July 2018 21:13 UTC

Return-Path: <alexander.clemm@huawei.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 66B2D130F82; Tue, 3 Jul 2018 14:13:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.19
X-Spam-Level:
X-Spam-Status: No, score=-4.19 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] autolearn=ham autolearn_force=no
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 9q-dwO2BnHbM; Tue, 3 Jul 2018 14:12:55 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [194.213.3.17]) (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 9E49D13109B; Tue, 3 Jul 2018 14:12:46 -0700 (PDT)
Received: from LHREML710-CAH.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 32D5DC6458B42; Tue, 3 Jul 2018 22:12:42 +0100 (IST)
Received: from SJCEML701-CHM.china.huawei.com (10.208.112.40) by LHREML710-CAH.china.huawei.com (10.201.108.33) with Microsoft SMTP Server (TLS) id 14.3.382.0; Tue, 3 Jul 2018 22:12:44 +0100
Received: from SJCEML521-MBX.china.huawei.com ([169.254.1.141]) by SJCEML701-CHM.china.huawei.com ([169.254.3.186]) with mapi id 14.03.0382.000; Tue, 3 Jul 2018 14:12:40 -0700
From: Alexander Clemm <alexander.clemm@huawei.com>
To: Balazs Lengyel <balazs.lengyel@ericsson.com>, "netmod@ietf.org" <netmod@ietf.org>
CC: "netmod-chairs@ietf.org" <netmod-chairs@ietf.org>
Thread-Topic: [netmod] Smart filters for YANG-Push
Thread-Index: AdQSXGYSlkIq0ljnSr2PXfacfcR+7AAxEy0AAAPwnlA=
Date: Tue, 03 Jul 2018 21:12:39 +0000
Message-ID: <644DA50AFA8C314EA9BDDAC83BD38A2E0EB1D391@sjceml521-mbx.china.huawei.com>
References: <644DA50AFA8C314EA9BDDAC83BD38A2E0EB1CE03@sjceml521-mbx.china.huawei.com> <177d14fe-a3db-41d9-ae05-3d7bb5e109ea@ericsson.com>
In-Reply-To: <177d14fe-a3db-41d9-ae05-3d7bb5e109ea@ericsson.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.209.217.0]
Content-Type: multipart/alternative; boundary="_000_644DA50AFA8C314EA9BDDAC83BD38A2E0EB1D391sjceml521mbxchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/-nJKSydhJ3FWP4miNxWjlpSxCHE>
Subject: Re: [netmod] Smart filters for YANG-Push
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2018 21:13:06 -0000

Hi Balazs,

thank you for your suggestion!  Brief responses inline.

--- Alex

From: Balazs Lengyel [mailto:balazs.lengyel@ericsson.com]
Sent: Tuesday, July 03, 2018 8:54 AM
To: Alexander Clemm <alexander.clemm@huawei.com>; netmod@ietf.org
Cc: netmod-chairs@ietf.org
Subject: Re: [netmod] Smart filters for YANG-Push


Hello,

You should make the new filter types separate chapters, to make them more visible.

threshold crossing alert:

  *   I would rather say you have a single filter with a raise and clear condition. You never really want a threshold filter without a paired clear filter
<ALEX> Agree on TCA needing to have both threshold and hysteresis threshold.  </ALEX>

  *   this should be connected to an alarm based on draft-ietf-ccamp-alarm-module. You should have the possibility of raising an alarm when the threshold is passed.
<ALEX> Need to check it out </ALEX>

  *   the term counter filter is confusing as it invokes the idea of a gauge (a filter based on counting something) instead of a reverse filter
<ALEX> Actually, this is a miswording.  What was meant is not a filter on counters, but a second filter to alternate with the first, analogous to threshold crossing alerts (with hysteresis, or "counter" threshold).  Will need to rephrase this to clarify.  <ALEX>

  *   mention that smart filters will obviously place a load on the server. Can they be rejected/suspended/resumed like a subscription.
<ALEX> Yes, load is a valid concern, this is also mentioned in the security concerns.  Haven't thought about whether suspend/resume makes sense; the ability to reject, yes certainly, and should be mentioned.  Thanks!
</ALEX>


regards Balazs

On 7/3/2018 1:37 AM, Alexander Clemm wrote:
Hello Netmod Working Group,

we have just submitted a new draft on Smart Filters for Push Updates: https://tools.ietf.org/html/draft-clemm-netmod-push-smart-filters-00

This draft supersedes  draft-clemm-netconf-push-smart-filters-ps that recently expired.  The draft involves the definition of  a YANG data model that allows to define more advanced filters than the ones defined with YANG-Push, specifically filters that can take into account values of data nodes as well as state.  This allows to define filters for thresholds, recent high-water marks, and more.  It is also a building block for network automation, providing the event portion for many types of Event-Condition-Action-based control loops.  The draft at this point contains little more than the motivation and problem statement; the actual YANG data model is still to be defined; however, we felt it would be good to have a placeholder posted so we can have discussions in Montreal.

--- Alex (on behalf of coauthors: Eric, Xiufeng, Igor, Tianran, Walker, Henk)





_______________________________________________

netmod mailing list

netmod@ietf.org<mailto:netmod@ietf.org>

https://www.ietf.org/mailman/listinfo/netmod



--

Balazs Lengyel                       Ericsson Hungary Ltd.

Senior Specialist

Mobile: +36-70-330-7909              email: Balazs.Lengyel@ericsson.com<mailto:Balazs.Lengyel@ericsson.com>