Re: [OPSAWG] A review of draft-ietf-opsawg-yang-vpn-service-pm-01

Adrian Farrel <adrian@olddog.co.uk> Tue, 18 January 2022 17:28 UTC

Return-Path: <adrian@olddog.co.uk>
X-Original-To: opsawg@ietfa.amsl.com
Delivered-To: opsawg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 72D183A02D0; Tue, 18 Jan 2022 09:28:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] 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 8kru9OGYTVII; Tue, 18 Jan 2022 09:28:39 -0800 (PST)
Received: from mta6.iomartmail.com (mta6.iomartmail.com [62.128.193.156]) (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 273353A0147; Tue, 18 Jan 2022 09:28:38 -0800 (PST)
Received: from vs2.iomartmail.com (vs2.iomartmail.com [10.12.10.123]) by mta6.iomartmail.com (8.14.4/8.14.4) with ESMTP id 20IHSPxS030379; Tue, 18 Jan 2022 17:28:25 GMT
Received: from vs2.iomartmail.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EC7194604B; Tue, 18 Jan 2022 17:28:24 +0000 (GMT)
Received: from vs2.iomartmail.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E081E46048; Tue, 18 Jan 2022 17:28:24 +0000 (GMT)
Received: from asmtp2.iomartmail.com (unknown [10.12.10.249]) by vs2.iomartmail.com (Postfix) with ESMTPS; Tue, 18 Jan 2022 17:28:24 +0000 (GMT)
Received: from LAPTOPK7AS653V ([185.69.145.142]) (authenticated bits=0) by asmtp2.iomartmail.com (8.14.4/8.14.4) with ESMTP id 20IHSNII022484 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 18 Jan 2022 17:28:24 GMT
Reply-To: adrian@olddog.co.uk
From: Adrian Farrel <adrian@olddog.co.uk>
To: "'Wubo (lana)'" <lana.wubo@huawei.com>, draft-ietf-opsawg-yang-vpn-service-pm@ietf.org
Cc: opsawg@ietf.org
References: <27489f4699954725b03765ea38c2a3ba@huawei.com>
In-Reply-To: <27489f4699954725b03765ea38c2a3ba@huawei.com>
Date: Tue, 18 Jan 2022 17:28:22 -0000
Organization: Old Dog Consulting
Message-ID: <099101d80c90$cbed9a80$63c8cf80$@olddog.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQJDFKT3sX2UJBF1bUpj0vKq+yxaeauS9xCA
Content-Language: en-gb
X-Originating-IP: 185.69.145.142
X-Thinkmail-Auth: adrian@olddog.co.uk
X-TM-AS-GCONF: 00
X-TM-AS-Product-Ver: IMSVA-9.1.0.2090-8.6.0.1018-26662.001
X-TM-AS-Result: No--8.931-10.0-31-10
X-imss-scan-details: No--8.931-10.0-31-10
X-TMASE-Version: IMSVA-9.1.0.2090-8.6.1018-26662.001
X-TMASE-Result: 10--8.930600-10.000000
X-TMASE-MatchedRID: Kx0w2sAofbuWfDtBOz4q23FPUrVDm6jtkYC3rjkUXRK9P3995H/RpYOn uF06ZzclR420fV/d73jMoUBG5E4SWnohyDgDbVJyoxjrap5AGQtx/YI+Z5QJkldZsJXctXRjcqD dkIibZdE6MtNIfkxbmWFAgIqcIJiOui2nDiJRB7+qFx2c/3V5cQ73P4/aDCIFzVgwP7ZMYf8bZx /vTCU+rSj/QD1zcMvovXzp7a/FGyDZT4wRW+UIxcp2qvVCXCZBTxL5U2EWaltw9p8oKhdgf/u6q ZhakvjEF8tOPmB0gmG+98RuswTTHzc8bGG/tqQZpyEWs4H2Rqf4uJ1REX4MHRPPSVsw1R+YcDCL yqWYjai4c8/oqJ/XDVX55Ha1rfOEDSsx3Wb5DQm0pXj1GkAfey/6pa9YxNkxB1yNUqP7fb0OPOo gdbkzeX4/43RoMhPeLEpwq1GBbqUR8xtB0+bQW2zBijri5+RVSuH+GfgmQGfpOZRN7gGHjLWODd Z1PDmEiKqoy96VgEE2LvGHDLdFPxzyuptzwYxH/Dqfzvx5zFRvQ1w4VLB58t7p0Ru8jKvF2lKWG s+cf/Hi8zVgXoAltlwtzewu2M63VkVZa47CjvArN8z0HohG3voLR4+zsDTt+Tf0tcxKuLodA8PM f9I+PDDHGOmDI6pGDFVkLWZCrnBw+X6TEuvBTg==
X-TMASE-SNAP-Result: 1.821001.0001-0-1-22:0,33:0,34:0-0
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsawg/X1uLRMm72zj_1b3jrPD0GFADVBw>
Subject: Re: [OPSAWG] A review of draft-ietf-opsawg-yang-vpn-service-pm-01
X-BeenThere: opsawg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OPSA Working Group Mail List <opsawg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/opsawg>, <mailto:opsawg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/opsawg/>
List-Post: <mailto:opsawg@ietf.org>
List-Help: <mailto:opsawg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/opsawg>, <mailto:opsawg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Jan 2022 17:28:46 -0000

Hi Bo,

Thanks for the positive response.

Replies to you below. Summary: all good!

Best,
Adrian

>> Looking at Figure 1, an obvious question is why this model doesn't
augment the
>> L2/L3NM or the common VPN model. It is OK (for me) that you have chosen
to
>> augment the network topology model, but it is not clear to the reader why
you
>> have done this.
>> 
> [Bo]Thanks. We think it is useful to add some text to explain. How about
adding some text like this:
> The performance of VPN services is associated with the performance changes
of the underlay network that carries VPN services, such as the delay of the
underlay tunnels and the packet loss status of the device interfaces.
> Additionally, the integration of Layer 2/Layer 3 VPN performance and
network performance data enables the orchestrator to subscribe to VPN
service performance in a unified manner. 
> Therefore, this document defines a YANG module for both network and VPN
service performance monitoring (PM).

Nice

>> I wonder whether the work in this document would benefit from using data
>> tags (draft-ietf-netmod-node-tags). I might be wrong, but it seems
particularly
>> related and useful.
>> 
> [Bo]Agree. We think draft-ietf-netmod-node-tags can helps PM accurately
subscribe to metric-related data. How about the following text in section 3
Network and VPN Service Performance Monitoring Model Usage:
> VPN and network performance management focus on the performance metric
data of network devices. To avoid receiving a large amount of operational
data of VPN instances, VPN interfaces, or tunnels, 
> The controller can specifically subscribe to metric-specific data using
the methods defined in draft-ietf-netmod-node-tags.

Good

>> 5.
>> 
>> General question about counters based on my memory of how we did MIBs (So
>> I am old! Quite possible that YANG does this differently.) Don't you need
>> something to handle resets? That is, to distinguish between wrapping and
>> resetting, we used to include a timestamp for when the counters were last
>> reset. Sometimes this was a timestamp per counter, but usually enough for
one
>> timestamp across all counters.
>> 
>> (This probably makes a difference to the gauges and percentiles, too.)
>> 
>> Re-reading, it is possible that this is covered by 'reference-time' and
>> 'measurement-interval'.  If so, this could be a lot clearer in 4.4.
>> 
> [Bo] Yes. Your understanding about 'reference-time' and
'measurement-interval' is correct. We will add text in 4.4 to make it
clearer.
> 'reference-time': Indicates the start time of the performance measurement.
> 'measurement-interval' : Specifies the performance measurement interval,
in seconds.

Perfect