Re: [yang-doctors] [IANA #1208742] YANG modules and XML-based registries
Ladislav Lhotka <ladislav.lhotka@nic.cz> Thu, 02 December 2021 14:05 UTC
Return-Path: <ladislav.lhotka@nic.cz>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id EA3333A0932
for <yang-doctors@ietfa.amsl.com>; Thu, 2 Dec 2021 06:05:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.952
X-Spam-Level:
X-Spam-Status: No, score=-3.952 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-1.852,
RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key)
header.d=nic.cz
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 hw8lwHKvBlA2 for <yang-doctors@ietfa.amsl.com>;
Thu, 2 Dec 2021 06:05:17 -0800 (PST)
Received: from mail.nic.cz (mail.nic.cz [217.31.204.67])
(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 23B863A110E
for <yang-doctors@ietf.org>; Thu, 2 Dec 2021 06:04:37 -0800 (PST)
Received: from [IPV6:2001:1488:fffe:6:a88f:7eff:fed2:45f8] (unknown
[IPv6:2001:1488:fffe:6:a88f:7eff:fed2:45f8])
by mail.nic.cz (Postfix) with ESMTPSA id 1C4501421B6;
Thu, 2 Dec 2021 15:04:34 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default;
t=1638453874; bh=Ia7T805RZv5czH0igpju1K4INdduPVSBkZq/VyN45Hk=;
h=Date:To:From;
b=WD6l1e8rvW67zFXNBqDO9B6spLUJK372G7yZOebCboEMFL5P5X/Tb6aBoWwLgOl0X
UGUYyYQYmIV1srrYHgRW4FW2gAxSdllIjXlUxiUC+iuFaYlPbS9f9Zv5Y6/Ijmzy1G
GxBtOZFhQyLuvJkE9x7AqvnH1Ul8AMQK+DWbI8ZY=
Message-ID: <c73e756a-a789-6207-f92b-ea6f51225fa7@nic.cz>
Date: Thu, 2 Dec 2021 15:04:33 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.3.2
Content-Language: en-US
To: "Eric Vyncke (evyncke)" <evyncke=40cisco.com@dmarc.ietf.org>,
Benoit Claise <benoit.claise@huawei.com>,
"iana-issues-comment@iana.org" <iana-issues-comment@iana.org>
Cc: "yang-doctors@ietf.org" <yang-doctors@ietf.org>,
"miroslav.kovac@pantheon.tech" <miroslav.kovac@pantheon.tech>
References: <RT-Ticket-1208742@icann.org>
<rt-4.4.3-22439-1631317903-639.1208742-9-0@icann.org>
<rt-4.4.3-17227-1635288701-951.1208742-9-0@icann.org>
<206657d7-3875-76a3-6680-54608ad4479d@huawei.com>
<rt-4.4.3-18126-1637939104-524.1208742-9-0@icann.org>
<rt-4.4.3-27252-1638224767-1948.1208742-9-0@icann.org>
<91a022d8-bcea-1b5b-acf0-8ad9a4f9827a@huawei.com>
<BE72D688-DB4A-405E-B3F3-FB320F52130D@cisco.com>
From: Ladislav Lhotka <ladislav.lhotka@nic.cz>
Organization: CZ.NIC
In-Reply-To: <BE72D688-DB4A-405E-B3F3-FB320F52130D@cisco.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: clamav-milter 0.102.4 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/gFensJsshplL-NAkb_XT9EANPJQ>
Subject: Re: [yang-doctors] [IANA #1208742] YANG modules and XML-based
registries
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>,
<mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>,
<mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Dec 2021 14:05:22 -0000
On 02. 12. 21 14:47, Eric Vyncke (evyncke) wrote: > Could using HTTPS even be simpler ? There is a date in the HTTP header indicated the revision date of the file and this could be useful as well for yangcatalog.org (even if rsynch is probably more efficient) Yes, in iana-yang project [1] I first get the "Last-Modified" header via curl to check if the XML representation of a registry has changed. Lada [1] https://github.com/llhotka/iana-yang > > -éric > > On 29/11/2021, 23:45, "Benoit Claise" <benoit.claise@huawei.com> wrote: > > Hi Michelle, > > Thanks Benoit (so great to hear from you!) > Yes, I've been missing our IPFIX and YANG registry discussions :-) > > > > Just curious...if ftp.iana.org were not available, would having it only available via rsync be OK? > That would be ok IMO. > Miroslav, do you confirm from an YC.o development point of view? > > Regards, Benoit > > Or would that cause a problem? > > > > Just trying to fully understand the need. > > > > Thanks! > > > > --Michelle > > > > > > On Fri Nov 26 15:05:04 2021, benoit.claise@huawei.com wrote: > >> Hi Michelle, > >> > >> Sorry for the delay in getting back to you. > >> Here is the reason behind this note. > >> At > >> https://www.iana.org/assignments/yang-parameters/yang- > >> parameters.xhtml, > >> you see the column "IANA maintained". > >> How can someone know that there is a new revision for an IANA- > >> maintained > >> YANG module? > >> And if we know, how to retrieve it? > >> Typical example: iana-if-types > >> Hence, the only solution is to have a cron job that will query IANA > >> on > >> regular basis. > >> That's what we do in yangcatalog.org. I believe my initial code was > >> done > >> with rsync. > >> Including Miroslav (and other partners in crime) to double-check this. > >> > >> Regards, Benoit > >> > >> > >> On 10/27/2021 12:51 AM, Michelle Cotton via RT wrote: > >>> Hello Benoit, > >>> > >>> I hope this message finds you well. > >>> > >>> We were just having an internal discussion and had a question for > >>> you. > >>> > >>> On our website for yang modules, we have a note that says the > >>> following: > >>> > >>> "YANG modules are additionally available for bulk retrieval > >>> by Rsync (rsync.iana.org::assignments/yang-parameters/) or > >>> FTP (ftp://ftp.iana.org/assignments/yang-parameters/)." > >>> > >>> Are folks actually using ftp.iana.org to get yang modules? What are > >>> they doing with them? The reason this came up is we are exploring > >>> potentially decommissioning ftp.iana.org, similar to what the IETF > >>> recently did with their ftp server. If it did happen it would be > >>> still a ways in the future. > >>> > >>> Can you provide any insight regarding the use of ftp.iana.org for > >>> yang modules? > >>> > >>> Thanks in advance. > >>> > >>> Michelle > >>> > >>> ***** > >>> Michelle Cotton > >>> IANA Services > >>> > >>> . > > . > > > _______________________________________________ > yang-doctors mailing list > yang-doctors@ietf.org > https://www.ietf.org/mailman/listinfo/yang-doctors > -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67
- [yang-doctors] [IANA #1208742] YANG modules and X… Michelle Cotton via RT
- Re: [yang-doctors] [IANA #1208742] YANG modules a… Benoit Claise
- Re: [yang-doctors] [IANA #1208742] YANG modules a… Eric Vyncke (evyncke)
- Re: [yang-doctors] [IANA #1208742] YANG modules a… Ladislav Lhotka
- Re: [yang-doctors] [IANA #1208742] YANG modules a… Miroslav Kováč