Re: [core] Fwd: New Version Notification for draft-cao-core-delegated-observe-00.txt

Zhen Cao <zhencao.ietf@gmail.com> Mon, 14 November 2016 05:46 UTC

Return-Path: <zhencao.ietf@gmail.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1A523129674 for <core@ietfa.amsl.com>; Sun, 13 Nov 2016 21:46:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-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 NCY6J51GWBe6 for <core@ietfa.amsl.com>; Sun, 13 Nov 2016 21:46:52 -0800 (PST)
Received: from mail-vk0-x22c.google.com (mail-vk0-x22c.google.com [IPv6:2607:f8b0:400c:c05::22c]) (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 690C8129664 for <core@ietf.org>; Sun, 13 Nov 2016 21:46:52 -0800 (PST)
Received: by mail-vk0-x22c.google.com with SMTP id w194so56068728vkw.2 for <core@ietf.org>; Sun, 13 Nov 2016 21:46:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=JCbZZXXYjWwupFkgg23KZyttAGohJDakYvcJa8Ar33U=; b=fWGLww6X1Dt7q90Cudv/qoiWzzlk+F9fRYP+z0sysiXjHaP8TkPuGXtVisFK2Z7A7n 5aFmarrpvlF6cndqi3GoMKDt66fTzJ/Pe6Y54J0Vgj53fHrjEgwqu24nAPpKCAHZJfU2 1+lyS5bqIM6UBoQgMmkz0A88Ryxz56iyiclACLTZevzax8Etmiv90MjXJJxkPcaACaWs n6eeDC6SHcqmtvBToX5WAtDeL+6+HPB+ehgr1IAliheFSbH/siBDVFyi0zSmes2zwLHf XZp9p0I7z/99BNy6wQAfFCbIb/54uXziE8k/su8slqIBQjHmN1laJDQ4gVrffIFGJYP+ uv5w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=JCbZZXXYjWwupFkgg23KZyttAGohJDakYvcJa8Ar33U=; b=nIPJvlaIxNYpw/o6DETOS4d4/03OPQ/DqmAT+K6bOv0niVXz94i2aom1Mhh98nIvh+ SWdEg36+HrYSa8J+v0Lwk4PYH6cBbhytoIDVCpl0TKTvw2QvEGBJFcQ6wca6/9R78Wyq jIc353mYlDrpJcqwUNQZhhXzF2/LOeSgsVyHesxVKBCg6PHn/LfdY79irxisbapLHFeQ FNMro4MEwX89v4G7IkdOmsFxkFgVu9LvyTwNcWfhHzvkH5FbpkaErB9HpCMxSsJYac7P tWiTenuOO8jT65VACJtYBE7hF41QX8+OzIjHifpQRE2q9+7BmRVS8aLpE3c/N6UqJWzX VrGg==
X-Gm-Message-State: ABUngveDdLxRnA55AGJX7muTbrWISONCtQOd/RSmdLqIxoGPTyLS/NdVH66yGJaJamfJlic+VavaeRIfbG0gsQ==
X-Received: by 10.31.173.144 with SMTP id w138mr2307343vke.153.1479102411493; Sun, 13 Nov 2016 21:46:51 -0800 (PST)
MIME-Version: 1.0
Received: by 10.176.81.252 with HTTP; Sun, 13 Nov 2016 21:46:50 -0800 (PST)
In-Reply-To: <20161114030859.hx563ikemh3i5m2v@hephaistos.amsuess.com>
References: <147755820733.19004.16975897284050743537.idtracker@ietfa.amsl.com> <CAFxP68z844+ra1ZrHAzPYqOBA0ugqZJKHuhumzfg9NqY=MXQmg@mail.gmail.com> <20161114030859.hx563ikemh3i5m2v@hephaistos.amsuess.com>
From: Zhen Cao <zhencao.ietf@gmail.com>
Date: Mon, 14 Nov 2016 13:46:50 +0800
Message-ID: <CAFxP68wTCgbCjSY336YkBWuDmDWHSPoCpROhQWMv3cV2qEr3Cw@mail.gmail.com>
To: Christian Amsüss <c.amsuess@energyharvesting.at>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/zkdYul5XyODfd7l0-b_XKTW-8c8>
Cc: "core@ietf.org WG" <core@ietf.org>
Subject: Re: [core] Fwd: New Version Notification for draft-cao-core-delegated-observe-00.txt
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Nov 2016 05:46:54 -0000

Hi Christian,

Thanks for the review and comments.  See inline response.

BR,
Zhen

On Mon, Nov 14, 2016 at 11:08 AM, Christian Amsüss
<c.amsuess@energyharvesting.at> wrote:
> Hello Zhen,
>
> thank you for submitting a draft.
>
> I've read through your delegated-observe draft, and have several
> questions / suggestions regarding it:
>
> * Regarding the cloud use case: Using an unspecified protocol to
>   negotiate this setup (where for example a token would need to be
>   exchanged that the in-home dev would then use) strikes me as
>   relatively complex for the given task. Have you considered that the
>   in-home dev could simply implement a proxy and open a coap-over-tcp
>   connection to the cloud server?

The in-home dev is nomadic, and it initiates the observe while at
home, so that it can fetch the information when it is off.  So,
opening a coap-o-tcp connection is not appropriate solution.

>
>   If the cloud server implements a proxy itself, the dev off-home could
>   send the same observe request as it locally would, just to the cloud
>   server as a forward proxy (which then again uses a second forward
>   proxy), and neither a delegate observation nor an additional
>   observation negotiation protocol is needed.
>
> * Multicast: Have you considered the applicability of
>   draft-ietf-core-dynlink-01 or draft-ietf-core-coap-pubsub-00?

Delegated observation or subscription could be used to the  dynlink or
pubsub. I just read through the pubsub-00 draft, and I do not think it
supports multicast pubsub as per the current text.

>
> * Multicast: Some protocol would be required for the bulbs to coordinate
>   too, because Bulb_2 and Bulb_3 need to agree on a token to identify
>   the incoming observation responses.

I agree. But sometimes, the token is optional for simple use cases.

>
> * Terminology: I find the "delegate" and "delegated" node terms
>   confusing (and if it's only because a search for "delegate" also
>   matches "delegated"). Maybe "Initiating node" / "Notified node" or any
>   other more distinct term could replace at least one of the
>   delegate{,d} names.

Thank you.  I am glad to change it in the next version and my presentation.

>
> * Do I understand the graphs correctly that no response is sent to the
>   delegate node unless it is itself in the delegated multicast group?
>
>   If so, how is reliable transmission ensured?

Good point, not considering this yet.  The difficulty is that how the
Source node tell if the Initiate node is included in the Notified
Group or not.
Simplest solution could be have the delegated observation request
being a confirmable message, solicit an  ACK for the request.

>
> Best regards
> Christian
>
> --
> Christian Amsüss                      | Energy Harvesting Solutions GmbH
> founder, system architect             | headquarter:
> mailto:c.amsuess@energyharvesting.at  | Arbeitergasse 15, A-4400 Steyr
> tel:+43-664-97-90-6-39                | http://www.energyharvesting.at/
>                                       | ATU68476614