Re: [yang-doctors] [IANA #1208742] YANG modules and XML-based registries
Miroslav Kováč <miroslav.kovac@pantheon.tech> Mon, 06 December 2021 06:16 UTC
Return-Path: <miroslav.kovac@pantheon.tech>
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 35B433A0476
for <yang-doctors@ietfa.amsl.com>; Sun, 5 Dec 2021 22:16:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, HTML_MESSAGE=0.001,
SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001]
autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key)
header.d=pantheon.tech
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 yBOD9mu7QX1f for <yang-doctors@ietfa.amsl.com>;
Sun, 5 Dec 2021 22:16:03 -0800 (PST)
Received: from mailgw02.pantheon.sk (mailgw01.pantheon.sk [46.229.239.26])
(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 0F1B23A0485
for <yang-doctors@ietf.org>; Sun, 5 Dec 2021 22:16:02 -0800 (PST)
Received: from mailgw02.pantheon.sk (localhost.localdomain [127.0.0.1])
by mailgw02.pantheon.sk (Proxmox) with ESMTP id 1F14E1812DB;
Mon, 6 Dec 2021 07:15:59 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech;
h=cc:cc:content-type:content-type:date:from:from:in-reply-to
:message-id:mime-version:references:reply-to:subject:subject:to
:to; s=dkim; bh=jtBjvxFz86PIPHNxecpZiERGOEDa8TMRF8wH6L+zweI=; b=
JFAglAL80ZwOxHl56TDtcA2Dd2gC5sKwPjRGfymYO4bJXPhNAm0yqsh9O2H0BL5d
Sujm2oSCCeM2HBhJkpOWdhaZN/VV4ZW/EgJ0iQ2i85tyztQoKH8PxmQMZoFCb3YN
yhqG1T+czOC5IHPdT5IGhLa4BZZ9nrKbjcMUtabUb/yShL8UaOAKW95QBIPWU1z0
G5/J21ivO9Y1VV2fhFjvogG7tsJJJ84Pb7/S1EnRq6o0pI2R4bCf8YaSoPP0M0cr
evmdcSXGXApQngsRnb990w47ezZVXGQX5jr5Zl0k6xOOdlIFopXCKKkIL/USSHKC
gGrddHFeSw3CztfnwAdgxQ==
From: =?utf-8?B?TWlyb3NsYXYgS292w6HEjQ==?= <miroslav.kovac@pantheon.tech>
To: Ladislav Lhotka <ladislav.lhotka@nic.cz>, "Eric Vyncke (evyncke)"
<evyncke@cisco.com>, Benoit Claise <benoit.claise@huawei.com>,
"iana-issues-comment@iana.org" <iana-issues-comment@iana.org>,
=?utf-8?B?U2xhdm9tw61yIE1hesO6cg==?= <Slavomir.Mazur@pantheon.tech>
CC: "yang-doctors@ietf.org" <yang-doctors@ietf.org>
Thread-Topic: [yang-doctors] [IANA #1208742] YANG modules and XML-based
registries
Thread-Index: AQHX4tb1ROaRPd6GXkOCXAJ7Vt/apqwbGpfG///0UwCABCDYgIAABNyAgAXUuTI=
Date: Mon, 6 Dec 2021 06:15:55 +0000
Message-ID: <1230229958ea4441841011f754b6376b@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>,
<c73e756a-a789-6207-f92b-ea6f51225fa7@nic.cz>
In-Reply-To: <c73e756a-a789-6207-f92b-ea6f51225fa7@nic.cz>
Accept-Language: sk-SK, en-US
Content-Language: sk-SK
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.101.4.10]
Content-Type: multipart/alternative;
boundary="_000_1230229958ea4441841011f754b6376bpantheontech_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/swPA5WQf696fL8ee70ii-mQehAU>
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: Mon, 06 Dec 2021 06:16:09 -0000
Hello everyone, I am sorry for late answer, I was on a holiday and just got back. I am adding Slavomir Mazur to this conversation since he is the main developer right now. 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) I believe that yes. It would give more information and it is always good. About efficient I am not sure right now. We came with an algorithm in yangcatalog ourselves which is already checking if the file is new/updated or nothing at all which is quiet fast and has to be done for each file added to yangcatalog anyway. Slavomir please check if this information is any useful for us or we actually do not need it. > Just curious...if ftp.iana.org were not available, would having it only available via rsync be OK? Yes we are using only rsync - no ftp. Regrads, Miroslav Kovac ________________________________ Od: Ladislav Lhotka <ladislav.lhotka@nic.cz> Odoslané: štvrtok, 2. decembra 2021 15:04:33 Komu: Eric Vyncke (evyncke); Benoit Claise; iana-issues-comment@iana.org Kópia: yang-doctors@ietf.org; Miroslav Kováč Predmet: Re: [yang-doctors] [IANA #1208742] YANG modules and XML-based registries 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áč