Re: [netmod] draft netmod charter update proposal

Ladislav Lhotka <lhotka@nic.cz> Tue, 21 March 2017 09:59 UTC

Return-Path: <lhotka@nic.cz>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 85BDD127010 for <netmod@ietfa.amsl.com>; Tue, 21 Mar 2017 02:59:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7
X-Spam-Level:
X-Spam-Status: No, score=-7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nic.cz
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 tAT1NMKC66dy for <netmod@ietfa.amsl.com>; Tue, 21 Mar 2017 02:59:13 -0700 (PDT)
Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 75F591200F1 for <netmod@ietf.org>; Tue, 21 Mar 2017 02:59:13 -0700 (PDT)
Received: from [IPv6:2001:718:1a02:1:d20:8e4d:8768:16f6] (unknown [IPv6:2001:718:1a02:1:d20:8e4d:8768:16f6]) by mail.nic.cz (Postfix) with ESMTPSA id D42D661FDE; Tue, 21 Mar 2017 10:59:11 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1490090351; bh=VYrcZE5mGaL3plQzzQGz0+ABgCWKEAmT4OCK3g/h+no=; h=From:Date:To; b=or50vIxkLpjFpW1FtBTWQDXbA9uH52XuQ/1npnx4wvmWy0OZC0gBf/IMSiRwjTOeD qiHkh7O1ne2x7v26NXPRqEKzUrQSDOkGP5Cbh7WOzvqDvOLl7jtizr2xD0KghMVZXL f/kwj4K8yIsTD7ks4Ncj03rKk5DsleW56HG3i9rQ=
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\))
From: Ladislav Lhotka <lhotka@nic.cz>
In-Reply-To: <20170321094313.GA35449@elstar.local>
Date: Tue, 21 Mar 2017 10:59:11 +0100
Cc: Robert Wilton <rwilton@cisco.com>, Mehmet Ersue <mersue@gmail.com>, Lou Berger <lberger@labn.net>, netmod@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <3B788B04-4728-45FC-86A7-33A9F4D5CF98@nic.cz>
References: <02e701d29d93$0e770480$2b650d80$@gmail.com> <20170316064419.GA59114@elstar.local> <15ad6df64e8.27d3.9b4188e636579690ba6c69f2c8a0f1fd@labn.net> <000f01d29f21$8fe93c10$afbbb430$@gmail.com> <2748e6e6-5d16-05e9-0ce5-bc2b3a7e69cc@cisco.com> <C843261B-209D-4BEF-AD06-749F604C22D2@nic.cz> <562b9d03-dc1a-3741-8be7-c33afd7d74c4@cisco.com> <4D1DE368-9B3D-478B-BE06-C5ED9A88B8F8@nic.cz> <20170321080422.GB35044@elstar.local> <0298C599-E206-4777-A95C-5F58E0D519AA@nic.cz> <20170321094313.GA35449@elstar.local>
To: Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de>
X-Mailer: Apple Mail (2.3259)
X-Virus-Scanned: clamav-milter 0.99.2 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/WlDA_4lUyjMFsUYjjVdCY0ttH6A>
Subject: Re: [netmod] draft netmod charter update proposal
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 21 Mar 2017 09:59:15 -0000

> On 21 Mar 2017, at 10:43, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> wrote:
> 
> On Tue, Mar 21, 2017 at 10:13:40AM +0100, Ladislav Lhotka wrote:
>> 
>> The revised-datastores draft changes the semantics of "configuration data" - for example, the definition from RFC 6241 clearly won't apply to the "running" datastore in the new datastore model.
> 
> Why would that be the case?

RFC 6241:

   o  configuration data: The set of writable data that is required to
      transform a system from its initial default state into its current
      state.

If I understand revised-datastores correctly, this will no more be the case for "running" because it may contain intermediate data that require further processing (templates) and inactive data that are not used for changing the device state.

This may look like nit-picking but the fact is that we often use the term configuration in the sense "you know it when you see it". 

> 
>> So a new definition of configuration data will probably be needed, and this implicitly changes the semantics of the "config" statement.
>> 
> 
> YANG defines the config statement as follows:
> 
>   The "config" statement takes as an argument the string "true" or
>   "false".  If "config" is "true", the definition represents
>   configuration.  Data nodes representing configuration are part of
>   configuration datastores.

If the "config" statement really carried some protocol-specific semantics that isn't meaningful for all potential uses of YANG, it would be better to remove it from core YANG and define it as an extension that would be mandatory for configuration protocols that need it.

Lada

> 
> I do not think it is the intend of the revised datastore model as
> written down in the I-D to change this.
> 
>> BTW, we use rw/ro in tree diagrams.
> 
> Which is a mis-nomer (tree diagrams were inherited from the SNMP world
> and somehow the rw/ro distinction was kept even though it is
> technically wrong). There are more details here, I will start a
> separate thread for this.
> 
> Note that the diagrams in the revised datastore ID make a clear
> distinction between ct/cf and rw/ro. In particular, the ID notes that
> ct object may be rw in one datastore but ro in a different datastore.
> 
> /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/>

--
Ladislav Lhotka, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67