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

Kent Watsen <kwatsen@juniper.net> Wed, 07 January 2015 15:02 UTC

Return-Path: <kwatsen@juniper.net>
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 0A85B1A90B5 for <netmod@ietfa.amsl.com>; Wed, 7 Jan 2015 07:02:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.702
X-Spam-Level:
X-Spam-Status: No, score=-0.702 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_64=0.6, J_CHICKENPOX_65=0.6, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=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 T9wAvS9x4cXF for <netmod@ietfa.amsl.com>; Wed, 7 Jan 2015 07:02:28 -0800 (PST)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0111.outbound.protection.outlook.com [207.46.100.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B0D191A8828 for <netmod@ietf.org>; Wed, 7 Jan 2015 07:02:28 -0800 (PST)
Received: from BN1PR05MB456.namprd05.prod.outlook.com (10.141.59.26) by BN1PR05MB456.namprd05.prod.outlook.com (10.141.59.26) with Microsoft SMTP Server (TLS) id 15.1.49.12; Wed, 7 Jan 2015 15:02:27 +0000
Received: from BN1PR05MB456.namprd05.prod.outlook.com ([169.254.3.245]) by BN1PR05MB456.namprd05.prod.outlook.com ([169.254.3.245]) with mapi id 15.01.0049.002; Wed, 7 Jan 2015 15:02:27 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] working group adoption of draft-lhotka-netmod-yang-metadata-00
Thread-Index: AQHQKorzyOT8EqJPYEqnPzaeHodUCg==
Date: Wed, 07 Jan 2015 15:02:27 +0000
Message-ID: <D0D1D9F4.8EDBB%kwatsen@juniper.net>
References: <20150106212118.GB11692@elstar.local>
In-Reply-To: <20150106212118.GB11692@elstar.local>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.4.4.140807
x-originating-ip: [66.129.241.14]
authentication-results: spf=none (sender IP is ) smtp.mailfrom=kwatsen@juniper.net;
x-dmarcaction: None
x-microsoft-antispam: BCL:0;PCL:0;RULEID:(3005003);SRVR:BN1PR05MB456;
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:;SRVR:BN1PR05MB456;
x-forefront-prvs: 044968D9E1
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(164054003)(46102003)(99286002)(107886001)(68736005)(107046002)(76176999)(54356999)(50986999)(36756003)(20776003)(64706001)(2900100001)(105586002)(21056001)(102836002)(66066001)(83506001)(2950100001)(106356001)(106116001)(2656002)(99396003)(62966003)(77156002)(2501002)(40100003)(230783001)(122556002)(97736003)(4396001)(120916001)(31966008)(87936001)(86362001)(92566001)(101416001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR05MB456; H:BN1PR05MB456.namprd05.prod.outlook.com; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
Content-Type: text/plain; charset="us-ascii"
Content-ID: <3E5B341C522D3349990DDCF75C389A03@namprd05.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jan 2015 15:02:27.0408 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR05MB456
Archived-At: http://mailarchive.ietf.org/arch/msg/netmod/IGPmMFGPId9emhjCr2rqoVP3qMY
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
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, 07 Jan 2015 15:02:30 -0000


>  - 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
to assert that the client will always echo back any attributes it receives
on config=true nodes - this might require a base:1.2 for NETCONF, I'm not
sure how to do this for RESTCONF.  Perhaps I'm conflating what and how,
but it seems that we're skipping a step.




>  - who plans to use the proposed annotation extension statement

As proposed, I don't see how it can be used.

Specially, I'd need to see more examples around how to declare where
attributes can be used.  For instance, how to specify that the "default"
and "enabled" parameter can only appear on config=true nodes or a
"last-sampled-timesamp" can show up only on specific config=false nodes?
Or that a "timestamp" or "Etag" attribute MUST be on top-level config node
and MAY be on other config nodes (yes, I know that RESTCONF uses HTTP
headers for this, but a similar mechanic may be desired for NETCONF).

Note that as long as attributes are cross-cutting (applying to all config
nodes generically), then they'll likely only be used for "metadata".  But,
if we introduce the ability for attributes to be used on specific nodes
(top-level node, or specific config=false node), then we open the door to
attributes being used for regular data (not just metadata), which I don't
think we want...


>  - who is willing to review the document during the WG phase

I will, if it is promoted to a WG item.




Thanks,
Kent