Re: [6tisch] draft-ietf-6tisch-msf-06 is published

Tengfei Chang <tengfei.chang@gmail.com> Wed, 14 August 2019 15:46 UTC

Return-Path: <tengfei.chang@gmail.com>
X-Original-To: 6tisch@ietfa.amsl.com
Delivered-To: 6tisch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3841F120130 for <6tisch@ietfa.amsl.com>; Wed, 14 Aug 2019 08:46:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=gmail.com
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 AHxONegUOFzC for <6tisch@ietfa.amsl.com>; Wed, 14 Aug 2019 08:46:38 -0700 (PDT)
Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B271B1200C4 for <6tisch@ietf.org>; Wed, 14 Aug 2019 08:46:38 -0700 (PDT)
Received: by mail-pl1-x636.google.com with SMTP id bj8so3848517plb.4 for <6tisch@ietf.org>; Wed, 14 Aug 2019 08:46:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VcpJt4Z6J0wHPk/7QZm3TZeQd9Wz90r98doqLfotAgI=; b=eplgd8ueYZerX+0t3oPHD5uqf7MwgSSDlJgSCH+rLxD/JUZCXWgsXPI2yIteCgYlwP u8E/dAJ4/pSsSW5OKMGVk8Hn3L4oy0CqMdBCPysYw0Nic3T4FR5Tq3n6VAv12n1hdg64 MCTFEknC8YYrUBSkJrFxXjmt+PVu0bgiHKLe/702pHEIrt1C70NJg5mYIlyiw/zElqX3 ggmo/oL6DvkPPLHz2d6jQWUTzXSL/GB4fTvTXkRjvk6MoyNODNw2laFK6dSZvhf6Rkt4 S1Yg5aCoCRMMmrvdyLhO5dguPj1L1AKadVNOe/yc7ElOCVMafs4en4aJd3wI+KOCyxmj GCAA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VcpJt4Z6J0wHPk/7QZm3TZeQd9Wz90r98doqLfotAgI=; b=GQt5QAe4n6GsKgZJMw21ff/Qytu+zVhM08V/C+keMZ+lKLRDEXsCKTMfigFYtocUmx +KUI5oR0lpdQBh6pMVSZVksEmE2sUv+ZuwJ4LuyxUi6gE4ZR9ck8R3T9xGoKgvro092h BMPl+m6fQManYA9dzFvlul2pjYZtfMEdboPL4huEMLXMcaY8yycWDk7BGs3MJGSbP4Ra 03XaQUHZALPBxRKVudVN+7Ait2qaUujxFfZ7Dw/AvFTemBMBbKVCy7XqjOK8T7n+ml/r i3UYiRF7SrdjzJqSYR+j/hMF4x93fKBaX0dXn5oTbMQZnbGnTWW0R7UTP4vmAaBDRmNV qStQ==
X-Gm-Message-State: APjAAAU9gfSqvX5DpH4hNdHfJBrs9MKKD0SxE6hwdiscbzJ2NrYq/V+T xfbCn85LadtEJHpvcN21FdeHpUMvg8ul659uTH8=
X-Google-Smtp-Source: APXvYqyhL5/XkJXKLpCSHr33veVlagijCsZQRijBlFA5uxpnaWIM7wuFlAh8IEqoyYRhwNFPxt/W9LEWHUnWmhE+Q4I=
X-Received: by 2002:a17:902:29eb:: with SMTP id h98mr110397plb.128.1565797597988; Wed, 14 Aug 2019 08:46:37 -0700 (PDT)
MIME-Version: 1.0
References: <CAAdgstQSMdKfHo8uWTD7E8DfVdKtzcYUmxzP7kmBUaRJSABMTQ@mail.gmail.com> <1317284713.9387735.1565793912823.JavaMail.zimbra@inria.fr>
In-Reply-To: <1317284713.9387735.1565793912823.JavaMail.zimbra@inria.fr>
From: Tengfei Chang <tengfei.chang@gmail.com>
Date: Wed, 14 Aug 2019 17:46:25 +0200
Message-ID: <CAAdgstSThfrNRL_AniJWiGCbEJKj2qsELfFo6K-9AwwOD-XSrw@mail.gmail.com>
To: Thomas Watteyne <thomas.watteyne@inria.fr>
Cc: 6tisch <6tisch@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000009e535a059015a9b7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/6tisch/xaWYsJvRbEwJuDn32jByW-9wi8E>
Subject: Re: [6tisch] draft-ietf-6tisch-msf-06 is published
X-BeenThere: 6tisch@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discuss link layer model for Deterministic IPv6 over the TSCH mode of IEEE 802.15.4e, and impacts on RPL and 6LoWPAN such as resource allocation" <6tisch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6tisch>, <mailto:6tisch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/6tisch/>
List-Post: <mailto:6tisch@ietf.org>
List-Help: <mailto:6tisch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6tisch>, <mailto:6tisch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 14 Aug 2019 15:46:41 -0000

Hi Thomas,


Yes, you understood correctly.


There are two related part in RFC8480 mentioned this case:

Upon receiving the request, node B checks to see if the length of the
   Candidate CellList is greater than or equal to NumCells.  Node B's SF
   verifies that all the cells in the Relocation CellList are scheduled
   with node A and are associated with the options specified in the
   CellOptions field.  If either check fails, node B MUST send a 6P
   Response to node A with return code RC_ERR_CELLLIST.  If both checks
   pass, node B's SF verifies which of the cells in the Candidate
   CellList it can install in its schedule.  How that selection is done
   is specified in the SF and is out of scope for this document.  That
   verification for the Candidate CellList can succeed (NumCells cells
   from the Candidate CellList can be used), fail (none of the cells
   from the Candidate CellList can be used), or partially succeed (fewer
   than NumCells cells from the Candidate CellList can be used).  In all
   cases, node B MUST send a 6P Response that includes a return code set
   to RC_SUCCESS and that specifies the list of cells that will be
   rescheduled following the CellOptions field.  That list can contain
   NumCells elements (succeed), 0 elements (fail), or between 0 and
   NumCells elements (partially succeed).  If N < NumCells cells appear
   in the CellList, this means that the first N cells in the Relocation
   CellList have been relocated and the remainder have not.


Here it clarified the return code for this case MUST be RC_SUCCESS.

I would say it may implies that the case should be the option 1 I
mentioned above.


Another part in concurrent 6P transaction section, it says:

 If a
   node does not have enough resources to handle concurrent 6P
   Transactions from different neighbors, it MUST reply with a 6P
   Response with return code RC_ERR_BUSY (as per Figure 38 in
   Section 6.2.4 <https://tools.ietf.org/html/rfc8480#section-6.2.4>).


I says


enough resources to handle concurrent 6P Transactions,


but the option 2 I mentioned doesn't need to be concurrent 6P transaction.

Also the RC_BUSY doesn't sound the right return code name for this case.


So does the RC_BUSY is the return code for option 2 I mentioned?


Tengfei



On Wed, Aug 14, 2019 at 4:45 PM Thomas Watteyne <thomas.watteyne@inria.fr>
wrote:

> Tengfei,
>
> Trying to understand you point about " handle Sixtop ADD Response with
> return code SUCCESS but 0 cells in cellList"
>
> If the response code is SUCCESS, IMO that means option 1. if option 2 is
> happening (I assume you mean "there is no memory for allocating more
> cells"), I would expect another return code, no?
>
> THomas
>
>
>
> ________________________________________
>
> Thomas Watteyne, PhD
> Sr Research Scientist & Innovator, Inria
> Sr Networking Design Eng, Analog Devices
> Founder & Advisor, Wattson Elements/Falco
> Founder & co-lead, UC Berkeley OpenWSN
> Co-chair, IETF 6TiSCH
>
> www.thomaswatteyne.com
> ________________________________________
>
> ------------------------------
>
> *De: *"tengfei chang" <tengfei.chang@gmail.com>
> *À: *"6tisch" <6tisch@ietf.org>
> *Envoyé: *Lundi 12 Août 2019 08:52:37
> *Objet: *[6tisch] draft-ietf-6tisch-msf-06 is published
>
> Dear all,
> The  draft-ietf-6tisch-msf-06 is just published, it mainly resolved what
> we discussed during the IETF meeting.
>
> - add rules for celllist
> - update the downstream cell adaptation strategy
>
>
> Right now, there is one issue remained to be resolved and I am not sure
> what is the right solution. So I need suggestions and feedback from you:
>
> - handle Sixtop ADD Response with return code SUCCESS but 0 cells in
> cellList
>
> There are two possible reason for this situation
> 1. the proposed celllist doesn't meet the requirement from neighbor side
> 2. there is schedule memory for adding more cells.
>
> For the 1st  reason, the node may try to send another 6P request later.
> For the 2nd reason, the node may switch to another parent but it's layer
> violated.
>
> Any solutions for this case?
>
> Tengfei
>
> --
> Chang Tengfei,
> Postdoctoral Research Engineer, Inria
>
> _______________________________________________
> 6tisch mailing list
> 6tisch@ietf.org
> https://www.ietf.org/mailman/listinfo/6tisch
>
>

-- 
Chang Tengfei,
Postdoctoral Research Engineer, Inria