Re: [netmod] rfc6991bis: yang:longitude, yang:latitude, yang:postal-code, yang:country-code

Qin Wu <bill.wu@huawei.com> Thu, 30 July 2020 15:00 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 41ACA3A043E for <netmod@ietfa.amsl.com>; Thu, 30 Jul 2020 08:00:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 39SPhNoF1aKD for <netmod@ietfa.amsl.com>; Thu, 30 Jul 2020 08:00:08 -0700 (PDT)
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 D3A943A044A for <netmod@ietf.org>; Thu, 30 Jul 2020 08:00:07 -0700 (PDT)
Received: from lhreml705-chm.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 695AA5695BD29ADDC073; Thu, 30 Jul 2020 16:00:04 +0100 (IST)
Received: from lhreml705-chm.china.huawei.com (10.201.108.54) by lhreml705-chm.china.huawei.com (10.201.108.54) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1913.5; Thu, 30 Jul 2020 16:00:04 +0100
Received: from DGGEML422-HUB.china.huawei.com (10.1.199.39) by lhreml705-chm.china.huawei.com (10.201.108.54) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA_P256) id 15.1.1913.5 via Frontend Transport; Thu, 30 Jul 2020 16:00:03 +0100
Received: from DGGEML511-MBS.china.huawei.com ([169.254.4.170]) by dggeml422-hub.china.huawei.com ([10.1.199.39]) with mapi id 14.03.0487.000; Thu, 30 Jul 2020 23:00:00 +0800
From: Qin Wu <bill.wu@huawei.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
CC: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] rfc6991bis: yang:longitude, yang:latitude, yang:postal-code, yang:country-code
Thread-Index: AdZmgg/EPewgRCpcRLqBah2HBp4qKQ==
Date: Thu, 30 Jul 2020 15:00:00 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABAAD8A86F6@dggeml511-mbs.china.huawei.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.164.151.60]
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/G6TGc4dvvsJXAqokfVDT3tqLhdw>
Subject: Re: [netmod] rfc6991bis: yang:longitude, yang:latitude, yang:postal-code, yang:country-code
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: Thu, 30 Jul 2020 15:00:10 -0000

Works for me, thanks.
-----邮件原件-----
发件人: Juergen Schoenwaelder [mailto:j.schoenwaelder@jacobs-university.de] 
发送时间: 2020年7月30日 22:03
收件人: Qin Wu <bill.wu@huawei.com>
抄送: netmod@ietf.org
主题: Re: [netmod] rfc6991bis: yang:longitude, yang:latitude, yang:postal-code, yang:country-code

But then perhaps draft-ietf-netmod-geo-location-05 needs to be updated or you need to use a grouping. I think we should not have overlapping work in different documents.

/js

On Thu, Jul 30, 2020 at 01:54:43PM +0000, Qin Wu wrote:
> That is a good option, but draft-ietf-netmod-geo-location-05 only define grouping, there is typedef for longitude and latitude, altitude. 
> 
> -Qin
> -----邮件原件-----
> 发件人: Juergen Schoenwaelder 
> [mailto:j.schoenwaelder@jacobs-university.de]
> 发送时间: 2020年7月30日 21:32
> 收件人: Qin Wu <bill.wu@huawei.com>
> 抄送: netmod@ietf.org
> 主题: Re: [netmod] rfc6991bis: yang:longitude, yang:latitude, 
> yang:postal-code, yang:country-code
> 
> But there is draft-ietf-netmod-geo-location-05... What about using the types defined in there?
> 
> /js
> 
> On Thu, Jul 30, 2020 at 01:28:17PM +0000, Qin Wu wrote:
> > See geolocation definition in draft-ietf-teas-yang-te-topo-22 which defines longitude and latitude, altitude.
> > I know it is beneficial for future document to import these types from rfc6991bis instead of from te topo model.
> > 
> > -Qin
> > -----邮件原件-----
> > 发件人: netmod [mailto:netmod-bounces@ietf.org] 代表 Juergen 
> > Schoenwaelder
> > 发送时间: 2020年7月18日 3:16
> > 收件人: netmod@ietf.org
> > 主题: [netmod] rfc6991bis: yang:longitude, yang:latitude, 
> > yang:postal-code, yang:country-code
> > 
> >   - It was suggested to add types for longitude, latitude, postal
> >     code, country-code. Do we go there or do we leave these for other
> >     modules to define? It seems such definitions should go into
> >     draft-ietf-netmod-geo-location.
> > 
> >   - Geo location is covered by draft-ietf-netmod-geo-location
> >     (so do nothing).
> > 
> >   - For country codes, there is ISO 3166, which defines two-letter,
> >     three-letter, and numeric country codes. I assume people wanted
> >     two-letter codes (as used in the DNS), i.e. they want DE and not
> >     DEU. But note that it is GB and not UK, i.e., what we commonly
> >     use in the DNS may not be exactly ISO 3166. (The devil is always
> >     in the details.)
> > 
> >   - For postal codes, it is unclear what the requirements are or what
> >     a proper definition for postal codes is. It is not entirely clear
> >     what the authoritative definition of the format of postal codes
> >     is, perhaps the Universal Postal Union.
> > 
> >   - Options: (i) do nothing or (ii) add a country code definition
> >     only or (iii) add both a country code definition and a postal
> >     code definition (which might be to some extend vague)
> > 
> >   - Proposal: do nothing
> >   
> > -- 
> > Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> > Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> > Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
> > 
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
> 
> -- 
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>