Re: [Netconf] mbj's WGLC comments on subscribed-notifications-10

Martin Bjorklund <mbj@tail-f.com> Fri, 16 March 2018 13:29 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 163D7126CD8 for <netconf@ietfa.amsl.com>; Fri, 16 Mar 2018 06:29:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level:
X-Spam-Status: No, score=-1.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 CXIslx0YXflE for <netconf@ietfa.amsl.com>; Fri, 16 Mar 2018 06:29:40 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id 9B9E81241F3 for <netconf@ietf.org>; Fri, 16 Mar 2018 06:29:40 -0700 (PDT)
Received: from localhost (h-80-27.A165.priv.bahnhof.se [212.85.80.27]) by mail.tail-f.com (Postfix) with ESMTPSA id 95CFE1AE0426; Fri, 16 Mar 2018 14:29:39 +0100 (CET)
Date: Fri, 16 Mar 2018 14:29:39 +0100
Message-Id: <20180316.142939.1440115704030017700.mbj@tail-f.com>
To: evoit@cisco.com
Cc: netconf@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <da2fdfe2f2da4a96a2e9d4797cd03ce8@XCH-RTP-013.cisco.com>
References: <20180315.101146.1606096356347320501.mbj@tail-f.com> <20180316.133303.756381059463348730.mbj@tail-f.com> <da2fdfe2f2da4a96a2e9d4797cd03ce8@XCH-RTP-013.cisco.com>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/QbN04sAKZk2q4wS9iKHJqalqt5c>
Subject: Re: [Netconf] mbj's WGLC comments on subscribed-notifications-10
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.22
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: Fri, 16 Mar 2018 13:29:42 -0000

"Eric Voit (evoit)" <evoit@cisco.com> wrote:
> > Martin Bjorklund, March 16, 2018 8:33 AM
> >
> > Hi,
> > 
> > While reviewing the other drafts, I found another bug in this
> > document.  The
> > "establish-subscription" rpc is supposed to return the subscription id
> > in the
> > reply, but the rpc doesn't have any output defined in the YANG model
> > (interestingly, it is present in the tree diagram).
> 
> Sigh.  I need find better tooling.  I have too much manual stuff right
> now.  Perhaps someone has documented / is maintaining a continuous
> integration environment somewhere?

See for example
https://github.com/netmod-wg/rfc7277bis/blob/master/Makefile

The idea is to (i) have all examples in separate files and (ii) use
yang2dsdl to validate them.  Sometimes some scripting needs to be
done; for example I use a awk script (in the repo) to split the xml
into short lines appropriate for the RFC format.

These are just quick hacks to get something that works, I'm sure it
can be done in a better way.


/martin