Re: [Netconf] Subscription Use Cases

Andy Bierman <andy@yumaworks.com> Fri, 09 December 2016 15:19 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 6322C12949A for <netconf@ietfa.amsl.com>; Fri, 9 Dec 2016 07:19:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 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_LOW=-0.7, SPF_PASS=-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 0THpG21IuQG3 for <netconf@ietfa.amsl.com>; Fri, 9 Dec 2016 07:19:11 -0800 (PST)
Received: from mail-qk0-x235.google.com (mail-qk0-x235.google.com [IPv6:2607:f8b0:400d:c09::235]) (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 D7C8F1294A0 for <netconf@ietf.org>; Fri, 9 Dec 2016 07:19:10 -0800 (PST)
Received: by mail-qk0-x235.google.com with SMTP id n21so20228997qka.3 for <netconf@ietf.org>; Fri, 09 Dec 2016 07:19:10 -0800 (PST)
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=qmluxf8Ra+C33EQxMkp6N4W7WbahYMs+9aZqit59NEY=; b=VBktNtfpw3bGdIEgjDNrl+czSQp53SWSvcUvqEEuqabk8L465/B639bPWad+GupCak Ikrut8jKgc9fQAMbN46lWnqAWttxtsZBFpczX/acT+JOeoRMnWn9Q9Dg7nGtKfGZBx1p da/+0TyXtlUAjLpJJMs6pYrDq0pInFo7ORM/h5ezAaoVwF+T+iX/EW9USj/ovS2c6VFN xLyas3M6a+4ELM47HYvMXzHcFH+MP1WCxET52N59xzHS1y5DzgBYNya1R+TVwg8oDfEY 1tULszCK5yODmric8Ip7lYhh0D36ACPlDhi7FrjLp5t7laaXNw7XQk8cRUsl0Yg2Y/9V rLQg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=qmluxf8Ra+C33EQxMkp6N4W7WbahYMs+9aZqit59NEY=; b=IkZU4C+/5ZGVUaGz9yM2zYPPbPVn5VQ4VeWOwDfw7zs57rAlnoWipwPaquYeyACHCL Y30qoBMli/8zV5dUy3iZ1Rq3/yMR4FvXCQLGxM3yzfZdXCYjuzhxKdV9e836HSsItQAb 5FFasLfaUAP8zhq7mLG8ZoD8ZTSkAov8hrezMBcYNSvucdtKpV/GGC3WPgvIuLr0KQQF kCnmorWtRZUQoIVGfaJ9jKnsgFC/wA6vAFIhO6/w1LKWEKU2wg6BAX+UIXNqHle+7s1I YsY+oG2gAi2ODeQRy0wNm5tteZRLukwHT5jGlaqM7qnsd9Ham4jhWQNi7hHamSehOqmc wPmw==
X-Gm-Message-State: AKaTC00dw+A2eqh/canNzPjqV0yCFlwMKkTazaYSWGSqmwgFJMaYNikiwuHazTJYSRG/oBdKeaVyFB03L9rNKw==
X-Received: by 10.55.76.150 with SMTP id z144mr66733101qka.194.1481296749892; Fri, 09 Dec 2016 07:19:09 -0800 (PST)
MIME-Version: 1.0
Received: by 10.140.101.180 with HTTP; Fri, 9 Dec 2016 07:19:09 -0800 (PST)
In-Reply-To: <20161209.143306.1544319624979225814.mbj@tail-f.com>
References: <a2b682ef436c4b67881c26c04ad3d0b5@XCH-RTP-013.cisco.com> <20161209.092651.1622778603139515958.mbj@tail-f.com> <5e06ffa5d92a4227ae1d64bc8531ac40@XCH-RTP-013.cisco.com> <20161209.143306.1544319624979225814.mbj@tail-f.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Fri, 09 Dec 2016 07:19:09 -0800
Message-ID: <CABCOCHSOB1WoWjkEOsSj_=5BQ2MMparS9EKBzzYqD_=wFVTdrQ@mail.gmail.com>
To: Martin Bjorklund <mbj@tail-f.com>
Content-Type: multipart/alternative; boundary="001a114a886895cf8505433b465f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/rCGNocZdclYEoN9YQs07g0WM8Aw>
Cc: Netconf <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:19:14 -0000

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?
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
> >
>