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:26 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 8D172130F82 for <netmod@ietfa.amsl.com>; Mon, 5 Nov 2018 22:26:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.97
X-Spam-Level:
X-Spam-Status: No, score=-14.97 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.47, 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 BiFFiiGtA-vh for <netmod@ietfa.amsl.com>; Mon, 5 Nov 2018 22:26:14 -0800 (PST)
Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9617F130F4A for <netmod@ietf.org>; Mon, 5 Nov 2018 22:26:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1193; q=dns/txt; s=iport; t=1541485574; x=1542695174; h=subject:to:references:from:message-id:date:mime-version: in-reply-to:content-transfer-encoding; bh=YHkTf9ycrEuOBOnidEjb0LZkbFBquVoCxr8PfOd5gDo=; b=XbiNly3PlRqM+sFV/cFzrT1PzpHLgxW5wSAvN3V0DJ4+U43KOSGXzSl9 vGme+MHPJ6wGfA58rBItegCBhmXTeUkb+X00WkEOWe5170HeczADKs4Zy I0UdHiLBmA+mXtiS0GB7VVEWW2pzd1WbHBc/MI4O0o4mcllKKEdjAo3Tx k=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AFAAAYM+Fb/51dJa1lGQEBAQEBAQE?= =?us-ascii?q?BAQEBAQcBAQEBAQGBUgMBAQEBAQsBggRpfCiDdpY9ly+Beg2EbAKDUiI1DA0?= =?us-ascii?q?BAwEBAgEBAm0ohTsBBSNUEgsYAgImAgJXBgEMBgIBAYMdggKpDoEuijOBC4p?= =?us-ascii?q?rF4FBP4E4gmuEaBaDBII1IgKPODOPSAmRCwYYiVGHD5dJgUQBNoFVTSMVgye?= =?us-ascii?q?CUI4nITCOKwEB?=
X-IronPort-AV: E=Sophos;i="5.54,470,1534809600"; d="scan'208";a="259181546"
Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by rcdn-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Nov 2018 06:26:13 +0000
Received: from [192.168.10.113] (rtp-jclarke-nitro4.cisco.com [10.118.87.85]) by rcdn-core-6.cisco.com (8.15.2/8.15.2) with ESMTP id wA66QBMt002480; Tue, 6 Nov 2018 06:26:12 GMT
To: =?UTF-8?Q?Bal=c3=a1zs_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>
From: Joe Clarke <jclarke@cisco.com>
Openpgp: preference=signencrypt
Autocrypt: addr=jclarke@cisco.com; prefer-encrypt=mutual; keydata= xsDiBDo1cJ0RBADS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ECAAYFAjo1cJ4AEgkQze01wlpuAt8HZUdQRwABAQbdAJ9R8SzU Mluu9r93BMv6fAW9j6qTZgCfYcEAqOMJv+3Z+YxLiDtWcCY4Sfo=
Organization: Cisco
Message-ID: <87bf36ba-5dc0-cdd5-b7f9-8fd4d0c50c4f@cisco.com>
Date: Tue, 6 Nov 2018 01:26:10 -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: <87y3a6izap.fsf@nic.cz>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Outbound-SMTP-Client: 10.118.87.85, rtp-jclarke-nitro4.cisco.com
X-Outbound-Node: rcdn-core-6.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/RJ0q3EsFxBSAXdk3oSQwFPQ76VQ>
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:26:21 -0000

On 11/5/18 23:51, 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.

I agree.  In some cases, I won't have a datastore, and that shouldn't
mean the consumer assumes running (or candidate).

Joe