Re: [Netconf] netconf call home connection type

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Wed, 22 August 2018 09:02 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 AF4A5130E1F for <netconf@ietfa.amsl.com>; Wed, 22 Aug 2018 02:02:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 zmcnCmitchNB for <netconf@ietfa.amsl.com>; Wed, 22 Aug 2018 02:02:56 -0700 (PDT)
Received: from anna.localdomain (firewallix.jacobs-university.de [212.201.44.247]) by ietfa.amsl.com (Postfix) with ESMTP id 73C6C130ECD for <netconf@ietf.org>; Wed, 22 Aug 2018 02:02:56 -0700 (PDT)
Received: by anna.localdomain (Postfix, from userid 501) id D34932438687; Wed, 22 Aug 2018 11:02:54 +0200 (CEST)
Date: Wed, 22 Aug 2018 11:02:53 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Martin Bjorklund <mbj@tail-f.com>
Cc: kwatsen@juniper.net, netconf@ietf.org
Message-ID: <20180822090253.zuutkbsoht3nnt2z@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Martin Bjorklund <mbj@tail-f.com>, kwatsen@juniper.net, netconf@ietf.org
References: <20180821.141923.1666876004159297021.mbj@tail-f.com> <4EAB4AE6-9957-46C5-A811-D0187C605AF2@juniper.net> <20180822.104517.297330493199273368.mbj@tail-f.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20180822.104517.297330493199273368.mbj@tail-f.com>
User-Agent: NeoMutt/20180716
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/SqxAJZedJP-9VdVGv1DHGxFrChg>
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: Wed, 22 Aug 2018 09:02:59 -0000

On Wed, Aug 22, 2018 at 10:45:17AM +0200, Martin Bjorklund wrote:
> 
> To be clear, I think we should have: (in the server model)
> 
>            |        +--rw periodic!
>            |           +--rw idle-timeout?       uint16
>            |           +--rw period?             uint16
>            |           +--rw anchor-time?        yang:date-and-time
>

So who is going to configure suitable anchor-times on a large number
of devices? Is it not much easier to use a random offset instead to
avoid synchronization?  In LMAP, we used a random-spread in seconds,
which defines the size of the time interval from which random values
are taken. This has the nice benefit that the config can be the same
for a large number of devices and you still get a distribution over a
time interval.

Perhaps you want an anchor-time, a period, and a random offset:

anchor-time:  2018-08-22T00:00:00+00
period:       600 seconds (and yes timeticks seems overkill)
random-spread: 60 seconds

So you get events at 00:00:00+rs, 00:10:00+rs, 00:20:00+rs etc. and
with 1200 devices you get on average 20 requests per second and all
1200 devices have exactly the same config.

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