Re: [Netconf] Anyone want just Configured Subscriptions?

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Sun, 08 July 2018 17:54 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 426D71310C2 for <netconf@ietfa.amsl.com>; Sun, 8 Jul 2018 10:54:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 v7rfLgb4qPkx for <netconf@ietfa.amsl.com>; Sun, 8 Jul 2018 10:54:02 -0700 (PDT)
Received: from anna.localdomain (anna.eecs.jacobs-university.de [IPv6:2001:638:709:5::7]) by ietfa.amsl.com (Postfix) with ESMTP id 2F7501292AD for <netconf@ietf.org>; Sun, 8 Jul 2018 10:54:02 -0700 (PDT)
Received: by anna.localdomain (Postfix, from userid 501) id D598822FA4DF; Sun, 8 Jul 2018 19:53:59 +0200 (CEST)
Date: Sun, 08 Jul 2018 19:53:59 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Martin Bjorklund <mbj@tail-f.com>
Cc: andy@yumaworks.com, evoit=40cisco.com@dmarc.ietf.org, netconf@ietf.org
Message-ID: <20180708175359.mdcjgvddb453e2fc@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Martin Bjorklund <mbj@tail-f.com>, andy@yumaworks.com, evoit=40cisco.com@dmarc.ietf.org, netconf@ietf.org
References: <CABCOCHSfzpj3Kca2RRtNFV6wLLt_6r4p3vfS_j4Hzfai-0Y2gA@mail.gmail.com> <20180708.095807.918450792556408986.mbj@tail-f.com> <20180708100310.gn3xaol66f7c7lo5@anna.jacobs.jacobs-university.de> <20180708.180552.1582913595227099806.mbj@tail-f.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20180708.180552.1582913595227099806.mbj@tail-f.com>
User-Agent: NeoMutt/20180622
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/-_P6Hbw4vVOHlM0_fB4DEfbU3jI>
Subject: Re: [Netconf] Anyone want just Configured Subscriptions?
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: Sun, 08 Jul 2018 17:54:05 -0000

On Sun, Jul 08, 2018 at 06:05:52PM +0200, Martin Bjorklund wrote:
> > 
> > If you do this, why does the client, after receiving a call home, not
> > simply create dynamic subscriptions? ;-)
> 
> Well, the configured subscription is needed anyway in order for the
> device to call home, so having the client create all configured
> subscriptions as dynamic subscriptions as well doesn't seem quite
> right.

To call home, all you need is call home configuration, not configured
subscriptions.
 
> But if the WG agrees that it is ok to send <notification> directly,
> this issue goes away.

I wonder what the use case is. I do understand that some people want
transports where subcomponents of a device can send notifications as
fast as possible without having to go through a server process. People
who want this likely won't be using a NETCONF messaging transport. (Of
course, there will be tons of questions related to congestion control
and security for such a lightweight transport.)

So what is the use case for configured subscriptions for a NETCONF
transport? Simply an optimization so that the client does not have to
send a subscribe request?

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>