Re: [Netconf] netconf call home connection type

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Tue, 28 August 2018 05:34 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 BF3CB130DC0 for <netconf@ietfa.amsl.com>; Mon, 27 Aug 2018 22:34:03 -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 lwToQXuO8DVo for <netconf@ietfa.amsl.com>; Mon, 27 Aug 2018 22:34:01 -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 55288124D68 for <netconf@ietf.org>; Mon, 27 Aug 2018 22:34:01 -0700 (PDT)
Received: by anna.localdomain (Postfix, from userid 501) id 6453E245E8F3; Tue, 28 Aug 2018 07:33:58 +0200 (CEST)
Date: Tue, 28 Aug 2018 07:33:58 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Kent Watsen <kwatsen@juniper.net>
Cc: Martin Bjorklund <mbj@tail-f.com>, "netconf@ietf.org" <netconf@ietf.org>
Message-ID: <20180828053358.fcenzrh5srtz5gl3@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Kent Watsen <kwatsen@juniper.net>, Martin Bjorklund <mbj@tail-f.com>, "netconf@ietf.org" <netconf@ietf.org>
References: <4EAB4AE6-9957-46C5-A811-D0187C605AF2@juniper.net> <20180822.104517.297330493199273368.mbj@tail-f.com> <A5158A39-A0B8-481D-AD97-A5C49C849683@juniper.net> <20180827.103054.258602442749709056.mbj@tail-f.com> <BA9844F5-DAE0-4778-AC3D-52419B5456C1@juniper.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <BA9844F5-DAE0-4778-AC3D-52419B5456C1@juniper.net>
User-Agent: NeoMutt/20180716
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/xgbXtrZb9tB-Y2c_yODNl3a4b8w>
Subject: Re: [Netconf] netconf call home connection type
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.27
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, 28 Aug 2018 05:34:04 -0000

On Tue, Aug 28, 2018 at 02:16:44AM +0000, Kent Watsen wrote:
> 
> Having an "on-demand" connection-type seems counter intuitive, as it is
> providing configuration for a connection that is driven by some external
> function, that may or may not be configuration.
>

LMAP would likely call home on demand as well, i.e., triggered by
other stuff going on in an LMAP agent. Do we really want an
augmentation for all the different reasons why a device may want to
call home?

> I'm disturbed by the "on-demand" part of the periodic/scheduled 
> definition.  The original idea was that the "demand" part would be
> something like the need to push logs but, as per the YP discussion,
> there might be a whole other connection for that purpose.  In a
> multi-manager scenario, it makes sense to periodically call-home
> to the "provisioning" system while separately send logs on-demand
> to the "monitoring" system.  If a device had configuration for a
> periodic or scheduled (or even persistent), it still wouldn't know
> to use that connection for the logs; the "demand" part, which 
> seems rational to define, never materializes.

The demand part in the system you are describing is a call home
triggered by the event "I am running out of log buffer space" or "I
had a partial restart event" or "a hardware compomnent is dying" or
... There are probably a number of situations where a device may want
to call home out of schedule and I am not sure it is reasonable to
model them each one of them as augmentations.

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