Re: [Roll] enrollment priority

Michael Richardson <mcr+ietf@sandelman.ca> Thu, 25 November 2021 20:54 UTC

Return-Path: <mcr+ietf@sandelman.ca>
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 026083A081E for <roll@ietfa.amsl.com>; Thu, 25 Nov 2021 12:54:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=sandelman.ca
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 nRSOundOO1-3 for <roll@ietfa.amsl.com>; Thu, 25 Nov 2021 12:54:01 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2AB053A080F for <roll@ietf.org>; Thu, 25 Nov 2021 12:54:00 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 7BE5F18022 for <roll@ietf.org>; Thu, 25 Nov 2021 15:56:52 -0500 (EST)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id b7o4hMsNazOc for <roll@ietf.org>; Thu, 25 Nov 2021 15:56:47 -0500 (EST)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id BB7BD18018 for <roll@ietf.org>; Thu, 25 Nov 2021 15:56:46 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sandelman.ca; s=mail; t=1637873806; bh=9FEx0uoC2RjpuAsWjCbCmc0d7mWo5jXOWDAWuhQx79A=; h=From:To:Subject:In-Reply-To:References:Date:From; b=LHyOLbDtP8pAFzkujfjduFQ/1VyHDBDwsnvuloJbIrQ/Ko9SVQEM/1bCcUbT9lhjv dmCIX7ixf3KvGTjieukcc6v2dS4L5Ek0n9kImuqbMDK0JS97k3TQyIriboRduoH4mW VrtB8in5V43yL1lvF840aDzSSsv3IhhBtET9S0leUdlby3rzhhEjQbxOlMF0UQj8qw kmmvFg39hdRRpmXTQThJoorQCjRokpf0I+exbdEm6fbW4HWB4s+imQBLvZS+N+3Hjl megjl1eINPsryIYsPEmGlvQbHdDGMa7OwSzO45Vzgh0FNqyixP15XlQqUFfTI3W36L /t+ANkmxDnrNA==
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 2FC0EC65 for <roll@ietf.org>; Thu, 25 Nov 2021 15:53:50 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Routing Over Low power and Lossy networks <roll@ietf.org>
In-Reply-To: <9C03FC6E-05D6-45FB-99C5-8BC84193C3AD@cisco.com>
References: <30208.1637590535@localhost> <74673648-79a7-9611-5b71-b089a9a3e37e@mimuw.edu.pl> <76746.1637774741@dooku> <9C03FC6E-05D6-45FB-99C5-8BC84193C3AD@cisco.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Thu, 25 Nov 2021 15:53:50 -0500
Message-ID: <327.1637873630@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/jFdftrdSoKNU7hlVrltBkHbkUQY>
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: Thu, 25 Nov 2021 20:54:06 -0000

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