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

Michael Richardson <mcr@sandelman.ca> Sun, 31 December 2023 18:53 UTC

Return-Path: <mcr@sandelman.ca>
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 301EFC14F682 for <anima@ietfa.amsl.com>; Sun, 31 Dec 2023 10:53:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, 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
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=sandelman.ca
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 CdhhcS2CsPIF for <anima@ietfa.amsl.com>; Sun, 31 Dec 2023 10:53:25 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D77B4C14F5F0 for <anima@ietf.org>; Sun, 31 Dec 2023 10:53:25 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 3FCC918010 for <anima@ietf.org>; Sun, 31 Dec 2023 13:53:23 -0500 (EST)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vJEvJRwu91Oi for <anima@ietf.org>; Sun, 31 Dec 2023 13:53:22 -0500 (EST)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 98F331800C for <anima@ietf.org>; Sun, 31 Dec 2023 13:53:22 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandelman.ca; s=mail; t=1704048802; bh=BtE64cC1tbuaJGTLKkIv77WGJdjE03hc9MqIlGf/mA4=; h=From:To:Subject:In-Reply-To:References:Date:From; b=JN6RL+VZn+mdlVnClfgSo+dTzXQJtP1q1BxRywvYjsku+is9Ia7jwb5QQiin2q1vv XyDUHgz5wbM7BBNwykEPDJX0nkVO8U+OxsUVxWhAcvU9YDUKMPqAiyFobXtIXZGqWN q5gy5qNa9mb+1SOQfN9KUTO4Bwuj33GSdY2Xio1sVeQtKlCJc6s+joxq3NIR6vHUWM qu6kvDxElWm3AccICOWDBUwCxwrjwJKZ8aDokvRv7T1l+hxdZf2+XtLuEsMNWeOYE3 kUkJFGTBfaXHVjMLMx0znm+tjXqPVGxf8Q8MdFjp1sbxkiSE6000V3XOLzs3zqC+6Q 4pK+0GEGmZZzA==
Received: from obiwan.sandelman.ca (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 917C1155D for <anima@ietf.org>; Sun, 31 Dec 2023 13:53:22 -0500 (EST)
From: Michael Richardson <mcr@sandelman.ca>
To: anima@ietf.org
In-Reply-To: <ZZAXFpgnqD_-mK0L@faui48e.informatik.uni-erlangen.de>
References: <247513.1700663785@dyas> <ZZAXFpgnqD_-mK0L@faui48e.informatik.uni-erlangen.de>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 28.2
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <5637.1704048802.1@obiwan.sandelman.ca>
Content-Transfer-Encoding: quoted-printable
Date: Sun, 31 Dec 2023 13:53:22 -0500
Message-ID: <5638.1704048802@obiwan.sandelman.ca>
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/H4wMtakUtamObtR2Z-wzax2_oPg>
Subject: [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: Sun, 31 Dec 2023 18:53:30 -0000

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.

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.

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.

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

Almost all of the SHOULDs are probably MUSTs.

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.

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-examples

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    [