Re: [netmod] kw review of draft-ietf-netmod-yang-instance-file-format-02 - etag/timestamp

Balázs Lengyel <balazs.lengyel@ericsson.com> Mon, 25 March 2019 21:21 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 D27BB1200B7 for <netmod@ietfa.amsl.com>; Mon, 25 Mar 2019 14:21:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.036
X-Spam-Level: ***
X-Spam-Status: No, score=3.036 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.979, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.723, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 4pRNBPVOFNpA for <netmod@ietfa.amsl.com>; Mon, 25 Mar 2019 14:21:10 -0700 (PDT)
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10075.outbound.protection.outlook.com [40.107.1.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 20F69120090 for <netmod@ietf.org>; Mon, 25 Mar 2019 14:21:10 -0700 (PDT)
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=20kdl6igGpoWFfdVt3lQQEjbHb8VksaStQ3Utjh9vOA=; b=GNFdVK96STt2XiVM+rPRLFNOpe7RbV3MAmXfJ+3P+Qm7KdR3mI5mnK3pSO7wcforSpKs/2LfnBTa0buzoKG/oaWfTCP2yObmo0QjBt34k28F0ogQiqpkUJXFN+QkMvO7PdW9K8fEKEmByqCX+0U0CL7tFqAQgwt2+qiMYZgb9AI=
Received: from AM6PR07MB3847.eurprd07.prod.outlook.com (52.134.115.144) by AM6PR07MB5558.eurprd07.prod.outlook.com (20.178.88.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.13; Mon, 25 Mar 2019 21:21:06 +0000
Received: from AM6PR07MB3847.eurprd07.prod.outlook.com ([fe80::39a5:6b6d:a86f:721c]) by AM6PR07MB3847.eurprd07.prod.outlook.com ([fe80::39a5:6b6d:a86f:721c%2]) with mapi id 15.20.1730.013; Mon, 25 Mar 2019 21:21:06 +0000
From: =?utf-8?B?QmFsw6F6cyBMZW5neWVs?= <balazs.lengyel@ericsson.com>
To: Kent Watsen <kent@watsen.net>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] kw review of draft-ietf-netmod-yang-instance-file-format-02 - etag/timestamp
Thread-Index: AQHU41Co24KKrlm7f0SPFF9dVahhow==
Date: Mon, 25 Mar 2019 21:21:06 +0000
Message-ID: <35eb0c08-1834-5e07-d961-4503298b8515@ericsson.com>
References: <01000169b3a90fd0-04979928-b059-43aa-81b3-fa40acb5be00-000000@email.amazonses.com>
In-Reply-To: <01000169b3a90fd0-04979928-b059-43aa-81b3-fa40acb5be00-000000@email.amazonses.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-originating-ip: [192.176.1.93]
user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0
x-clientproxiedby: AM5PR0602CA0011.eurprd06.prod.outlook.com (2603:10a6:203:a3::21) To AM6PR07MB3847.eurprd07.prod.outlook.com (2603:10a6:209:31::16)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=balazs.lengyel@ericsson.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 99f2a3f8-fa96-473d-a492-08d6b167cad9
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600127)(711020)(4605104)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(49563074)(7193020); SRVR:AM6PR07MB5558;
x-ms-traffictypediagnostic: AM6PR07MB5558:
x-microsoft-antispam-prvs: <AM6PR07MB5558F5C5CA0AF295D579A0D0F05E0@AM6PR07MB5558.eurprd07.prod.outlook.com>
x-forefront-prvs: 0987ACA2E2
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(376002)(366004)(396003)(136003)(346002)(199004)(189003)(6116002)(36756003)(3846002)(97736004)(6486002)(99936001)(229853002)(105586002)(85202003)(14454004)(186003)(6436002)(6306002)(236005)(6512007)(53936002)(478600001)(102836004)(54896002)(8676002)(81166006)(81156014)(8936002)(85182001)(106356001)(31686004)(68736007)(25786009)(4744005)(6246003)(256004)(2906002)(71200400001)(71190400001)(5660300002)(86362001)(606006)(2501003)(2616005)(486006)(110136005)(58126008)(316002)(31696002)(476003)(386003)(7736002)(99286004)(6506007)(76176011)(65956001)(66066001)(64126003)(65806001)(11346002)(52116002)(65826007)(446003)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR07MB5558; H:AM6PR07MB3847.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: E05BBnGwRpBJTy8ZNZz313rabXwZpNYftMnlcfYZB3i8LEgeWAd+yiLr8Rn7LH/sbn3trJl1Rhbdt/10xYKYuJAagwyoflpzUKQAaUkPlVfiJRMHqycCHar3Bt9v3RLiUMBGhxpOIdRAclsZUNEYyVcO/Vc9LYXDLd8RGXuUPqf9+UzdMw3/uiw98+fV9ZonxRWOuz8TNSRJDBdZb/KpEP/gixYChPdLrp0Hy2iQIjPWMzGg37oCAPKZuUXMOBnBWfVm3eFaSQTPGrlpBjYxcEit9KSKmGRgFHShOVdFJ/JkawMTcgT4ZEWC8cN0w93yZJVFOQdtSflvf1SXNS0Ya+LDq/irgGw1NRY1RIDLKvzJa2GquELN1/qyV93emvhGnalfSUBR690bjTgw3vhJ/Zo0HRCDyluenAwfuQd+Eig=
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms070106030103020001060302"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 99f2a3f8-fa96-473d-a492-08d6b167cad9
X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Mar 2019 21:21:06.6225 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR07MB5558
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/7AGSZmH0n5otJkVAGqDB3GJg0WE>
Subject: Re: [netmod] kw review of draft-ietf-netmod-yang-instance-file-format-02 - etag/timestamp
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: Mon, 25 Mar 2019 21:21:13 -0000

Hello Kent,

Sadly you are right. So I should probably remove it.

On the other hand IMHO it is could be useful info. What would you think, if I found an alternative encoding for it. (It would be optional.)
It could be encoded as metadata on the content-data container/anydata. It could give a quick indication whether the data has changed. If config data is read/provided periodically, it could be useful.

So is it useful enough to bother? Is the encoding as metadata OK?

Or should I just remove it?

regards Balazs

On 2019. 03. 25. 8:03, Kent Watsen wrote:
Section 3 says this about Content data: “It MAY include entity-tags and timestamps as defined in [https://tools.ietf.org/html/rfc8040" title='"RESTCONF Protocol"' rel="nofollow">RFC8040]”.  How is this possible?  RFC 8040 only returns such data in HTTP headers; there’s no defined encoding for putting the data into instance data.
-- 
Balazs Lengyel                       Ericsson Hungary Ltd.
Senior Specialist
Mobile: +36-70-330-7909              email: Balazs.Lengyel@ericsson.com