Re: [netmod] ID submission YANG validation errors?

Mahesh Jethanandani <mjethanandani@gmail.com> Wed, 22 January 2020 22:29 UTC

Return-Path: <mjethanandani@gmail.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 8A2DA120091 for <netmod@ietfa.amsl.com>; Wed, 22 Jan 2020 14:29:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 AxVhYEv7QdDO for <netmod@ietfa.amsl.com>; Wed, 22 Jan 2020 14:29:18 -0800 (PST)
Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DA1CF120089 for <netmod@ietf.org>; Wed, 22 Jan 2020 14:29:18 -0800 (PST)
Received: by mail-pg1-x52c.google.com with SMTP id x8so268583pgk.8 for <netmod@ietf.org>; Wed, 22 Jan 2020 14:29:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=HciJLXEubsIGU7IzAUviAlz4KBex5IRFR7tSPKvNJgE=; b=k5K+j2x6gB5V8NrOxg6OIZtBYAA+oMvNsJkJsRiMGfUHL46guO1bpfKhDG5LaQXvKm p8p4YaEIJ6RsVlH0osVyryd4nAKppz0lrDYGcPpn52BT+cQ8o05ogDN4K6dOYlC1K8Vo TALGJliJZZjy0Mr/HaAvXwOBAJBeNszxfVslReRJAngpZZe4xwpyMpu4DWqgKk++RpK2 S73wAEJR42T+ci2b5z7RdSsB8I8vf8jMfRS8EuylKTiX8yxVLrb3qWcFEjzDKV03KWLl pliMYBTrMQ2KbNOsiW9r0WzbzH9mrC2CWmjNiwNSRNHTx68RTXXwNAkX+qp0UjTb+/4O mNzg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=HciJLXEubsIGU7IzAUviAlz4KBex5IRFR7tSPKvNJgE=; b=oPuCnF3SdrN02VdJ87noUPGJbegBaah7cVIqtXIauFQyYJDV4H9IXWOQKml2IQlEK1 2+0UCYyzRMUolj/fWhcWprPgDJYI5Ph+z5A/tH6Zj3Is7jsNCTk3xyrarD2RQWS1pKJi pNsyR/F+BUrbWlJLu9Adm17z006DwQn5WLa4VOJPVoprAJGzc0V/b5ja3y7oH79qmYX7 iLJRQ+j7jKmp/xPj04rwywR9vxaxV6OBN+YoYBcnq2+WWFKjmFIP/1QhFGDFyTxiO8DC ZU3ZhyRA4fUDX/aZzgA8unecx4ha4F0XirAlacrgMLwGwPDU1cbLqc9q0x7QObL+vcxq qfAA==
X-Gm-Message-State: APjAAAWoGnzMmARX1sNRC4n+wkwpLgQ3FAbud+GQe7rIGJF2bc8E8yS5 QmYWPsbbHzNppXH1+I616V0Mkdnd
X-Google-Smtp-Source: APXvYqzI/KfF4hxREhQB0OcSMRy6V8u3g/NSF9Yhns0nCgVjRyUb/SEDb+bsSUFmfkjHTXoSkuLpHA==
X-Received: by 2002:a63:6c82:: with SMTP id h124mr523642pgc.328.1579732158285; Wed, 22 Jan 2020 14:29:18 -0800 (PST)
Received: from [10.33.123.108] ([66.170.99.1]) by smtp.gmail.com with ESMTPSA id s131sm52135031pfs.135.2020.01.22.14.29.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jan 2020 14:29:17 -0800 (PST)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <1BBE300F-B664-48D0-8805-792375821051@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_3149E621-72EB-4926-997D-5F8C660827F2"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
Date: Wed, 22 Jan 2020 14:29:16 -0800
In-Reply-To: <sa6h80nmu4v.fsf@stubbs.int.chopps.org>
Cc: netmod@ietf.org
To: Christian Hopps <chopps@chopps.org>
References: <sa6h80nmu4v.fsf@stubbs.int.chopps.org>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/23UW4QCkPDryG2nQpOcMThk-iZY>
Subject: Re: [netmod] ID submission YANG validation errors?
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: Wed, 22 Jan 2020 22:29:20 -0000


> On Jan 22, 2020, at 6:40 AM, Christian Hopps <chopps@chopps.org> wrote:
> 
> 
> I've just submitted a YANG module draft and received what i think to be a bogus validation error:
> 
> https://datatracker.ietf.org/doc/draft-ietf-lsr-yang-isis-reverse-metric/
> 
> It's saying it can't find the ietf-isis module. Has anyone else experienced this issue with referencing draft modules? It seems broken that we can't refer to works-in-progress, inside our works-in-progress.

Yes, I experience this error all the time. In this case I am referencing published IEEE models in YangModels GitHub location. If my local validation passes, I just ignore these errors:

yanglint 0.14.80: yanglint --verbose -p {rfclib} -p {draftlib} -p {tmplib} {model} -i:
err : Data model "ieee802-dot1q-types" not found.
err : Importing "ieee802-dot1q-types" module into "ietf-if-l3-vlan" failed.
err : Module "ietf-if-l3-vlan" parsing failed.
err : Importing "ietf-if-l3-vlan" module into "ietf-routing-policy" failed.
err : Module "ietf-routing-policy" parsing failed.
err : Importing "ietf-routing-policy" module into "ietf-bgp" failed.
err : Module "ietf-bgp" parsing failed.

> 
> Thanks,
> Chris.
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

Mahesh Jethanandani
mjethanandani@gmail.com