Re: [Netconf] I-D Action: draft-ietf-netconf-subscribed-notifications-19.txt

Martin Bjorklund <mbj@tail-f.com> Thu, 20 December 2018 07:46 UTC

Return-Path: <mbj@tail-f.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 13E551310B8 for <netconf@ietfa.amsl.com>; Wed, 19 Dec 2018 23:46:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 jQt_Dppysd6d for <netconf@ietfa.amsl.com>; Wed, 19 Dec 2018 23:46:39 -0800 (PST)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id A20981310B5 for <netconf@ietf.org>; Wed, 19 Dec 2018 23:46:39 -0800 (PST)
Received: from localhost (unknown [173.38.220.45]) by mail.tail-f.com (Postfix) with ESMTPSA id 6098A1AE0397; Thu, 20 Dec 2018 08:46:36 +0100 (CET)
Date: Thu, 20 Dec 2018 08:46:35 +0100
Message-Id: <20181220.084635.1007231808550572557.mbj@tail-f.com>
To: calle@tail-f.com
Cc: rrahman@cisco.com, netconf@ietf.org, lhotka@nic.cz
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <3E762C43-7F3A-4EB3-A6CB-22006950D57B@tail-f.com>
References: <7D59A993-EE20-429C-B5A0-C18F8B405EE8@cisco.com> <B6F8FE35-B713-4EB1-9E9A-88873126908D@tail-f.com> <3E762C43-7F3A-4EB3-A6CB-22006950D57B@tail-f.com>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="utf-8"
Content-Transfer-Encoding: base64
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/XfOlppqb3Lk59PLF0lIYUFxATR4>
Subject: Re: [Netconf] I-D Action: draft-ietf-netconf-subscribed-notifications-19.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Dec 2018 07:46:42 -0000

Carl Moberg <calle@tail-f.com> wrote:
> 
>  Actually, and to put a finer point on the below. I do extract YANG
>  modules from drafts, but only store those that pass extraction and
>  validation. And it turns out that validation of the module
>  extracted from
>  https://www.ietf.org/id/draft-ietf-netmod-schema-mount-12.txt fails
>  because the file name in the CODE BEGINS marker is missing the
>  “.yang” suffix which violates
>  https://tools.ietf.org/html/rfc6087#section-3.1.

whoops.  now fixed in my local copy of the tool I use to generate
drafts.

The same tool, same error, was used to render 
draft-ietf-netconf-nmda-netconf-08



/martin



> 
> 
> > On Dec 20, 2018, at 12:57 AM, Carl Moberg <calle@tail-f.com> wrote:
> > 
> > Reshad,
> > 
> > Yes, so the YANG modules in the draft tries to import the 'ietf-yang-schema-mount’ and 'ietf-network-instance' YANG modules which are not available in the repo in the validator. The reason why we don’t keep them in the repo is that the specification that defines those modules (draft-ietf-netmod-schema-mount, and draft-ietf-rtgwg-ni-model respectively) are not published yet and we only keep published YANG modules.
> > 
> > The easiest way forward is probably to extract the YANG modules from your draft (perhaps using the https://github.com/xym-tool/xym tool), zip up your module with the imported modules and validate them using the “Upload multiple YANG files or a zip archive” option.
> > 
> > I am considering storing draft-level YANG files (they are many and broken :-) in the validator repo as well. Maybe time to revisit that.
> > 
> >> On Dec 20, 2018, at 12:46 AM, Reshad Rahman (rrahman) <rrahman@cisco.com> wrote:
> >> 
> >> Hi Carl,
> >> 
> >> Yangvalidator.org has the following errors for -20, pyang is fine though.
> >> 
> >> Regards,
> >> Reshad.
> >> 
> >> Confdc Output
> >> ietf-network-instance@2018-03-20.yang:18: error: module 'ietf-yang-schema-mount' not found
> >> yanglint Validation
> >> err : Data model "ietf-yang-schema-mount" not found.
> >> err : Importing "ietf-yang-schema-mount" module into "ietf-network-instance" failed.
> >> err : Module "ietf-network-instance" parsing failed.
> >> err : Importing "ietf-network-instance" module into "ietf-subscribed-notifications" failed.
> >> err : Module "ietf-subscribed-notifications" parsing failed.
> >> 
> >> 
> >> On 2018-12-19, 6:37 PM, "Netconf on behalf of Carl Moberg" <netconf-bounces@ietf.org on behalf of calle@tail-f.com> wrote:
> >> 
> >> 
> >> 
> >>> On Dec 19, 2018, at 8:40 PM, Martin Bjorklund <mbj@tail-f.com> wrote:
> >>> 
> >>> "Eric Voit (evoit)" <evoit@cisco.com> wrote:
> >>>> Thanks Martin,
> >>>> 
> >>>> 
> >>>> 
> >>>> I have the version addressing the double quotes here:
> >>>> 
> >>>> https://github.com/netconf-wg/rfc5277bis/blob/master/draft-ietf-netconf-subscribed-notifications-20.xml
> >>>> 
> >>>> 
> >>>> 
> >>>> Before I upload this -20, I want to see if you have concerns with the Pyang Validation issue shown below.   Reshad mentioned that other users have seen it.  Is this something which should stop me from posting?
> >>>> 
> >>> 
> >>> You get this error b/c you are running an old version of pyang that
> >>> isn't compatible with the (newer) version of pip on your system.  I
> >>> suggest you upgrade pyang.
> >>> 
> >> 
> >>    Yup, thanks. Upgraded and yangvalidator.org now works (better).
> >> 
> >>   _______________________________________________
> >>   Netconf mailing list
> >>   Netconf@ietf.org
> >>   https://www.ietf.org/mailman/listinfo/netconf
> >> 
> >> 
> > 
> > _______________________________________________
> > Netconf mailing list
> > Netconf@ietf.org
> > https://www.ietf.org/mailman/listinfo/netconf
>