Re: [netmod] ietf-snmp question

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Thu, 22 January 2015 09:06 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3BB681A01F6 for <netmod@ietfa.amsl.com>; Thu, 22 Jan 2015 01:06:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.26
X-Spam-Level:
X-Spam-Status: No, score=-2.26 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_LOW=-0.7, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 alGA-8Um7SoF for <netmod@ietfa.amsl.com>; Thu, 22 Jan 2015 01:06:12 -0800 (PST)
Received: from atlas3.jacobs-university.de (atlas3.jacobs-university.de [212.201.44.18]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 76B0D1A01F2 for <netmod@ietf.org>; Thu, 22 Jan 2015 01:06:12 -0800 (PST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id 45A2E10CD; Thu, 22 Jan 2015 10:06:11 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas3.jacobs-university.de ([10.70.0.220]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10030) with ESMTP id rIaDvSbO_krZ; Thu, 22 Jan 2015 10:05:51 +0100 (CET)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas3.jacobs-university.de (Postfix) with ESMTPS; Thu, 22 Jan 2015 10:06:10 +0100 (CET)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id 94BA920036; Thu, 22 Jan 2015 10:06:10 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id u7_KN8dWjuaT; Thu, 22 Jan 2015 10:06:09 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 6112420037; Thu, 22 Jan 2015 10:06:09 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id 34B0B30E27AB; Thu, 22 Jan 2015 10:06:08 +0100 (CET)
Date: Thu, 22 Jan 2015 10:06:07 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Martin Bjorklund <mbj@tail-f.com>
Message-ID: <20150122090607.GI34402@elstar.local>
Mail-Followup-To: Martin Bjorklund <mbj@tail-f.com>, andy@yumaworks.com, netmod@ietf.org
References: <CABCOCHTDLrTm+htoSkuhtZj61g3n4jwR6UjFG_8_2E25H0Guyg@mail.gmail.com> <20150121.222656.978148438571440598.mbj@tail-f.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20150121.222656.978148438571440598.mbj@tail-f.com>
User-Agent: Mutt/1.4.2.3i
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/Y_ajynHO-NJijjH964tpXwGH-5I>
Cc: netmod@ietf.org
Subject: Re: [netmod] ietf-snmp question
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
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: <http://www.ietf.org/mail-archive/web/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, 22 Jan 2015 09:06:14 -0000

On Wed, Jan 21, 2015 at 10:26:56PM +0100, Martin Bjorklund wrote:
> Hi,
> 
> Andy Bierman <andy@yumaworks.com> wrote:
> > Hi,
> > 
> > I am working on a YANG parser bug related to "augment when".
> > I am running yangdump-pro and getting this warning for ietf-snmp.yang
> > 
> > Warning: no child nodes found in XPath expr 'snmp:v1 or snmp:v2c'
> > ietf-snmp-community.yang:220.10: warning(1032): no child node available
> 
> [...]
> 
> > Is this a bug in the RFC or am I missing something?
> 
> It is a bug :( It used to be correct, but in draft -05 (I think) the
> data model was changed.  Unfortunately, pyang doesn't have a XPath
> parser so it doesn't detect this.  (I am working on a new compiler
> that *should* have detected this, but it turns out it had a bug which
> I just fixed, and now it also detects this error.)
>

Martin,

can you file an errata?

/js

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