Re: [netmod] yang-instance-file-format - do we need a special file extension ?

Qin Wu <bill.wu@huawei.com> Mon, 03 December 2018 05:03 UTC

Return-Path: <bill.wu@huawei.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 DF13A130DEE for <netmod@ietfa.amsl.com>; Sun, 2 Dec 2018 21:03:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 pnyBDcU0Yp36 for <netmod@ietfa.amsl.com>; Sun, 2 Dec 2018 21:03:23 -0800 (PST)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (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 CF4D912896A for <netmod@ietf.org>; Sun, 2 Dec 2018 21:03:22 -0800 (PST)
Received: from lhreml703-cah.china.huawei.com (unknown [172.18.7.108]) by Forcepoint Email with ESMTP id 6136A292DD781; Mon, 3 Dec 2018 05:03:17 +0000 (GMT)
Received: from NKGEML412-HUB.china.huawei.com (10.98.56.73) by lhreml703-cah.china.huawei.com (10.201.108.44) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 3 Dec 2018 05:03:18 +0000
Received: from NKGEML513-MBS.china.huawei.com ([169.254.2.69]) by nkgeml412-hub.china.huawei.com ([10.98.56.73]) with mapi id 14.03.0415.000; Mon, 3 Dec 2018 13:03:15 +0800
From: Qin Wu <bill.wu@huawei.com>
To: =?utf-8?B?QmFsw6F6cyBMZW5neWVs?= <balazs.lengyel@ericsson.com>, Joe Clarke <jclarke@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: yang-instance-file-format - do we need a special file extension ?
Thread-Index: AQHUiKyfuVCXBMdAaUydTo3SCBgaZqVsdyZw
Date: Mon, 3 Dec 2018 05:03:14 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA9B1773CD@nkgeml513-mbs.china.huawei.com>
References: <154147032474.4217.10743411700898817061.idtracker@ietfa.amsl.com> <07b9bcea-72e3-9986-7d42-303c4797f13a@ericsson.com> <2a796f78-41b7-376c-8f51-215d14cc4e2c@cisco.com> <d871f90c-c13c-f938-b545-3afedcc6406c@ericsson.com> <1727baad-06a5-d3e8-dce5-48f211b45644@cisco.com> <B8F9A780D330094D99AF023C5877DABA9B16F110@nkgeml513-mbs.china.huawei.com> <4daec669-eae3-871f-d37b-f09be43f8795@ericsson.com>
In-Reply-To: <4daec669-eae3-871f-d37b-f09be43f8795@ericsson.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.138.33.244]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/9HY7s6yQwsr5JAl4l3K_hb0BwB8>
Subject: Re: [netmod] yang-instance-file-format - do we need a special file extension ?
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, 03 Dec 2018 05:03:25 -0000

My idea is similar to section 4.2 of RFC8072, i.e., define subtype name,e.g.,
yang-instance+xml, yang-instance+json

-Qin
-----邮件原件-----
发件人: Balázs Lengyel [mailto:balazs.lengyel@ericsson.com] 
发送时间: 2018年11月30日 21:00
收件人: Qin Wu; Joe Clarke; netmod@ietf.org
主题: yang-instance-file-format - do we need a special file extension ?

Hello Qin,

Do you have a better suggestion for the file extension?

regards Balazs

On 2018. 11. 29. 2:53, Qin Wu wrote:
> The abbreviation of YANG instance data yid may confuse with YANG identitifer short name
> "
>     YANG Identifier:  Numeric object identifier, which is a fixed-length
>        numeric value that represents a particular schema node within a
>        YANG module schema tree.  The length and format of a YANG
>        identifier are defined in the YANG Identifier Registry.  Also
>        called a "YID".
> "
> I believe they are not same thing.
>
> -Qin
> -----邮件原件-----
> 发件人: netmod [mailto:netmod-bounces@ietf.org] 代表 Joe Clarke
> 发送时间: 2018年11月28日 22:36
> 收件人: Balázs Lengyel; netmod@ietf.org
> 主题: Re: [netmod] Fwd: New Version Notification for draft-ietf-netmod-yang-instance-file-format-00.txt
>
> On 11/23/18 07:48, Balázs Lengyel wrote:
>>> Do you have to register the ".yid" file extension as well?
>> BALAZS: Is there a registry for file extensions? I was not aware.
> RFC6020 section 14 registers media types that include file extensions for .yin and .yang.  I am asking are you proposing to do the same and registering something like application/yang-instance-data with a .yid extension?
>
> Joe
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

-- 
Balazs Lengyel                       Ericsson Hungary Ltd.
Senior Specialist
Mobile: +36-70-330-7909              email: Balazs.Lengyel@ericsson.com