Re: [lp-wan] lpwan-overview comments

Stephen Farrell <stephen.farrell@cs.tcd.ie> Wed, 19 July 2017 11:49 UTC

Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: lp-wan@ietfa.amsl.com
Delivered-To: lp-wan@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 31B55131CD5 for <lp-wan@ietfa.amsl.com>; Wed, 19 Jul 2017 04:49:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.301
X-Spam-Level:
X-Spam-Status: No, score=-4.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
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 ONjdd79842hp for <lp-wan@ietfa.amsl.com>; Wed, 19 Jul 2017 04:49:32 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E4F69129AC4 for <lp-wan@ietf.org>; Wed, 19 Jul 2017 04:49:31 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id 2162DBE24; Wed, 19 Jul 2017 12:49:30 +0100 (IST)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PG4fFWmop0kG; Wed, 19 Jul 2017 12:49:28 +0100 (IST)
Received: from [31.133.148.54] (dhcp-9436.meeting.ietf.org [31.133.148.54]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id E4854BDF9; Wed, 19 Jul 2017 12:49:27 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1500464968; bh=30pXKzoVNOvH3sN1y7GQOvb6TrI/vBmTNMliMIJh+h8=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=Ajmavml14VaKprB4VueUHRP7hngECRTRFHNatEniwFXS1xjmm1SfzPmQ7XZ3LPDX/ XIFlnU1fhAwwp5hNL1cySsF8Gadc9PO8rVlfo5/rWEsKaJPSJNlHRgKkD6Wn9pHRZo 5lUpACwS0wijJFAyZyeCAfIxxhfIctFnj+HILkMA=
To: Alper Yegin <alper.yegin@actility.com>
Cc: lp-wan@ietf.org
References: <59F856E1230C43D5A7CE1018F7C2DCA8@WeiGengyuPC> <E0AE5747-8F22-4E46-ABD8-5C55E821F9A1@actility.com> <259da1ec-041f-875b-813b-3e20844e822d@cs.tcd.ie> <715019FF-4331-43C0-82EA-829EA5176BF3@actility.com>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Message-ID: <21ed1f55-f415-73b2-757f-447212333955@cs.tcd.ie>
Date: Wed, 19 Jul 2017 12:49:24 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <715019FF-4331-43C0-82EA-829EA5176BF3@actility.com>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="499SXrOPNvFxQeNW56Ju0CGTfW5stSMTM"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/5vsQnwb--GzwQDoYdSpOgscrm-A>
Subject: Re: [lp-wan] lpwan-overview comments
X-BeenThere: lp-wan@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Low-Power Wide Area Networking \(LP-WAN\), also known as LPWA or Low-Rate WAN \(LR-WAN\)" <lp-wan.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lp-wan/>
List-Post: <mailto:lp-wan@ietf.org>
List-Help: <mailto:lp-wan-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Jul 2017 11:49:38 -0000

Hi Alper,

Sorry for the slow response, but I'm doing edits on this now so...

On 01/07/17 20:18, Alper Yegin wrote:
> Hi Stephen,
> 
>>>
>>>
>>>   End-devices are assumed to work with one or a quite limited number of
>>>   applications, identified by a 64-bit AppEUI, which is assumed to be a
>>>   registered IEEE EUI64 value.
>>>
>>>
>>>
>>> AppEUI is being renamed as JoinEUI in LoRaWAN 1.1, and in fact it identifies the JS.
>>> JoinEUI and JS terms are not present in LW1.0.x, but nevertheless the latest definition of the AppEUI in LW1.0.2 is as follows:
>>>
>>>
>>>
>>> The AppEUI is a global application ID in IEEE EUI64 address space that uniquely identifies
>>>
>>> the entity able to process the JoinReq frame.
>>>
>>>
>>> So, we better not treat it as application identifier, but as identifier of the entity that can authenticate the Join-request frames.
>>>
>>> For example, instead of:
>>>
>>> AppEUI	IEEE EUI64 naming the application
>>>
>>> We better say:
>>>
>>> AppEUI	IEEE EUI64 naming the entity that processes Join-request
>>
>> So I just don't understand how that can be correct, sorry;-)
>>
>> A join-request is processed by a NS (or, in 1.1 a JS). There are very
>> few of those, maybe 1 per n/w. There are many more device-types, which
>> do mostly map 1:1 with AppEUIs. And the same device-types can be found
>> in many networks.
>>
>> So the suggested text just seems incorrect to me.
>>
>> I'd say we're better to just stick with 1.0.2 terms tbh.
>>
> 
> If we want to strictly  stick with the LW1.0.2 definition, than it’d be:
> 
> AppEUI	IEEE EUI64 application id that identifies the entity processesing Join-request
> 
> In practice, it identifies the JS.

So my issue with saying that is that one JS will like be the JS
for many AppEUIs so it's an N:1 mapping between AppEUI and JS
identifiers (be those IP addresses or names), so saying that an
AppEUI "identifies" a JS seems wrong to me still.

Would it work for you if we say it like this:

"
AppEUI: IEEE EUI64 corresponding to the join server for an application
"

That also calls for a definition of the JS I guess, so I can
also add:

- Join Server: The Join Server (JS) is a server on the Internet
side of an NS that processes join requests from end-devices.

Cheers,
S.

Cheers,
S.

> 
> Note that:
> - NS and JS may be co-located or separated. This is true for both LW1.0.x and LW1.1 specs.
> - The entity that processes the Join-request and generates Join-accept is the JS.
> - Single NS may be connected to multiple JSs.
> - Spec is based on 1:1 relationship between the end-device and JS. (Obviously, implementations can extend that).
> - If the NS knows the identify of the JS to process an incoming Join-request based on the DevEUI, then AppEUI (which is later renamed to JoinEUI in LW1.1) has no significance. Otherwise, the NS relies on the AppEUI (JoinEUI) to identify the JS to process the request.
> 
> I just elaborated on these details, not to suggest including in the draft, but to point out that the significance of the AppEUI is to “ identify(ies) the entity able to process the JoinReq frame.” as stated in the LW1.0.2 spec. As long as we capture that, it is OK if the draft also refers to it as “application id”. (The reason name of the Join-request field morphed from AppEUI into JoniEUI in LW1.1 is basically this.)
> 
> Regards,
> 
> Alper
> 
> 
> 
> 
> 
> 
> 
> 
>> Cheers,
>> S.
>>
>>>
>>>
>>>
>>>
>>> Thanks Stephen.
>>>
>>> Alper
>>>
>>>
>>>
>>> _______________________________________________
>>> lp-wan mailing list
>>> lp-wan@ietf.org
>>> https://www.ietf.org/mailman/listinfo/lp-wan
>>>
>>
> 
> _______________________________________________
> lp-wan mailing list
> lp-wan@ietf.org
> https://www.ietf.org/mailman/listinfo/lp-wan
>