Re: [ippm] next steps with IPPM registry

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Tue, 01 December 2015 17:09 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: ippm@ietfa.amsl.com
Delivered-To: ippm@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3F93C1ACEBB for <ippm@ietfa.amsl.com>; Tue, 1 Dec 2015 09:09:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.86
X-Spam-Level:
X-Spam-Status: No, score=-3.86 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 VJ4VKgUZzARn for <ippm@ietfa.amsl.com>; Tue, 1 Dec 2015 09:09:47 -0800 (PST)
Received: from atlas3.jacobs-university.de (atlas3.jacobs-university.de [212.201.44.18]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 203C21ACEBC for <ippm@ietf.org>; Tue, 1 Dec 2015 09:09:47 -0800 (PST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id 48C55105D; Tue, 1 Dec 2015 18:09:45 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas3.jacobs-university.de ([10.70.0.220]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10030) with ESMTP id COBI0yV2_XMP; Tue, 1 Dec 2015 18:09:43 +0100 (CET)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas3.jacobs-university.de (Postfix) with ESMTPS; Tue, 1 Dec 2015 18:09:43 +0100 (CET)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id 2093420058; Tue, 1 Dec 2015 18:09:43 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id FengB5h65b8L; Tue, 1 Dec 2015 18:09:41 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id BAB1920054; Tue, 1 Dec 2015 18:09:40 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id B0ABC390AE9E; Tue, 1 Dec 2015 18:09:38 +0100 (CET)
Date: Tue, 01 Dec 2015 18:09:37 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: "MORTON, ALFRED C (AL)" <acmorton@att.com>
Message-ID: <20151201170937.GA47203@elstar.local>
Mail-Followup-To: "MORTON, ALFRED C (AL)" <acmorton@att.com>, marcelo bagnulo braun <marcelo@it.uc3m.es>, "STARK, BARBARA H" <bs7652@att.com>, "ippm@ietf.org" <ippm@ietf.org>
References: <565D3293.9080204@it.uc3m.es> <20151201100408.GA46235@elstar.local> <4AF73AA205019A4C8A1DDD32C034631D0F2B258A13@NJFPSRVEXG0.research.att.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <4AF73AA205019A4C8A1DDD32C034631D0F2B258A13@NJFPSRVEXG0.research.att.com>
User-Agent: Mutt/1.4.2.3i
Archived-At: <http://mailarchive.ietf.org/arch/msg/ippm/IvSXxC6jZ8KTklujHXBZzYAJOQ8>
Cc: "ippm@ietf.org" <ippm@ietf.org>
Subject: Re: [ippm] next steps with IPPM registry
X-BeenThere: ippm@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
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: Tue, 01 Dec 2015 17:09:50 -0000

On Tue, Dec 01, 2015 at 11:41:59AM -0500, MORTON, ALFRED C (AL) wrote:
> Hi Juergen and Marcelo (and Brian Trammell),
> please see more discussion below,
> Al [ACM]
> 
> > -----Original Message-----
> > From: ippm [mailto:ippm-bounces@ietf.org] On Behalf Of Juergen
> > Schoenwaelder
> > Sent: Tuesday, December 01, 2015 5:04 AM
> > To: marcelo bagnulo braun
> > Cc: STARK, BARBARA H; ippm@ietf.org
> > Subject: Re: [ippm] next steps with IPPM registry
> > 
> > On Tue, Dec 01, 2015 at 06:39:31AM +0100, marcelo bagnulo braun wrote:
> > > Hi,
> > >
> > > I understand that the only remaining open issue with the registry is
> > > to figure out if/how we want to include machine readable information
> > in it.
> > >
> > > In order to figure this out, i understand the idea was for proponents
> > > of doing so should explain the use cases they have in mind, so we can
> > > understand if we want to do this and now.
> > >
> > > I understand Barbara and Juergen were proposing this, so could you (or
> > > anyone else who thinks this is a good idea) to explain the use cases?
> > >
> > 
> > I think the question is which role the registry plays in the overall
> > framework. Is it (i) primarily some form of documentation an MA can
> > refer to or (ii) is the idea that the registry is normative when it
> > comes to run-time parameters and data formats. In the later case, I
> > think it is desirable that tools can work with the portions of the
> > registry that are used by implementations in order to drive automation
> [ACM] 
> The registry entries are certainly normative w.r.t. run-time parameter
> semantics and units and precision. By providing a data format, we easily
> achieve the requirements for units and precision, and ensure the values 
> appear in a form which can be consumed in many measurement protocols
> without conversion. Since many of the values are needed in binary format,
> the tools should take the role of accepting human-readable input and 
> conversion to the binary protocol fields (and display both when necessary).
> This applies to both Fixed and Run-time parameters, and also to 
> output results.

Configuration interfaces (whether its CLIs or YANG-based interfaces)
usually do not operate on binary data. Are we talking about parameters
that get configured or not?

> The above description of consumable formats for measurement protocols 
> is a viable use case for the data formats currently provided in 
> draft-morton-ippm-initial-registry.
> 
> So, I would like to hear a use case for tools working with portions of 
> the registry. What (LMAP) functional entities use these tools, 
> and how does registry access make their job easier?

I may not understand your question. I am starting form an LMAP YANG
data model and if I use a certain metric, I believe I have to
configure certain parameters. In some legislations, customers are free
to deploy CPEs of their choice and hence it would be nice if tools can
discover parameters by discovering the capabilities of an LMAP agent
and then following the pointer to a registry that defines the
parameters. But it could also be that the registry is not supposed to
support tools driving automation (e.g. tools able to display
parameters that can be set without having a human programmer to
program this for every device in the field).

> > (and this likely also requires putting restrictions on say parameter
> > names - for example, the parameter name '1/lambda' in draft-morton-ippm-
> > initial-registry-01.txt is likely troublesome if you take it literally
> > in implementations).
> [ACM] 
> During the IPPM-94 session, Brian Trammell commented on this, too (from the minutes):
> 
> "Brian wondered about using names which could be automatically converted using APIs. 
> Al said that there was some discussion about hierarchical naming. 
> [ACM - this was during the RAIM workshop].
> Will talk about this offline."
> 
> Specifications for naming are new to me, I would be glad to try to use
> someone's suggestion if it helps.

Having parameter names that start with a digit and that look like an
expression may cause a lot of fun. Usually parameter names are
restricted much like variable names in many programming languages. If
the parameter names indeed are normative, I think we should opt for
names that have a high chance to work across many programming and data
modeling languages. To make a concrete proposal: Limit parameter names
to [a-z,A-Z,_]+ or something like that.

> > Perhaps the answer is in between, namely that the registry is primarily
> > documentation for humans and that a formalization of the parameters that
> > are relevant for implementations is a separate step (e.g., for metric X
> > in the registry, some human writes a concrete YANG module defining the
> > concrete configuration parameters to configure metric X following the
> > guidelines given in the registry).
> [ACM] 
> So, the registry was never intended to replace a YANG model for its
> ability to convey configuration information, 
> and it must contain information that should never appear in a YANG model,
> that is information for measurement implementers to attain the goal
> of measurements that can be compared between independent implementations.

I never proposed to write the registry in YANG. The parameters,
apparently, are an interface between the registry and tha YANG model
so we should understand how this works in practice, in particular if
the parameters are normative.

> > If the registry is primarily documentation (and this is what section 5
> > might be saying), then I would prefer if parameters are described with
> > their semantics and units and precision but not the specific encoding.
> [ACM] 
> But we do have a use case for the encoding formats, described above.
> After specifying the encoding, I would be willing to add:
> "... or alternate format for values with equivalent units and precision,
> recognizing that conversion to the specified format may be required."

But see, I also have a use case (LMAP) where binary encodings are not
used. Perhaps the easiest solution is to find a loose coupling since a
tighter coupling apparently creates some tension. That is, to drive
automation, we would rely on a human created machine readable
serialization of data model content, not the registry itself. In other
words, the registry pointer really is just a reference for
documentation.

/js

-- 
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/>