Re: [Netconf] comments on draft-ietf-netconf-subscribed-notifications-12

Andy Bierman <andy@yumaworks.com> Tue, 19 June 2018 23:41 UTC

Return-Path: <andy@yumaworks.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 0FD9713120A for <netconf@ietfa.amsl.com>; Tue, 19 Jun 2018 16:41:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 t-0g2lOY2oRM for <netconf@ietfa.amsl.com>; Tue, 19 Jun 2018 16:41:19 -0700 (PDT)
Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com [IPv6:2a00:1450:4010:c07::229]) (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 A202A1311AA for <netconf@ietf.org>; Tue, 19 Jun 2018 16:41:18 -0700 (PDT)
Received: by mail-lf0-x229.google.com with SMTP id n24-v6so2115452lfh.3 for <netconf@ietf.org>; Tue, 19 Jun 2018 16:41:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CeeJXNirXCtwUBAp+APlW3hSfvhpz1D5O9Z5GdPxWVU=; b=s8bo8+UELinHzDgzekV/qyjjF0P18joYZpTpVCg2h/8rhWdigiEqXnJFAr7oguw7mN h8JJ4+jh99VmXabaGlHDn+y9wbMLT7Gmtvij0uNLpUqOSedwrzxkMhcPsey0mM1vgNXa 0GLM7IBEFGIruWlifGWKRSFplWk743sbBGEtQoRE1qvzKIaiXx1XdzvlPn3Wg8kMUsBx gieghWE5NenjwZ06kh+fTVscjRxBDXD0pZK+DlyXImC5xpZjsIvVTDQotUM+h0gPTZGl ip3UW1ao6JzIa3hpZd0wVj/FlIaXLo9HXgeM7aYCqMu0D53rSeTpgEI4bZAFyeU/K2oy 26kQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CeeJXNirXCtwUBAp+APlW3hSfvhpz1D5O9Z5GdPxWVU=; b=NMn1mS5vB4joGJhPnp5+2qYgP9cpSbIZdZHBMaJxNXeZBV1kd/kfsvHbWzTnabvFv6 mn3KAdNg1v2kMG/Rk3OWwhv1AUzhT1rblRTv1JIbTVU7c5Gks3eH5eg9u5XM0U1bxCmW Qdc6FhhQymP6OUE/6wFr1LzxwdCdrMvgFB9UmxoroLQm8Il+MB7v6lafLE7gLCdvJ9le pfY+rHCIYPJ/2+NteChnLcyc5N8Abbbhy2Kka64PvR4svsXZv90887WZQOmzQEzJ+9W9 Cep6YBWwMsQ1+sH8XPco1bPCtUrS74BHNN8cAbyK5AtFNDINKW43CoVjyI5R1YQITzf1 DfFg==
X-Gm-Message-State: APt69E0oSPfssmIyt2PqIWG63m7xxYiYwxbJy7eMcQ3ZrMSLs1/VRUbn kBit4D2ybV1jY7kxvKXQ/dSwY4wFNf4Ct7T8Rpe1ug==
X-Google-Smtp-Source: ADUXVKKGCe1LNJ1LzY6uqp/biGpT6FnQ0Ml3mqJwRn08jhdG/82d4BTCTjLHTQN82VHZx2dRDACtC0eFIrUHI2hjo8w=
X-Received: by 2002:a2e:90c5:: with SMTP id o5-v6mr12038811ljg.15.1529451676852; Tue, 19 Jun 2018 16:41:16 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:db96:0:0:0:0:0 with HTTP; Tue, 19 Jun 2018 16:41:15 -0700 (PDT)
In-Reply-To: <03a8630197c04815a3aa6d85d667f678@XCH-RTP-013.cisco.com>
References: <20180613160206.gkutjhxigdxpv2uz@anna.jacobs.jacobs-university.de> <20180614.102216.2199378020340361225.mbj@tail-f.com> <f6f66d0c0a444f2bb0fc770082450037@XCH-RTP-013.cisco.com> <20180614.203959.786029239464099510.mbj@tail-f.com> <20180615062751.obzdeco6oka3ekue@anna.jacobs.jacobs-university.de> <ac1a7a7480da46d4841fcd1bd0ea4ddc@XCH-RTP-013.cisco.com> <A0ECF1FF-FF88-4BE3-A722-D681B9CF6F78@juniper.net> <03a8630197c04815a3aa6d85d667f678@XCH-RTP-013.cisco.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 19 Jun 2018 16:41:15 -0700
Message-ID: <CABCOCHSQvaJ+YZT-rGnmoR=pOFXAEGYPSUg4z_9W2-fopsFTYg@mail.gmail.com>
To: "Eric Voit (evoit)" <evoit=40cisco.com@dmarc.ietf.org>
Cc: Kent Watsen <kwatsen@juniper.net>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, "alexander.clemm@huawei.com" <alexander.clemm@huawei.com>, "alex@clemm.org" <alex@clemm.org>, "netconf@ietf.org" <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e67937056f0737df"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/HPv1yNX8KE1UYOZbCWG6ImICiVQ>
Subject: Re: [Netconf] comments on draft-ietf-netconf-subscribed-notifications-12
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.26
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: Tue, 19 Jun 2018 23:41:32 -0000

On Tue, Jun 19, 2018 at 4:33 PM, Eric Voit (evoit) <
evoit=40cisco.com@dmarc.ietf.org> wrote:

> > From: Kent Watsen, June 19, 2018 5:58 PM
> >
> > > > > > An event record is not necessarily a YANG notification, as the
> > > > > > event record's payload might not be driven by the result of a
> > > > > > YANG statement.
> > > > >
> > > > > I don't get this.  Can you give an example of when an event record
> > > > > is not defined as a YANG "notification"?
> > > >
> > > > Why do we care about non-YANG-defined notification messages? How are
> > > > systems expected to interoperate on such opaque data blobs?
> > >
> > > Opaque data blobs is what RFC-5277 can carry.  The WG asked to update
> > > RFC-5277 using the improved control plane of YANG-Push.  This is what
> > > makes up the documents in LC.
> > >
> > > <snip/>
> > >
> > > The drafts in LC adds RPC / signaling mechanisms.  The opaque data
> blobs are
> > not in scope.
> >
> > RFC 5277 may have allowed opaque data blocks, but I think that we should
> try
> > to bury that support now.  Can this document say that all notifications
> MUST
> > be defined by a YANG-defined "notification" statement?  Could this break
> in
> > compatibility be advertised somehow?
>
>
MUST be defined in YANG is a bit strong.
I would say SHOULD be defined in YANG, for the "NETCONF" stream.
Other streams do not have to use YANG notification statements.


Andy

I had always seen as subscribed-notifications as a control plane
> improvement to RFC-5277.   Explicitly excluding XSD, SYSLOG, vendor
> structures, etc. seems unnecessary.
>
> I can ping a few people who have legacy implementations which might be
> closer to this than I.   Narrowing the scope in this way should be broadly
> discussed.
>
> > > It would be helpful to get some comments on draft-ietf-netconf-
> notification-
> > messages.
> > > This draft address improvements to the opaque data blobs.
> >
> > Perhaps tease us with a little more detail?  ;)
>
> Pretty much all the common headers in Section 3 and the message bundling
> in Section 4 are both improvements which are relevant to this thread.
> Tianran likely will have some new headers he wants added as part of the
> multi-line card work.
>
> Eric
>
> > Kent
> >
>
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
>