Re: [lmap] Support for multiple report table formats from one task

Ron Stana <ron.stana@viavisolutions.com> Fri, 01 April 2016 01:19 UTC

Return-Path: <ron.stana@viavisolutions.com>
X-Original-To: lmap@ietfa.amsl.com
Delivered-To: lmap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C484112D5E2 for <lmap@ietfa.amsl.com>; Thu, 31 Mar 2016 18:19:12 -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=viavisolutions-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 9FPNJct2za4X for <lmap@ietfa.amsl.com>; Thu, 31 Mar 2016 18:19:09 -0700 (PDT)
Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (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 3FCA912D1A1 for <lmap@ietf.org>; Thu, 31 Mar 2016 18:19:09 -0700 (PDT)
Received: by mail-wm0-x235.google.com with SMTP id f198so6257154wme.0 for <lmap@ietf.org>; Thu, 31 Mar 2016 18:19:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=viavisolutions-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=yQi5j2KmZFib5uRNcYGEemChsUzHAnTCtd9+WK1RB8Y=; b=UN9BpQidIpPOC02KObypcSc52CGRYycG1gJ6I+72csXXDQeMDdstD++H9CNkSZyTci YhdeAiPSpG9ovkAnMzGNe5OvSnWpF2WiTE6hyZhtjV/bLM3T8cuE0PexEKUpI0rMDEk2 h/y8ivJJeqWtR75aRsxb4ZzAtgAq+ex7NQZXFxm/OS8TjknaAxcUjgVItu0VYB2j/1v5 vhAxon6zujApyvxk8rbwLchGc16V3jQQnxahogZrBAP3YWbluVO4VwLqHWlwiXCPeX9X pLMx1CCajE3aLqLdvffVsjqBmOwH7XPim8PoSyr/5t9P/3YTRj1P+NLI4c1Y9HZDIEW+ phDA==
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=yQi5j2KmZFib5uRNcYGEemChsUzHAnTCtd9+WK1RB8Y=; b=DBLCp8rzvu6mqU7GLQqXnI4UmIlHG/Nnx3mM197xFBkE6tvu0+bE3LrOTfiNFL/V5B hVxoBeC2Xxxa27xv8lwPOd3DE8EKuCfk6TPG7b/th3dL/jbDnjFAzxLbSkf+No4NiuBy rLzsl6lZbPQ4vQ77QCQET6v609xs9xl6y/+KgC3/Ywns8LHeMsMj7Lzq7lt/Aaj7TiQR yDFxtITSuzIVJvLeyFDgGWWw7L6c7mlQWViuMjlM9BgLP9g4BvW/zG7xAobdCdK7hras sCRkmgw8nc8JBLjB31/1gEo2puzojsnP2vWNa7v7xu9zxkkgUa3HleA1ytoC09CAoWZj ZCig==
X-Gm-Message-State: AD7BkJIx/aarjDoIPUexl0tysZtV3sfcXaf5E48Yje8egG59/ddl8o/oXA0vH77DeQSgIW9sEkzD/9ZV5uB+C4by
MIME-Version: 1.0
X-Received: by 10.194.123.131 with SMTP id ma3mr6122094wjb.107.1459473547591; Thu, 31 Mar 2016 18:19:07 -0700 (PDT)
Received: by 10.28.127.65 with HTTP; Thu, 31 Mar 2016 18:19:07 -0700 (PDT)
In-Reply-To: <20160222085611.GA12467@elstar.local>
References: <CAP67N=b0vUG57G9q-Vw_2MivYz=cvXiLR+Az3Jaj1oVuHCEUWw@mail.gmail.com> <9966516C6EB5FC4381E05BF80AA55F77012A5CE3C2@US70UWXCHMBA05.zam.alcatel-lucent.com> <CAP67N=Z_ogrv1R70fKga_nhHn0chZ8bFVJ9m6MiQOM9J=ENwLg@mail.gmail.com> <9966516C6EB5FC4381E05BF80AA55F77012A5D0DBB@US70UWXCHMBA05.zam.alcatel-lucent.com> <CAP67N=ZVKkb26N24xNc+a2xRgR6ZYw-PE64SB50yy2bZ4E6WqA@mail.gmail.com> <20160222085611.GA12467@elstar.local>
Date: Thu, 31 Mar 2016 21:19:07 -0400
Message-ID: <CAP67N=aFzsY61NLeiQn8kv5ua2dgz1LFYkn_AE5+9VWU4NtAUA@mail.gmail.com>
From: Ron Stana <ron.stana@viavisolutions.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Ron Stana <ron.stana@viavisolutions.com>, "Carey, Timothy (Nokia - US)" <timothy.carey@nokia.com>, "alissa@cooperw.in" <alissa@cooperw.in>, "lmap@ietf.org" <lmap@ietf.org>
Content-Type: multipart/alternative; boundary="089e012287f05d2bcd052f622a4b"
Archived-At: <http://mailarchive.ietf.org/arch/msg/lmap/oExM_7atjqwsO2jJv_vXqRDZ3zI>
Subject: Re: [lmap] Support for multiple report table formats from one task
X-BeenThere: lmap@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Large Scale Measurement of Access network Performance <lmap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lmap>, <mailto:lmap-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lmap/>
List-Post: <mailto:lmap@ietf.org>
List-Help: <mailto:lmap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lmap>, <mailto:lmap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Apr 2016 01:19:13 -0000

Juergen,

The changes to version 4 of the LMAP YANG model (
https://tools.ietf.org/html/draft-ietf-lmap-yang-04) allow for multiple
tables to be sent for one task, so thank you.  However the client
application will need to be able to determine what data is in each of the
different tables.  There were two suggestions made in this thread:

1) use different registry references for each table via the metric object
2) use different values in the 'tag' object for each table

The problem I see is neither the 'metric' or 'tag' objects are within the
new 'table' object so each table cannot define its own value for these.

Regards,
Ron


On Mon, Feb 22, 2016 at 3:56 AM, Juergen Schoenwaelder <
j.schoenwaelder@jacobs-university.de> wrote:

> Ron,
>
> the YANG data model already has a tag to distinguish multiple
> 'tables'. But even with that tag in place, I think the reporting model
> is not working well yet. I agree that there is room for improvement.
>
> One of the odd things is also that results are produced by actions,
> not by claim to report by tasks. This alone causes trouble because
> actions may use options that impact the result format. Originally, we
> did not have the notion of actions and somehow the result model simply
> lags behind.
>
> I need to think more about how to do this properly. I do not have a
> solution proposal yet but I agree that the reporting model needs some
> more work (once we have the configuration/instruction model stable).
>
> /js
>
> On Tue, Feb 16, 2016 at 09:46:23AM -0500, Ron Stana wrote:
> > Tim,
> >
> > I am trying to determine how one task can produce results that require
> > multiple table formats (what I called report types) and send them to the
> > collector at the same time.  Most tasks we have will require this type of
> > functionality.
> >
> > This is my understanding of what we have discussed so far:
> > 1) The registry would be used to define the different table formats...for
> > the purpose of this discussion let's go with your suggestion that there
> > would be one entry for each table format.
> > 2) The multiple registry entries are then assigned to a single task using
> > multiple instances of the the lmap/tasks/task/metric object.
> > 3) When the task goes to send these different tables of results to the
> > Collector, it identifies the table that is being sent using a single
> > instance of the the report/task/metric object.
> >
> > If we agree thus far then the part that remains is how to send multiple
> > tables to the collector at one time.  The current report model only
> allows
> > each task to have one entry so the MA would have to POST a separate
> report
> > for each table.  I am asking if the tables could all be sent together.
> >
> > Ron
> >
> > On Tue, Feb 16, 2016 at 1:14 AM, Carey, Timothy (Nokia - US) <
> > timothy.carey@nokia.com> wrote:
> >
> > > Ron,
> > >
> > >
> > >
> > > I was thinking about this some more last night.
> > >
> > >
> > >
> > > Are you asking to categorize the reports by registry entry? - which I
> > > think you call report type?  If so I don’t see an issue with that – we
> can
> > > use the registry entry as part of the report results…
> > >
> > >
> > >
> > > BR,
> > >
> > > Tim
> > >
> > >
> > >
> > > *From:* Carey, Timothy (Nokia - US)
> > > *Sent:* Monday, February 15, 2016 10:31 PM
> > > *To:* 'Ron Stana'
> > > *Cc:* alissa@cooperw.in; lmap@ietf.org
> > > *Subject:* RE: [lmap] Support for multiple report table formats from
> one
> > > task
> > >
> > >
> > >
> > > Ron,
> > >
> > >
> > >
> > > I would talk to the IPPM team then – its really how they define the
> > > metrics that make up the registry.
> > >
> > >
> > >
> > > As for a report per task constraint – I don’t know if saving inputs and
> > > outputs as you suggest warrant breaking that constraint – why not just
> have
> > > 2 tasks and duplicate the registry entry.
> > >
> > >
> > >
> > > I like the when the task is complete – generate the results for
> reporting
> > > and then report results based on the schedule to the collector. I know
> in
> > > our BBF implementation this works quite well.
> > >
> > >
> > >
> > > Otherwise you get into the nasty problem of a state machine that
> > > correlates running the tests with reporting results in the context of
> the
> > > overarching scheduled task (You call it running and final but there is
> a
> > > context to those states for that particular task).
> > >
> > >
> > >
> > > BR,
> > >
> > > Tim
> > >
> > >
> > >
> > >
> > >
> > > *From:* Ron Stana [mailto:ron.stana@viavisolutions.com
> > > <ron.stana@viavisolutions.com>]
> > > *Sent:* Monday, February 15, 2016 5:40 PM
> > > *To:* Carey, Timothy (Nokia - US)
> > > *Cc:* alissa@cooperw.in; lmap@ietf.org
> > > *Subject:* Re: [lmap] Support for multiple report table formats from
> one
> > > task
> > >
> > >
> > >
> > > Tim,
> > >
> > >
> > >
> > > While multiple registry entries could be used to define each of the
> report
> > > types (table formats), this would require those registry entries to
> > > replicate the inputs ('fixed parameters' in registry terms) and any
> outputs
> > > that are common across the different types.  It would be better to
> have one
> > > registry entry that defined the inputs to the task once, all possible
> > > outputs once and then allowed the outputs to be grouped into different
> > > report types. The report type is just some string value. When the
> tables
> > > were sent from the MA to the Collector they would then just need to
> include
> > > the report type.
> > >
> > >
> > >
> > > Example:
> > >
> > > 1) Task measures bandwidth for one or more streams
> > >
> > > 2) One registry entry is defined for the task. It includes:
> > >
> > >     a) the numerous inputs that define the stream's packet format
> > >
> > >     b) an output definition for the 'last one second bandwidth'
> > >
> > >     c) an output definition for the 'average bandwidth since task
> start'
> > >
> > > 3) The 'last one second bandwidth' is only useful while the task is
> > > running so it is assigned to the report type 'running'.  The
> description of
> > > the output
> > >
> > > 4) The 'average bandwidth since task start' is useful while the task is
> > > running and as a final value when the task completes so it is assigned
> to
> > > the report types 'running' and 'final'.
> > >
> > > 5) When the reports are sent from the MA, they indicate the report
> type.
> > > This is where I suggested the 'tag' object in the report could be used.
> > >
> > >
> > >
> > > In the end I am asking about these three issues:
> > >
> > > 1) How does a task properly define multiple report types (tables)?
> > >
> > > 2) How does the MA identify the report type being sent?
> > >
> > > Even if #1 is addressed using multiple registry entries, and #2 is
> > > addressed by including a reference to the registry entry in the
> > > 'metric/uri' object of the task within the report, there is still this
> > > issue:
> > >
> > > 3) How does the MA send multiple report types at the same time? My
> > > understanding of the current report definition is that it limits each
> task
> > > to having one table definition per POST.  The MA could send each table
> > > definition to the collector separately but allowing each task to send
> an
> > > array of table definitions would be more efficient.
> > >
> > >
> > >
> > > You brought up a fourth issue which is how the data in each table is
> > > mapped to the registry.  I have been making the assumption this was
> going
> > > to be accomplished by setting the column header value in the report to
> one
> > > of the summary/name values defined in the registry for the metric.
> > >
> > >
> > >
> > > Ron
> > >
> > >
> > >
> > > On Sun, Feb 14, 2016 at 11:11 AM, Carey, Timothy (Nokia - US) <
> > > timothy.carey@nokia.com> wrote:
> > >
> > > Ron,
> > >
> > >
> > >
> > > The task has multiple registry entries – I would assume your example is
> > > that this task
> > >
> > > would have 3 registry entries.
> > >
> > >
> > >
> > > The columns are for the task and would have to have a union of all the
> > > metrics for registry entries. – Is this what you were asking?
> > >
> > >
> > >
> > > It seems that we lose the context of the registry entry to column
> though…
> > >
> > >
> > >
> > > BR,
> > >
> > > Tim
> > >
> > >
> > >
> > > *From:* Ron Stana [mailto:ron.stana@viavisolutions.com]
> > > *Sent:* Friday, February 12, 2016 4:31 PM
> > > *To:* lmap@ietf.org
> > > *Cc:* alissa@cooperw.in
> > > *Subject:* [lmap] Support for multiple report table formats from one
> task
> > >
> > >
> > >
> > > LMAP Team,
> > >
> > >
> > >
> > > My understanding of the LMAP proposal is
> ietf-lmap-report:report/task/name
> > > is supposed to contain one of the values defined in
> > > ietf-lmap-control:lmap/tasks/task/name.
> > >
> > >
> > >
> > > If this is correct, and since each task instance within a report can
> only
> > > contain one table definition (one header + its row data) then how does
> a
> > > task send multiple tables of results that contain different table
> formats?
> > >
> > >
> > >
> > > Use Cases:
> > >
> > > 1) Y.1564 task has results for the Service Configuration and the
> Service
> > > Performance data, and each table has a different set of columns.
> > >
> > > 2) An RFC-2544 task would need a different table for the Throughput,
> > > Latency, Frame Loss and Back to Back result sets.
> > >
> > > 3) Any task may want to send a minimal result set while it is executing
> > > that is very different from the final result set when it has completed.
> > >
> > >
> > >
> > > The ietf-lmap-report:report/task/tag could be used to differentiate the
> > > result sets sent by the same task. However this is not very efficient
> since
> > > this approach requires the MA to send each report to the collector
> > > separately because each report can only contain one set of results per
> task
> > > name.
> > >
> > >
> > >
> > > Any guidance or clarification on the LMAP proposal would be
> appreciated,
> > >
> > >
> > >
> > > Ron
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
>
> > _______________________________________________
> > lmap mailing list
> > lmap@ietf.org
> > https://www.ietf.org/mailman/listinfo/lmap
>
>
> --
> 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/>
>