Re: [Anima] some minor comments on draft-ietf-anima-grasp-distribution-09

"Liubing (Leo)" <leo.liubing@huawei.com> Tue, 09 January 2024 07:23 UTC

Return-Path: <leo.liubing@huawei.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 054F0C14F6AC for <anima@ietfa.amsl.com>; Mon, 8 Jan 2024 23:23:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.904
X-Spam-Level:
X-Spam-Status: No, score=-6.904 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eJ5tALh1bjkG for <anima@ietfa.amsl.com>; Mon, 8 Jan 2024 23:23:46 -0800 (PST)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A7E41C14F6AD for <anima@ietf.org>; Mon, 8 Jan 2024 23:23:46 -0800 (PST)
Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4T8MnL2bHfz6FCgZ; Tue, 9 Jan 2024 15:21:58 +0800 (CST)
Received: from lhrpeml500006.china.huawei.com (unknown [7.191.161.198]) by mail.maildlp.com (Postfix) with ESMTPS id E7E0A1400D4; Tue, 9 Jan 2024 15:23:43 +0800 (CST)
Received: from kwepemd100004.china.huawei.com (7.221.188.31) by lhrpeml500006.china.huawei.com (7.191.161.198) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 9 Jan 2024 07:23:43 +0000
Received: from canpemm500010.china.huawei.com (7.192.105.118) by kwepemd100004.china.huawei.com (7.221.188.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.1258.28; Tue, 9 Jan 2024 15:23:41 +0800
Received: from canpemm500010.china.huawei.com ([7.192.105.118]) by canpemm500010.china.huawei.com ([7.192.105.118]) with mapi id 15.01.2507.035; Tue, 9 Jan 2024 15:23:40 +0800
From: "Liubing (Leo)" <leo.liubing@huawei.com>
To: Michael Richardson <mcr@sandelman.ca>, "anima@ietf.org" <anima@ietf.org>
CC: "shengjiang@bupt.edu.cn" <shengjiang@bupt.edu.cn>, Xun Xiao <Xun.Xiao@huawei.com>, Artur Hecker <Artur.Hecker@huawei.com>, Zhengxiuli <zhengxiuli@huawei.com>, "linna.purple@gmail.com" <linna.purple@gmail.com>
Thread-Topic: [Anima] some minor comments on draft-ietf-anima-grasp-distribution-09
Thread-Index: AQHaPBr4tINx4C6Ijk6w0xdiV0L9i7DRDBvg
Date: Tue, 09 Jan 2024 07:23:40 +0000
Message-ID: <d42d85249e5c4e31a3bfd8f4c65d6ff4@huawei.com>
References: <247513.1700663785@dyas> <ZZAXFpgnqD_-mK0L@faui48e.informatik.uni-erlangen.de> <5638.1704048802@obiwan.sandelman.ca>
In-Reply-To: <5638.1704048802@obiwan.sandelman.ca>
Accept-Language: en-US, zh-CN
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.153.177.87]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/MDNJiK5V4AnSSKVFqgbeXq7q1jw>
Subject: Re: [Anima] some minor comments on draft-ietf-anima-grasp-distribution-09
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.39
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, 09 Jan 2024 07:23:51 -0000

Hi Michael,

Thanks much for your detailed review (again). 
And sorry for the delayed response. See inline please.

> -----Original Message-----
> From: Anima <anima-bounces@ietf.org> On Behalf Of Michael Richardson
> Sent: Monday, January 1, 2024 2:53 AM
> To: anima@ietf.org
> Subject: [Anima] some minor comments on
> draft-ietf-anima-grasp-distribution-09
> 
> 1. I have checked the xml into git, and I can send patches ("git send-email") or
> git tree or just the final file, as the authors wish.
> 
> 2. I don't know if moving the use cases to ... improves the document.
> 
> 3. queries:
> 
> section 5.2.1 says:
> > The IS module uses a syntax to index
> 
> while I think that the word syntax here is probably correct according to a
> dictionary, it's probably a much less familiar term to use here.

[Bing] I would suggest to simply avoid using an noun here. No need to articulate another word to replace "syntax".

> I'm concerned about step (2) _Storing Mode Mapping_, which suggests DHT,
> but doesn't require it.  I guess that this is an implementation detail which
> does not affect the protocol, but it more explanation of why it does not matter
> might be good.

[Bing] The original texts there actually intended to consider DHT as an example rather than recommendation. But I agree we need to articulate a bit more on why it does not matter, will change.

> I find step 5 far too hand wavey about how the block is transfered.
> At the very very least:
>    In this case, the IS module should support basic TCP-based
>    session protocols such as HTTP(s).
> 
> this seems like it needs BCP14 language: SHOULD How do we do HTTP, and if
> HTTPS is implied, then how do we do certificates for what are probably IP
> addresses.

[Bing] For how the bulk block is transferred, I think we can just refer the approach defined in Section 5.3 (Bulk Information Transfer), to close the dependency chain within GRASP itself.

> It seems like step 7 is really step 0, and the process ought to just loop?

[Bing] I think we can move step 7 to be a fork under step 4, which actually already mentioned step 7 in the texts. This might be more intuitive to read.

> Almost all of the SHOULDs are probably MUSTs.

[Bing] I have similar feeling for at least some of the SHOULDs. We'll check them one by one in the new version.

> section 5.3, it is inaccurate to describe network policy as being in YANG.
> YANG is not distributed, but serialized to JSON or XML or CBOR.
> I suggest:
> 
>   There are scenarios where this restriction is a problem. One case
>   is the distribution of network policy in lengthy YANG formats such as XML
>   or JSON.

[Bing] Yeah, that's an explicit mistake, thanks for picking it up.

> Also at:
>   A third case might be a supervisory system
>   downloading a software upgrade to a network node.
> 
> is a really good case, and mentioning SUIT Manifests would be a very good
> connection.
> They fit quite well into 2048 bytes.
> https://www.ietf.org/archive/id/draft-ietf-suit-manifest-24.html#name-b-exam
> ples

[Bing] Cool, will consider how SUIT could fit in.

Best regards,
Bing

> The security considerations seem wrong.
> What is the TLS hop by hop security?
> 
> --
> ]               Never tell me the odds!                 | ipv6 mesh
> networks [
> ]   Michael Richardson, Sandelman Software Works        |    IoT
> architect   [
> ]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on
> rails    [
> 
> _______________________________________________
> Anima mailing list
> Anima@ietf.org
> https://www.ietf.org/mailman/listinfo/anima