Re: [6tisch] Jonathan's review on draft-ietf-6tisch-6top-interface-01

Xavier Vilajosana <xvilajosana@eecs.berkeley.edu> Sat, 25 October 2014 06:31 UTC

Return-Path: <xvilajosana@gmail.com>
X-Original-To: 6tisch@ietfa.amsl.com
Delivered-To: 6tisch@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 31A591A6FFC for <6tisch@ietfa.amsl.com>; Fri, 24 Oct 2014 23:31:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level:
X-Spam-Status: No, score=-1.277 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=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 8Brc_blyNjXU for <6tisch@ietfa.amsl.com>; Fri, 24 Oct 2014 23:31:02 -0700 (PDT)
Received: from mail-ig0-x230.google.com (mail-ig0-x230.google.com [IPv6:2607:f8b0:4001:c05::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B2DDE1A7004 for <6tisch@ietf.org>; Fri, 24 Oct 2014 23:31:02 -0700 (PDT)
Received: by mail-ig0-f176.google.com with SMTP id hn18so1574829igb.15 for <6tisch@ietf.org>; Fri, 24 Oct 2014 23:31:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=VQK05uglcisSo5joMEOJ0D349Dl8hk5byyTWasZTrf8=; b=wkEpjpimZTuPXnwh11ljx+ZhMZWvq0BlqWch0uU7g9kO4CfIMRAqyP8mpglukxVS4j MU83u0HmCoGfNSFbKuc3TrfDtyF7uQxSb1/reTPV5HWLWu5m70a27FpUcgr/5kctl7er w8qv2B49ZazSVq5ObLvSSlV2T5nEqOtKncIqocXfC3a2NEfdoQ1uYiN2vMofkGmgFzp9 PRsylFMWcXvcR66PTJzML43aVWbfLiFYnGUFBiWa6HTams9hkZDoRsz3qC1BfCGGyuvu GKprGccQl+/eLUpfD4qMYN+sFJkjZiQGFcbWRB89XbDtgAFuiW+ssTDFpkGVdu+bsjKr oLeg==
MIME-Version: 1.0
X-Received: by 10.107.12.14 with SMTP id w14mr9101942ioi.3.1414218662012; Fri, 24 Oct 2014 23:31:02 -0700 (PDT)
Sender: xvilajosana@gmail.com
Received: by 10.64.13.142 with HTTP; Fri, 24 Oct 2014 23:31:01 -0700 (PDT)
In-Reply-To: <313BE5D8-738C-49A3-BEE3-0DA050528F0A@linear.com>
References: <313BE5D8-738C-49A3-BEE3-0DA050528F0A@linear.com>
Date: Sat, 25 Oct 2014 08:31:01 +0200
X-Google-Sender-Auth: 0ecIcJyJqP_JeeGtiEHKF_LkDSQ
Message-ID: <CAMsDxWTDf8FKk93vFwqPS47q1_9aa5rQcHnctOJ5zy51K8aXvg@mail.gmail.com>
From: Xavier Vilajosana <xvilajosana@eecs.berkeley.edu>
To: Jonathan Simon <jsimon@linear.com>
Content-Type: multipart/alternative; boundary=001a113ee07cfbedf10506397082
Archived-At: http://mailarchive.ietf.org/arch/msg/6tisch/cBzOMPu1tijN9HwWY-Fb66gew1o
Cc: "6tisch@ietf.org" <6tisch@ietf.org>
Subject: Re: [6tisch] Jonathan's review on draft-ietf-6tisch-6top-interface-01
X-BeenThere: 6tisch@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Sat, 25 Oct 2014 06:31:06 -0000

Dear Jonathan,

Thanks for your comments!  See inline my answers and I will move forward to
address some of your comments on the current draft.

---------
Finally got around to reviewing this.  Better late than never?

p2 - odd sentence “This document also defines a list commands internal to
the 6top sublayer.”

thanks I'll reword it.


p5 - CellType option is mandatory (2.1), but it seems to also be implicit
in how the cell is created (2.1.1 & 2.1.2). Does MUST in these sections
mean that this option must be set explicitly?

CellType is the way to indicate if the cell to be created is Hard or Soft.
This field is mandatory to create a cell and thus we considered it to be
explicit. However, as you say, let us consider if CellType might be
inferred from context as the procedure to create a Hard Cell and a Soft
Cell is different.

p7 - what does unicast (resp.broadcast) mean?
queues may be organized in different manners, here we indicate that there
might be queues for packets to be sent to an specific neighbor (unicast) or
packets to be broadcasted. Different queues might be used for unicast
packets for example when we have different tracks where one ore more queues
are mapped to the packets that flow on that track.

p9 - channelOffset should be 16-bit (per 802.15.4e-2012 table 52d)
thanks, we correct that.

p13 & 14 - the metrics listed do not correspond to those defined in
802.15.4e-2012 table 4i.    PDR, ETX, RSSI and LQI are not used in TSCH or
macMetrics descriptions.
OK, here we thought top down, i.e what would be good for the upper layer to
have. THis information can be computed at 6top or obtained from the
LMAC/radio. RPL might be interested on that information.

- 4e defines a counter size, macCounterOctets, that needs to be specified
by 6top - could be a fixed value or set via YANG.

We will add this field.

- “Window” measurement period is specified in "Number of the slotframe
size” - Does “Number” here mean multiples? what if metrics apply to all
slotframes?
This is thought to be a running window with a certain size. The comment is
wrong and has a weak meaning. We wanted to indicate number of slots that
form the window. Per your comments this should be extended to:

1- number of slotframes that form the window
2- All (all slotframes during mac lifetime)
3- number of slots that form the window (small windows)

so in conclusion windows should be configurable and be of one of these
types.


p15 - “Peroid” instead of period.
- CellID - cell ID’s are local to a particular slotframe, so this is
meaningless without a slotframe ID
you are right, we will add slotframeId as a primary key.


- If the period is in seconds, and the cell repeat rate is not, how is this
supposed to work?

good point. We thought EBs are sent periodically. If not then Period field
do not apply. Note however that every entry in the EBList represents a cell
where an EB is sent. Do you think that during the lifetime of a TSCH
network that cell will not be used more than once to send an EB? If it is
used more than once there is a period and an expiration date.
If not we need to think what is the best way to express cells in particular
slots within slotframes. Maybe indicating ASN?

p 17 - why is last comms ASN being stored?
we thought it as a timestamp to know when the last communication occurred.
this might be used to force Keep Alive or to remove neighbors from the
neighbor table. DO you see a better approach?

general questions/comments:

* Are all things in the YANG model required?  For example, must one support
reading the READ.timesource for minTimeCorrection? Must all nodes support
chunks, and tracks, and softcells, labelSwitching, or is this policy?
This is policy. Here we define all the DATA model.


* Are all things in the YANG model expected to be encoded and sent over the
air?
This is not decided yet. In principle this are configurable elements taht
eventually need to be installed in a node. If this is done over the air,
some of them are pre-configured is a thing we need to decide.

* There is no mechanism to specify additional IEs in an EB - is this
outside of YANG?
We need to discuss about that. It is a good point.

* There’s no way to set the PANID.
We will add it. thanks!

* Certain PIBs must be set in a generic 15.4e MAC to get TSCH behavior. I
don’t know if these are needed in YANG, but need to be in 6TiSCH:
** some Table 52n on EBs entries need to be set
** Table 60 macFrameCounterMode needs to be 5 octets for ASN to work
** The fields needed to form the IEs contained in the EB are specified, but
whether they are sent explicitly or by ID isn’t defined
** macTSCHcapable, and macTSCHEnabled, macMetricsCapable,
macMetricsEnabled, aren’t discussed.
** There is no explicit configuration of EBs (e.g. macUseEnhancedBeacon) at
the MAC or a discussion of MLME-BEACON.request.

THis are 15.4e specific fields. 6tisch (6top) should provide delegation
interface so upper layers can configure these fields. Not sure thought that
they need to be part of the YANG Model.


2014-10-25 2:31 GMT+02:00 Jonathan Simon <jsimon@linear.com>om>:

> Finally got around to reviewing this.  Better late than never?
>
> p2 - odd sentence “This document also defines a list commands internal to
> the 6top sublayer.”
>
> p5 - CellType option is mandatory (2.1), but it seems to also be implicit
> in how the cell is created (2.1.1 & 2.1.2). Does MUST in these sections
> mean that this option must be set explicitly?
>
> p7 - what does unicast (resp.broadcast) mean?
>
> p9 - channelOffset should be 16-bit (per 802.15.4e-2012 table 52d)
>
> p13 & 14 - the metrics listed do not correspond to those defined in
> 802.15.4e-2012 table 4i.    PDR, ETX, RSSI and LQI are not used in TSCH or
> macMetrics descriptions.
> - 4e defines a counter size, macCounterOctets, that needs to be specified
> by 6top - could be a fixed value or set via YANG.
> - “Window” measurement period is specified in "Number of the slotframe
> size” - Does “Number” here mean multiples? what if metrics apply to all
> slotframes?
>
> p15 - “Peroid” instead of period.
> - CellID - cell ID’s are local to a particular slotframe, so this is
> meaningless without a slotframe ID
> - If the period is in seconds, and the cell repeat rate is not, how is
> this supposed to work?
>
> p 17 - why is last comms ASN being stored?
>
> general questions/comments:
>
> * Are all things in the YANG model required?  For example, must one
> support reading the READ.timesource for minTimeCorrection? Must all nodes
> support chunks, and tracks, and softcells, labelSwitching, or is this
> policy?
> * Are all things in the YANG model expected to be encoded and sent over
> the air?
> * There is no mechanism to specify additional IEs in an EB - is this
> outside of YANG?
> * There’s no way to set the PANID.
>
> * Certain PIBs must be set in a generic 15.4e MAC to get TSCH behavior. I
> don’t know if these are needed in YANG, but need to be in 6TiSCH:
> ** some Table 52n on EBs entries need to be set
> ** Table 60 macFrameCounterMode needs to be 5 octets for ASN to work
> ** The fields needed to form the IEs contained in the EB are specified,
> but whether they are sent explicitly or by ID isn’t defined
> ** macTSCHcapable, and macTSCHEnabled, macMetricsCapable,
> macMetricsEnabled, aren’t discussed.
> ** There is no explicit configuration of EBs (e.g. macUseEnhancedBeacon)
> at the MAC or a discussion of MLME-BEACON.request.
> --
> Jonathan Simon, Ph. D
> Director of Systems Engineering
> Linear Technology, Dust Networks product group
> 32990 Alvarado-Niles Road, Suite 910
> Union City, CA 94587
> (510) 400-2936
> (510) 489-3799 FAX
> jsimon@linear.com
>
> **LINEAR TECHNOLOGY CORPORATION**
> *****Internet Email Confidentiality Notice*****
>  This e-mail transmission, and any documents, files or previous
> e-mail messages attached to it may contain confidential information that
> is legally privileged. If you are not the intended recipient, or a
> person responsible for delivering it to the intended recipient, you are
> hereby notified that any disclosure, copying, distribution or use of any of
> the information contained in or attached to this transmission is
> STRICTLY PROHIBITED. If you have received this transmission in error,
> please immediately notify me by reply e-mail, or by telephone at (510)
> 400-2936, and destroy the original transmission and its
> attachments without reading or saving in any manner. Thank you.
>
>
> _______________________________________________
> 6tisch mailing list
> 6tisch@ietf.org
> https://www.ietf.org/mailman/listinfo/6tisch
>
>