[Netconf] netconf call home connection type

Martin Bjorklund <mbj@tail-f.com> Tue, 21 August 2018 12:19 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 40C19130DE9 for <netconf@ietfa.amsl.com>; Tue, 21 Aug 2018 05:19:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 0hxVn1AL0mrl for <netconf@ietfa.amsl.com>; Tue, 21 Aug 2018 05:19:26 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id A704C130DDF for <netconf@ietf.org>; Tue, 21 Aug 2018 05:19:26 -0700 (PDT)
Received: from localhost (unknown [173.38.220.61]) by mail.tail-f.com (Postfix) with ESMTPSA id 6FDD61AE0589 for <netconf@ietf.org>; Tue, 21 Aug 2018 14:19:24 +0200 (CEST)
Date: Tue, 21 Aug 2018 14:19:23 +0200
Message-Id: <20180821.141923.1666876004159297021.mbj@tail-f.com>
To: netconf@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
X-Mailer: Mew version 6.7 on Emacs 24.5 / 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/SU1VnBV1Ea5Ae3QzPn_joyyRnZo>
Subject: [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, 21 Aug 2018 12:19:29 -0000

Hi,

In draft-ietf-netconf-netconf-client-server-06, each "netconf-client"
in the "call-home" list has a list of endpoints and a
"connection-type".  The connection type defaults to "persistent".

I suggest we add a new connection type case "on-demand" or something
similar, which can be used e.g. when there is something external to
trigger the call home.  An example would be a periodic yang push
subscription.

I also suggest that the default connection strategy either is dropped,
or changed to "on-demand".


Also, looking at the "periodic" case, when have in ietf-netconf-server:

           |        +--rw periodic!
           |           +--rw idle-timeout?        uint16
           |           +--rw reconnect-timeout?   uint16

In YANG Push, we have:

           |  +--rw yp:periodic!
           |     +--rw yp:period         yang:timeticks
           |     +--rw yp:anchor-time?   yang:date-and-time


does it make sense to use similar parameters in these two cases (I
would then suggest to use period + anchor-time in both, but use a type
in seconds rather than timeticks).



/martin