Re: [netmod] working group adoption of draft-lhotka-netmod-yang-metadata-00

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Wed, 21 January 2015 10:32 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CDB741A1A07 for <netmod@ietfa.amsl.com>; Wed, 21 Jan 2015 02:32:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.26
X-Spam-Level:
X-Spam-Status: No, score=-2.26 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_LOW=-0.7, 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 b_esvhoH4w0g for <netmod@ietfa.amsl.com>; Wed, 21 Jan 2015 02:31:58 -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 74A801A19EF for <netmod@ietf.org>; Wed, 21 Jan 2015 02:31:58 -0800 (PST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id 47D99A8E; Wed, 21 Jan 2015 11:31:57 +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 sND7gKp23G2T; Wed, 21 Jan 2015 11:31:42 +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; Wed, 21 Jan 2015 11:31:56 +0100 (CET)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id 0561020034; Wed, 21 Jan 2015 11:31:56 +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 jE8atsHAju8B; Wed, 21 Jan 2015 11:24:01 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id F2CF12002F; Wed, 21 Jan 2015 11:31:54 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id CF18D30DF745; Wed, 21 Jan 2015 11:31:54 +0100 (CET)
Date: Wed, 21 Jan 2015 11:31:54 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Ladislav Lhotka <lhotka@nic.cz>
Message-ID: <20150121103154.GA32345@elstar.local>
Mail-Followup-To: Ladislav Lhotka <lhotka@nic.cz>, Kent Watsen <kwatsen@juniper.net>, "netmod@ietf.org" <netmod@ietf.org>
References: <20150106212118.GB11692@elstar.local> <D0D1D9F4.8EDBB%kwatsen@juniper.net> <m2h9w1bra6.fsf@nic.cz>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <m2h9w1bra6.fsf@nic.cz>
User-Agent: Mutt/1.4.2.3i
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/8H016blqvXrq26wBoweVAOmWuyg>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] working group adoption of draft-lhotka-netmod-yang-metadata-00
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Jan 2015 10:32:01 -0000

On Thu, Jan 08, 2015 at 09:38:57AM +0100, Ladislav Lhotka wrote:
> Kent Watsen <kwatsen@juniper.net> writes:
> 
> >>  - who believes a mechanism to define metadata annotations
> >>    should be standardized
> >
> >
> > Not yet.  
> >
> > First I think we need to clear the way for attributes to be used safely.
> > We used attributes in <edit-config> and also with-defaults, but in both
> > cases the client either accepted the contract of the protocol (base:1.1)
> > or explicitly opted into receiving the attributes (report-all-tagged).
> > Specifically, what happens to a legacy client if the attribute MUST be
> > semantically understood (e.g., the enabled/inactive) in order to correctly
> > process the data?   Even if we don't care about the client, we might
> > want
> 
> You are right but I think we have two separate issues here:
> 
> 1. Annotations are defined via an extension, and that by definition
>    means the client is free to ignore them.
> 
> 2. The existing sentiment of letting a (legacy) client pick only a
>    subset of modules from those advertised by the server means that the
>    client in any case cannot be expected to support an annotation that
>    is defined in a YANG module.
> 
> As for #1, it would help to make "annotation" a built-in statement, and
> that was actually one of the questions I asked earlier:

I believe we need to work with extensions, we can't revise the YANG
specifications each time an addition is needed.

My understanding is that this particular extension provides the
mechanics to define and encode metadata. It will be up to concrete
metadata definitions to figure out how to make things work such that
ignorant clients and servers will continue to function.

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