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

Martin Bjorklund <mbj@tail-f.com> Thu, 21 June 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 F3B52130FBE for <netconf@ietfa.amsl.com>; Thu, 21 Jun 2018 00:46:05 -0700 (PDT)
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 JwBH3VtgP9b4 for <netconf@ietfa.amsl.com>; Thu, 21 Jun 2018 00:46:04 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id E0F3D131028 for <netconf@ietf.org>; Thu, 21 Jun 2018 00:46:03 -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 2D09F1AE01AA; Thu, 21 Jun 2018 09:46:03 +0200 (CEST)
Date: Thu, 21 Jun 2018 09:46:03 +0200
Message-Id: <20180621.094603.190163653994529777.mbj@tail-f.com>
To: zhoutianran@huawei.com
Cc: andy@yumaworks.com, evoit=40cisco.com@dmarc.ietf.org, alex@clemm.org, netconf@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <BBA82579FD347748BEADC4C445EA0F21B55D00ED@NKGEML515-MBX.china.huawei.com>
References: <03a8630197c04815a3aa6d85d667f678@XCH-RTP-013.cisco.com> <CABCOCHSQvaJ+YZT-rGnmoR=pOFXAEGYPSUg4z_9W2-fopsFTYg@mail.gmail.com> <BBA82579FD347748BEADC4C445EA0F21B55D00ED@NKGEML515-MBX.china.huawei.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/GB-5cmCPxSlIt_Ktr57aqUHJpB0>
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: Thu, 21 Jun 2018 07:46:06 -0000

Tianran Zhou <zhoutianran@huawei.com> wrote:
> This makes sense to me. I would like to see messages like syslog can
> alse be streamed by this notificatuons.

What exactly do you mean?  If you mean syslog messages wrapped in a
notification like this:

  notification syslog-message {
    leaf msg {
      type string;
    }
  }

then it is trivially supported by this spec.



/martin




> 
> Tianran
> 
> 
> 
> 
> ________________________________
> Sent from WeLink
> 
> 发件人: Andy Bierman
> 收件人: Eric Voit
> (evoit)<evoit=40cisco.com@dmarc.ietf.org<mailto:evoit=40cisco.com@dmarc.ietf.org>>
> 抄送:
> alex<alex@clemm.org<mailto:alex@clemm.org>>;netconf<netconf@ietf.org<mailto:netconf@ietf.org>>
> 主题: Re: [Netconf] comments on
> draft-ietf-netconf-subscribed-notifications-12
> 时间: 2018-06-20 07:42:09
> 
> 
> 
> On Tue, Jun 19, 2018 at 4:33 PM, Eric Voit (evoit)
> <evoit=40cisco.com@dmarc.ietf.org<mailto: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<mailto:Netconf@ietf.org>
> https://www.ietf.org/mailman/listinfo/netconf
>