Re: [Anima] draft-bernardos-anima-fog-monitoring-04

Brian Carpenter <brian.e.carpenter@gmail.com> Tue, 27 July 2021 09:15 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1ED403A1C40 for <anima@ietfa.amsl.com>; Tue, 27 Jul 2021 02:15:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 9glqOSiseht0 for <anima@ietfa.amsl.com>; Tue, 27 Jul 2021 02:15:29 -0700 (PDT)
Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) (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 1B0203A1C3F for <anima@ietf.org>; Tue, 27 Jul 2021 02:15:28 -0700 (PDT)
Received: by mail-lj1-x22d.google.com with SMTP id l17so15052061ljn.2 for <anima@ietf.org>; Tue, 27 Jul 2021 02:15:28 -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=QguhwhEt1xuQwl7LPD2oQ7uIonNKHf1IQs/A8HZpRco=; b=QF7gsJtuHaemO9/QSISsFdITDj6vzqAQf6AJaEfjxsioxMAibGVyQ6sG/VjdmhDNtA /zMuvqtkAAyc8cAXkSh60Te4yB7YDmFlcFBH0L6CHoeDUhiPGO1bdhCmQyRSPPEumHCl c09Z74A4DBRxNopBf+iLZ66pbFygAN5hInC7SZ8n/zQV93lPQH8ChzvP4WLPKYhletLP O06qWv4NWdKOt8D+vcusviRwmR0k2n8EK8sRWvxtXIc1uFBhhr3D5wly85V2/OJdx6BC l7xkUmKLnmaqEhdtzvio6YD9m8kFLznzXn06Y0tLi+o+441RNXRB0asVshZChLvVldW+ EtrA==
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=QguhwhEt1xuQwl7LPD2oQ7uIonNKHf1IQs/A8HZpRco=; b=it/vyBopbJBGIxjsTJfqFM0509e/ztD98Y4ufLOFiJKE9ccanAme4DDnbr/7/h/02k E8M5uK4uRZu0xOS9W3rTcG0/SxsE+tfcuLiMNeXI+byGlImrLEW8eHF8+vYVioThv1f2 a0klQn9K07JMAe87NSFj/xdw7nMn/ht+C9p9g9tZJ2FjBry2PF/nSfGeHn30id/td8yQ M+Bt4E6RhKVqq8L0l7m+FVewvhHm/4dziFtSfvrUlO4mumTphfQv+eXLP1/bEhUEBA+M hQB5BRfo04IBUeDzRUMg6MDX68lgLR2LrXh7fXTyAVD8xGwYcJNfLqLci7svC/LXFQDU L6RA==
X-Gm-Message-State: AOAM530uWcyWUA88HGI8DIqDDgQ0KeTXlTv/tw+n1uZqg/+Aa51YHvH7 dx3mDlK/DwmiZ0NHRW6gpHZbiAPc/rUGPkz/bW0=
X-Google-Smtp-Source: ABdhPJxuPUy8skEpD5cjEC+Yr1fHvS1FXd9tojga8fXNWw5qn5YaY3ACCpv5aRywJy7dkD/lMTywOrADGw4SKeZp2vE=
X-Received: by 2002:a2e:859a:: with SMTP id b26mr14732854lji.376.1627377325280; Tue, 27 Jul 2021 02:15:25 -0700 (PDT)
MIME-Version: 1.0
References: <43c44806-bec2-d60e-fe9f-cc293d2d9424@gmail.com> <5ff470fd974748c79a7877345406b642@huawei.com>
In-Reply-To: <5ff470fd974748c79a7877345406b642@huawei.com>
From: Brian Carpenter <brian.e.carpenter@gmail.com>
Date: Tue, 27 Jul 2021 21:15:11 +1200
Message-ID: <CANMZLAZRZmh_Z6=QQWKhqBcXv9wB51+cK1WbR+24tamn-3fM4w@mail.gmail.com>
To: Dangjuanna <dangjuanna@huawei.com>
Cc: Anima WG <anima@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000063916005c8174f92"
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/qhcIHw0n5YAJhDX6ETMPGNKiAJY>
Subject: Re: [Anima] draft-bernardos-anima-fog-monitoring-04
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Autonomic Networking Integrated Model and Approach <anima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima>, <mailto:anima-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima/>
List-Post: <mailto:anima@ietf.org>
List-Help: <mailto:anima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima>, <mailto:anima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Jul 2021 09:15:34 -0000

The flag bits are simply part of the objective option, so they are always
included in the discovery message (see
https://www.rfc-editor.org/rfc/rfc8990.html#name-format-of-objective-options).
It MAY also be present in the response. It could be used for a consistency
check or used actively in Dry Run mode. (We could possibly add new flags in
future.)

Regards,
    Brian Carpenter
    (via tiny screen & keyboard)

On Tue, 27 Jul 2021, 20:04 Dangjuanna, <dangjuanna@huawei.com> wrote:

> Hi,
>
> I am also studying the GRASP objective definition recently.
> I have one question: why does F_SYNCH_bits appear in the discovery process?
>
> Best wishes,
> Joanna
>
> -----Original Message-----
> From: Anima [mailto:anima-bounces@ietf.org] On Behalf Of Brian E Carpenter
> Sent: 2021年7月27日 12:41
> To: Anima WG <anima@ietf.org>
> Subject: [Anima] draft-bernardos-anima-fog-monitoring-04
>
> Hi,
>
> One quick comment on the draft.
>
> >       An example of discovery message using GRASP would be the following
> >       (in this example, the fog monitoring controller is identified by
> >       its IPv6 address: 2001:DB8:1111:2222:3333:4444:5555:6666):
> >
> >       [M_DISCOVERY, 13948745, h'20010db8111122223333444455556666',
> >       ["FOGDOMAIN", F_SYNCH_bits, 2, "operator1"]]
>
> If I can make a suggestion, I think it is better to start with an informal
> descrition and a CDDL definition of the GRASP objective. The details of the
> message don't really help the reader understand.
>
> Also I am not sure it needs multiple GRASP objectives. I think Toerless
> has a very good idea in his service description mechanism
> (draft-eckert-anima-grasp-dnssd), with JSON-like dictionaries that are very
> flexible, easily extensible, and trivial to map into CBOR. I don't think
> that changes the model, it just gives a lot more flexibility for the
> future. I think it would also make mapping to and from YANG based
> mechanisms a lot easier.
>
> Regards
>    Brian Carpenter
>
> _______________________________________________
> Anima mailing list
> Anima@ietf.org
> https://www.ietf.org/mailman/listinfo/anima
>