Re: [Roll] enrollment priority

Konrad Iwanicki <iwanicki@mimuw.edu.pl> Mon, 07 February 2022 13:22 UTC

Return-Path: <iwanicki@mimuw.edu.pl>
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 257843A00F7; Mon, 7 Feb 2022 05:22:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.613
X-Spam-Level:
X-Spam-Status: No, score=-2.613 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.714, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 JYpdizZ6knD4; Mon, 7 Feb 2022 05:22:31 -0800 (PST)
Received: from mail.mimuw.edu.pl (mail.mimuw.edu.pl [IPv6:2001:6a0:5001::4]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D8D4E3A0E65; Mon, 7 Feb 2022 05:22:30 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by duch.mimuw.edu.pl (Postfix) with ESMTP id 64C7661D8F065; Mon, 7 Feb 2022 14:22:23 +0100 (CET)
X-Virus-Scanned: amavisd-new at mimuw.edu.pl
Received: from duch.mimuw.edu.pl ([127.0.0.1]) by localhost (mail.mimuw.edu.pl [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id tz0afAms71C1; Mon, 7 Feb 2022 14:22:21 +0100 (CET)
Received: from [IPV6:2001:6a0:5001:2:e9a9:c685:f5c1:45c3] (unknown [IPv6:2001:6a0:5001:2:e9a9:c685:f5c1:45c3]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by duch.mimuw.edu.pl (Postfix) with ESMTPSA; Mon, 7 Feb 2022 14:22:19 +0100 (CET)
Message-ID: <9c2e872a-7e7c-1e3b-dd6d-d3cd0681f33a@mimuw.edu.pl>
Date: Mon, 07 Feb 2022 14:22:19 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:91.0) Gecko/20100101 Thunderbird/91.5.1
Content-Language: en-US
To: Routing Over Low power and Lossy networks <roll@ietf.org>
References: <30208.1637590535@localhost> <74673648-79a7-9611-5b71-b089a9a3e37e@mimuw.edu.pl> <76746.1637774741@dooku> <9C03FC6E-05D6-45FB-99C5-8BC84193C3AD@cisco.com> <327.1637873630@localhost>
Cc: roll-chairs <roll-chairs@ietf.org>
From: Konrad Iwanicki <iwanicki@mimuw.edu.pl>
In-Reply-To: <327.1637873630@localhost>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/I3Y9uvllvpfaESbeG8ClC8fybOk>
Subject: Re: [Roll] enrollment priority
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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, 07 Feb 2022 13:22:36 -0000

Hi all,

Since after reviewing the AODV draft I was already in the "draft mode", 
I created a pull request on GitHub for roll-enrollment-priority. It 
should cover all major issues that we discussed apart from the math for 
computing the Enhanced Beacon Join priority from the base priority value 
because I believe there were no conclusions on this issue. (Sorry if I 
forgot about anything.) I also tried to do little copy-editing to keep 
the change small.

In summary, the major changes are as follows:

- I extended the option with a sequence counter and a bit for resetting 
trickle timer on demand. I also reordered some fields to better -- in my 
view -- fit the current contents of the option.

- Described the processing of the option, notably taking into account 
the sequence counter and the trickle bit.

- Did some minor updates in the compatibility section to reflect that a 
node may learn the min priority value over multiple paths.

Hope that the changes will help push the draft further.

Best,
-- 
- Konrad Iwanicki.


On 25/11/2021 21:53, Michael Richardson wrote:
> 
> Pascal Thubert \(pthubert\) <pthubert=40cisco.com@dmarc.ietf.org> wrote:
>      > (https://mailarchive.ietf.org/arch/msg/roll/2MaZ4wXLVzJbmLC-LO6c--DsbWQ/)
>      > Konrad Iwanicki <iwanicki@mimuw.edu.pl> wrote:
>      konrad> - How do changes to min priority (and OSN) affect DIO Trickle timers?
>      konrad> [OSN == the lollipop sequence counter]
> 
>      konrad> I think that if we have the counter, that increments the OSN reset the trickle
>      konrad> timer, but Pascal suggests an additional bit to reset the
>      konrad> trickle?
> 
>      pt> Some casual updates do not deserve to be flooded faster than normal
>      pt> stable DIO. But emergency and network control ones should. So we need a
>      pt> trigger to say that this DIO message should reset trickle. May that bit
>      pt> should not be in that option. It could be more generically used in
>      pt> DIOs.
> 
>      mcr> We can certainly build these rules into enrollment priority option.
>      mcr> But, I wonder if resetting trickle has general application, and should actually be
>      mcr> signaled by inclusion of a new DIO option.
> 
>      pt> Oups i read this after thinking the same. I agree.
> 
> okay, I'll include this.
> 
>      konrad> - How does a (temporal) lack of a preferred parent affect the proxy
>      konrad> priority of the node in EBs (and in general, the node's behavior)?
> 
>      mcr> If the node can't send traffic up to the root, then I think that it should
>      mcr> turn off EBs until it can.
> 
>      pt> Yes; at least advertise 7F for the priority if it needs to beacon for other reasons
> 
> I agree, 7F (infinite) if it needs to beacon.
> Should it even beacon if it has no feasible parents?
> 
>      mcr> In a 6tisch situation, it is likely that the lack of a preferred parent is
>      mcr> probably due to falling out of the schedule.
> 
>      pt> Yes
> 
>      Pascal> A node that does not have a feasible parent should poison or
>      Pascal> detach. It does not make sense for a detached node to take
>      Pascal> visitors. So probably it should beacon a join priority of 0x7F.
> 
>      mcr> Does detach mean to send a DIO with infinite rank?
> 
>      pt> Poison means that. Detaching means forming its own dodag with the G
>      pt> bit not set (not grounded)
> 
>      mcr> I'm undecided if it should send a beacon at all.
>      mcr> https://github.com/roll-wg/draft-ietf-roll-enrollment-priority/issues/11
> 
> There seem to be a number of parts to a decision tree here.
> 
> I will start more threads.
> 
> --
> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
>             Sandelman Software Works Inc, Ottawa and Worldwide
> 
> 
> _______________________________________________
> Roll mailing list
> Roll@ietf.org
> https://www.ietf.org/mailman/listinfo/roll