Re: [netmod] Datastore leaf for yang instance data

Balázs Lengyel <balazs.lengyel@ericsson.com> Tue, 27 November 2018 17:11 UTC

Return-Path: <balazs.lengyel@ericsson.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 104411292AD for <netmod@ietfa.amsl.com>; Tue, 27 Nov 2018 09:11:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.782
X-Spam-Level:
X-Spam-Status: No, score=-4.782 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.46, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.979, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com header.b=Tvo3ftfm; dkim=pass (1024-bit key) header.d=ericsson.com header.b=cx/ua4vZ
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 6-DOwK7s_s22 for <netmod@ietfa.amsl.com>; Tue, 27 Nov 2018 09:11:12 -0800 (PST)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2ABD9126BED for <netmod@ietf.org>; Tue, 27 Nov 2018 09:11:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1543338670; x=1545930670; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=IamlENgEFDC9ECkC6QFUL4lHrYv9pLXbHadPQ3s2k+Q=; b=Tvo3ftfmASY8Wp+Vz2bipqxbLn0Ieb9nQ3hZz+Qkpa99i56oouQemslrIAvw6USL Wi7HK+lkZXLcDLtdvu1BLeWniY0zqE5K9fECU3VH/FrkpAkvEvqRFMJxnfG6sb4c 3LT2O2hInjiluWSr+EwcCDFRIMoQaAviKMenkfEX01o=;
X-AuditID: c1b4fb2d-f49ff70000007af1-0d-5bfd7aaea0a2
Received: from ESESSMB502.ericsson.se (Unknown_Domain [153.88.183.120]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id 7E.9F.31473.EAA7DFB5; Tue, 27 Nov 2018 18:11:10 +0100 (CET)
Received: from ESESSMR503.ericsson.se (153.88.183.112) by ESESSMB502.ericsson.se (153.88.183.190) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 27 Nov 2018 18:11:09 +0100
Received: from ESESSMB503.ericsson.se (153.88.183.164) by ESESSMR503.ericsson.se (153.88.183.112) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 27 Nov 2018 18:11:09 +0100
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (153.88.183.157) by ESESSMB503.ericsson.se (153.88.183.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3 via Frontend Transport; Tue, 27 Nov 2018 18:11:09 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i0Oq4hWMoNFPVtph4g6RE3Y9iIWsvcWdOJAJ3pazNKQ=; b=cx/ua4vZEKuuHzaTx9rTsXJxIJwmjPo0J1FDjDpHVyO/ZXrAHia9w4LnJJXsRDQOEzxwAFWYTgKML0so4fY+4dZ2jKEbFjcZRhjsO9QO0ia7C5nlfMg6LzxE9wlVqPTSgsJvo2w3bE6Qf6Rnb/CO1F0F1eXGseQf9J9XJg09TyY=
Received: from VI1PR0701MB2736.eurprd07.prod.outlook.com (10.173.80.148) by VI1PR0701MB2400.eurprd07.prod.outlook.com (10.168.138.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1382.8; Tue, 27 Nov 2018 17:11:08 +0000
Received: from VI1PR0701MB2736.eurprd07.prod.outlook.com ([fe80::70d1:cf80:392b:814b]) by VI1PR0701MB2736.eurprd07.prod.outlook.com ([fe80::70d1:cf80:392b:814b%4]) with mapi id 15.20.1382.012; Tue, 27 Nov 2018 17:11:08 +0000
From: =?utf-8?B?QmFsw6F6cyBMZW5neWVs?= <balazs.lengyel@ericsson.com>
To: Ladislav Lhotka <lhotka@nic.cz>, Martin Bjorklund <mbj@tail-f.com>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] Datastore leaf for yang instance data
Thread-Index: AQHUgy9uQuT8qLL6iU6nVdbyZztkVQ==
Date: Tue, 27 Nov 2018 17:11:07 +0000
Message-ID: <598859f0-d6fe-9a9e-4b27-6249b05f86ca@ericsson.com>
References: <87y3a6izap.fsf@nic.cz> <20181106063648.jjf2scqzoack5l3z@anna.jacobs.jacobs-university.de> <58740c15bf3277e04329546476f60c1d12516594.camel@nic.cz> <20181106.104157.239419955739949818.mbj@tail-f.com> <866ff105cf8fda7eadbdce5b344f4cd734fd99b8.camel@nic.cz> <1f4103c1-4953-3df4-d50d-aed1961fbc50@ericsson.com> <20181123154951.anviss5nllq6gwrn@anna.jacobs.jacobs-university.de>
In-Reply-To: <20181123154951.anviss5nllq6gwrn@anna.jacobs.jacobs-university.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-originating-ip: [89.135.192.225]
user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1
x-clientproxiedby: HE1PR07CA0012.eurprd07.prod.outlook.com (2603:10a6:7:67::22) To VI1PR0701MB2736.eurprd07.prod.outlook.com (2603:10a6:801:8::20)
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; VI1PR0701MB2400; 6:vU0t1EcuMgUlXwWqASMJHPEOXKD8krN5xyI2kJnAR0iWs/+RXA7yoYyQRc2ZyJDSIRTvnqL1va1LilJ8Y+qZ80uj1WcX0RvE/d4nf2LQll87ZGKGZyf6z9xHjD2S+TdtWmexeJo3deLvkCArsGFONR3xFrEbXj5vYeO4sk9gk+QPt3BFDCgZ+lPHMaroD6Df6Phz4da+Uz8lZcKwQ4idda8Wqll1MlmZ4ZAJ7QyGvOi4PLXDZV+G7kRYFvFlBDAfjjrQRRuzudYtsRUz1sI225DYU3QEhaFrRgzYavQXhnA1u7lxgkoBI9eg1jwz99M1pnmbeqD3MFxTtoQ1ltT4E6TCOA9DrobIF2B7PRljYPhHUuy4zeke2SFrtxO36lc46ZKIHdiT4GOnanI12yJwuf8+faUAYSVpDQmxTS5PSASs/trXRkMr79HHqKaoHC6uD8dGUKVB41vrlHtoejMgtg==; 5:RqsC9nkMKzmk+PESIINIKPlSAqP+Ld9elJ7zJy/LsMcpsgxEMHO7Ck1sCIOYMw9IZMG0FlZVJpI/I+3cyXYdn269cnAb0Oba1tEzjc7gAUivzZWhc7xCX0KYo303rR4I/tICvs0UQYWEmK656XlFJ//TqEqc5VnbPEftxjTwd6E=; 7:iWkvSmhkfeXD6xqMBlQYUmoASboxcoa9TNFm+SP50ShyOPU4bfwffH8U+tmW8HtmS6J88a5Hlo9CbKfMIxchm19msnz8WM7o+6VD9DO2yWVcCgRpk1UUcVEKngv/M9BEbttiT3byV7PdB20MKcIIQQ==
x-ms-office365-filtering-correlation-id: a741d375-9e79-4894-e65f-08d6548b511b
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(49563074)(7193020); SRVR:VI1PR0701MB2400;
x-ms-traffictypediagnostic: VI1PR0701MB2400:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=balazs.lengyel@ericsson.com;
x-microsoft-antispam-prvs: <VI1PR0701MB240029CE4210A0E7C52BD23DF0D00@VI1PR0701MB2400.eurprd07.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(102415395)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231443)(944501430)(4983020)(52105112)(10201501046)(93006095)(93001095)(148016)(149066)(150057)(6041310)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:VI1PR0701MB2400; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0701MB2400;
x-forefront-prvs: 086943A159
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(366004)(136003)(376002)(396003)(39860400002)(189003)(199004)(252514010)(102836004)(6436002)(81156014)(99936001)(386003)(478600001)(76176011)(6506007)(52116002)(93886005)(14454004)(64126003)(256004)(8676002)(66066001)(65826007)(97736004)(81166006)(85182001)(65806001)(65956001)(7736002)(25786009)(3846002)(305945005)(6116002)(68736007)(26005)(5660300001)(486006)(476003)(2616005)(53936002)(71200400001)(6246003)(2501003)(86362001)(11346002)(6512007)(106356001)(85202003)(2906002)(31696002)(99286004)(58126008)(71190400001)(8936002)(316002)(31686004)(110136005)(229853002)(186003)(105586002)(6486002)(36756003)(446003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0701MB2400; H:VI1PR0701MB2736.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: 3n9FKqbIfe/dB/ZOnFWIbtnbdItDdCiDktuAuN8fnAweuA+AybqsWWX/tWLhUTtm1OmA9xo/YCApxqFYaqACU5piPN2fbX1BNeAIYpoOVV+GGyPSv/4jFSpPTMskf2HnpyHGI1V+7IPG9lhbw/1GeSWf8JK06IkIgi4mcuQqJEnjUSYMxFUB4CA7yjeuDzx+6HCKyFDQyM5YREF+84xyzzvUzF6vCdt0qzbo7SqFjKFEDJarSksO+Fa623Kt4ou+k5QqJFb4duY1i8UTLFYrVVJ6+tnVanoV2UIJc7XRgBCf1YTB5lRdtHfB5cz8znrpG7V76rri/g1tQlc606j96cvqth6H4P/zo2me0HfU6wM=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms020608040104080506020102"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: a741d375-9e79-4894-e65f-08d6548b511b
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Nov 2018 17:11:07.8441 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0701MB2400
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA1WSe0hTYRjG+3bO5nG4+DKXL9PIhoZorszyTlkW+E90oaCUylOeVNIpOyYq CU7IvCSMMC/L8i7eK1OcKdosLRNJLbrI0KY2TcXSYJah5XZW1H+/53ve573ARxG203wJFS1P YBRyOkYqEJJFZ9qSPJpSVsN2f5ng+Q7V3RX45uQYrHxLhpX8ICKksvIHL6T5tQ6FPFypII8T ocLACCYmOpFR7NofLoxavf6CiC/en6Tul6UhpV82sqYA7wW9QcPPRkLKFj9DMNO1xOOEEUFr 2i+eqcoshm/bcEYlDxq03YRJkFhFQMbzPsQ5BTxQjmdZhAGBMaORb8oL8GG4sdBt7mWHY2FG rSJNvBkHwGLmEsm9B8LK7IClRgY1mlvIxCR2gca0cvO7CB+Aj8ZCATcgl4Dh8TLzAGt8DPry WwgTI7wFll82mAMEtofRqRIed6od6IcHBByL4fPkGp9jKRTOjppZjM9BQeVN8wWA8xG8etNq CeyEwXdTiOOtMFKSYyl6L4D03HlLp6OgyTNYcYYOgar1K/k3/XgQceudh86xTEvXODAWN/BV yFP9z7bq9TyBsxA0LDwh1ea7N0F/0RTJFXnDvUd6gmN3qC6bI/4PmzgACle0Ao63Q16O3orj fTDXu4g49oLqplVBKRLWITHLsGxs5B4vGaOIvsSycXKZnEloRutfTtvy00OD6ucO9iBMIamN aD5yNcyWTyeyybE9yHm9z8SD+iEkIeVxckZqJ/Jn121RBJ2cwijiLiiuxjBsD3KgSKm9SFbX GWqLI+kE5grDxDOKPy6PspakoVo8c7lmOeBQqsxvx4ivRKxpW2sv92kPL5Usnz5Vm5n+diMd KHb95npC5zSZSo87fujqeFoVPK1y1Qf7k7psx2sb+vvcq5SdZ7UVvTploZd9uLeONjidTM2/ Qyld7gd1TLqtUPoWn4vGMY/uNp8jTtb6T5MOKc7bPEZjv5MRrlKSjaI93QgFS/8GfDK3AHoD AAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/R7DG7EAHOoBLVmSLiT91pd4DSUw>
Subject: Re: [netmod] Datastore leaf for yang instance data
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, 27 Nov 2018 17:11:15 -0000

Hello Jurgen,

As we had many misunderstandings around the datastore parameter, and I 
am still not clear what you would like, could you propose a description 
text for the datastore parameter.

regards Balazs

On 2018. 11. 23. 16:49, Juergen Schoenwaelder wrote:
> On Fri, Nov 23, 2018 at 01:21:23PM +0000, Balázs Lengyel wrote:
>>     BALAZS: "Instance data associated with a datastore" may mean many things,
>>     that's why this relatively loose term is used. It may mean:
>>
>>       * Data was read from that datastore
>>       * Data is intended to be fed into that datastore
>>       * Something else ???
>>
>>     This can be useful if data is read from a datastore, but in a number of
>>     cases it is not useful:
>>
>>       * Preloading configuration data: datastore may be running or candidate.
>>       * Preloading mixed config and state data: We do have state data that is
>>         very stable and thus it is documented as instance data, and the
>>         instance data file is actually used to feed the state data into the
>>         SW. So datastore is: running, candidate + operational if NMDA is
>>         supported or state datastore (whatever that is) if NMDA is not
>>         supported
>>
>>     regards Balazs
>>
> I do not buy this story. Your software needs to decide somehow what
> instance data means. A config true leaf in candidate means something
> different than the same config true leaf in running and this yet again
> means something different than the same config true leaf in operational.
>
> /js
>
-- 
Balazs Lengyel                       Ericsson Hungary Ltd.
Senior Specialist
Mobile: +36-70-330-7909              email: Balazs.Lengyel@ericsson.com