Re: [Netconf] Subscription Use Cases

Martin Bjorklund <mbj@tail-f.com> Fri, 09 December 2016 15: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 69AEF1294A0 for <netconf@ietfa.amsl.com>; Fri, 9 Dec 2016 07:29:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.797
X-Spam-Level:
X-Spam-Status: No, score=-4.797 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-2.896, SPF_PASS=-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 O2UOW5KNiatR for <netconf@ietfa.amsl.com>; Fri, 9 Dec 2016 07:29:47 -0800 (PST)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id DA9E612945D for <netconf@ietf.org>; Fri, 9 Dec 2016 07:29:46 -0800 (PST)
Received: from localhost (h-13-76.a165.priv.bahnhof.se [155.4.13.76]) by mail.tail-f.com (Postfix) with ESMTPSA id 23E2F1AE02BC; Fri, 9 Dec 2016 16:29:46 +0100 (CET)
Date: Fri, 09 Dec 2016 16:29:45 +0100
Message-Id: <20161209.162945.891266044701376554.mbj@tail-f.com>
To: andy@yumaworks.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <CABCOCHSOB1WoWjkEOsSj_=5BQ2MMparS9EKBzzYqD_=wFVTdrQ@mail.gmail.com>
References: <5e06ffa5d92a4227ae1d64bc8531ac40@XCH-RTP-013.cisco.com> <20161209.143306.1544319624979225814.mbj@tail-f.com> <CABCOCHSOB1WoWjkEOsSj_=5BQ2MMparS9EKBzzYqD_=wFVTdrQ@mail.gmail.com>
X-Mailer: Mew version 6.5 on Emacs 24.3 / 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/6HHJIPuD07-q8vhfLD5R1_MR-8M>
Cc: netconf@ietf.org
Subject: Re: [Netconf] Subscription Use Cases
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.17
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, 09 Dec 2016 15:29:49 -0000

Andy Bierman <andy@yumaworks.com> wrote:
> On Fri, Dec 9, 2016 at 5:33 AM, Martin Bjorklund <mbj@tail-f.com> wrote:
> 
> > "Eric Voit (evoit)" <evoit@cisco.com> wrote:
> > > > From: Martin Bjorklund, December 9, 2016 3:27 AM
> > > >
> > > > "Eric Voit (evoit)" <evoit@cisco.com> wrote:
> > > > > Hi Martin,
> > > > >
> > > > > > From: Martin Bjorklund, December 8, 2016 4:08 AM
> > > > > >
> > > > > > I think your requirements below are more like driving forces for
> > > > > > YANG push, right?  Is there any of these that affects the solution
> > > > > > in RFC 5277?
> > > > >
> > > > > The majority of these cases need yang-push.  But yang push is only
> > > > > possible when the information is yang modeled.
> > > >
> > > > Sure, but that's a completely different thing.
> > > >
> > > > This discussion is about what needs to be done with RFC 5277.  I'll
> > re-iterate
> > > > what Andy wrote once more:
> > > >
> > > >   What are the must-have, should-have, and nice-to-have features that
> > are
> > > >   missing from RFC 5277?
> > >
> > > At a high level incremental functionality we have been discussing since
> > IETF 94, 95, 96, 97 includes:
> > > - configured subscriptions
> > > - many subscriptions per transport
> > > - modify and delete subscriptions
> > > - control plane notifications
> > > - Restconf & HTTP support
> > > - Data plan notification including subscription-id
> > >
> > > At a medium level, existing documentation detailing these requirements
> > can be seen in places like:
> > > https://www.ietf.org/proceedings/95/slides/slides-95-netconf-7.pdf
> >  Slide 5
> > > https://www.ietf.org/proceedings/96/slides/slides-96-netconf-5.pdf
> >  Slides 5, 28
> > > https://www.ietf.org/proceedings/97/slides/slides-
> > 97-netconf-draft-ietf-netconf-yang-push-01.pdf  Slides 20 & 21
> >
> > I think the list above summarizes what's in the slides.
> >
> > So, let me re-order this list a bit:
> >
> > - configured subscriptions
> > - many subscriptions per transport
> >   - Data plan notification including subscription-id
> >   - modify and delete subscriptions
> >
> > I don't view "control plane notifications" as a deficiency of 5277; it
> > already has a few, and if new functionality requires us to define more
> > control plane notifications, that's not a problem.
> >
> > As for "Restconf & HTTP support", RESTCONF already supports
> > notifications, and there need to be a RESTCONF-specific solution in
> > place.  I do agree that if we open 5277, we should make sure we have a
> > small protocol-dependent part, and a generic, protocol-independent
> > part.
> >
> > So there are really two (major) requirements:
> >
> >   1.  configured subscriptions
> >   2.  many subscriptions per transport session
> >
> > Do you agree, or did I miss anything?
> >
> > (1) can be done completely backwards compatible; in fact it might not
> > even require an update to 5277.
> >
> > (2) requires an update to the <notification> element, as discussed
> > earlier.
> >
> > Did you want to make support for (2) mandatory to implement?  If so,
> > we need to make :interleave mandatory, or remove it.
> >
> > Maybe it should be noted that when SSH is used, there really is no
> > need for (2), since it is trivial and cheap to open new SSH channels.
> > I thus assume that the reason for wanting to do (2) is that sessions
> > are expensive when SSH is not used.
> >
> >
> 
> Why are configured subscriptions needed if we have Call-home for both
> NETCONF and RESTCONF?

The server must be told *when* to call home, right?  I assume that the
configured subscriptions provides this; i.e., if a notif is generated
for a configured subscription, and there is no active session, the
server will call home.  The client can listen for a while and then
hang up (I assume).  When a new notif is generated the server will
call home again.  This does seem a bit complex, and I'm not sure it is
needed.

But I don't think this solution is well documented in the current set
of drafts.


/martin


> I prefer 1 mandatory-to-implement RPC instead of duplicated optional
> solutions.
> The new feature is really "server initiates notifications upon a reboot",
> not "configured notifications".
> 
> 
> 
> >
> >
> > /martin
> >
> >
> 
> Andy
> 
> 
> >
> >
> > >
> > > At a detailed level, I2RS's RFC-7923 has functional requirements for
> > yang subscriptions. This is what was requested by the WG to be made
> > available for event notifications.
> > > as well as various WG meeting minutes.
> > >
> > > And of course the existing WG minutes, the four draft document
> > appendices, and the Dezign team minutes at:
> > > https://github.com/netconf-wg/yang-push/wiki/Minutes
> > > Attempts to keep a running list of to-be-resolved dialogs.  Of course
> > there is a lag between dialogs and embodiment in the drafts.
> > >
> > > If anyone wants to propose a revision to the requirements, I propose
> > they do this as deltas from the existing documentation.
> > >
> > > Or course we in the WG can and should discuss and tweak any specific
> > requirement on this mailer based on ongoing learnings over time.
> > >
> > > Eric
> > >
> > > > /martin
> > >
> >