Re: [ippm] draft-cmzrjp-ippm-twamp-yang
Srivathsa Sarangapani <srivathsas@juniper.net> Wed, 09 March 2016 04:30 UTC
Return-Path: <srivathsas@juniper.net>
X-Original-To: ippm@ietfa.amsl.com
Delivered-To: ippm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EC41412DE82; Tue, 8 Mar 2016 20:30:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.903
X-Spam-Level:
X-Spam-Status: No, score=-1.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([127.0.0.1]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1rkmHvWehJHe; Tue, 8 Mar 2016 20:30:39 -0800 (PST)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0107.outbound.protection.outlook.com [207.46.100.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 82C0712DE6B; Tue, 8 Mar 2016 20:30:36 -0800 (PST)
Received: from BY2PR0501MB2133.namprd05.prod.outlook.com (10.163.198.19) by BY2PR0501MB2134.namprd05.prod.outlook.com (10.163.198.20) with Microsoft SMTP Server (TLS) id 15.1.415.20; Wed, 9 Mar 2016 04:30:35 +0000
Received: from BY2PR0501MB2133.namprd05.prod.outlook.com ([10.163.198.19]) by BY2PR0501MB2133.namprd05.prod.outlook.com ([10.163.198.19]) with mapi id 15.01.0415.024; Wed, 9 Mar 2016 04:30:35 +0000
From: Srivathsa Sarangapani <srivathsas@juniper.net>
To: "MORTON, ALFRED C (AL)" <acmorton@att.com>, "draft-cmzrjp-ippm-twamp-yang@ietf.org" <draft-cmzrjp-ippm-twamp-yang@ietf.org>
Thread-Topic: draft-cmzrjp-ippm-twamp-yang
Thread-Index: AdF3HAHePX9ntDaYSdWv78wF9Fcc1wAABxawALOhIYA=
Date: Wed, 09 Mar 2016 04:30:35 +0000
Message-ID: <503FDB26-FC1C-498A-976B-BFB2A74C110C@juniper.net>
References: <4AF73AA205019A4C8A1DDD32C034631D3FF3CBBFF0@NJFPSRVEXG0.research.att.com> <4AF73AA205019A4C8A1DDD32C034631D3FF3CBBFF2@NJFPSRVEXG0.research.att.com>
In-Reply-To: <4AF73AA205019A4C8A1DDD32C034631D3FF3CBBFF2@NJFPSRVEXG0.research.att.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/0.0.0.160212
authentication-results: att.com; dkim=none (message not signed) header.d=none;att.com; dmarc=none action=none header.from=juniper.net;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [116.197.184.11]
x-microsoft-exchange-diagnostics: 1; BY2PR0501MB2134; 5:5nWRhDi8kALAjO7gjFQVKeo6ThsMWIEt26m4JzW8ze3FLriaXgKEkVoCujff17p6v85gnMPvnOYVmeu+nbk9YoeVZkOcztO9bK/s3S8xoLYACjiHH+ULGTsSiGB2MB0oFWwmRoG4lvqwoQXcs/CuXw==; 24:kM8J4qpxQTTiYf7BIoG8fVAiL/32JF1GfKM/QWFCZcGLYPX6HVJ+CYxU52cYD5x7IDDV6cXW1eHjIvPQGB1pHy2mn/c/3dMfa1v/82FXNbA=
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0501MB2134;
x-ms-office365-filtering-correlation-id: dcfd45e6-2d82-4a78-555d-08d347d38f10
x-microsoft-antispam-prvs: <BY2PR0501MB2134F6F65444B4B6B4E22A11D6B30@BY2PR0501MB2134.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(138986009662008);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:BY2PR0501MB2134; BCL:0; PCL:0; RULEID:; SRVR:BY2PR0501MB2134;
x-forefront-prvs: 0876988AF0
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(377454003)(54094003)(51444003)(52604005)(13464003)(33656002)(561944003)(19580405001)(99286002)(19580395003)(82746002)(83506001)(15975445007)(230783001)(66066001)(586003)(6116002)(3846002)(5001770100001)(102836003)(3280700002)(76176999)(10400500002)(50986999)(1096002)(3660700001)(2906002)(1220700001)(122556002)(54356999)(11100500001)(86362001)(5008740100001)(83716003)(81166005)(5004730100002)(87936001)(36756003)(189998001)(2501003)(4326007)(77096005)(5002640100001)(2900100001)(2950100001)(92566002)(1720100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR0501MB2134; H:BY2PR0501MB2133.namprd05.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <D83E50246E20E94399E485F5AB919E95@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Mar 2016 04:30:35.2318 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0501MB2134
Archived-At: <http://mailarchive.ietf.org/arch/msg/ippm/S9eqNMhAcwZ2RY8zjSRUO_I_JWg>
Cc: "ippm@ietf.org" <ippm@ietf.org>
Subject: Re: [ippm] draft-cmzrjp-ippm-twamp-yang
X-BeenThere: ippm@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: IETF IP Performance Metrics Working Group <ippm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ippm>, <mailto:ippm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ippm/>
List-Post: <mailto:ippm@ietf.org>
List-Help: <mailto:ippm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ippm>, <mailto:ippm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Mar 2016 04:30:53 -0000
Hi Al,
Thanks a lot for the detailed answers.
Some questions inline. Please refer [SRI] for the same.
—
Regards,
Vathsa
-----Original Message-----
From: "MORTON, ALFRED C (AL)" <acmorton@att.com>
Date: Sunday, March 6, 2016 at 3:12 AM
To: Srivathsa Sarangapani <srivathsas@juniper.net>, "draft-cmzrjp-ippm-twamp-yang@ietf.org" <draft-cmzrjp-ippm-twamp-yang@ietf.org>
Cc: "ippm@ietf.org" <ippm@ietf.org>
Subject: RE: draft-cmzrjp-ippm-twamp-yang
Hi Vathsa,
Please see replies below, [ACM].
The main follow-up for authors is to check
the description of "repeat" in section 4.1.
Al
>
> Dear Authors,
>
> I had some comments on the draft in IETF 93rd Meeting and some of them
> are adopted. I have listed down the other comments which are still not
> addressed.
> These are some of the parameters which are already being supported in
> Juniper implementation of TWAMP client and Server.
>
> Below are my questions, can you please comment
>
> - Section 5.1:
> | +--rw repeat? uint32
>
> Thanks for making in uint32. Currently if it is 0, it means no more iterations.
> If user wants to run the TWAMP sessions infinitely, how do we handle this?
> So can we change it so that 0 indicates the iterations will run infinitely.
> 1-4294967295 can indicate the number of iterations.
> The default value can be changed to 1 if required.
[ACM]
Changing the Default to one would mean that all sessions would be repeated,
except those where repeat is set to zero. I think that *repeating test sessions*
should be a feature that users have to request explicitly. I'd rather specify
that non-repeating test sessions be the default.
Even though the value is uint32, the description still sounds binary:
repeat and repeat-interval
These two values together are used to determine if the TWAMP-
Test session is to be run repeatedly. Once a test session
has completed, the repeat parameter is checked. If the value
indicates that this test session is to run again, then the
parent TWAMP-Control connection for this test session is
restarted - and negotiates a new instance of this TWAMP-Test
session. This may occur immediately after the test session
completes (if the repeat-interval is set to 0). Otherwise,
the Control-Client will wait for the number of minutes
specified in the repeat-interval parameter before negotiating
the new instance of this TWAMP-Test session. The default
value of repeat is 0, indicating that once the session has
completed, it will not be renegotiated and restarted.
I read this as the value of repeat controls whether the test session
repeats or not. There is no indication of a number of iterations,
or that the value of "repeat" should be decremented each time one
test session completes. So, setting repeat = 1 will give the infinite
Test Session loop you are requesting.
>>>
[SRI]
So with the current options, it is either run test sessions forever or only once.
If a user wants to run some test sessions for 10 times or 100 times, how can he achieve this with the current proposal?
>
> - Section 5.1:
> In case of both twamp-session-sender and twamp-session-reflector, can
> we even store the timestamp of the last-sent-seq and last-rcv-seq
> packets?
> Say along with the below fields:
> | +--ro last-sent-seq? uint32
> | +--ro last-rcv-seq? uint32
> have 2 more fields
> | +--ro last-sent-seq-time? uint64
> | +--ro last-rcv-seq-time? uint64
> This might give more insight on when the last packet was sent and
> when the last packet was received.
> As TWAMP deals with RTT, storing the time stamps might make sense.
[ACM]
Your request for specific timestamps is a bit unexpected.
We included the last sequence numbers to support a quick sanity
check on the test session (did the test terminate prematurely?
did the RT path fail during the test session?)
TWAMP's advantage over ICMP and other Echo replies is that it
requires the four T->R T->R time stamps to calculate both one-way delays
and the two-way delay without reflector processing time.
The test packets will have three of the four timestamps.
And the IPPM delay metric definitions specify storage of T,
the time every packet is sent, and the one-way/round-trip
delay for each packet. So, all of the needed time stamps
are in your results (?) .
>>>
[SRI]
Sorry Al, I completely misunderstood the last-sent-seq as last SUCCESSFULLY sent sequence number which has been acked/replied by the server.
Hence I was proposing to store the timestamp along with the sequence number. I completely agree for last-sent-seq number there is no need to store the packet timings.
Just a thought. How about adding these new variables to aid quick sanity check/debugging purposes:
On session-sender
last-successfully-sent-seq and last-successfully-sent-seq-time :
This indicates the last sequence number, for which the session-reflector has acked/replied back and that was successfully received by session-sender.
On session-reflector
last-successfully-rcv-seq and last-successfully-rcv-seq-time :
This indicates the last sequence number, the session-reflector has acked/replied back.
Based on whether the last-successfully-sent-seq and last-successfully-rcv-seq values, it can be known that whether the path from Session-Sender to Session-Reflector has gone bad or the reverse path has gone bad.
Say, if both the values are same, then it means the Tx path from Session-sender has gone for a toss and if both are different then it means the Tx path(Rx path) from(to) Session-reflector(Session-sender) has gone bad.
>
> - Can we add a configuration on server side to add a list of client IPs
> from which the server can accept the connections?
> Doing this gives an option to server to accept only genuine
> connection requests and not from some spurious clients.
> This was discussed in July meet at Prague.
[ACM]
I imagine that most TWAMP systems embedded in other devices
could rely on the device ACL to perform this function.
The TWAMP way to reject unwanted sessions this is to use
Authenticated mode, of course.
Although this could be a useful feature to add, I wonder
if there is an ACL YANG model already? We could simply
re-use/reference what they have specified…
>>>>
[SRI] Agreed.
>
> - Wanted to propose addition of the below delay stats:
[ACM]
In IPPM, we have defined RFCs for all the fundamental metrics.
For example:
http://tools.ietf.org/html/rfc2681
is Round-trip Delay.
In RFC 3393, we agreed not to use the term "jitter",
http://tools.ietf.org/html/rfc3393#section-1.1
>>>>
[SRI]
I was not aware of this. We can drop jitter from the stats.
Can we include the RTT calculations for the probes?
Also adding the max, min, average, peak-to-peak, stddev for RTT might be a good idea.
RFC 5481 examined different two forms of packet delay variation,
including the version you describe below, which is called
inter-packet delay variation (IPDV). We compared IPDV with
the simple packet delay variation w.r.t minimum delay (PDV),
and found that most use cases were better served by the
network characteristics measured by PDV. The Summary:
http://tools.ietf.org/html/rfc5481#section-7.3
The current solution in the YANG model is to refer to a
Performance Metrics Registry.
pm-index
One or more Numerical index values of a Registered Metric in
the Performance Metric Registry
[I-D.ietf-ippm-metric-registry] comprise the pm-reg-list.
Output statistics are specified in the corresponding Registry
entry.
As you know, TWAMP RFCs control and provide active test packets which
are the basis for calculating metrics. By simply referencing a
registered metric we avoid overlap and maintain TWAMP RFC's scope in
the YANG Model.
Some of us are creating a registry for IANA to help manage,
containing many metrics which are widely used and
known to provide real network performance insight.
It is also possible to use the registry format to create
a private registry.
-=-=-=-=-=-=-=-=-=-=-=-=-
- [ippm] draft-cmzrjp-ippm-twamp-yang Gregory Mirsky
- Re: [ippm] draft-cmzrjp-ippm-twamp-yang Gregory Mirsky
- Re: [ippm] draft-cmzrjp-ippm-twamp-yang Reshad Rahman (rrahman)
- Re: [ippm] draft-cmzrjp-ippm-twamp-yang Gregory Mirsky
- [ippm] draft-cmzrjp-ippm-twamp-yang Srivathsa Sarangapani
- Re: [ippm] draft-cmzrjp-ippm-twamp-yang MORTON, ALFRED C (AL)
- Re: [ippm] draft-cmzrjp-ippm-twamp-yang MORTON, ALFRED C (AL)
- Re: [ippm] draft-cmzrjp-ippm-twamp-yang Srivathsa Sarangapani