Re: [lmap] draft-ietf-lmap-information-model-05: Controller timeout

"Carey, Timothy (Timothy)" <timothy.carey@alcatel-lucent.com> Tue, 12 May 2015 12:33 UTC

Return-Path: <timothy.carey@alcatel-lucent.com>
X-Original-To: lmap@ietfa.amsl.com
Delivered-To: lmap@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 960331B2BF5 for <lmap@ietfa.amsl.com>; Tue, 12 May 2015 05:33:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 KUrFPBZB7Xxy for <lmap@ietfa.amsl.com>; Tue, 12 May 2015 05:33:31 -0700 (PDT)
Received: from smtp-fr.alcatel-lucent.com (fr-hpida-esg-02.alcatel-lucent.com [135.245.210.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 891DD1B2BEC for <lmap@ietf.org>; Tue, 12 May 2015 05:33:31 -0700 (PDT)
Received: from us70uusmtp4.zam.alcatel-lucent.com (unknown [135.5.2.66]) by Websense Email Security Gateway with ESMTPS id 446271F5341DD; Tue, 12 May 2015 12:33:26 +0000 (GMT)
Received: from US70UWXCHHUB01.zam.alcatel-lucent.com (us70uwxchhub01.zam.alcatel-lucent.com [135.5.2.48]) by us70uusmtp4.zam.alcatel-lucent.com (GMO) with ESMTP id t4CCXRA2002777 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 12 May 2015 08:33:27 -0400
Received: from US70UWXCHMBA05.zam.alcatel-lucent.com ([169.254.10.167]) by US70UWXCHHUB01.zam.alcatel-lucent.com ([135.5.2.48]) with mapi id 14.03.0195.001; Tue, 12 May 2015 08:33:27 -0400
From: "Carey, Timothy (Timothy)" <timothy.carey@alcatel-lucent.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Thread-Topic: [lmap] draft-ietf-lmap-information-model-05: Controller timeout
Thread-Index: AdCMHecUFUgxoWRISVOQIyTHkXEC2AAnxEkAAATNJ5AACC2i8A==
Date: Tue, 12 May 2015 12:33:27 +0000
Message-ID: <9966516C6EB5FC4381E05BF80AA55F77BA261773@US70UWXCHMBA05.zam.alcatel-lucent.com>
References: <9966516C6EB5FC4381E05BF80AA55F77BA2612C2@US70UWXCHMBA05.zam.alcatel-lucent.com> <20150512100724.GC26662@elstar.local>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [135.5.27.17]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/lmap/0-TEDaMuBaDcXZ7ZFjdvAxJZR5Q>
Cc: "lmap@ietf.org" <lmap@ietf.org>
Subject: Re: [lmap] draft-ietf-lmap-information-model-05: Controller timeout
X-BeenThere: lmap@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Large Scale Measurement of Access network Performance <lmap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lmap>, <mailto:lmap-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/lmap/>
List-Post: <mailto:lmap@ietf.org>
List-Help: <mailto:lmap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lmap>, <mailto:lmap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 May 2015 12:33:33 -0000

Sorry - For the range I was thinking 16-bit range not 32-bit. 32-bit should be fine. My mistake.

I will say though that the interface speed may become a problem if you leave it as an int since the unit is bps.

-----Original Message-----
From: Carey, Timothy (Timothy) 
Sent: Tuesday, May 12, 2015 6:59 AM
To: 'Juergen Schoenwaelder'
Cc: lmap@ietf.org
Subject: RE: [lmap] draft-ietf-lmap-information-model-05: Controller timeout

Juergen,

So then we are saying that schedules (I think you mean scheduled tasks?) are operationally disabled and are reenabled with the controller is contacted.

We that would mean all scheduled tasks that are not related to controller communication - right? Since everything is a scheduled task now?

As to the int vs unsignedInt - I don't necessarily care except that one might ask what a meaning is for negative values unless you use lower threshold constraint of 0. Also you lose have the range of the timeout. What is the size of the int - 32 or 64-bit? My point is that if it is 32bit you its timeout would be limited to like 9+ hours (32767 seconds)

-----Original Message-----
From: Juergen Schoenwaelder [mailto:j.schoenwaelder@jacobs-university.de]
Sent: Tuesday, May 12, 2015 5:07 AM
To: Carey, Timothy (Timothy)
Cc: lmap@ietf.org
Subject: Re: [lmap] draft-ietf-lmap-information-model-05: Controller timeout

On Mon, May 11, 2015 at 07:08:47PM +0000, Carey, Timothy (Timothy) wrote:
> Team,
> 
> I was reviewing draft-ietf-lmap-information-model-05 and had a 
> question on the
> ma-controller-lost-timeout:  A timer is started after each successful contact with a controller.  When the timer reaches the controller-lost-timeout, all schedules will be disabled.
> 
> We changed this from a threshold to a timeout but the data type is still an <int> and there are not units assigned to the timeout (e.g., milliseconds, seconds).
> 
> Also the description is vague - When we mean schedules disabled - so we mean administratively or operationally? In other words - does it take an explicit action from the controller to reenable the schedule or simply the next contact. Also is this the schedules that are disabled or scheduled tasks.
> 
> I would assume the timeout would be in seconds and we should change the data type to unsignedInt unless of course a negative number has some meaning?
> 

I agree this is under-defined. We generally have only used 'int' and we did not make a distinction between int and unsigned so I would leave that alone (or we have to make changes in multiple places).

What about this rewrite:

   ma-controller-lost-timeout:  A timer is started after each successful
                             contact with a controller.  When the timer
                             reaches the controller-lost-timeout
                             (measured in seconds), all schedules will
                             be disabled, i.e., no new schedules will be
                             executed (and hence no new tasks started).
                             The disabled schedules will be reenabled
                             automatically once contact with a
                             controller has been established
                             successfully again.

/js

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