Re: [netmod] Fwd: New Version Notification for draft-ietf-netmod-yang-instance-file-format-00.txt

Joe Clarke <jclarke@cisco.com> Tue, 06 November 2018 06:51 UTC

Return-Path: <jclarke@cisco.com>
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 0988312DD85 for <netmod@ietfa.amsl.com>; Mon, 5 Nov 2018 22:51:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 bPx9TqEHDe1J for <netmod@ietfa.amsl.com>; Mon, 5 Nov 2018 22:51:42 -0800 (PST)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 989EA1277C8 for <netmod@ietf.org>; Mon, 5 Nov 2018 22:51:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2728; q=dns/txt; s=iport; t=1541487102; x=1542696702; h=to:references:from:subject:message-id:date:mime-version: in-reply-to:content-transfer-encoding; bh=Lh80nd2hC+2ophkUMPLcZ9C8yMoVGXQEqA1m4GH2m1E=; b=i7iBc1G8q+7FM1XMERlfR/352pEJDcvsweC91roW5f8VbFVxbpdV3RyH krGwiXYXp9pj3d7QsHHRAYpTJcT93C19U4lxMZ2cR22Y3jmfzUFQBLDg0 T5I5v+HeOyf5g70NntgDOfpIw1yPe3YS1RuMbvr/+m0ij9ROTC7ZUmMT2 Y=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0ADAADQOOFb/5tdJa1cCRkBAQEBAQEBAQEBAQEHAQEBAQEBgVEEAQEBAQELAYIEZgN8KIN2iBiOJZcvgXoNGAuEA0YCg1ciNA0NAQMBAQIBAQJtHAyFOwEBBAEBIQ8BOwkSCxgCAiYCAicwBgEMBgIBAYMdAYIBD6kFgS6KLgWBC4prF4FBP4ERJ4JrgxsBAYE3FBaDBII1IgKPa4UeiioJkQsGGIlRhw+XSYFDOIFVTSMVO4JsgicXEohLhVwhMI4rAQE
X-IronPort-AV: E=Sophos;i="5.54,470,1534809600"; d="scan'208";a="197025642"
Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Nov 2018 06:51:40 +0000
Received: from [192.168.10.113] (rtp-jclarke-nitro4.cisco.com [10.118.87.85]) by rcdn-core-4.cisco.com (8.15.2/8.15.2) with ESMTP id wA66pb0h009267; Tue, 6 Nov 2018 06:51:38 GMT
To: Balázs Lengyel <balazs.lengyel@ericsson.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <154147032474.4217.10743411700898817061.idtracker@ietfa.amsl.com> <07b9bcea-72e3-9986-7d42-303c4797f13a@ericsson.com> <2a796f78-41b7-376c-8f51-215d14cc4e2c@cisco.com> <87y3a6izap.fsf@nic.cz> <20181106063648.jjf2scqzoack5l3z@anna.jacobs.jacobs-university.de>
From: Joe Clarke <jclarke@cisco.com>
Openpgp: preference=signencrypt
Autocrypt: addr=jclarke@cisco.com; prefer-encrypt=mutual; keydata= xsDiBDo1cJ0RBADSZSmbmz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jo1cJ4AEgkQze01wlpuAt8HZUdQRwABAQbdAJ9R8SzU Mluu9r93BMv6fAW9j6qTZgCfYcEAqOMJv+3Z+YxLiDtWcCY4Sfo=
Organization: Cisco
Message-ID: <70011b82-e7a3-5fc4-5f22-d4dc26fb6186@cisco.com>
Date: Tue, 06 Nov 2018 01:51:36 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.3.0
MIME-Version: 1.0
In-Reply-To: <20181106063648.jjf2scqzoack5l3z@anna.jacobs.jacobs-university.de>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Outbound-SMTP-Client: 10.118.87.85, rtp-jclarke-nitro4.cisco.com
X-Outbound-Node: rcdn-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/UvroLPa5YEmsZPj1MvaKSAQETFE>
Subject: Re: [netmod] Fwd: New Version Notification for draft-ietf-netmod-yang-instance-file-format-00.txt
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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, 06 Nov 2018 06:51:45 -0000

On 11/6/18 01:36, Juergen Schoenwaelder wrote:
> I agree that
> 
>         leaf datastore {
>           type ds:datastore-ref;
>           description  "The identity of the datastore for which
>             the instance data is documented for config=true data nodes.
>             The leaf MAY be absent in which case the running dtastore or
>             if thats not writable, the candidate datastore is implied.
> 
>             For config=false data nodes always the operational
>             data store is implied.";
> 	}
> 
> is pretty confusing. It should be something like this:
> 
>         leaf datastore {
>           type ds:datastore-ref;
>           description  "The identity of the datastore holding
>             the instance data. If the instance data is not associated
> 	    with a datastore, then this leaf MUST be absent.";
> 	}
> 
> I am against merging data from different datastores together, which
> the last sentence of the original text seems to imply.

This is better.

In the case where the data does come from a datastore would this leaf
need to be there?  Meaning, is there an assumption that when it's not
present then the data did NOT come from a DS?

And it seems like you could provide instance data from <operational> to
merge ct and cf nodes even without merging DSes.

Joe

> 
> /js
> 
> On Tue, Nov 06, 2018 at 11:51:26AM +0700, Ladislav Lhotka wrote:
>> Joe Clarke <jclarke@cisco.com> writes:
>>> ===
>>>
>>> Section 6
>>>
>>> With your datastore leaf, if I pull this off of a running YANG server,
>>> serialize it and share it with my customer, why wouldn't I have the
>>> actual datastore from which I retrieved it?  What I'm saying is that
>>> this element may be missing, but if it is, I don't think you can assume
>>> the source datastore for config=true nodes.
>>>
>>
>> The description of the "datastore" leaf doesn't make much sense to
>> me. It says that for configuration data the default is "running" or
>> "candidate" if "running" isn't writable. Why should it matter whether
>> "running" is writable? It looks like it is assumed that the config data will
>> eventually be fed into the indicated datastore, but I don't see any
>> reason for such an assumption.
>>
>> I can see that "datastore" can be occasionally useful as auxiliary
>> metadata but, in my view, this document addresses also instance data
>> that is not necessarily bound to any datastore.
>>
>> Lada
>>
>> -- 
>> Ladislav Lhotka
>> Head, CZ.NIC Labs
>> PGP Key ID: 0xB8F92B08A9F76C67
>>
>> _______________________________________________
>> netmod mailing list
>> netmod@ietf.org
>> https://www.ietf.org/mailman/listinfo/netmod
>