[YANG] 7.1.5 import statement

Andy Bierman <ietf@andybierman.com> Wed, 09 January 2008 16:34 UTC

Return-path: <yang-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1JCdsl-00041O-LB; Wed, 09 Jan 2008 11:34:23 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43) id 1JCdsk-00041I-J6 for yang-confirm+ok@megatron.ietf.org; Wed, 09 Jan 2008 11:34:22 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1JCdsk-000418-8W for yang@ietf.org; Wed, 09 Jan 2008 11:34:22 -0500
Received: from smtp122.sbc.mail.sp1.yahoo.com ([69.147.64.95]) by chiedprmail1.ietf.org with smtp (Exim 4.43) id 1JCdsj-00024p-RJ for yang@ietf.org; Wed, 09 Jan 2008 11:34:22 -0500
Received: (qmail 31590 invoked from network); 9 Jan 2008 16:34:21 -0000
Received: from unknown (HELO ?192.168.0.10?) (andybierman@att.net@68.120.84.5 with plain) by smtp122.sbc.mail.sp1.yahoo.com with SMTP; 9 Jan 2008 16:34:20 -0000
X-YMail-OSG: 8OsvwXwVM1k2wuauWoxo_h34ItlNqoUaEbsnpRSMblSLrNbm
Message-ID: <4784F78B.5040000@andybierman.com>
Date: Wed, 09 Jan 2008 08:34:19 -0800
From: Andy Bierman <ietf@andybierman.com>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: yang <yang@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 08170828343bcf1325e4a0fb4584481c
Subject: [YANG] 7.1.5 import statement
X-BeenThere: yang@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: YANG modeling Language for NETCONF <yang.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/yang>, <mailto:yang-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/yang>
List-Post: <mailto:yang@ietf.org>
List-Help: <mailto:yang-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/yang>, <mailto:yang-request@ietf.org?subject=subscribe>
Errors-To: yang-bounces@ietf.org

Hi,

This section does not say anything about whether it is an
error to import a non-existent module, if it is not used.
The pyang program reports this as a fatal error.

This gets into implementation details a little.
A well-formed import that never gets used should be a warning.
Consider implementations that do not actually find and compile
the module for an import clause until the first time the prefix is used.

The text needs to be clarified either way.


Andy


_______________________________________________
YANG mailing list
YANG@ietf.org
https://www1.ietf.org/mailman/listinfo/yang