Re: [Roll] New Version Notification -draft-ietf-roll-minrank-hysteresis-of-07.txt

Philip Levis <pal@cs.stanford.edu> Mon, 09 April 2012 16:03 UTC

Return-Path: <pal@cs.stanford.edu>
X-Original-To: roll@ietfa.amsl.com
Delivered-To: roll@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ADC4321F8763 for <roll@ietfa.amsl.com>; Mon, 9 Apr 2012 09:03:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.516
X-Spam-Level:
X-Spam-Status: No, score=-5.516 tagged_above=-999 required=5 tests=[AWL=1.083, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wK6Fv0cnuOeP for <roll@ietfa.amsl.com>; Mon, 9 Apr 2012 09:03:54 -0700 (PDT)
Received: from cs-smtp-1.Stanford.EDU (cs-smtp-1.Stanford.EDU [171.64.64.25]) by ietfa.amsl.com (Postfix) with ESMTP id 46C0321F8754 for <roll@ietf.org>; Mon, 9 Apr 2012 09:03:54 -0700 (PDT)
Received: from dn0a210221.sunet ([10.33.2.33]) by cs-smtp-1.Stanford.EDU with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from <pal@cs.stanford.edu>) id 1SHH4L-0000Pz-EN; Mon, 09 Apr 2012 09:03:53 -0700
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset="us-ascii"
From: Philip Levis <pal@cs.stanford.edu>
In-Reply-To: <BDF2740C082F6942820D95BAEB9E1A84015DE8D0@XMB-AMS-108.cisco.com>
Date: Mon, 09 Apr 2012 08:46:05 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <3B42E04B-7DFB-4C42-83C5-4ED72B3AC8A6@cs.stanford.edu>
References: <BDF2740C082F6942820D95BAEB9E1A84015DE8D0@XMB-AMS-108.cisco.com>
To: Pascal Thubert <pthubert@cisco.com>
X-Mailer: Apple Mail (2.1257)
X-Scan-Signature: 6214ac49f2cb083a0c8190805312a710
Cc: roll@ietf.org
Subject: Re: [Roll] New Version Notification -draft-ietf-roll-minrank-hysteresis-of-07.txt
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Routing Over Low power and Lossy networks <roll.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/roll>, <mailto:roll-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/roll>
List-Post: <mailto:roll@ietf.org>
List-Help: <mailto:roll-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/roll>, <mailto:roll-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Apr 2012 16:03:54 -0000

On Apr 8, 2012, at 10:00 AM, Pascal Thubert (pthubert) wrote:

> Phil:
> 
> It is an implementation decision as long as it does not lead to interop
> issue or unwanted behavior, which is probably the case here.
> RFC 6550 demands that a node can't stray from the best Rank as computed
> amongst parents by more than MaxRankIncrease.
> This 3 clauses do not seem to capture this that we are discussing do not
> seem to capture this. 
> With (my reading of) the text as it stands, it seems that the
> implementation has all freedom to select parents and then is given rules
> to compute a Rank. 
> The resulting Rank could be anything if the parent set as no constraint.
> 
> 
> In particular  " The largest  calculated Rank among paths through the
> parent set, minus MaxRankIncrease" must be less that the Rank obtained
> from the preferred parent, not the final computed Rank.
> 
> 
> The node should:
> 1) Compute the Ranks form its parent set. 
> 2) Determine a preferred parent as resulting with the lowest Rank (using
> the computation described in the previous paragraph)
> 3) Determine which parents generate a Rank that is between that lowest
> Rank and MaxRankIncrease
> 4) Pick a set of parents between those 
> 
> What do you think?

This is an implementation decision. I can imagine other algorithms, e.g., where if the best Rank and next best Rank differ by more than MaxRankIncrease, the node chooses to advertise a worse Rank than the preferred parent provides.

Phil