Re: [Rtg-yang-coord] Clearing all stats in a container

"Susan Hares" <shares@ndzh.com> Thu, 05 March 2015 10:53 UTC

Return-Path: <shares@ndzh.com>
X-Original-To: rtg-yang-coord@ietfa.amsl.com
Delivered-To: rtg-yang-coord@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A1FC41B2BD3 for <rtg-yang-coord@ietfa.amsl.com>; Thu, 5 Mar 2015 02:53:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -97.654
X-Spam-Level:
X-Spam-Status: No, score=-97.654 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DOS_OUTLOOK_TO_MX=2.845, HTML_MESSAGE=0.001, USER_IN_WHITELIST=-100] autolearn=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 OOMjjefgajJH for <rtg-yang-coord@ietfa.amsl.com>; Thu, 5 Mar 2015 02:53:09 -0800 (PST)
Received: from hickoryhill-consulting.com (hhc-web3.hickoryhill-consulting.com [64.9.205.143]) by ietfa.amsl.com (Postfix) with ESMTP id 867BA1B2BCA for <rtg-yang-coord@ietf.org>; Thu, 5 Mar 2015 02:53:09 -0800 (PST)
X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=74.43.47.92;
From: "Susan Hares" <shares@ndzh.com>
To: "'Mahesh Jethanandani'" <mjethanandani@gmail.com>, <rtg-yang-coord@ietf.org>
References: <730D50D3-0220-42BA-8DD0-40A10D9C2DA3@gmail.com>
In-Reply-To: <730D50D3-0220-42BA-8DD0-40A10D9C2DA3@gmail.com>
Date: Thu, 5 Mar 2015 05:53:05 -0500
Message-ID: <0ba001d05732$8f380960$ada81c20$@ndzh.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0BA1_01D05708.A662C4B0"
X-Mailer: Microsoft Outlook 14.0
Content-Language: en-us
Thread-Index: AQGYI06KPAUPsuQfnvJOE5NMa0eYcJ1+HgGA
X-Authenticated-User: skh@ndzh.com
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/35bgsaroS7Yg8GPaBeTOAcLNpbY>
Subject: Re: [Rtg-yang-coord] Clearing all stats in a container
X-BeenThere: rtg-yang-coord@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "\"List to discuss coordination between the Routing related YANG models\"" <rtg-yang-coord.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-yang-coord>, <mailto:rtg-yang-coord-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtg-yang-coord/>
List-Post: <mailto:rtg-yang-coord@ietf.org>
List-Help: <mailto:rtg-yang-coord-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-yang-coord>, <mailto:rtg-yang-coord-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Mar 2015 10:53:10 -0000

Mahesh:

 

Would you post an example of how to put statistic counters into a container.
We have multiple drafts in I2RS that provide such counters.  I will forward
your advice to all authors so they can modify their yang modules to match
the appropriate form. 

 

Sue 

 

From: Rtg-yang-coord [mailto:rtg-yang-coord-bounces@ietf.org] On Behalf Of
Mahesh Jethanandani
Sent: Thursday, March 05, 2015 1:31 AM
To: rtg-yang-coord@ietf.org
Subject: [Rtg-yang-coord] Clearing all stats in a container

 

Assuming one has defined stat counters in one container, like
ietf-interfaces has done with its statistics, does anyone have suggestions
on how one can essentially clear (reset to 0) all the counters in that
container.

 

Mahesh Jethanandani

mjethanandani@gmail.com