
From nobody Tue Sep  3 20:03:02 2019
Return-Path: <kaduk@mit.edu>
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 9379F12008A; Tue,  3 Sep 2019 20:02:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level: 
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 x1J5EzG0q99P; Tue,  3 Sep 2019 20:02:51 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E63E412008F; Tue,  3 Sep 2019 20:02:50 -0700 (PDT)
Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id x8432X8Z003112 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 3 Sep 2019 23:02:37 -0400
Date: Tue, 3 Sep 2019 22:02:32 -0500
From: Benjamin Kaduk <kaduk@mit.edu>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: Adam Roach <adam@nostrum.com>, The IESG <iesg@ietf.org>, Christian Huitema <huitema@huitema.net>, draft-ietf-anima-bootstrapping-keyinfra@ietf.org, tte+ietf@cs.fau.de, anima@ietf.org, anima-chairs@ietf.org
Message-ID: <20190904030232.GM58050@kduck.mit.edu>
References: <156282301326.15131.7510532622479656237.idtracker@ietfa.amsl.com> <17440.1565636744@localhost> <20190814142737.GV88236@kduck.mit.edu> <14902.1565888325@localhost> <20190816223315.GP88236@kduck.mit.edu> <3614.1566158990@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3614.1566158990@localhost>
User-Agent: Mutt/1.10.1 (2018-07-13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/hDm4FL9A0nNjtOzYKBf30u7AAL0>
Subject: Re: [Anima] Benjamin Kaduk's Discuss on draft-ietf-anima-bootstrapping-keyinfra-22: (with DISCUSS and COMMENT)
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: Wed, 04 Sep 2019 03:02:54 -0000

Whoops, this one apparently got skipped over amid some other deluge in my
inbox; sorry.

On Sun, Aug 18, 2019 at 04:09:50PM -0400, Michael Richardson wrote:
> 
> Benjamin Kaduk <kaduk@mit.edu> wrote:
>     > That specific construction would seem like an "optional feature" per
>     > https://www.ietf.org/blog/iesg-statement-normative-and-informative-references/
>     > ...
> 
> I re-read this, and this as to do with References, and so anything optional
> referenced in section 7 would still need to be a Normative Reference.
> 
> The stickler I see right now is [I-D.ietf-netconf-keystore].
> I don't want to hang on MISREF on that document; it's just one of many that
> could be used, and I do not want to tell manufacturers that they have
> to use this specific protocol to update trust anchors.
> There are many other protocols that they presently support which they could
> use, in particular, a CLI interface would be fine.
> 
> I think that this 7.4.3 section that creates a factory default which isn't
> the default from the factory should be worry people who care about remote
> attestation of software.
> 
> Adam has been particularly vocal about the need to specify something
> normative that manufacturers have to provide in order to resale and operation
> with the availability of the MASA.
> 
> It seems that we might need another round of discussion on this topic.
> I feel that we are being pushed to describe the entire security lifetime of
> the device; that we need to solve the entire management problem of devices in
> our document.  (i.e. the 25 years of SNMPv3, plus YANG...) Maybe I just don't
> understand what would be a reasonable answer, if what I've written is not enough.
> 
> Maybe a virtual interim discussion!   If so, please let me know.

I think I'm going to have to leave this one to Adam et al.

> ANIMA/Iot-Onboarding has some time booked already:
>     https://datatracker.ietf.org/meeting/interim-2019-anima-01/materials/agenda-interim-2019-anima-01-anima-01
> 
> ps: (s/IPv6 NAT44/IPv4 NAT44/ for section 7.4.2, btw)
> 
> 
>     >> section 9:
>     >> In recognition of this, some mechanisms are presented in
>     >> Section 7.2.  The manufacturer MUST provide at least one of the one-
>     >> touch mechanisms described that permit enrollment to be proceed
>     >> without availability of any manufacturer server (such as the MASA).
> 
>     > ... but this is a somewhat different construction.  In isolation, it looks
>     > more like "MUST do at least one of X, Y, Z" without condition on "wish to
>     > do W", and if X, Y, and Z are all in the same place, that place seems
>     > normative to me.  (I will confess I've rather lost track of exactly why
>     > we're debating if this is normative or not; I guess it's just the
>     > disclaimer in Section 7 about "considered non-normative in the generality
>     > of the protocol".)
> 
> Yes, it's MUST do one of X,Y,Z.
> So that implies: MAY do X, MAY do Y, MAY do Z, but not the case of all being false.

If "ignore all of Section 7.2" is not an option, then at least some part of
it is normative.  "You just get to choose which part" :)

-Ben


From nobody Fri Sep  6 09:33:35 2019
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: anima@ietf.org
Delivered-To: anima@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 0DEE412010C; Fri,  6 Sep 2019 09:33:34 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: The IESG <iesg-secretary@ietf.org>
To: "IETF-Announce" <ietf-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.100.0
Auto-Submitted: auto-generated
Precedence: bulk
Cc: anima-chairs@ietf.org, The IESG <iesg@ietf.org>, anima@ietf.org 
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Message-ID: <156778761404.21955.3204085601722378494.idtracker@ietfa.amsl.com>
Date: Fri, 06 Sep 2019 09:33:34 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/sRKAt561b9YePXlyY_GpTIbbC5c>
Subject: [Anima] WG Action: Rechartered Autonomic Networking Integrated Model and Approach (anima)
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 06 Sep 2019 16:33:34 -0000

The Autonomic Networking Integrated Model and Approach (anima) WG in the
Operations and Management Area of the IETF has been rechartered. For
additional information, please contact the Area Directors or the WG Chairs.

Autonomic Networking Integrated Model and Approach (anima)
-----------------------------------------------------------------------
Current status: Active WG

Chairs:
  Toerless Eckert <tte+anima@cs.fau.de>
  Sheng Jiang <jiangsheng@huawei.com>

Assigned Area Director:
  Ignas Bagdonas <ibagdona@gmail.com>

Operations and Management Area Directors:
  Warren Kumari <warren@kumari.net>
  Ignas Bagdonas <ibagdona@gmail.com>

Technical advisors:
  Nancy Cam-Winget <ncamwing@cisco.com>

Mailing list:
  Address: anima@ietf.org
  To subscribe: https://www.ietf.org/mailman/listinfo/anima
  Archive: https://mailarchive.ietf.org/arch/browse/anima/

Group page: https://datatracker.ietf.org/group/anima/

Charter: https://datatracker.ietf.org/doc/charter-ietf-anima/

The Autonomic Networking Integrated Model and Approach (ANIMA) working group
develops and maintains specifications and documentation for interoperable
protocols and procedures for automated network management and control of
professionally-managed networks.

The vision is a network that configures, heals, optimizes and protects
itself. The strategy is the incremental introduction of components to
smoothly evolve existing and new networks accordingly.

ANIMA work will rely on the framework described in
draft-ietf-anima-reference-model already approved for publication. Work not
related to this framework is welcome for review, but WG adoption of such work
requires explicit rechartering. The two concrete areas of the reference model
are (1) the Autonomic Networking Infrastructure (ANI), and (2) Autonomic
Functions (AF) built from software modules called Autonomic Service Agents
(ASA).

The ANI is specified through prior ANIMA work. It is composed of the
Autonomic Control Plane (ACP; RFC 8368), Bootstrap over Secure Key
Infrastructures (BRSKI) including Vouchers (RFC8366), and the Generic
Autonomic Signaling Protocol (GRASP). ANIMA will work on closing gaps and
extending the ANI and its components.

ANIMA will start to define Autonomic Functions (AF) to enable service
automation in networks; it will also work on generic aspects of ASA including
design guidelines and lifecycle management, coordination and dependency
management.

The reference model also discusses Intent, but ANIMA will not work on this
without explicit rechartering. It will rely on the Network Management
Research Group (NMRG) to define the next steps for this topic. ANIMA will
coordinate with other IETF and IRTF groups as needed.

The scope of possible work items are (additional works are subject to extra
approval from the responsible AD):

- Extensions to the ANI, including variations of ANI deployment (e.g. in
virtualised environments), information distribution within an AN, ANI OAMP
interfaces (Operations, Administration, Management, Provisioning),
interaction with YANG-based mechanisms, defining the domain boundary and
membership management of the domain.

- Support for Autonomic Service Agents, including design and implementation
guidelines for ASAs, life cycle management, authorization and coordination of
ASA.

- BRSKI features, including proxies, enrollment, adaptions over various
network protocols, variations of voucher formats.

- Generic use cases of Autonomic Network and new GRASP extensions/options for
them, including bulk transfer, DNS-SD interworking, autonomic resource
management, autonomic SLA assurance, autonomic multi-tenant management,
autonomic network measurement.

- Integration with Network Operations Centers (NOCs), including autonomic
discovery/connectivity to NOC, YANG-based ANI/ASA management by the NOC and
reporting AF from node to NOC.

Milestones:

  Nov 2019 - Submit Information distribution over GRASP to the IESG

  Dec 2019 - Submit Constrained Voucher Artifacts for Bootstrapping Protocols
  to the IESG

  Dec 2019 - Submit Constrained Join Proxy for Bootstrapping Protocols to the
  IESG

  Mar 2020 - Submit Lifecycle and Management of Autonomic Service Agents to
  the IESG

  Mar 2020 - Submit Guidelines for Developing Autonomic Service Agents to the
  IESG

  Jul 2020 - Recharter or close the WG



From nobody Mon Sep 16 09:22:27 2019
Return-Path: <noreply@ietf.org>
X-Original-To: anima@ietf.org
Delivered-To: anima@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 123FD120026; Mon, 16 Sep 2019 09:22:26 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Alexey Melnikov via Datatracker <noreply@ietf.org>
To: "The IESG" <iesg@ietf.org>
Cc: draft-ietf-anima-bootstrapping-keyinfra@ietf.org, Toerless Eckert <tte+ietf@cs.fau.de>, anima-chairs@ietf.org, tte+ietf@cs.fau.de, anima@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.101.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: Alexey Melnikov <aamelnikov@fastmail.fm>
Message-ID: <156865094606.28176.939234039941542736.idtracker@ietfa.amsl.com>
Date: Mon, 16 Sep 2019 09:22:26 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/qUc3IAtzHJKxq-0xbWE0-OipWKw>
Subject: [Anima] Alexey Melnikov's Discuss on draft-ietf-anima-bootstrapping-keyinfra-26: (with DISCUSS and COMMENT)
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 16 Sep 2019 16:22:26 -0000

Alexey Melnikov has entered the following ballot position for
draft-ietf-anima-bootstrapping-keyinfra-26: Discuss

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
for more information about IESG DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-anima-bootstrapping-keyinfra/



----------------------------------------------------------------------
DISCUSS:
----------------------------------------------------------------------

Thank you for this document. Despite comments/DISCUSSes raised, this was a good
read.

I agree with DISCUSS points from Alissa, Adam and Roman.

1) Resolved

2) Resolved

3) Resolved

4) In 5.8.1:

Format of different fields is not defined in enough details, so this is not
interoperable. Please specify what format is used for dates and nonces.

5) Resolved


----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

Some comments below are still applicable to -26, but some might be out of date.

The first mention of HTTP 1.1 needs a Normative reference.

In 2.3.2:

   As explained in [RFC5280] section 7.4, a complete IRI SHOULD be in
   this extension, including the scheme, iauthority, and ipath.  As a
   consideration to constrained systems, this MAY be reduced to only the
   iauthority, in which case a scheme of "https://" and ipath of
   "/.well-known/est" is to be assumed, as explained in section
   Section 5.

This is not a problem per se, but mixing absolute URIs and iauthority in the
same field makes me rather uncomfortable. Maybe you can define ABNF for this
field to make it crystally clear what is allowed here. This would also avoid
the need to use SHOULD and MAY above.

In 2.3.2: "https" URI scheme needs a Normative reference.

2.7.  Cloud Registrar

   If the pledge uses a well known URI for contacting a cloud registrar
   an Implicit Trust Anchor database (see [RFC7030]) MUST be used to
   authenticate service as described in [RFC6125].

Just referencing RFC 6125 is not clear enough, as there are lots of parameters
that need to be specified:

 a) which of CN-ID/DNS-ID/URI-ID/SRV-ID are allowed
 b) are wildcards allowed in any of these?



From nobody Mon Sep 16 11:25:58 2019
Return-Path: <mcr+ietf@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 8FE6F12004A for <anima@ietfa.amsl.com>; Mon, 16 Sep 2019 11:25:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 YpdtufbPQYjC for <anima@ietfa.amsl.com>; Mon, 16 Sep 2019 11:25:49 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 14DCC120130 for <anima@ietf.org>; Mon, 16 Sep 2019 11:25:49 -0700 (PDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 9A5873897E; Mon, 16 Sep 2019 14:24:09 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id D5662BAE; Mon, 16 Sep 2019 14:25:47 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: "Joel M. Halpern" <jmh@joelhalpern.com>, anima@ietf.org
In-Reply-To: <cedc515e-22ab-94a9-e6ef-c55b345687ba@joelhalpern.com>
References: <156282703648.15280.17739830959261983790.idtracker@ietfa.amsl.com> <17580.1562874933@localhost> <ACEB4033-707F-47AF-B58A-5227B444BEAB@cisco.com> <E2DA8D30-805E-478D-925D-534C04A0727F@cisco.com> <8869.1563140002@dooku.sandelman.ca> <cedc515e-22ab-94a9-e6ef-c55b345687ba@joelhalpern.com>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 24.5.1
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: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature"
Date: Mon, 16 Sep 2019 14:25:47 -0400
Message-ID: <7930.1568658347@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/ySi3OionCTAY8YPBvsahsfBVwLw>
Subject: Re: [Anima] Adam Roach's Discuss on draft-ietf-anima-bootstrapping-keyinfra-22: (with DISCUSS and COMMENT)
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: Mon, 16 Sep 2019 18:25:56 -0000

--=-=-=
Content-Type: text/plain


{clearing out todo items in my inbox}

Joel M. Halpern <jmh@joelhalpern.com> wrote:
    > I presume I am missing something basic.
    > I have tried to follow this discussion, as it seems to be about a critical
    > aspect of whether the BRSKI work is acceptable.

    > I have assumed that what we needed is the ability for a buyer, who has
    > physical possession of the device, and possibly some simple (non
    > cryptographic) credentials provided by the seller to force the device to
    > reset what it thinks it is part of, and to emit in some accessible form the
    > information the buyer needs to be able to make this device part of his
    > network, using his authentication servers, etc.

    > Have I got the wrong end of the stick?

Joel, you have gotten the resale problem exactly correct.

BRSKI is primarily a protocol for a buyer, who does not wish to be forced
to assert physical possession, to assert ownership of the device.

The #1 reason why they don't want to resort to physical means is that the
local entities possessing ("remote hands") the device don't have the skills
and/or equipment to set the device up.

The #2 reason is that the device is in partial public access, and
it would be a bad thing if the physical possession interface was too easily
accessed. (Bank ATM, Airport checkin kiosk, hotel room interfaces, etc.)
This has been extended to IoT devices.

A third reason is that the devices may be difficult to actually reach
physically due to the structure and activity of the factory/plant/etc. that
they are in.  A temperature sensor 50m up a distillation tower in a refinery,
for instance.

The physical mechanisms that make the device hard to physically attack may
also make it hard for the second owner to take control of the device without
the cooperation of the first owners and/or manufacturer.

The current solution in the document is that one should, for enterprise/ISP
equipment that ANIMA applies to, continue to provide the same onboarding
processes that existed prior to ANIMA.  Specifically, a "craft" or serial console.

--
]               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    [



--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-




--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAl1/06sACgkQgItw+93Q
3WXbvAgAqb8yxZu+ny/DMDiojNrvcLZAJ+I1B/pQrUomdy3jG7ghWbXwQvTpfulb
CHhrAxJzHpP8zPGHqv96La8tRvvwiWT022jct6qRYIHLSpe9jx2AExyZhIXKKkUe
fQYMgsqXcIsew6dzkiQJc0B63LDDp49d8npMHo1lmyMb7pEvgo3vPCsTzNvpjJV4
rHwZrM2jL/TRhALjwKAcJOgsPNSafuh0vn4eIy8t27DkArMLlddXB5AaPh3a3YDY
0CCv8P8SvHD0YdFsHk8QI/xIYiT3rQ5aDcYxy9wL5HIbkqefLYAZJGxnJmP/SUV5
7ya5VbKkqOWEXqN9tluloVVBKMJ19Q==
=qNne
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Mon Sep 16 12:11:26 2019
Return-Path: <mcr+ietf@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 EED161200B7; Mon, 16 Sep 2019 12:11:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 EfG3GkUuUsen; Mon, 16 Sep 2019 12:11:17 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A8E8512004A; Mon, 16 Sep 2019 12:11:17 -0700 (PDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 6E4D63897E; Mon, 16 Sep 2019 15:09:38 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id B47D1BAE; Mon, 16 Sep 2019 15:11:16 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Alexey Melnikov <aamelnikov@fastmail.fm>, "The IESG" <iesg@ietf.org>, draft-ietf-anima-bootstrapping-keyinfra@ietf.org, tte+ietf@cs.fau.de, anima@ietf.org, anima-chairs@ietf.org
In-Reply-To: <156865094606.28176.939234039941542736.idtracker@ietfa.amsl.com>
References: <156865094606.28176.939234039941542736.idtracker@ietfa.amsl.com>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 24.5.1
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: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature"
Date: Mon, 16 Sep 2019 15:11:16 -0400
Message-ID: <18821.1568661076@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/I7RoAfnGJstJKrHRrRUeqQTT8DI>
Subject: Re: [Anima] Alexey Melnikov's Discuss on draft-ietf-anima-bootstrapping-keyinfra-26: (with DISCUSS and COMMENT)
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: Mon, 16 Sep 2019 19:11:25 -0000

--=-=-=
Content-Type: text/plain


https://tinyurl.com/y2kmjqmm for diff.

Alexey Melnikov via Datatracker <noreply@ietf.org> wrote:
    > ----------------------------------------------------------------------
    > DISCUSS:
    > ----------------------------------------------------------------------

    > Thank you for this document. Despite comments/DISCUSSes raised, this was a good
    > read.

    > I agree with DISCUSS points from Alissa, Adam and Roman.

    > 1) Resolved

    > 2) Resolved

    > 3) Resolved

    > 4) In 5.8.1:

    > Format of different fields is not defined in enough details, so this is not
    > interoperable. Please specify what format is used for dates and nonces.

Date now references rfc3339. (Why doesn't rfc8259 reference 3339?)

          <t>
            The date is in <xref target="RFC3339" /> format, which is
            consistent with typical JavaScript usage of JSON.
          </t>

          <t>
            The nonce is a string, as provided in the voucher-request, and
            used in the voucher.   If no nonce was placed in the resulting
            voucher, then a value of null SHOULD be used in preference to
            omitting the entry.
            While the nonce is often created as a base64 encoded random
            series of bytes, this should not be assumed.
          </t>


    > ----------------------------------------------------------------------
    > COMMENT:
    > ----------------------------------------------------------------------

    > Some comments below are still applicable to -26, but some might be out of date.

    > The first mention of HTTP 1.1 needs a Normative reference.

We now refer to HTTP persistent connections, and reference RFC7230 section 6.3.

    doc> As explained in [RFC5280] section 7.4, a complete IRI SHOULD be in
    doc> this extension, including the scheme, iauthority, and ipath.  As a
    doc> consideration to constrained systems, this MAY be reduced to only the
    doc> iauthority, in which case a scheme of "https://" and ipath of
    doc> "/.well-known/est" is to be assumed, as explained in section
    doc> Section 5.

    > This is not a problem per se, but mixing absolute URIs and iauthority in the
    > same field makes me rather uncomfortable. Maybe you can define ABNF for this
    > field to make it crystally clear what is allowed here. This would also avoid
    > the need to use SHOULD and MAY above.

The field contains either:
    authority
OR
    scheme //: authority / path

As "/" is not legal in authority, which can be deduced, as explained:

   The registrar can assume that only the 'authority' is present in the
   extension, if there are no slash ("/") characters in the extension.

I'm not sure that ABNF would make it clearer to implementers.

    > In 2.3.2: "https" URI scheme needs a Normative reference.

Now references rfc7230 section 2.7.3

    > 2.7.  Cloud Registrar

    > If the pledge uses a well known URI for contacting a cloud registrar
    > an Implicit Trust Anchor database (see [RFC7030]) MUST be used to
    > authenticate service as described in [RFC6125].

    > Just referencing RFC 6125 is not clear enough, as there are lots of parameters
    > that need to be specified:

    > a) which of CN-ID/DNS-ID/URI-ID/SRV-ID are allowed
    > b) are wildcards allowed in any of these?

I don't know, as we haven't defined how the cloud register would work, and
did not intend to define that in this document.
A very drafty draft, draft-friel-anima-brski-cloud-00 has recently been posted.

The only reason we talk about this at all, is that we can it clear how this
option would fit into the pledge state machine.  We also say this because we
want to make sure that a built-in trust anchor is used, and not some trust
anchor that might have been received provisionally, or via the /cacerts
EST method.

The pledge would contain the logic to connect, and would know what name to
use, and would know how to validate it.

--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-




--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAl1/3lQACgkQgItw+93Q
3WWyagf+I8n31nvHEPgXSeEQ6nYwnYbS23lTOyAzvdMNwO3+zq0/2gru7cZPWaIO
CSDZOzPaqrApWeS/sNEmF+OhIHQk3EEIZ9FqZlqXpyahVlO/jJuS7adEzSznu0t8
YEAiThpT7fYWHyVwXqA3qG8y8NkVBW3B46XuhkhbTb3pDwAXrxZQRXk3YHbAr6CT
64eY4TAujSe3IyPjg9OC/bKAI/Rcdt7ILFRc993eLDq/p8iykWtP4SH7tU5oyC4k
4il95niQ8JMXDBckRZ2X7L2kaEL7G2mv/hT22oVF+U2P301hQgBikbTDolgW5+x/
j/lNevsroIdO88QKQy39NXIC9O60AA==
=2d5j
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Mon Sep 16 14:46:55 2019
Return-Path: <mcr+ietf@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 D647A120041; Mon, 16 Sep 2019 14:46:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 TRMz675SeSHM; Mon, 16 Sep 2019 14:46:39 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7FB341200C7; Mon, 16 Sep 2019 14:46:38 -0700 (PDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 58C3F3897E; Mon, 16 Sep 2019 17:44:59 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id C4264BAE; Mon, 16 Sep 2019 17:46:37 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Benjamin Kaduk <kaduk@mit.edu>
cc: The IESG <iesg@ietf.org>, draft-ietf-anima-bootstrapping-keyinfra@ietf.org, tte+ietf@cs.fau.de, anima@ietf.org, anima-chairs@ietf.org
In-Reply-To: <20190809225540.GV59807@kduck.mit.edu>
References: <156282301326.15131.7510532622479656237.idtracker@ietfa.amsl.com> <23257.1565381837@localhost> <20190809225540.GV59807@kduck.mit.edu>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 24.5.1
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: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature"
Date: Mon, 16 Sep 2019 17:46:37 -0400
Message-ID: <20412.1568670397@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/p6D96Y78jm_nX1T_jBk7JTMkeKY>
Subject: Re: [Anima] Benjamin Kaduk's Discuss on draft-ietf-anima-bootstrapping-keyinfra-22: (with DISCUSS and COMMENT)
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: Mon, 16 Sep 2019 21:46:45 -0000

--=-=-=
Content-Type: text/plain


Combining your August 9 and September 3 emails, and removing resolved items.

https://tinyurl.com/y2kmjqmm for diffs aginst -26.
(also includes changes for Alexey)
Submitting -27 in process.

Benjamin Kaduk <kaduk@mit.edu> wrote:
    >> This was asked by Eric as well.
    >> It's the Subject Key Identifier that we want.
    >> https://tools.ietf.org/html/rfc5280#section-4.2.1.2
    >>
    >> It's only guaranteed to exist in CA certificates.
    >> Do you think we can demand that the extension be present in IDevID?

    > I'm doubtful that we have enough leverage to make that stick.

Subsequent discussion with my co-authors has pointed out that the
certificate that will be pinned in the voucher (as pinned-domain-cert) is the
*domain cert*, that is, the domain's CA.  As a CA, will most likely have the
right SubjectKeyIdentifier calculated already.

We had updated section 5.8.2 in -26 to clarify things.
We moved the domainID definition out of the terminology section (which is
where the SHA-1 stuff was), to point at 5.8.2, and point to rfc7469, which
provides an algorithm agile definition.

    >> > 5.  Enroll.  After imprint an authenticated TLS (HTTPS) connection
    >> > exists between pledge and registrar.  Enrollment over Secure
    >> > Transport (EST) [RFC7030] is then used to obtain a domain
    >> > certificate from a registrar.
    >>
    >> > Isn't this step optional?
    >>
    >> so, I can change the word to "can" rather than "is"

    > (and fix up the grammar, but) sure

missing "be" added to section 2.1, point 5.

    doc> 1.  Uniquely identifying the pledge by the Distinguished Name (DN)
    doc> and subjectAltName (SAN) parameters in the IDevID.  The unique
    doc> identification of a pledge in the voucher objects are derived
    doc> from those parameters as described below.

    >> > These unique identifiers can (by design) be used for tracking, so let's
    >> > be sure that we talk about any privacy considerations with them, later.
    >> > I see a mention in passing in Section 10.2, at least...

    >> Are you asking for a forward reference to 10.2?  I will add this.
    >> I think that section 10.2 is pretty clear about this.
    >> I don't think it's mentioned just in passing.

    > It looks like the main coverage here is:

    > o  the identity of the device being enrolled (down to the serial-
    > number!).

    > and the discussion in the last three paragraphs or so.
    > I do appreciate the importance of distinguishing between the high-end
    > router and the human users (and we will have a long hard think about it
    > again when BRSKI profiles for IoT use come through, I'm sure), so thank you
    > for that.  But I'm not sure that we clearly draw the connection to "the
    > manufacturer knows the identity of the device being enrolled" to "and can
    > guess where it is, and definitely knows who the owner is, and can
    > potentially follow that over time if the device has to reenroll".  Now, for
    > the high-end router case there is literally nothing new here -- the vendor
    > is assumed to already be doing inventory tracking of which customers have
    > which routers!  But I think it's important to make the connection from
    > "knows identity" to "tracking", since this topic will come up for any use
    > of BRSKI in other situations.

I've tweaked some text, in section 10.3, but I feel I am just moving the
chairs around on the Titanic here.

    doc> 3.  Secure auto-discovery of the pledge's MASA by the registrar (see
    doc> Section 2.8).

    ben> I don't think this is an ironclad property, since the crypto chain is
    ben> slightly limited and you are in effect trusting the pledge to hand you
    ben> something that says "use this issuer" but without as much crypto to back
    ben> that up as we might want.  We have to know that the given manufacturer
    ben> that signed the IDevID actually is associated with the device we're
    ben> trying to bootstrap, which can probably be arranged but I don't remember
    ben> being called out explicitly.

    mcr> There are two issues here.

    mcr> One is the question of what is the list of acceptable manufacturers (below).
    mcr> The second part is whether a pledge could provide a fake IDevID to
    mcr> the Registrar.  The pledge is doing TLS ClientCertificate, so the TLS
    mcr> has proven that the pledge has the private key corresponding to the
    mcr> certificate presented.  I conclude that an arbitrary IDevID can not be
    mcr> provided by the Pledge; it has to be linked to SOME manufacturer. Some

    > Well, it has to be linked to some entity that signed the IDevID.  That may
    > or may not be a manufacturer, but the Registrar does have the capability to
    > look at what signed the IDevID and apply a whitelist of known, verified,
    > manufacturers.

Yes.  Even if we throw full Remote Attestation at the problem, if the
Registrar decides to trust Malware Inc. to attest to it's BFR's then it's
gonna have Malware.

    mcr> manufacturer A could point it's product at MASA B, but I don't see how this
    mcr> is an issue if MASA B will issues vouchers that pledge A can verify.

    mcr> (The pledge could have a variety of certificates from
    mcr> a variety of sources, perhaps all bound to the same public key, I guess, and
    mcr> since the Registrar sends it's certificate first, the pledge could present
    mcr> different identities to different networks. I think that this is a feature,
    mcr> not a bug.  It reminds that "Kenmore" brand appliances were made by a variety
    mcr> of manufacturers, but I don't see my dishwasher can know what identity
    mcr> to use until after there is communication with the MASA)

    ben> Sure, that is probably a feature at least in some cases.
    ben> But can we assume that a given pledge has a single distinguished
    ben> MASA?

Yes.

    ben> The pledge gives the registrar a thing that says "go here for my MASA", and
    ben> the registrar can do a fair bit of validation on that, but there's still
    ben> potentially some control in the pledge's hands about where the registrar
    ben> goes to, and lots of room for attack by hostile pledges if the registrar is
    ben> buggy.

Buggy in what way?
A registrar which allows any manufacturer's IDevID can be fooled^Wconvinced into talking
to a MASA of a malicious pledge's choice.

    ben> It's not like there's a single authoritative (global) database of (device,
    ben> MASA) pairs that we can query and have unconditional trust is giving the
    ben> right result (and validating what device we're looking up, even).  Things
    ben> are fragmented, and at the protocol level, we can't be confident that we
    ben> wouldn't get a different (valid!) answer if we asked somewhere else, or
    ben> asked a slightly different question.

It's not inconceivable to me that some specialized CAs (akin to the Extended
Validation certificates) could come to be that would sign the
ServerCertificates for MASA from entities that comply to some industry led criteria.

    ben> (And, given the track record of Web
    ben> PKI CAs, I expect some baseline level of bogus IDevIDs to be out
    ben> there.)

I'm not exactly sure how this would occur, but I concede that this could be
the case.

    mcr> The question then becomes how the Registrar comes to trust/verify the
    mcr> pledge's IDevID.  We had a long discussion about this during the directorate
    mcr> reviews and going back to Feb. 2018.  I thought that we resolved this.
    mcr> Issues
    mcr> https://github.com/anima-wg/anima-bootstrap/issues/120
    mcr> https://github.com/anima-wg/anima-bootstrap/issues/43
    mcr> https://github.com/anima-wg/anima-bootstrap/issues/46
    mcr> A thread starts here:
    mcr> https://mailarchive.ietf.org/arch/msg/anima/p7pUw1HKq6Ot0gV8JPeRWhwvQTs
    mcr>
    mcr> Some changes that we made for this:
    mcr> https://github.com/anima-wg/anima-bootstrap/commit/e5ffec4cc703626012d62c0b3138d851b61a2f54

    ben> Maybe, "Configuration or distribution of these trust anchor databases is
    ben> out-of-scope of this specification.  Note that the trust anchors
    ben> in/excluded from the database will affect which manufacturers' devices are
    ben> acceptable to the registrar as pledges, and can also be used to limit the
    ben> set of MASAs that are trusted for enrollment."?

Added.

    doc> Section 7.2.13 of [IDevID] discusses keyUsage and extendedKeyUsage
    doc> extensions in the IDevID certificate.  Any restrictions included
    >>
    >> > I only got my hands on the 2018 rev of [IDevID], but that one does not
    >> > actually talk about extendedKeyUsage.
    >>
    mcr> Max was the editor of the 2009 edition, and we pointed at it.
    mcr> I don't seem to be able to get the 2018 edition.

    ben> I think we could probably reword this to just acknowledge that [IDevID]
    ben> acknowledges that adding restrictions in the certificate can limit
    ben> applicability, and since these are long-lived, usually you don't want to
    ben> throw random extra restrictions into them.

         <t>
           Section 7.2.13 (2009 edition) and section 8.10.3 (2018 edition) of
           <xref target="IDevID" /> discusses keyUsage and
-          extendedKeyUsage extensions in the IDevID certificate.  Any
-          restrictions included reduce the utility of the IDevID and so
-          this specification RECOMMENDS that no key usage restrictions be included.
-          Additionally, <xref target="RFC5280" /> section 4.2.1.3 does not
+          extendedKeyUsage extensions in the IDevID certificate.
+          <xref target="IDevID" /> acknowledges that adding restrictions
+          in the certificate limits applicability of these long-lived
+          certificates.  This specification emphasizes this point, and
+          therefore RECOMMENDS that no key usage restrictions be included.
+          This is consistent with <xref target="RFC5280" /> section 4.2.1.3,
+          which does not
           require key usage restrictions for end entity certificates.
         </t>


    mcr> The pledge extracts it from it's IDevID.
    mcr> The registrar extracts it again from the IDevID that it sees.
    mcr> It's seems hard to construct an attack where the provisional TLS connection
    mcr> is MITM (replacing the certificates). So I'm gonna claim belt-and-suspenders
    mcr> here.... the cross-check seems useful, but maybe in the end, it's a left-over
    mcr> From when voucher-requests could be unsigned.

    ben> I don't actually have a big complaint, here (and am definitely not asking
    ben> to change the wire bits!).  Perhaps we could go easy on "unique" or maybe
    ben> just acknowledge that there's supposed to be a 1:1 map between serial
    ben> number and IDevID.  (Or not, of course.)

Text previously added:
            In the context of BRSKI, pledges have a 1:1 relationship
            with a "serial-number".

    >> In the ANI case, we are likely doing this over wired links (long-haul fiber
    >> or internal to DC), but in the anticipated TEAP-BRSKI use case or 6tisch
    >> use, this would be WIFI / 802.15.4.
    >>
    >> What is needed is a three-party zero-knowledge proof, but how would the
    >> Registrar identify the third party (the MASA)?
    >>
    >> You are right to worry, but I don't know what to do about this.

    > I don't, either.  Well, I do: "document it and move on", but that still
    > leaves a bad taste in my mouth.

Just added:

          <t>
            The certificate of the Registrar is rather arbtirary from the
            point of view of the BRSKI protocol. As no <xref target="RFC6125" />
            validations are expected to be done, the contents could be easily
            pseudonymized.  Any device that can see a join proxy would be
            able to connect to the Registrar and learn the identity of the
            network in question.  Even if the contents of the certificate
            are pseudonymized, it would be possible to coorelate different
            connections in different locations belong to the same
            entity. This is unlikely to present a significant privacy concern
            to ANIMA ACP uses of BRSKI, but may be a concern to other users
            of BRSKI.
          </t>
          <t>
            The certificate of the Pledge could be revealed by a malicious
            Join Proxy that performed a MITM attack on the provisional TLS
            connection.   Such an attacker would be able to reveal the
            identity of the Pledge to third parties if it chose to so.
          </t>
          <t>
            Research into a mechanism to do multi-step, multi-party authenticated
            key agreement, incorporating some kind of zero-knowledge proof
            would be valuable.  Such a mechanism would ideally avoid
            disclosing identities until pledge, registrar and MASA agree to
            the transaction.  Such a mechanism would need to discover the
            location of the MASA without knowing the identity of the pledge,
            or the identity of the MASA.  This part of the problem may be unsolveable.
          </t>

    >> > Section 2.5.1
    >>
    >> > The pledge is the device that is attempting to join.  Until the
    >> > pledge completes the enrollment process, it has link-local network
    >> > connectivity only to the proxy.
    >>
    >> > nit(?): I think there is a subtle difference in  meaning between "only
    >> > has link-local network connectivity to the proxy" and this text, and I'm
    >> > not sure which is intended.
    >>
    >> I'm confused.

    > The current text asserts that it has link-local connectivity, and further
    > that the extent of this connectivity is limited to the proxy.  My
    > alternative asserts that it can only talk to the proxy over this link-local
    > connectivity, but leaves open the possibility of other avenues of
    > communication (e.g., a WWAN card).

changed to:
          <t>
            The pledge is the device that is attempting to join.
            The pledge can talk to the Join Proxy using link-local network
            connectivity.  In most cases, the pledge has no other
            connectivity until the pledge completes the enrollment process
            and receives some kind of network credential.
          </t>

    >> > Section 2.6.1
    >>
    >> > Many devices when bootstrapping do not have knowledge of the current
    >> > time.  Mechanisms such as Network Time Protocols cannot be secured
    >> > until bootstrapping is complete.  Therefore bootstrapping is defined
    >> > in a method that does not require knowledge of the current time.  A
    >>
    >> > nit: I'd suggest maybe "framework", "scenario", or "environment" rather
    >> > than "method".
    >>
    >> done.
    >>
    >> > Section 2.6.2
    >>
    >> > [RFC5280] explains that long lived pledge certificates "SHOULD be
    >> > assigned the GeneralizedTime value of 99991231235959Z".  Registrars
    >>
    >> > This misses the important "for the notAfter field" part.

    > (The above and below were separate comments; not sure if that came
    > through.)

I think that I got it. It says:

          <t>
            <xref target="RFC5280" /> explains that
            long lived pledge certificates "SHOULD be assigned the
            GeneralizedTime value of 99991231235959Z" for the notAfter field.
          </t>

    ben> I don't see the connection between "configure itself to become the
    ben> local registrar" and "contact a well-known URI of a cloud registrar".
    >>
    >> In a completely Greenfield situation, where there is no local infrastructure
    >> at all, given an appropriately magic "Intent" (remember where this WG
    >> started...), then a cloud registrar could inform a device that it is
    >> to become the Registrar.  How this would work depends upon the details
    >> of the magic unicorn Intent (see failed SUPA WG).

    > Ah.  So the cloud registrar is an extra-featureful registrar that can do
    > more than just register things.  I get it now, but am not sure how to best
    > word it.

I don't know what it can do, because it's not in scope.

    >> > If the pledge uses a well known URI for contacting a cloud registrar
    >> > an Implicit Trust Anchor database (see [RFC7030]) MUST be used to
    >> > authenticate service as described in [RFC6125].  This is consistent
    >>
    ben> Would this be more likely to be installed by the manufacturer or
    ben> device owner?
    >>
    >> Manufacturer, as it's implicit.  That's how EST works today.

    > So you think "implicit" is enough and adding something like "burned-in" or
    > "manufacturer-assigned" is overkill?

It says:
      a manufacturer-assigned Implicit Trust Anchor database (see <xref target="RFC7030"/>) MUST

now.

    >> There is a TLS connection between them.  Yes, it could go anywhere.
    >> The proxy was link-local, and the proxy pointed the connection at the
    >> Registrar.  I guess it would be useful if the proxy was stateful, and
    >> contributed another cryptographic layer for non-ACP cases.
    >>
    >> In the ACP case, the Registrar knows it can trust the proxy because it's on
    >> the ACP, and is connecting from an ULA address that is part of the ACP.
    >>
    >> Yes, the Registrar could be anywhere, but the proxy makes it appear
    >> to be on the local link.
    >>
    >> I'm not sure what else I can add to the text.

    > "There is a TLS connection between a and b" says almost nothing without
    > some additional context -- there are millions of machines I can make a TLS
    > connection to from here.  I assume that the unstated context here is that
    > the pledge is expected to be in a limited-connectivity environment, so the
    > fact that the network allowed the connection through to the registrar
    > conveys meaning.  But I don't remember anything in this document that
    > actually validates that the pledge really is in a limited network
    > environment.  Could some rogue node ("attacker") be trying to talk to a
    > proxy or registrar directly, from somewhere else in the network?  How would
    > we tell?

There is a TLS connection from the ACP's ULA/128 to ULA/128 implies that it's not going
the Internet directly.

A rogue node could be on the join network (the one with link-local
connectivity), and could operate and announce a Join Proxy.

What could it do?
a) it could have some other backhaul (1200-baud modem, LTE, 100G, etc.) that
   connects it to some (other?) Registrar.  Whether or not this is a malicious
   attack, or just another possible network depends upon intent (in the legal
   sense, not the SUPA sense)

b) it could double proxy the traffic to another Join Proxy on the real
   network. It could then observe TLS framing, which for TLS 1.2 means
   observing certificates.  If it does not mount a MITM attack, then
   it is not clear to me what it causes.
   If it does mount a MITM attack, then it is just a malicious registrar,
   and either it succeeds in getting a voucher issued (because the MASA
   agrees), or it fails and the pledge moves on.

If the legitimate Registrar has a rogue Proxy on it's ACP network, then
that's a great concern, but it's really not any different than (b).

I'm not sure what point I'm missing is.

    >> But, that's why we have SHOULD, and the SHOULD (vs MUST) part was really to
    >> allow for some fancy HTTP/3 we know nothing about :-)

    > :)

    > Do we still want to say "HTTP 1.1 persistent connections" vs. "HTTP
    > persistent connections", though?

I am using the latter now.

    >> I have an open request to *** MAX *** to clarify this part.
    >>
    >> > o  The registrar performs log verifications in addition to local
    >> > authorization checks before accepting optional pledge device
    >> > enrollment requests.
    >>
    >> > Maybe give us a section reference to what the "log validations" are?
    >>
    >> We decided that we did not have enough experience to write normative language
    >> here.  (It's not an Internet Standard)

    > It doesn't have to be normative, but some discussion of things that might
    > come into consideration during that process could still be useful.

Section 5.8.3 has a fair bit of text on the log verificiations.
I've added a forward reference.  Section 5.8.3 finishes with:

   A relatively simple policy is to white list known (internal or
   external) domainIDs.  To require all vouchers to have a nonce.
   Alternatively to require that all nonceless vouchers be from a subset
   (e.g. only internal) of domainIDs.  If the policy is violated a
   simple action is to revoke any locally issued credentials for the
   pledge in question or to refuse to forward the voucher.  The
   Registrar MUST then refuse any EST actions, and SHOULD inform a human
   via a log.  A registrar MAY be configured to ignore (i.e. override
   the above policy) the history of the device but it is RECOMMENDED
   that this only be configured if hardware assisted (i.e.  TPM
   anchored) Network Endpoint Assessment (NEA) [RFC5209] is supported.

And that's all the comments that I see.
I believe I'm done.

--
]               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    [





--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-




--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAl2AAr0ACgkQgItw+93Q
3WXgJgf9F5XWKq/6onStls0lHpKXUuR7fjRSUUsmYwIq8SYbW2Ewbpkp/S93XufG
mT6aaxlveqMiRlj66rusCBNkrbA7E0o61qBBmEhMrYDLja3XSEdfQrffPxdkrXcR
DJVcYzDuSAFY40pfMfTVozi6L54Z8j5tUnCZekiveewS93l9F+6H6walyfWYgOw3
Xw644P0ChfAux0qUYaAiyGsDmMMsH9LcUbbPWt0Hi5y//9pBFFd06IbjbGBbI/6b
WlWjWw551hD+tUFGhOnZmo7cV2Mc6yYe9cNma7qZ/uOYN1Hkd7Oy0hnZSwKyWQAG
1GfL8icATh9qlJbAUD9kTeKDcn4Dkg==
=DFqS
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Mon Sep 16 18:45:09 2019
Return-Path: <mcr+ietf@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 627D61200F8; Mon, 16 Sep 2019 18:45:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level: 
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 KtZZ2qHGan0E; Mon, 16 Sep 2019 18:45:04 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E55211200E7; Mon, 16 Sep 2019 18:45:03 -0700 (PDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id B793A3897E; Mon, 16 Sep 2019 21:43:23 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 6F27ABAE; Mon, 16 Sep 2019 21:45:02 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: "Eric Vyncke \(evyncke\)" <evyncke@cisco.com>
cc: "draft-ietf-anima-bootstrapping-keyinfra\@ietf.org" <draft-ietf-anima-bootstrapping-keyinfra@ietf.org>,  "tte+ietf\@cs.fau.de" <tte+ietf@cs.fau.de>, "anima-chairs\@ietf.org" <anima-chairs@ietf.org>, "The IESG" <iesg@ietf.org>, "anima\@ietf.org" <anima@ietf.org>
In-Reply-To: <0199051C-4A3E-4850-8DA6-05B97CFA27AD@cisco.com>
References: <156275431789.15280.4126747621934962290.idtracker@ietfa.amsl.com> <16753.1562786791@localhost> <0199051C-4A3E-4850-8DA6-05B97CFA27AD@cisco.com>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 24.5.1
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: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature"
Date: Mon, 16 Sep 2019 21:45:02 -0400
Message-ID: <4205.1568684702@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/axMDX55eLe3mlUIL1m45TTD4AIE>
Subject: Re: [Anima]  =?utf-8?q?=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-ani?= =?utf-8?q?ma-bootstrapping-keyinfra-22=3A_=28with_DISCUSS_and_COMMENT=29?=
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, 17 Sep 2019 01:45:07 -0000

--=-=-=
Content-Type: text/plain


Eric Vyncke (evyncke) <evyncke@cisco.com> wrote:
    > - lack of TLS version, I understand your comment. You suggestion to add
    > some text (justification, clarification, ...) in Section 5.1 about the
    > TLS version would be a plus (albeit a -27 would be required) but I am
    > removing my DISCUSS

I have included the following text in the two places we specify TLS:

        <t>
          Use of TLS 1.3 (or newer) is encouraged. TLS 1.2 or newer is
          REQUIRED.
        </t>

--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-




--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAl2AOp4ACgkQgItw+93Q
3WUNnAf/fOSSky5URgF2lLOi1aO8f1gOkHrNK2TkpxC3ItSzeQ1nGeRfNA6bykpr
nPhoXpMY4h0GjagMpduRN5ho96IgE4YaUEVULtqMkY27WPrp+oiiHZXjeWR1xruI
mgIypczB4JhuMt3cSW6huqebWczFxzbge8yg9VhAq12OzHDiSO+MO/jctT9x587X
7fdYC3cvUhcJDYaS8TSoh0SPvDZtx4dc88iJdoNyv5rVHrGG7jdKNcn51UNxS7Kf
5Enb5XfyUtAT0SuqLkM44aRs5uTPVO7VD0H3mQig11Uma7Q3PUQfm7J/n0bZqGPb
IH/7CtC20NEOpWeliAqVZn5B70Dmxg==
=iN8g
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Mon Sep 16 19:36:57 2019
Return-Path: <internet-drafts@ietf.org>
X-Original-To: anima@ietf.org
Delivered-To: anima@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 8BD021207FD; Mon, 16 Sep 2019 19:36:49 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: anima@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.101.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: anima@ietf.org
Message-ID: <156868780949.28211.16229628692985671801@ietfa.amsl.com>
Date: Mon, 16 Sep 2019 19:36:49 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/Dq5jOx9CE95xg36MyNYN5AHmGRk>
Subject: [Anima] I-D Action: draft-ietf-anima-bootstrapping-keyinfra-27.txt
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.29
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, 17 Sep 2019 02:36:55 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Autonomic Networking Integrated Model and Approach WG of the IETF.

        Title           : Bootstrapping Remote Secure Key Infrastructures (BRSKI)
        Authors         : Max Pritikin
                          Michael C. Richardson
                          Toerless Eckert
                          Michael H. Behringer
                          Kent Watsen
	Filename        : draft-ietf-anima-bootstrapping-keyinfra-27.txt
	Pages           : 113
	Date            : 2019-09-16

Abstract:
   This document specifies automated bootstrapping of an Autonomic
   Control Plane.  To do this a Remote Secure Key Infrastructure (BRSKI)
   is created using manufacturer installed X.509 certificates, in
   combination with a manufacturer's authorizing service, both online
   and offline.  Bootstrapping a new device can occur using a routable
   address and a cloud service, or using only link-local connectivity,
   or on limited/disconnected networks.  Support for lower security
   models, including devices with minimal identity, is described for
   legacy reasons but not encouraged.  Bootstrapping to is complete when
   the cryptographic identity of the new key infrastructure is
   successfully deployed to the device.  The established secure
   connection can be used to deploy a locally issued certificate to the
   device as well.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-anima-bootstrapping-keyinfra/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-anima-bootstrapping-keyinfra-27
https://datatracker.ietf.org/doc/html/draft-ietf-anima-bootstrapping-keyinfra-27

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-anima-bootstrapping-keyinfra-27


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Mon Sep 16 23:26:26 2019
Return-Path: <evyncke@cisco.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 7FA4412008C; Mon, 16 Sep 2019 23:26:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level: 
X-Spam-Status: No, score=-14.5 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_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=XEAxh+pk; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=IB8zHZ7b
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 xaBPfNw86pIz; Mon, 16 Sep 2019 23:26:05 -0700 (PDT)
Received: from rcdn-iport-9.cisco.com (rcdn-iport-9.cisco.com [173.37.86.80]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A1BD5120058; Mon, 16 Sep 2019 23:26:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1192; q=dns/txt; s=iport; t=1568701565; x=1569911165; h=from:to:cc:subject:date:message-id:content-id: content-transfer-encoding:mime-version; bh=AiYA/fXa7Yn7BwvOI5kEzGA6jXD/NhK0kf/L/4YGv6A=; b=XEAxh+pk1+sgYmNHfvZClixPp5G76WFtecggUWMsBn15fTFP5ofMBgBH moNByqFzXSZJbk0X92JgPEmvtCFAvNciHDRPE2L2piKq7t3hfIXHNj0rV 7i27HTdCZSl/ArFjx/UoQSwNfffg+lvMVldtf1FBja+gXXDAHrYS7CRsA M=;
IronPort-PHdr: =?us-ascii?q?9a23=3AUV5xABaM6J5RgKYzWE+O5zv/LSx94ef9IxIV55?= =?us-ascii?q?w7irlHbqWk+dH4MVfC4el20gebRp3VvvRDjeee87vtX2AN+96giDgDa9QNMn?= =?us-ascii?q?1NksAKh0olCc+BB1f8KavncT08F8dPfFRk5Hq8d0NSHZW2ag=3D=3D?=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0C8AAC3e4Bd/4kNJK1mHAEBAQQBAQc?= =?us-ascii?q?EAQGBVQUBAQsBgURQA4FDIAQLKoQhg0cDinGCNyWXcYEugSQDVAkBAQEMAQE?= =?us-ascii?q?tAgEBgUuCdBmCWyM2Bw4CAwkBAQQBAQECAQUEbYUuDIVLAQEBAxIREQwBATc?= =?us-ascii?q?BEQEIGAICHwcCBDAVBQ0EDgUigwCBawMdAQKiAAKBOIhhc4Eygn0BAQWFERi?= =?us-ascii?q?CFwmBDCgBi3cYgUA/gTgME4JMPoREF4J0MoImj06dIAqCIpUAG5kZgzujUAI?= =?us-ascii?q?EAgQFAg4BAQWBWQ0kgVhwFWUBgkGCQjiDOopTc4Epj00BAQ?=
X-IronPort-AV: E=Sophos;i="5.64,515,1559520000"; d="scan'208";a="544842015"
Received: from alln-core-4.cisco.com ([173.36.13.137]) by rcdn-iport-9.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 17 Sep 2019 06:26:04 +0000
Received: from XCH-RCD-012.cisco.com (xch-rcd-012.cisco.com [173.37.102.22]) by alln-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id x8H6Q2jx000310 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 17 Sep 2019 06:26:04 GMT
Received: from xhs-rcd-001.cisco.com (173.37.227.246) by XCH-RCD-012.cisco.com (173.37.102.22) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 17 Sep 2019 01:26:03 -0500
Received: from xhs-rtp-003.cisco.com (64.101.210.230) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 17 Sep 2019 01:26:02 -0500
Received: from NAM04-CO1-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-003.cisco.com (64.101.210.230) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 17 Sep 2019 02:26:02 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zy8xZIGQf+NLdEch6Waqvh6BFKPEqy/NZPUwEX+vbjzbwgBeBFIP8jy6+Did0qgHiGLEJiCpDhY8Yp9LvnE/CMoJKrEYGEDGHYkOmGAAA0hIcaRe05hl43mT6kinvdPoBLpAm6R1AgHR70q6yi1HIklD+aBQOouZM0A9FOe59Cka3O0petWUFBLw63xJw3xYrK5kOlx8IDabf/kRBeXmyXTzOcq89DbVcJR9ifi7ItbPANkj+nL26fOAwVfFTT/nt2H5bwUc+lARVrafaWyJtZpY1S7WGt1CJWmN3aur8ekWHbUotvnKIYXls7AORZRim44c3YK1Ih8lquXpMfe+ig==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AiYA/fXa7Yn7BwvOI5kEzGA6jXD/NhK0kf/L/4YGv6A=; b=D/e/+NIvX38uMEdFnsKrEBvn73c/qsW6y9sYbMZWKh7023xMrjJYCnQ0XRRb7rHGdFk5a5mftfPmyDGCt7/hJ/C9jVFgbv9GOMpad+DwOqjIVZfwhItY0iWCxj5NVPjqQcyIc6eAbYAFMsB9LCJFrNA4NDK6A4Exd48HYPw8B6MLmu122ZALBsw86HLT0WJ27ReO6hcEDdXSOw659fqJNWgV3qwZ9ul1IDter9Mbfh7VBsN046di8yrPuTfSQU272HWepXHFOI9n9J+NZtLbUJwmORA08pk5zO2Q5Ms5nBWqlMGXl7/IRXz5c3w8SY+FeqtopCIjXbpZiOSyvCJ5Qg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com;  s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AiYA/fXa7Yn7BwvOI5kEzGA6jXD/NhK0kf/L/4YGv6A=; b=IB8zHZ7blXaYazqXbiSaVXJoF6tcNuuIraIr51PUONi+QQsFKzUeOktYdskoO07IBs3ddTHBWv4zsK/RW0HvUheGxhpgi11zGF1iMLbu3y1owvAlMMTRNrql9TQh9h5lm/6jlBluV3eXAbDUb8np3UR+L3zzCSbu1hpETbdGUCI=
Received: from MN2PR11MB4144.namprd11.prod.outlook.com (20.179.150.210) by MN2PR11MB4352.namprd11.prod.outlook.com (52.135.38.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2263.17; Tue, 17 Sep 2019 06:26:01 +0000
Received: from MN2PR11MB4144.namprd11.prod.outlook.com ([fe80::d5c4:be39:66cb:449b]) by MN2PR11MB4144.namprd11.prod.outlook.com ([fe80::d5c4:be39:66cb:449b%6]) with mapi id 15.20.2263.023; Tue, 17 Sep 2019 06:26:01 +0000
From: "Eric Vyncke (evyncke)" <evyncke@cisco.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
CC: "draft-ietf-anima-bootstrapping-keyinfra@ietf.org" <draft-ietf-anima-bootstrapping-keyinfra@ietf.org>, "tte+ietf@cs.fau.de" <tte+ietf@cs.fau.de>, "anima@ietf.org" <anima@ietf.org>, The IESG <iesg@ietf.org>, "anima-chairs@ietf.org" <anima-chairs@ietf.org>
Thread-Topic: =?utf-8?B?W0FuaW1hXSDDiXJpYyBWeW5ja2UncyBEaXNjdXNzIG9uIGRyYWZ0LWlldGYt?= =?utf-8?B?YW5pbWEtYm9vdHN0cmFwcGluZy1rZXlpbmZyYS0yMjogKHdpdGggRElTQ1VT?= =?utf-8?Q?S_and_COMMENT)?=
Thread-Index: AQHVbSDGLSGaXe+DzkSqonVwLMDxfA==
Date: Tue, 17 Sep 2019 06:26:00 +0000
Message-ID: <B562BF09-735F-4766-A04B-1B422D25FBFD@cisco.com>
Accept-Language: fr-BE, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/10.1d.0.190908
authentication-results: spf=none (sender IP is ) smtp.mailfrom=evyncke@cisco.com; 
x-originating-ip: [2001:420:c0c1:36:99e2:17c6:4f6e:b3ad]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 315d3360-4855-45bb-9122-08d73b37e8d6
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600167)(711020)(4605104)(1401327)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:MN2PR11MB4352; 
x-ms-traffictypediagnostic: MN2PR11MB4352:
x-microsoft-antispam-prvs: <MN2PR11MB43529E9625410CC05D39376EA98F0@MN2PR11MB4352.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:5797;
x-forefront-prvs: 01630974C0
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(366004)(346002)(376002)(136003)(39860400002)(199004)(189003)(224303003)(6512007)(14454004)(476003)(76116006)(8936002)(5660300002)(256004)(33656002)(66946007)(64756008)(91956017)(66446008)(66556008)(66476007)(86362001)(54906003)(6486002)(305945005)(486006)(7736002)(6436002)(229853002)(2616005)(186003)(71200400001)(71190400001)(4744005)(6246003)(81156014)(81166006)(478600001)(316002)(58126008)(46003)(25786009)(99286004)(2906002)(36756003)(4326008)(6506007)(102836004)(6116002); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB4352; H:MN2PR11MB4144.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; 
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: ruxqnEyWmJZmA4kAw1Lpo3GRdTX1kBL2a4ovc3EMjXtEg1ES7fAM8EiFpArBGjo62/DJFsge0bPEG7THlajz4THERS42nvqr6Jz5dJHuhwXomnqfftiski0n4gIrzlcH6UKYNspBjPEaf2iz4zC7vbMg4tBaPPM700olLC7YK0My5Daaq77+Nzyoq0MbaubEsX7E7+XQeiB7LWxjDEiI9e/VazbZDYAQEAdkXtKrSxGqviiTd+/RbQF0lBzlk1uqJmxp5n5Fdti5aKO/RpH2JdaVJMjoZpWYY5HBvJ9NWAhvGRrqNM++taO2SUWUc6oMpvmaWlC37YqKcee2efR69jlJZ3vmkBglu4xHRKpeLY5xxvGYNkYS8zIl6Si2sLgL8XyRr1/hLgl86pnhrTNWv4mkJC3LcP1RuqpHodznNeo=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <C6AC017586C7DF458CA36B3747F29941@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 315d3360-4855-45bb-9122-08d73b37e8d6
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Sep 2019 06:26:00.9681 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: RZjSb42jYKzXx50Hjae7M9Ail6kD7Amhap0mTXyGXnxBYxmtFqvoG3sWysFSkoK0HbNGwecIsrFdwMYKlGxW7w==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4352
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.22, xch-rcd-012.cisco.com
X-Outbound-Node: alln-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/kceSDvdN4eMuVS3q40mmSMnnTu4>
Subject: Re: [Anima]  =?utf-8?q?=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-ani?= =?utf-8?q?ma-bootstrapping-keyinfra-22=3A_=28with_DISCUSS_and_COMMENT=29?=
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, 17 Sep 2019 06:26:08 -0000

U291bmRzIGdvb2QgdG8gbWUNCg0KLcOpcmljDQoNCu+7v09uIDE3LzA5LzIwMTksIDAzOjQ1LCAi
aWVzZyBvbiBiZWhhbGYgb2YgTWljaGFlbCBSaWNoYXJkc29uIiA8aWVzZy1ib3VuY2VzQGlldGYu
b3JnIG9uIGJlaGFsZiBvZiBtY3IraWV0ZkBzYW5kZWxtYW4uY2E+IHdyb3RlOg0KDQogICAgDQog
ICAgRXJpYyBWeW5ja2UgKGV2eW5ja2UpIDxldnluY2tlQGNpc2NvLmNvbT4gd3JvdGU6DQogICAg
ICAgID4gLSBsYWNrIG9mIFRMUyB2ZXJzaW9uLCBJIHVuZGVyc3RhbmQgeW91ciBjb21tZW50LiBZ
b3Ugc3VnZ2VzdGlvbiB0byBhZGQNCiAgICAgICAgPiBzb21lIHRleHQgKGp1c3RpZmljYXRpb24s
IGNsYXJpZmljYXRpb24sIC4uLikgaW4gU2VjdGlvbiA1LjEgYWJvdXQgdGhlDQogICAgICAgID4g
VExTIHZlcnNpb24gd291bGQgYmUgYSBwbHVzIChhbGJlaXQgYSAtMjcgd291bGQgYmUgcmVxdWly
ZWQpIGJ1dCBJIGFtDQogICAgICAgID4gcmVtb3ZpbmcgbXkgRElTQ1VTUw0KICAgIA0KICAgIEkg
aGF2ZSBpbmNsdWRlZCB0aGUgZm9sbG93aW5nIHRleHQgaW4gdGhlIHR3byBwbGFjZXMgd2Ugc3Bl
Y2lmeSBUTFM6DQogICAgDQogICAgICAgICAgICA8dD4NCiAgICAgICAgICAgICAgVXNlIG9mIFRM
UyAxLjMgKG9yIG5ld2VyKSBpcyBlbmNvdXJhZ2VkLiBUTFMgMS4yIG9yIG5ld2VyIGlzDQogICAg
ICAgICAgICAgIFJFUVVJUkVELg0KICAgICAgICAgICAgPC90Pg0KICAgIA0KICAgIC0tDQogICAg
TWljaGFlbCBSaWNoYXJkc29uIDxtY3IrSUVURkBzYW5kZWxtYW4uY2E+LCBTYW5kZWxtYW4gU29m
dHdhcmUgV29ya3MNCiAgICAgLT0gSVB2NiBJb1QgY29uc3VsdGluZyA9LQ0KICAgIA0KICAgIA0K
ICAgIA0KICAgIA0KDQo=


From nobody Tue Sep 17 23:22:38 2019
Return-Path: <liguangpeng@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 5653A1201AA for <anima@ietfa.amsl.com>; Tue, 17 Sep 2019 23:22:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 llLhMc1b_A4F for <anima@ietfa.amsl.com>; Tue, 17 Sep 2019 23:22:34 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 41D821200A4 for <anima@ietf.org>; Tue, 17 Sep 2019 23:22:34 -0700 (PDT)
Received: from lhreml707-cah.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 7E9BDEBDCBCCDA9FDC90; Wed, 18 Sep 2019 07:22:31 +0100 (IST)
Received: from DGGEMM401-HUB.china.huawei.com (10.3.20.209) by lhreml707-cah.china.huawei.com (10.201.108.48) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 18 Sep 2019 07:22:30 +0100
Received: from DGGEMM533-MBX.china.huawei.com ([169.254.5.252]) by DGGEMM401-HUB.china.huawei.com ([10.3.20.209]) with mapi id 14.03.0439.000; Wed, 18 Sep 2019 14:22:23 +0800
From: "Liguangpeng (Roc, Network Technology Laboratory)" <liguangpeng@huawei.com>
To: "anima@ietf.org" <anima@ietf.org>
Thread-Topic: Review comments on draft-ietf-anima-grasp-api 
Thread-Index: AdVt6NO1Oc6IzgggSm+u71yVAMuX/w==
Date: Wed, 18 Sep 2019 06:22:23 +0000
Message-ID: <6F4E6B0C717D4641A2B79BC1740D8CF4A7E22578@DGGEMM533-MBX.china.huawei.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.130.157.47]
Content-Type: multipart/alternative; boundary="_000_6F4E6B0C717D4641A2B79BC1740D8CF4A7E22578DGGEMM533MBXchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/XT4oALm-QJoI2wNHc9lxtvAMZKk>
Subject: [Anima] Review comments on draft-ietf-anima-grasp-api
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: Wed, 18 Sep 2019 06:22:36 -0000

--_000_6F4E6B0C717D4641A2B79BC1740D8CF4A7E22578DGGEMM533MBXchi_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi authors,


I read the draft. I think the API list for grasp is complete and good. But =
I have some comments on section 2.2.



2.2. Asynchronous Operations

'... there are two main techniques for such parallel operations: multi-thre=
ading, or a polling or 'event loop' structure.'



According to my knowledge, 'multi-threading' is a different thing with asyn=
chronous programming mechanism. So I prefer to 'asynchronous programming me=
chanisms with multi-threading' here. The main techniques for asynchronous p=
rogramming discussed in draft should be 'polling', however, polling is not =
so efficient. The more efficient one is 'call back' mechanism.



'session_nonce' parameter may be useful for polling, but 'call back functio=
n pointer( or reference in some programming language)' is normally used as =
parameter of invoked functions. All logics should be executed in call back =
functions which will be called when some events occur, for example receivin=
g response message for the request, or message timeout.


Best regards,
Guangpeng Li


--_000_6F4E6B0C717D4641A2B79BC1740D8CF4A7E22578DGGEMM533MBXchi_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	text-align:justify;
	text-justify:inter-ideograph;
	font-size:10.5pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"\7EAF\6587\672C Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.5pt;
	font-family:"Calibri",sans-serif;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
span.Char
	{mso-style-name:"\7EAF\6587\672C Char";
	mso-style-priority:99;
	mso-style-link:\7EAF\6587\672C;
	font-family:"Calibri",sans-serif;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
/* Page Definitions */
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"ZH-CN" link=3D"#0563C1" vlink=3D"#954F72" style=3D"text-justi=
fy-trim:punctuation">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span lang=3D"EN-US">Hi authors,<o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoPlainText"><span lang=3D"EN-US">I read the draft. I think th=
e API list for grasp is complete and good. But I have some comments on sect=
ion 2.2.
<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoPlainText"><span lang=3D"EN-US">2.2. Asynchronous Operations=
<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span lang=3D"EN-US">'... there are two main tech=
niques for such parallel operations: multi-threading, or a polling or 'even=
t loop' structure.'<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoPlainText"><span lang=3D"EN-US">According to my knowledge, '=
multi-threading' is a different thing with asynchronous programming mechani=
sm. So I prefer to 'asynchronous programming mechanisms with multi-threadin=
g' here. The main techniques for asynchronous
 programming discussed in draft should be 'polling', however, polling is no=
t so efficient. The more efficient one is 'call back' mechanism.
<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoPlainText"><span lang=3D"EN-US">'session_nonce' parameter ma=
y be useful for polling, but 'call back function pointer( or reference in s=
ome programming language)' is normally used as parameter of invoked functio=
ns. All logics should be executed in
 call back functions which will be called when some events occur, for examp=
le receiving response message for the request, or message timeout.
<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Best regards,<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Guangpeng Li<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
</div>
</body>
</html>

--_000_6F4E6B0C717D4641A2B79BC1740D8CF4A7E22578DGGEMM533MBXchi_--


From nobody Wed Sep 18 13:38:41 2019
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 A9477120112 for <anima@ietfa.amsl.com>; Wed, 18 Sep 2019 13:38:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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_NONE=-0.0001, SPF_HELO_NONE=0.001, 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 hdb629L1GNlg for <anima@ietfa.amsl.com>; Wed, 18 Sep 2019 13:38:38 -0700 (PDT)
Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) (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 40E06120086 for <anima@ietf.org>; Wed, 18 Sep 2019 13:38:38 -0700 (PDT)
Received: by mail-pl1-x629.google.com with SMTP id t10so497376plr.8 for <anima@ietf.org>; Wed, 18 Sep 2019 13:38:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=NgJrND3P/zwc17R5i7NN7ByN4O8d+yaQVaeC1GmtaUg=; b=g+c6fZA+8yhHGN4WrbBZvg96gn0uZVJ0A9Uaqzv2b95jCzi1GJWt4wVDUufUumqSOt HnxCRseqdaLw6TJGke8AetigmQTw+MQvT3dkS3052YglUQpVa3k++y4V9q8uKyq8nUlA 3X3R2IZ+QYIJe64OK1wcIP7j9DeCzY4O2Minhl96M1WO/wcFXHgp+tyKTliAehu6S0/k guBuejJZGhWZO0QX1izWT2vrj3rOb7NxZcB0E5vCXIXmjElrLS5WGf8uZsI9X8VgbNlT IRaK08waUffw0obQdJoP/2+D6enX5Eh7N17PNMJEq2g2VFYNZ3AuMhVXPpsq9X0FaA0q eHjw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=NgJrND3P/zwc17R5i7NN7ByN4O8d+yaQVaeC1GmtaUg=; b=BzDIlFht0HBnyhWADAD2d+Wcaul3ZDfmf+7Lu1wzfa0zTz7tK94WoWhBXMXqfD/GzE 3xPVlm2fAQxThKXiiEHi+myv6CeCu9oET8A+eLHFHD25rV17Xx5X+YgbDtKuMyfM0zyS mvESNWZdjqbnJ5z0h/oWVzmOYxEUOcWxqsxjw9uZZHIq1EZXXta0hkA25iGuDldFsKeG vreukirrf1wEZh7ionz11lkGxG+baDlMAM476Esl9xH28e2cahFMcLDaAoEstpfpW387 y5x58sdJMnRaF0OGjrUmHxYsGoClEm0aCs4RS4TvDhIuiLTyGCU392p5F33FDqZZrsWw ZBvw==
X-Gm-Message-State: APjAAAXzbrKfeVwD2cvpXljtmTvPMI7FAUmS71rZ/HXYFfB3rTj7MsHG FOyMW1f0EjaAQ4Cxgfuax9+A2ovt
X-Google-Smtp-Source: APXvYqx6EL3AGo5kT2TCNTqKfoo2g0OeIvOswnfJNlkWjl3Jn+ankBWBSNX9LlQ1xHumxOOFN2sjug==
X-Received: by 2002:a17:902:7d8b:: with SMTP id a11mr6178158plm.149.1568839117495;  Wed, 18 Sep 2019 13:38:37 -0700 (PDT)
Received: from [192.168.178.30] (82.206.69.111.dynamic.snap.net.nz. [111.69.206.82]) by smtp.gmail.com with ESMTPSA id k4sm3133846pjl.9.2019.09.18.13.38.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Sep 2019 13:38:36 -0700 (PDT)
To: "Liguangpeng (Roc, Network Technology Laboratory)" <liguangpeng@huawei.com>, "anima@ietf.org" <anima@ietf.org>
References: <6F4E6B0C717D4641A2B79BC1740D8CF4A7E22578@DGGEMM533-MBX.china.huawei.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <59be9ae2-9ccf-a5aa-1b70-5075574a05d3@gmail.com>
Date: Thu, 19 Sep 2019 08:38:34 +1200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <6F4E6B0C717D4641A2B79BC1740D8CF4A7E22578@DGGEMM533-MBX.china.huawei.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/17I0AuYiR5slD_fN1Cdt9Wyrb-U>
Subject: Re: [Anima] Review comments on draft-ietf-anima-grasp-api
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: Wed, 18 Sep 2019 20:38:40 -0000

On 18-Sep-19 18:22, Liguangpeng (Roc, Network Technology Laboratory) wrot=
e:
> Hi authors, =C2=A0
>=20
> I read the draft. I think the API list for grasp is complete and good. =
But I have some comments on section 2.2.
>=20
> 2.2. Asynchronous Operations
>=20
> '... there are two main techniques for such parallel operations: multi-=
threading, or a polling or 'event loop' structure.' =C2=A0
>=20
> According to my knowledge, 'multi-threading' is a different thing with =
asynchronous programming mechanism. So I prefer to 'asynchronous programm=
ing mechanisms with multi-threading' here.

OK, will rephrase.

> The main techniques for asynchronous programming discussed in draft sho=
uld be 'polling', however, polling is not so efficient. The more efficien=
t one is 'call back' mechanism.

Yes, we certainly need to discuss callbacks. I'm not sure it is always mo=
re efficient, because that depends on the underlying implementation.

> 'session_nonce' parameter may be useful for polling, but 'call back fun=
ction pointer( or reference in some programming language)' is normally us=
ed as parameter of invoked functions. All logics should be executed in ca=
ll back functions which will be called when some events occur, for exampl=
e receiving response message for the request, or message timeout.

Yes. However, if you have two simultaneous negotiations, you will still n=
eed the session_nonce in the callback, I believe.

Thanks very much,

    Brian

> =20
> Best regards,
>=20
> Guangpeng Li



From nobody Wed Sep 18 18:23:56 2019
Return-Path: <liguangpeng@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 DE9C71200B2 for <anima@ietfa.amsl.com>; Wed, 18 Sep 2019 18:23:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 JUu5H9ZHsfKU for <anima@ietfa.amsl.com>; Wed, 18 Sep 2019 18:23:53 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3548712008A for <anima@ietf.org>; Wed, 18 Sep 2019 18:23:53 -0700 (PDT)
Received: from lhreml708-cah.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 384E779DF38FAFCF1099; Thu, 19 Sep 2019 02:23:51 +0100 (IST)
Received: from lhreml728-chm.china.huawei.com (10.201.108.79) by lhreml708-cah.china.huawei.com (10.201.108.49) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 19 Sep 2019 02:23:50 +0100
Received: from lhreml728-chm.china.huawei.com (10.201.108.79) by lhreml728-chm.china.huawei.com (10.201.108.79) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 19 Sep 2019 02:23:50 +0100
Received: from DGGEMM401-HUB.china.huawei.com (10.3.20.209) by lhreml728-chm.china.huawei.com (10.201.108.79) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.1.1713.5 via Frontend Transport; Thu, 19 Sep 2019 02:23:50 +0100
Received: from DGGEMM533-MBX.china.huawei.com ([169.254.5.252]) by DGGEMM401-HUB.china.huawei.com ([10.3.20.209]) with mapi id 14.03.0439.000; Thu, 19 Sep 2019 09:23:44 +0800
From: "Liguangpeng (Roc, Network Technology Laboratory)" <liguangpeng@huawei.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>, "anima@ietf.org" <anima@ietf.org>
Thread-Topic: Review comments on draft-ietf-anima-grasp-api
Thread-Index: AQHVbmERtpw7kJuDqkiyv51Nt/0PrKcyLc9A
Date: Thu, 19 Sep 2019 01:23:44 +0000
Message-ID: <6F4E6B0C717D4641A2B79BC1740D8CF4A7E22D04@DGGEMM533-MBX.china.huawei.com>
References: <6F4E6B0C717D4641A2B79BC1740D8CF4A7E22578@DGGEMM533-MBX.china.huawei.com> <59be9ae2-9ccf-a5aa-1b70-5075574a05d3@gmail.com>
In-Reply-To: <59be9ae2-9ccf-a5aa-1b70-5075574a05d3@gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.130.157.47]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/zOsdV-4H9sUKVpah_yKXcPHgk-A>
Subject: Re: [Anima] Review comments on draft-ietf-anima-grasp-api
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: Thu, 19 Sep 2019 01:23:55 -0000

UGxlYXNlIHNlZSBpbmxpbmUuDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJv
bTogQnJpYW4gRSBDYXJwZW50ZXIgW21haWx0bzpicmlhbi5lLmNhcnBlbnRlckBnbWFpbC5jb21d
DQo+IFNlbnQ6IFRodXJzZGF5LCBTZXB0ZW1iZXIgMTksIDIwMTkgNDozOSBBTQ0KPiBUbzogTGln
dWFuZ3BlbmcgKFJvYywgTmV0d29yayBUZWNobm9sb2d5IExhYm9yYXRvcnkpDQo+IDxsaWd1YW5n
cGVuZ0BodWF3ZWkuY29tPjsgYW5pbWFAaWV0Zi5vcmcNCj4gU3ViamVjdDogUmU6IFJldmlldyBj
b21tZW50cyBvbiBkcmFmdC1pZXRmLWFuaW1hLWdyYXNwLWFwaQ0KPiANCj4gT24gMTgtU2VwLTE5
IDE4OjIyLCBMaWd1YW5ncGVuZyAoUm9jLCBOZXR3b3JrIFRlY2hub2xvZ3kgTGFib3JhdG9yeSkg
d3JvdGU6DQo+ID4gSGkgYXV0aG9ycywNCj4gPg0KPiA+IEkgcmVhZCB0aGUgZHJhZnQuIEkgdGhp
bmsgdGhlIEFQSSBsaXN0IGZvciBncmFzcCBpcyBjb21wbGV0ZSBhbmQgZ29v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l0cyBuYW1lIGlzIHN0aWxsICdzZXNzaW9uX25vbmNlJy4gU28sIG15IG9waW5pb24gaXMgJ3Nl
c3Npb25fbm9uY2UnIGlzIG5lY2Vzc2FyeSBwYXJhbWV0ZXIgZm9yIHBvbGxpbmctYmFzZWQgQVBJ
LCBidXQgbm90IGZvciBjYWxsLWJhY2stYmFzZWQgQVBJLg0KDQo+IFRoYW5rcyB2ZXJ5IG11Y2gs
DQo+IA0KPiAgICAgQnJpYW4NCj4gDQo+ID4NCj4gPiBCZXN0IHJlZ2FyZHMsDQo+ID4NCj4gPiBH
dWFuZ3BlbmcgTGkNCj4gDQpCZXN0IHJlZ2FyZHMsDQpHdWFuZ3BlbmcNCg==


From nobody Wed Sep 18 19:12:53 2019
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 BC59212008A for <anima@ietfa.amsl.com>; Wed, 18 Sep 2019 19:12:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level: 
X-Spam-Status: No, score=-1.998 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_NONE=-0.0001, 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 USvM4kQ9xtjv for <anima@ietfa.amsl.com>; Wed, 18 Sep 2019 19:12:49 -0700 (PDT)
Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) (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 6562D120072 for <anima@ietf.org>; Wed, 18 Sep 2019 19:12:49 -0700 (PDT)
Received: by mail-pf1-x42c.google.com with SMTP id b128so1213425pfa.1 for <anima@ietf.org>; Wed, 18 Sep 2019 19:12:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=a4XiuIwpcxpNqE7BJfmpn3/493oWtYEnp3vvuf/Caqk=; b=fOsjfrSVZtMPdLYz0TemDAiI+T/qTUsTPEGZPcGDDDLYrZUcNtYZJpg9aTf3Rk9tiu uh7rGGxgB7z0p4eIMsD9dC/kcOz1Mi9A+/SsVGZduZXdVrsYWeAw8tgfFIIB6twbr0fK wHZe0T6Hbzt6G4iwlMSbnj1/zx73p4UdFr+CEz+AbMITP/nKtAGh7qHubsKhE1lLsqAg sI50KgfGs/VX+radVW7w3ySr3XYWhiMKgQRFVRmR/CG6T3BwKeeTJwdCrk9GXzo/0+gm dS/73GNVC28l3O1eu9HdBVuufYNv+OyxX163IUIkWa6AMjYeTkGcMT/NIoyTCPQ6wRyT AA7Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=a4XiuIwpcxpNqE7BJfmpn3/493oWtYEnp3vvuf/Caqk=; b=OUV3RLKvMcEsxLJzDbk88jMjSGmuOLjjGnF+YpABP+IY2NYgQ857QSPzIWg6GQdPbu wrZDPhviuM2rs7wZnTiLS14iLsZkHiQ8HbDJb/ZSYmMtBecINVrkBk+ofQV0A0lnFmEJ IKk6eC+zMXW/BAcCIxj7RLH3lYyhGajy6P18WJ4ctTlk3gCUKKFidrEFNJnLu4Vueo4P 1d4vVJKiWCOpCMiym2RDuPuoCsfcqyBpDImegZh5F/uep103AGJLlzummOKhR0Z65qC6 C79tBcxTY89Ybf2C+pgHINwWK4ZakUiVmeIDvTSkG0O2VoNGSy8hFzEwwXtA9an57xp5 PihA==
X-Gm-Message-State: APjAAAUy88PSL/jvl0Kz4LVS7lAh2keCpHFqCAE4xwpHIJko0gJzyU8Y HQzzk8hWcUK+G31sgNTRySdp7nAo
X-Google-Smtp-Source: APXvYqz0L7ua+MbF1XV96kcw4MWWtXHjxTKhSFVjdiufCgR0DXLTRUsPwq5TweB0L5Y1FOOC2JVjZQ==
X-Received: by 2002:a65:6104:: with SMTP id z4mr6677791pgu.27.1568859168608; Wed, 18 Sep 2019 19:12:48 -0700 (PDT)
Received: from [192.168.178.30] (82.206.69.111.dynamic.snap.net.nz. [111.69.206.82]) by smtp.gmail.com with ESMTPSA id 71sm17515743pfw.147.2019.09.18.19.12.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Sep 2019 19:12:47 -0700 (PDT)
To: "Liguangpeng (Roc, Network Technology Laboratory)" <liguangpeng@huawei.com>, "anima@ietf.org" <anima@ietf.org>
References: <6F4E6B0C717D4641A2B79BC1740D8CF4A7E22578@DGGEMM533-MBX.china.huawei.com> <59be9ae2-9ccf-a5aa-1b70-5075574a05d3@gmail.com> <6F4E6B0C717D4641A2B79BC1740D8CF4A7E22D04@DGGEMM533-MBX.china.huawei.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <bca8409b-8fc6-4a52-4b2c-27cfd63e1070@gmail.com>
Date: Thu, 19 Sep 2019 14:12:43 +1200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <6F4E6B0C717D4641A2B79BC1740D8CF4A7E22D04@DGGEMM533-MBX.china.huawei.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/MpYLs3nnZKxm_YYJ9SM24OwgWnM>
Subject: Re: [Anima] Review comments on draft-ietf-anima-grasp-api
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: Thu, 19 Sep 2019 02:12:52 -0000

On 19-Sep-19 13:23, Liguangpeng (Roc, Network Technology Laboratory) wrote:
> Please see inline.
> 
>> -----Original Message-----
>> From: Brian E Carpenter [mailto:brian.e.carpenter@gmail.com]
>> Sent: Thursday, September 19, 2019 4:39 AM
>> To: Liguangpeng (Roc, Network Technology Laboratory)
>> <liguangpeng@huawei.com>; anima@ietf.org
>> Subject: Re: Review comments on draft-ietf-anima-grasp-api
>>
>> On 18-Sep-19 18:22, Liguangpeng (Roc, Network Technology Laboratory) wrote:
>>> Hi authors,
>>>
>>> I read the draft. I think the API list for grasp is complete and good. But I have
>> some comments on section 2.2.
>>>
>>> 2.2. Asynchronous Operations
>>>
>>> '... there are two main techniques for such parallel operations:
>> multi-threading, or a polling or 'event loop' structure.'
>>>
>>> According to my knowledge, 'multi-threading' is a different thing with
>> asynchronous programming mechanism. So I prefer to 'asynchronous
>> programming mechanisms with multi-threading' here.
>>
>> OK, will rephrase.
>>
>>> The main techniques for asynchronous programming discussed in draft should
>> be 'polling', however, polling is not so efficient. The more efficient one is 'call
>> back' mechanism.
>>
>> Yes, we certainly need to discuss callbacks. I'm not sure it is always more
>> efficient, because that depends on the underlying implementation.
>>
> Agree that all performance rely on the implementation. Generally saying, polling will consume CPU resource to query response again and again until timeout occurs. In other hand, every implement of agent based on polling mechanism library will couple with the library. That means most time different programmers will write the code respectively for the agent and library. It's more hard to guarantee achieve the best performance. Compared to polling, call back mechanism decouples the whole workflow. Only the library programmer need to care about the asynchronous part performance. The agent programmers just need to implement logics according to 'call back' mechanism then everyone can get the same performance provided by the same library.
> 
>>> 'session_nonce' parameter may be useful for polling, but 'call back function
>> pointer( or reference in some programming language)' is normally used as
>> parameter of invoked functions. All logics should be executed in call back
>> functions which will be called when some events occur, for example receiving
>> response message for the request, or message timeout.
>>
>> Yes. However, if you have two simultaneous negotiations, you will still need the
>> session_nonce in the callback, I believe.
> 
> Yes or not, I think. If the library is implemented based on call back mechanism, the agent programmer don't need to know anything about 'session-nonce'. This means there needn't be this parameter in this kind of API. Indeed, the implementer of library need to consider 'session_nonce' carefully if its name is still 'session_nonce'. So, my opinion is 'session_nonce' is necessary parameter for polling-based API, but not for call-back-based API.

Sorry to insist, but I really disagree. I'm thinking about how I would code the callback function for a resource allocator, and I'm sure it would need some sort of identifier for the particular resource request, since it might be handling many resource requests in parallel. In GRASP terms that is a session identifier.

Regards
    Brian

> 
>> Thanks very much,
>>
>>     Brian
>>
>>>
>>> Best regards,
>>>
>>> Guangpeng Li
>>
> Best regards,
> Guangpeng
> 


From nobody Wed Sep 18 23:34:15 2019
Return-Path: <liguangpeng@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 2751E1200E7 for <anima@ietfa.amsl.com>; Wed, 18 Sep 2019 23:34:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 GiMiZEAjGIEA for <anima@ietfa.amsl.com>; Wed, 18 Sep 2019 23:34:12 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A916212006D for <anima@ietf.org>; Wed, 18 Sep 2019 23:34:11 -0700 (PDT)
Received: from lhreml703-cah.china.huawei.com (unknown [172.18.7.108]) by Forcepoint Email with ESMTP id 3FD6AF0744DF5EA4BB3A; Thu, 19 Sep 2019 07:34:09 +0100 (IST)
Received: from lhreml705-chm.china.huawei.com (10.201.108.54) by lhreml703-cah.china.huawei.com (10.201.108.44) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 19 Sep 2019 07:34:08 +0100
Received: from lhreml705-chm.china.huawei.com (10.201.108.54) by lhreml705-chm.china.huawei.com (10.201.108.54) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 19 Sep 2019 07:34:08 +0100
Received: from DGGEMM421-HUB.china.huawei.com (10.1.198.38) by lhreml705-chm.china.huawei.com (10.201.108.54) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA_P256) id 15.1.1713.5 via Frontend Transport; Thu, 19 Sep 2019 07:34:08 +0100
Received: from DGGEMM533-MBX.china.huawei.com ([169.254.5.252]) by dggemm421-hub.china.huawei.com ([10.1.198.38]) with mapi id 14.03.0439.000; Thu, 19 Sep 2019 14:34:02 +0800
From: "Liguangpeng (Roc, Network Technology Laboratory)" <liguangpeng@huawei.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>, "anima@ietf.org" <anima@ietf.org>
Thread-Topic: Review comments on draft-ietf-anima-grasp-api
Thread-Index: AQHVbmERtpw7kJuDqkiyv51Nt/0PrKcyLc9A//+Ow4CAAMrXcA==
Date: Thu, 19 Sep 2019 06:34:01 +0000
Message-ID: <6F4E6B0C717D4641A2B79BC1740D8CF4A7E2307E@DGGEMM533-MBX.china.huawei.com>
References: <6F4E6B0C717D4641A2B79BC1740D8CF4A7E22578@DGGEMM533-MBX.china.huawei.com> <59be9ae2-9ccf-a5aa-1b70-5075574a05d3@gmail.com> <6F4E6B0C717D4641A2B79BC1740D8CF4A7E22D04@DGGEMM533-MBX.china.huawei.com> <bca8409b-8fc6-4a52-4b2c-27cfd63e1070@gmail.com>
In-Reply-To: <bca8409b-8fc6-4a52-4b2c-27cfd63e1070@gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.130.157.47]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/scNa9NIjQ7vR64_EppPykMhla5Q>
Subject: Re: [Anima] Review comments on draft-ietf-anima-grasp-api
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: Thu, 19 Sep 2019 06:34:14 -0000

PiBTb3JyeSB0byBpbnNpc3QsIGJ1dCBJIHJlYWxseSBkaXNhZ3JlZS4gSSdtIHRoaW5raW5nIGF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iBJJ20gdGhpbmtpbmcgYWJvdXQgaG93IEkgd291bGQgY29k
ZSB0aGUNCj4gY2FsbGJhY2sgZnVuY3Rpb24gZm9yIGEgcmVzb3VyY2UgYWxsb2NhdG9yLCBhbmQg
SSdtIHN1cmUgaXQgd291bGQgbmVlZCBzb21lIHNvcnQNCj4gb2YgaWRlbnRpZmllciBmb3IgdGhl
IHBhcnRpY3VsYXIgcmVzb3VyY2UgcmVxdWVzdCwgc2luY2UgaXQgbWlnaHQgYmUgaGFuZGxpbmcg
bWFueQ0KPiByZXNvdXJjZSByZXF1ZXN0cyBpbiBwYXJhbGxlbC4gSW4gR1JBU1AgdGVybXMgdGhh
dCBpcyBhIHNlc3Npb24gaWRlbnRpZmllci4NCj4gDQo+IFJlZ2FyZHMNCj4gICAgIEJyaWFuDQo+
IA0KPiA+DQo+ID4+IFRoYW5rcyB2ZXJ5IG11Y2gsDQo+ID4+DQo+ID4+ICAgICBCcmlhbg0KPiA+
Pg0KPiA+Pj4NCj4gPj4+IEJlc3QgcmVnYXJkcywNCj4gPj4+DQo+ID4+PiBHdWFuZ3BlbmcgTGkN
Cj4gPj4NCj4gPiBCZXN0IHJlZ2FyZHMsDQo+ID4gR3VhbmdwZW5nDQo+ID4NCg==


From nobody Thu Sep 19 11:47:28 2019
Return-Path: <internet-drafts@ietf.org>
X-Original-To: anima@ietf.org
Delivered-To: anima@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 2C88F1200B9; Thu, 19 Sep 2019 11:47:18 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: anima@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.101.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: anima@ietf.org
Message-ID: <156891883808.4576.7622415676315412381@ietfa.amsl.com>
Date: Thu, 19 Sep 2019 11:47:18 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/5DJGlHCwY-gNDblwL__KtRcbWf4>
Subject: [Anima] I-D Action: draft-ietf-anima-bootstrapping-keyinfra-28.txt
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 19 Sep 2019 18:47:18 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Autonomic Networking Integrated Model and Approach WG of the IETF.

        Title           : Bootstrapping Remote Secure Key Infrastructures (BRSKI)
        Authors         : Max Pritikin
                          Michael C. Richardson
                          Toerless Eckert
                          Michael H. Behringer
                          Kent Watsen
	Filename        : draft-ietf-anima-bootstrapping-keyinfra-28.txt
	Pages           : 113
	Date            : 2019-09-19

Abstract:
   This document specifies automated bootstrapping of an Autonomic
   Control Plane.  To do this a Remote Secure Key Infrastructure (BRSKI)
   is created using manufacturer installed X.509 certificates, in
   combination with a manufacturer's authorizing service, both online
   and offline.  Bootstrapping a new device can occur using a routable
   address and a cloud service, or using only link-local connectivity,
   or on limited/disconnected networks.  Support for lower security
   models, including devices with minimal identity, is described for
   legacy reasons but not encouraged.  Bootstrapping to is complete when
   the cryptographic identity of the new key infrastructure is
   successfully deployed to the device.  The established secure
   connection can be used to deploy a locally issued certificate to the
   device as well.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-anima-bootstrapping-keyinfra/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-anima-bootstrapping-keyinfra-28
https://datatracker.ietf.org/doc/html/draft-ietf-anima-bootstrapping-keyinfra-28

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-anima-bootstrapping-keyinfra-28


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Thu Sep 19 11:49:40 2019
Return-Path: <mcr+ietf@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 7B711120059; Thu, 19 Sep 2019 11:49:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level: 
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 WBbUPYQy5AnP; Thu, 19 Sep 2019 11:49:37 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 177FA1200FA; Thu, 19 Sep 2019 11:49:36 -0700 (PDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id A452D3897B; Thu, 19 Sep 2019 14:47:52 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 843D36E; Thu, 19 Sep 2019 14:49:35 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Adam Roach <adam@nostrum.com>
cc: The IESG <iesg@ietf.org>, draft-ietf-anima-bootstrapping-keyinfra@ietf.org, Toerless Eckert <tte+ietf@cs.fau.de>, anima-chairs@ietf.org, anima@ietf.org
In-Reply-To: <d416d709-c428-d8f1-7236-6e7882c8c08a@nostrum.com>
References: <156282703648.15280.17739830959261983790.idtracker@ietfa.amsl.com> <11332.1562965650@localhost> <d416d709-c428-d8f1-7236-6e7882c8c08a@nostrum.com>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 24.5.1
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: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature"
Date: Thu, 19 Sep 2019 14:49:35 -0400
Message-ID: <24699.1568918975@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/kaZ6bplwGRheIyIqOnMjcVouMBs>
Subject: Re: [Anima] Adam Roach's Discuss on draft-ietf-anima-bootstrapping-keyinfra-22: (with DISCUSS and COMMENT)
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: Thu, 19 Sep 2019 18:49:39 -0000

--=-=-=
Content-Type: text/plain


Adam, Alexey,
  version -28 of the document contains a CDDL definiton for the audit-log
  response.

https://www.ietf.org/rfcdiff?url1=draft-ietf-anima-bootstrapping-keyinfra-27&url2=draft-ietf-anima-bootstrapping-keyinfra-28

I hope that I'm done now!

--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-




--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAl2Dzb4ACgkQgItw+93Q
3WUFrAf/dXR6W3KXGoqMN9oS4V8xlj+fLlPexC/vZClSmDWAw3KxmU6q5hXxheQz
ZAFxxb/F7w5WmnGCaRFWttvYT7tRzKehhxwSmaoRNYGfhsvc+hz9I5GJYE1BPFvd
7W54b1zZl02I9VBJUU1Kr7/bI4FrfCXJnX1pXZ1loJY+1GiuMj0Z7ExwVq6pkjXZ
/e6zGP2wHLqSGOTjjL7g4ACtuvTRMqSzJ5gAUvOqdFvIj1f34Ixo3p+Ci5GJrzi4
oze/HZ+DVLZ/xuiPM33Yi94xPTNAXt36jN5r7UZTSn7DZxyH1takbFE3/YX8t3BS
Pfke00mg7pUGCte6Kcli8/j+bajB8A==
=671O
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Thu Sep 19 19:26:07 2019
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 C287D1200C3 for <anima@ietfa.amsl.com>; Thu, 19 Sep 2019 19:26:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level: 
X-Spam-Status: No, score=-1.998 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_NONE=-0.0001, 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 fGjsYu_8-1Kn for <anima@ietfa.amsl.com>; Thu, 19 Sep 2019 19:26:03 -0700 (PDT)
Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) (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 9234D12003E for <anima@ietf.org>; Thu, 19 Sep 2019 19:26:03 -0700 (PDT)
Received: by mail-pg1-x534.google.com with SMTP id u17so2940018pgi.6 for <anima@ietf.org>; Thu, 19 Sep 2019 19:26:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=oIlg2YwVDxqV8vG43Ycm1U3ZnVvioOO0DxnWfZzUq9g=; b=mowvkANXjt/WOWnXWm9mrsutZ3Ly9ekea0ye6wNecnESF4bz2T1UDKoalNUoG5uHp7 nX9AkxthLptr5/BWOXGmqVtLERMISMaq4VWyzZ/yk4F4O/EijwEJcIN4U7lbET8EltZ0 GWBLpZf//z1v+RwFL9QVhiYyvLPIZInYXjnX1RB+VskpGmgDIeEmptKzvtyWvnRBVc9r tShQezgugzQlEDbpagDXF4zhO+182znvQlWnTNe+BMJnHIxvs+c54OMi3E1/t2WuGyao 967I5iqswpINm0jNogkMj28C5u6BLflbOFJSnqEvwB/Wlsu6qKqZxHz88hSM/u9TObis FHeQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=oIlg2YwVDxqV8vG43Ycm1U3ZnVvioOO0DxnWfZzUq9g=; b=YXOqwMRoLIDyL6IOOF82zkgavXAQShPtXI0pzZa28AOETYBk+9ensdU0ysezWpblHw SBmpsLkuVNMSol6wEVE09I/C4qh4tJ/bNBNAb3B8h4a70AmPNapg+CYF7hfYQb9Ew1Tu C+HnIR9alNOv9wIouB7dBkZKHwBPpqHNYZ0jFpWFMIlvilisAyy0Z+vS8oNI40gK1qzi FQOGi6Vyz+cGtZ+lpbpJCpKP0+qDquI3eL/37Cd/L1u2eKaRU9XiFHQewzYS7d0+2ldW Tfat3CfBLN3iuCJCZqGKqjdc2lG3e+cZumPiBqeJIIeirxAb/ZmLIL542UInPhmCam9/ 1Ipg==
X-Gm-Message-State: APjAAAUWbI7oJNklNvfE2uMGGLmCYgtWuvYRBcPfK+S34fBM5X5maxF5 VX0SeUZxOoJfigY9wDan7e43yBn0
X-Google-Smtp-Source: APXvYqzCJAxsHrhtzUjocqa3h2j9z9vmShDLY/axXGzvff+FDmPUDV4+mbxWSBKOegUjCYCDm+UiZg==
X-Received: by 2002:a63:4451:: with SMTP id t17mr12856513pgk.128.1568946362733;  Thu, 19 Sep 2019 19:26:02 -0700 (PDT)
Received: from [192.168.178.30] (82.206.69.111.dynamic.snap.net.nz. [111.69.206.82]) by smtp.gmail.com with ESMTPSA id 65sm353194pff.148.2019.09.19.19.26.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Sep 2019 19:26:02 -0700 (PDT)
To: "Liguangpeng (Roc, Network Technology Laboratory)" <liguangpeng@huawei.com>, "anima@ietf.org" <anima@ietf.org>
References: <6F4E6B0C717D4641A2B79BC1740D8CF4A7E22578@DGGEMM533-MBX.china.huawei.com> <59be9ae2-9ccf-a5aa-1b70-5075574a05d3@gmail.com> <6F4E6B0C717D4641A2B79BC1740D8CF4A7E22D04@DGGEMM533-MBX.china.huawei.com> <bca8409b-8fc6-4a52-4b2c-27cfd63e1070@gmail.com> <6F4E6B0C717D4641A2B79BC1740D8CF4A7E2307E@DGGEMM533-MBX.china.huawei.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <438f7146-45ce-396b-9005-849e15371a87@gmail.com>
Date: Fri, 20 Sep 2019 14:25:58 +1200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <6F4E6B0C717D4641A2B79BC1740D8CF4A7E2307E@DGGEMM533-MBX.china.huawei.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/roxztf3mnMjC3ud9HQOJvbwKfo0>
Subject: Re: [Anima] Review comments on draft-ietf-anima-grasp-api
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: Fri, 20 Sep 2019 02:26:06 -0000

Hi Guangpeng,

I will try to explain it in much more detail in the new draft. You are quite correct
that the ASA doesn't need to know any details of the session ID, but the problem
comes when the same function is used as the callback for multiple sessions.

Regards
   Brian Carpenter

On 19-Sep-19 18:34, Liguangpeng (Roc, Network Technology Laboratory) wrote:
>> Sorry to insist, but I really disagree. I'm thinking about how I would code the
>> callback function for a resource allocator, and I'm sure it would need some sort
>> of identifier for the particular resource request, since it might be handling many
>> resource requests in parallel. In GRASP terms that is a session identifier.
> 
> I agree there must be a session identifier in GRASP. However I think this draft is about to define the GRASP API for ASA. The ASA invokes functions through these APIs, and a grasp library implement APIs which includes encapsulating GRASP messages, send out them and wait for receiving response messages. So for call-back approach, all the magic is in the library, the library is responsible for mapping session identifier in messages to correct call-back threads. The ASA just need to tell library which call-back function would be executed when invoke a asynchronous API, the ASA knows nothing about the session identifier used in the messages, thus donot need 'session-nonce' parameter in the API.
> 
> Best regards,
> Guangpeng
> 
>> -----Original Message-----
>> From: Brian E Carpenter [mailto:brian.e.carpenter@gmail.com]
>> Sent: Thursday, September 19, 2019 10:13 AM
>> To: Liguangpeng (Roc, Network Technology Laboratory)
>> <liguangpeng@huawei.com>; anima@ietf.org
>> Subject: Re: Review comments on draft-ietf-anima-grasp-api
>>
>> On 19-Sep-19 13:23, Liguangpeng (Roc, Network Technology Laboratory) wrote:
>>> Please see inline.
>>>
>>>> -----Original Message-----
>>>> From: Brian E Carpenter [mailto:brian.e.carpenter@gmail.com]
>>>> Sent: Thursday, September 19, 2019 4:39 AM
>>>> To: Liguangpeng (Roc, Network Technology Laboratory)
>>>> <liguangpeng@huawei.com>; anima@ietf.org
>>>> Subject: Re: Review comments on draft-ietf-anima-grasp-api
>>>>
>>>> On 18-Sep-19 18:22, Liguangpeng (Roc, Network Technology Laboratory)
>> wrote:
>>>>> Hi authors,
>>>>>
>>>>> I read the draft. I think the API list for grasp is complete and
>>>>> good. But I have
>>>> some comments on section 2.2.
>>>>>
>>>>> 2.2. Asynchronous Operations
>>>>>
>>>>> '... there are two main techniques for such parallel operations:
>>>> multi-threading, or a polling or 'event loop' structure.'
>>>>>
>>>>> According to my knowledge, 'multi-threading' is a different thing
>>>>> with
>>>> asynchronous programming mechanism. So I prefer to 'asynchronous
>>>> programming mechanisms with multi-threading' here.
>>>>
>>>> OK, will rephrase.
>>>>
>>>>> The main techniques for asynchronous programming discussed in draft
>>>>> should
>>>> be 'polling', however, polling is not so efficient. The more
>>>> efficient one is 'call back' mechanism.
>>>>
>>>> Yes, we certainly need to discuss callbacks. I'm not sure it is
>>>> always more efficient, because that depends on the underlying
>> implementation.
>>>>
>>> Agree that all performance rely on the implementation. Generally saying,
>> polling will consume CPU resource to query response again and again until
>> timeout occurs. In other hand, every implement of agent based on polling
>> mechanism library will couple with the library. That means most time different
>> programmers will write the code respectively for the agent and library. It's
>> more hard to guarantee achieve the best performance. Compared to polling,
>> call back mechanism decouples the whole workflow. Only the library
>> programmer need to care about the asynchronous part performance. The
>> agent programmers just need to implement logics according to 'call back'
>> mechanism then everyone can get the same performance provided by the
>> same library.
>>>
>>>>> 'session_nonce' parameter may be useful for polling, but 'call back
>>>>> function
>>>> pointer( or reference in some programming language)' is normally used
>>>> as parameter of invoked functions. All logics should be executed in
>>>> call back functions which will be called when some events occur, for
>>>> example receiving response message for the request, or message timeout.
>>>>
>>>> Yes. However, if you have two simultaneous negotiations, you will
>>>> still need the session_nonce in the callback, I believe.
>>>
>>> Yes or not, I think. If the library is implemented based on call back mechanism,
>> the agent programmer don't need to know anything about 'session-nonce'. This
>> means there needn't be this parameter in this kind of API. Indeed, the
>> implementer of library need to consider 'session_nonce' carefully if its name is
>> still 'session_nonce'. So, my opinion is 'session_nonce' is necessary parameter
>> for polling-based API, but not for call-back-based API.
>>
>> Sorry to insist, but I really disagree. I'm thinking about how I would code the
>> callback function for a resource allocator, and I'm sure it would need some sort
>> of identifier for the particular resource request, since it might be handling many
>> resource requests in parallel. In GRASP terms that is a session identifier.
>>
>> Regards
>>     Brian
>>
>>>
>>>> Thanks very much,
>>>>
>>>>     Brian
>>>>
>>>>>
>>>>> Best regards,
>>>>>
>>>>> Guangpeng Li
>>>>
>>> Best regards,
>>> Guangpeng
>>>


From nobody Fri Sep 20 00:11:44 2019
Return-Path: <liguangpeng@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 AFB0A1200CE for <anima@ietfa.amsl.com>; Fri, 20 Sep 2019 00:11:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 PRD1WZwKbYWN for <anima@ietfa.amsl.com>; Fri, 20 Sep 2019 00:11:40 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C6D41200B4 for <anima@ietf.org>; Fri, 20 Sep 2019 00:11:40 -0700 (PDT)
Received: from lhreml703-cah.china.huawei.com (unknown [172.18.7.108]) by Forcepoint Email with ESMTP id A0BD850959070146B058; Fri, 20 Sep 2019 08:11:38 +0100 (IST)
Received: from lhreml718-chm.china.huawei.com (10.201.108.69) by lhreml703-cah.china.huawei.com (10.201.108.44) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 20 Sep 2019 08:11:38 +0100
Received: from lhreml718-chm.china.huawei.com (10.201.108.69) by lhreml718-chm.china.huawei.com (10.201.108.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 20 Sep 2019 08:11:38 +0100
Received: from DGGEMM403-HUB.china.huawei.com (10.3.20.211) by lhreml718-chm.china.huawei.com (10.201.108.69) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.1.1713.5 via Frontend Transport; Fri, 20 Sep 2019 08:11:37 +0100
Received: from DGGEMM533-MBX.china.huawei.com ([169.254.5.252]) by DGGEMM403-HUB.china.huawei.com ([10.3.20.211]) with mapi id 14.03.0439.000; Fri, 20 Sep 2019 15:11:32 +0800
From: "Liguangpeng (Roc, Network Technology Laboratory)" <liguangpeng@huawei.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>, "anima@ietf.org" <anima@ietf.org>
Thread-Topic: Review comments on draft-ietf-anima-grasp-api
Thread-Index: AQHVbmERtpw7kJuDqkiyv51Nt/0PrKcyLc9A//+Ow4CAAMrXcIAAyzEAgADR6gA=
Date: Fri, 20 Sep 2019 07:11:31 +0000
Message-ID: <6F4E6B0C717D4641A2B79BC1740D8CF4A7E25B1E@DGGEMM533-MBX.china.huawei.com>
References: <6F4E6B0C717D4641A2B79BC1740D8CF4A7E22578@DGGEMM533-MBX.china.huawei.com> <59be9ae2-9ccf-a5aa-1b70-5075574a05d3@gmail.com> <6F4E6B0C717D4641A2B79BC1740D8CF4A7E22D04@DGGEMM533-MBX.china.huawei.com> <bca8409b-8fc6-4a52-4b2c-27cfd63e1070@gmail.com> <6F4E6B0C717D4641A2B79BC1740D8CF4A7E2307E@DGGEMM533-MBX.china.huawei.com> <438f7146-45ce-396b-9005-849e15371a87@gmail.com>
In-Reply-To: <438f7146-45ce-396b-9005-849e15371a87@gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.130.157.47]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/CrW_3ggcgmlONV806-g_PVGm04c>
Subject: Re: [Anima] Review comments on draft-ietf-anima-grasp-api
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: Fri, 20 Sep 2019 07:11:43 -0000

SGkgQnJpYW4sDQoNClRoZSBzYW1lIGZ1bmN0aW9uIGNhbiBiZSBleGVjdXRlZCBpbiBkaWZmZXJl
bnQgdGhyZWFkcyBzaW11bHRhbmVvdXMuIEhvdyB0byBtYXAgc2Vzc2lvbnMgdG8gY29ycmVjdCB0
aHJlYWQgaXMgcmVzcG9uc2liaWxpdHkgb2YgR1JBU1AgbW9kdWxlKE1heWJlIGJ5IGFuIGludGVy
bmFsIHRhYmxlIGNvbnNpc3Qgb2Ygc2Vzc2lvbiBpZCBhbmQgZnVuY3Rpb24gcG9pbnRlcikuIFRo
aXMgaXMgd2h5IEkgaW5zaXN0IHRoZXJlIGlzIG5vIG5lZWQgdG8gdXNlICdzZXNzaW9uX25vbmNl
JyBhcyBwYXJhbWV0ZXIgZm9yIEdSQVNQIG1vZHVsZSdzIEFQSShXaGVuIHRoZSBHUkFTUCBpcyBp
bXBsZW1lbnRlZCB3aXRoIGNhbGwtYmFjayBtZWNoYW5pc20pLiBUaGUgd29ya2Zsb3cgYmVsb3cg
c2hvd3MgaG93IHRoaXMgd29yayB0byBjYWxsIHRoZSBzYW1lIGNhbGwtYmFjay1mdW5jdGlvbiBB
Lg0KICAgICAgICAgICAgICBfX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KICBNZXNzYWdl
czogICB8ICAgICAgICBHUkFTUCBNb2R1bGUgICAgICAgfA0KU2Vzc2lvbiBJRDEgLS0tLS0tLXwt
LT50aHJlYWQxKGNhbGwtYmFjayBmdW5jdGlvbiBBKS0tLS18LS0tPkFTQS0xDQpTZXNzaW9uIElE
IDItLS0tLS0tfC0tPnRocmVhZDIoY2FsbC1iYWNrIGZ1bmN0aW9uIEEpLS0tLXwtLS0+QVNB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j4+Pg0KPiA+Pj4+ICAgICBCcmlhbg0KPiA+Pj4+DQo+ID4+
Pj4+DQo+ID4+Pj4+IEJlc3QgcmVnYXJkcywNCj4gPj4+Pj4NCj4gPj4+Pj4gR3VhbmdwZW5nIExp
DQo+ID4+Pj4NCj4gPj4+IEJlc3QgcmVnYXJkcywNCj4gPj4+IEd1YW5ncGVuZw0KPiA+Pj4NCg==


From nobody Fri Sep 20 06:39:42 2019
Return-Path: <lear@cisco.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 97CCF1201E5; Fri, 20 Sep 2019 06:39:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level: 
X-Spam-Status: No, score=-14.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 E3M_TLYeYs_J; Fri, 20 Sep 2019 06:39:39 -0700 (PDT)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 107DC12011C; Fri, 20 Sep 2019 06:39:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2299; q=dns/txt; s=iport; t=1568986778; x=1570196378; h=from:message-id:mime-version:subject:date:in-reply-to:cc: to:references; bh=F8PvQAt0Jlbt9gtrIC78LsEcDRZanXexu/SE6RIbYtE=; b=IyPUixv6xZFSD1UFWLoLE0NNeZbDF978+rn4+TSXhh9Jyn4Xpk+P88L1 qtVgVibAoX7wRsIZTlonfr9/HNnfgMNnqSpNW1KifWaz0V0xmauDTWsnC 2EZPWCKsW9xWKF1+Km8gwFR7UiYJ4vMZTPnjLPqeAlOIekHs6BqdjqW8D 4=;
X-Files: signature.asc : 488
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0ADAAA/1YRd/xbLJq1lGQEBAQEBAQE?= =?us-ascii?q?BAQEBAQcBAQEBAQGBUwQBAQEBAQsBgwpTIBIqhCKIHGCIBSWZIoF7AgcBAQE?= =?us-ascii?q?JAwEBGAsMAQGEPwKDLDQJDgIDCQEBBAEBAQIBBQRthS0MhUoBAQEBAgEBASF?= =?us-ascii?q?LCwULCxgjBwICJzAGE4MiAYF7Dw+sNIEyhUyEbgoGgTQBgVCKUIF/gTgME4F?= =?us-ascii?q?Ofj6CYQEBhGwygiYElgKXC4Isgi6BE5FJG5kmpCCDEQIEBgUCFYFSOIFYMxo?= =?us-ascii?q?IGxU7KgGCQT4SEBSCBohOhUE+AzCPPgEB?=
X-IronPort-AV: E=Sophos;i="5.64,528,1559520000";  d="asc'?scan'208";a="17059871"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 20 Sep 2019 13:39:36 +0000
Received: from ams3-vpn-dhcp3639.cisco.com (ams3-vpn-dhcp3639.cisco.com [10.61.78.55]) by aer-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id x8KDdY9M006191 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 20 Sep 2019 13:39:34 GMT
From: Eliot Lear <lear@cisco.com>
Message-Id: <A383E119-F2E8-4F7C-9905-8380F90F5A59@cisco.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_96F8A7A2-568C-49F0-AFF2-6867CBD31845"; protocol="application/pgp-signature"; micalg=pgp-sha256
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Fri, 20 Sep 2019 15:39:33 +0200
In-Reply-To: <CALaySJKEcP-rnfpgUwC-uhSvgVdXXQkf7sS+LFQ7-w55EwWBbw@mail.gmail.com>
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, draft-ietf-anima-bootstrapping-keyinfra@ietf.org, Ted Hardie <ted.ietf@gmail.com>, Adam Roach <adam@nostrum.com>, anima-chairs@ietf.org, The IESG <iesg@ietf.org>, Toerless Eckert <tte+ietf@cs.fau.de>, anima@ietf.org
To: Barry Leiba <barryleiba@computer.org>
References: <156282703648.15280.17739830959261983790.idtracker@ietfa.amsl.com> <19180.1562875321@localhost> <CA+9kkMA0U5rKi_1NBg-0riK2Xsty2bc=itfqSD91zz1bcB6g_g@mail.gmail.com> <26415.1563303923@localhost> <CALaySJKEcP-rnfpgUwC-uhSvgVdXXQkf7sS+LFQ7-w55EwWBbw@mail.gmail.com>
X-Mailer: Apple Mail (2.3445.104.11)
X-Outbound-SMTP-Client: 10.61.78.55, ams3-vpn-dhcp3639.cisco.com
X-Outbound-Node: aer-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/vDDwReA-EuO4S163cnD3c_eFom4>
Subject: Re: [Anima] Adam Roach's Discuss on draft-ietf-anima-bootstrapping-keyinfra-22: (with DISCUSS and COMMENT)
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: Fri, 20 Sep 2019 13:39:41 -0000

--Apple-Mail=_96F8A7A2-568C-49F0-AFF2-6867CBD31845
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8



> On 16 Jul 2019, at 21:29, Barry Leiba <barryleiba@computer.org> wrote:
>=20
>>> I would personally not suggest using IRIs here, given that the =
scheme
>>> (https) is expected to retrieve a resource at a well-known location =
and
>>> thus will always have to be mapped to a URI to do the retrieval =
(rather
>>> than used in a string comparison or something similar) .  RFC 5280,
>>> which this cites, actually goes through the steps pretty well, and I
>>> think the complexity there demonstrates the advantage for =
constrained
>>> devices of always using the URI form.
>>=20
>> I have changed the references from IRI to URL, and the components =
from
>> iauthority to 'authority'.
>=20
> I think the best thing for IETF documents is to use "URI" (rather than
> "URL"), and to cite RFC 3986.

And that really is what this is: it=E2=80=99s a URI.  Call them RESTful =
calls or call them something else but they look and smell quite RESTful =
to me, and REST requires URIs, and 3986 is a great reference.

Eliot


>=20
> The W3C, via the WHATWG, is (re-)defining "URL", and we *could* cite
> that work.  That would not be my preference here.
>=20
> Barry
>=20
> _______________________________________________
> Anima mailing list
> Anima@ietf.org
> https://www.ietf.org/mailman/listinfo/anima


--Apple-Mail=_96F8A7A2-568C-49F0-AFF2-6867CBD31845
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEmNC9kEYdsJKnsmEdh7ZrRtnSejMFAl2E1pUACgkQh7ZrRtnS
ejOCjQf/a3HFyndSeU2t90vggElU90nINNWNjoIuc649aES7mlSTErbObWHKWiZC
8JiY3Gj2N9jPFdRyewxyXBPiQOexF1NqHYj2TbUlXe5DRVXCtlKekv75nyUYBZCp
QZmiyLfCJcK6xJwnRrJkxK01ZBQsn+kuOxTfrVM0HW69l24RkXhR/Q6cwuXkP8kj
XdZKaRo2k0W8Iu8UPC23m5Ef0bFhao9I13NEnI5kJHhsDl6UlI1J+gWG59V3dIMN
qj6JABDZGJKyFpsqRVR0ppTUkIX/TLMG5S4sJXzGbpXzGLphfuS90xdthTYSg3zI
sU/yiQWki2UEpKYrHctVjH5W3rhlzw==
=CevF
-----END PGP SIGNATURE-----

--Apple-Mail=_96F8A7A2-568C-49F0-AFF2-6867CBD31845--


From nobody Sun Sep 22 16:47:13 2019
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 AA0F11200B9 for <anima@ietfa.amsl.com>; Sun, 22 Sep 2019 16:47:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level: 
X-Spam-Status: No, score=-1.998 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_NONE=-0.0001, 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 BvY3-rDOxKCu for <anima@ietfa.amsl.com>; Sun, 22 Sep 2019 16:47:08 -0700 (PDT)
Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) (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 1134E120024 for <anima@ietf.org>; Sun, 22 Sep 2019 16:47:08 -0700 (PDT)
Received: by mail-pg1-x52b.google.com with SMTP id a24so6930486pgj.2 for <anima@ietf.org>; Sun, 22 Sep 2019 16:47:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:subject:to:references:organization:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Kv2oeYO7WVJkLsIOsO252AZdAdHNkLQazb50Q+QAoR8=; b=R9tyx+CB2YqqPSFD96zWtxBMAfWkAmcazZzAnudwjhpCucZ1JDjdu3P3XF0MD/tzR7 jKu2XhYt61eChr0HTM2MMjVoI3HZVum6tAMuD0975JK9xPebw3ClTt7nXJaULX68t/HK pPcF3gcWzAZ9iJ3frSpSQt3KV3sNEiL8nM8iR8+M3cTVHAajXkNsAAYFEj061g/wQ22m KqYd1SfsWSBeD9dLSmUfnfzUmO/PYJwowgpdY9SqBUEJ59pcaFmmyT/nQ+gA5AD8RcN+ oOC5SplxLWXmCpHgLsV7FcusR7A5Td3uQgPQlI59RMMNHsPlO6c1dOnmJtcROI4pxgwf eR4w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=Kv2oeYO7WVJkLsIOsO252AZdAdHNkLQazb50Q+QAoR8=; b=so3/9wlAlV7lxMg9X7/29bKVRT5+7oW+luoWfObXRBwXD/8vWl/vC6AETIcXKf+YTh f2w9bqkX+g5Twoq3uFh05tF/GeOSgU53qe20dK8AtFS2U/PNxkGSoo8ru2G501yua1yX LDZAGt82XStPZxxad2P6leZK6llyZ0dPhfhM7wbQw/eLMVWZpvySgs9ZoVLg5ZfkDEMq OFFUn80U2CwR25gYBraKppOI0+HO3Jo8BppWXM+LWtXxDOhlTD0P0QbCL4OGkhYQ79Q5 t7YSGtUD6MBs+E7oAgHOJZ5dl/Zv+WL6AO5h3DiVQ5WW5SpufGIGXVNMBBhJYYX9VeYg r0kw==
X-Gm-Message-State: APjAAAWJZU9wyja9cyL1P/kNPZa8Ak33XZpdjAxbtF4CBB+4vaPHysCi +NKLL9F61Nb4a3CvSPPi0RQ9+foh
X-Google-Smtp-Source: APXvYqx1/7utz4J8AwStsoR6T7tHtziy4A/yLknP1siahzqXEFfL4UygHtigUWHA1rgc7YQ2z/eBtQ==
X-Received: by 2002:a63:1c4b:: with SMTP id c11mr23978979pgm.216.1569196027286;  Sun, 22 Sep 2019 16:47:07 -0700 (PDT)
Received: from [192.168.178.30] (82.206.69.111.dynamic.snap.net.nz. [111.69.206.82]) by smtp.gmail.com with ESMTPSA id c7sm6454825pfr.75.2019.09.22.16.47.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Sep 2019 16:47:06 -0700 (PDT)
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>, "anima@ietf.org" <anima@ietf.org>
References: <5523.1565112243@localhost> <17032fd8-b316-6225-5ddd-cdfc9c1ce2ea@gmail.com>
Organization: University of Auckland
Message-ID: <8bb018b9-2bc8-bad2-5023-f73eae054358@gmail.com>
Date: Mon, 23 Sep 2019 11:47:06 +1200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <17032fd8-b316-6225-5ddd-cdfc9c1ce2ea@gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/hqWnS4MZ-lqI4gTjnGTg-IAgM9M>
Subject: Re: [Anima] comments on draft-ietf-anima-grasp-api
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: Sun, 22 Sep 2019 23:47:11 -0000

With notes added while starting to update the draft:

On 07-Aug-19 14:28, Brian E Carpenter wrote:
> Thanks very much Michael. Some partial responses below.
> 
> On 07-Aug-19 05:24, Michael Richardson wrote:
>>
>> I read draft-ietf-anima-grasp-api from the expired drafts list.
> 
> Right, the -03 draft expired while we were in Montreal. Our plan
> is to make the next update after the two promised reviews arrive.
> 
>> I think that the event-loop architecture is different than a
>> polling architecture.  I agree that given an event-loop architecture,
>> that one can build a polled architecture, but the converse is not true.
>> The event-loop mechanism needs something to send events, while the polling
>> system does not.
> 
> My understanding is limited, but the diagram at
> https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/
> seems to say something different: the loop detects events by
> polling. (Yes, OK, that's talking about Javascript but the
> fundamentals are the same, surely?)

Following your comments and Guangpeng's we will try to considerably improve
and expand the text about this.

> 
>> section 2.3.1.3:
>> If you are going to insert C structures, why not use a real example?
>>   https://github.com/PJK/libcbor/blob/master/src/cbor/data.h#L164
>>   cbor_value -> cbor_item_t
> 
> Yes, we can look at that. There are various CBOR libraries in C.

Actually it looks as if the type we need is cbor_mutable_data
(not a single item), sinc the GRASP "value" can be an arbitrary
data structure.

>  
>> I don't understand what the asa_nonce is for.
> 
> OK, then we need more text.
> 
>> Is this something that the underlying GRASP library is supposed to use
>> internally to sort out which ASA is which?  Maybe this should be
>> either a UUID, or an opaque type, which might in some cases, be a file
>> handle, or contain one. (a la FILE *)
> 
> Yes, it should probably be opaque. In fact the documentation of the
> concrete Python API says so: "Note - the ASA must store the asa_nonce
> (an opaque Python object) and use it in every subsequent GRASP call."

Again, we will improve the text.

> 
>>
>> 2.3.3 Discovery.
>>   1) I would prefer to be able to ask for the list of cached
>>      locators for an objective directly.
> 
> OK, I can see that might be useful.

In fact, in the Python implementation, that's what you get from discover()
if the list is non-empty. Maybe we should change the meaning of timeout = 0
to mean what it says: simply return the list of cached locators as-is,
without waiting for discovery. I quite like that idea, since using
GRASP_DEF_TIMEOUT as the default for discovery timeouts was an abitrary
choice. Probably the ASA programmer should be forced to think about a
meaningful timeout.

> 
>>   2) Rather than flush them explicitely (because there might be
>>      other ASAs depending upon them), I'd like to do a discovery
>>      that asks for objectives that are at at most X miliseconds old.
>>      Flush is therefore X=0.
> 
> Hmm. I think we assumed you would only flush if you had reason to
> believe they were stale. But certainly adding an age limit seems
> reasonable.

Will do that - replace the flush parameter with age_limit.

>>   3) In both threaded and event-loop situations, I'd like to be able
>>      have a function called when there are new answers, otherwise,
>>      I have to poll.
> 
> Right, that's a callback in event loop terminology. It's a matter of
> preference; I have an aversion to side effects so I don't like callbacks.
> However, you're probably right that it should be an option.

This will be explicit in the next version.
 
>>      (And, if a function is called, then the question as to which
>>      thread does the calling is important; specifically one needs
>>      to know which other functions one call at that point
>>      answer may well be none. The answer depends upon how locking
>>      of structures is done. The answer is easier in event-loop
>>      version)
> 
> Yes; callbacks are a Bad Idea in a multithreaded version.

An ASA is responsible for the atomicity of its own transactions;
that's actually why I've been asserting that the session_nonce is
essential for callbacks. To be clear, GRASP negotiation messages
are *not* idempotent. So you can start several parallel negotiations
and they must be possible to distinguish from each other.
  
>> 2.3.4 Negotiation.
>>       Since the session_nonce is returned by the function, how
>>       can the dryrun/run ever be mixed in a single session?  maybe
>>       I don't know what a session is.
>>       Ah, it's a value/result parameters.   So, please put it into
>>       the input section too.
> 
> OK will think about that.

An ASA that makes use of dry run isn't quite straightforward. I never
tried writing a demo of dry run, except for a trivial test that the bit
gets transmitted correctly. There's presumably implied state that a
resource is pre-booked but not actually assigned. I think we need to
make the API agnostic about the semantics of dry run.

> 
>>
>> listen_negotiate.
>>       I think that this call is wrong in both threaded and event-loop
>>       use.  I think that in threaded version, I really want a new
>>       thread spawned off that does the right things (negotiate_wait, etc.),
> 
> You do need a new thread. But I don't have time right now to explain
> how that works in my example use cases. And my explanation would
> be Pythonesque.

Yes, there's no free lunch - it's the ASA writer's job to spawn a new thread
for a new transaction, in the threaded model. And in the event loop model,
the ASA needs to add a new event in the event loop for each new transaction.
We need to say this explicitly.

(It's no different than writing a server that listens for simultaneous
incoming TCP sessions; of course that's exactly what the GRASP core has
to do.)

> 
>>       so I want to provide a function for that thread to run the negotiation.
>>       In event-loop, I think that I want the same thing, but in the
>>       function, I can't do synchronous calls, so the function has to
>>       be called each time.
> 
> Sure. You have to insert a new event in the loop for each new negotiation.
> 
>> negotiate_step:
>>       It says:
>>          Threaded implementation: Called in the same thread as
>>          the preceding 'request_negotiate' or 'listen_negotiate', with the
>>          same value of 'session_nonce'.
>>       but if it's in the same thread as listen_negotiate(), then I can
>>       only handle negotiation with a single peer in that thread, I think?
> 
> Yes. Threads galore. A new thread for each new negotiation.
> 
>>       and I don't think I'd want to call listen_negotiate() for the
>>       same objective.
> 
> Actually that will depend on the use case, but if you do so, you need
> locks and atomicity. I put all of that into the prefix assignment demo,
> I think.
> https://github.com/becarpenter/graspy/blob/master/pfxm3.py 

When you think about it, there's nothing special about mixing 'request_negotiate'
and 'listen_negotiate'. The problem of atomicity is identical if you run
two 'request_negotiate' sessions or one of each. Whatever shared data structure
is involved must be used by one thread at a time.

>> negotiate_wait: no idea why I'd use this.
> 
> That simply refelects a GRASP feature: tell the other end to wait longer.
>>
>> Summary: I do not object to this document going forward as Informational, as
>>          it represents an explanation of one implementation, and that is
>>          what Informational is about.
> 
> All the same, I'd like to capture as much generality as possible.
> 
>>          It would be nice to have the view of multiple implementators, but
>>          there is no energy for that.
> 
> Yes, that's what we need.
> 
> Regards
>      Brian
> 
>>          While I do not object, I do not see great utility in this document.
>>
>> nits:
>>   2.3.1.3: s/neg/negotiate/
>>   I found the "NEG" term in GRASP confusing, because it seems like
>>   NEGative, rather then NEGotiate.  I'd prefer it was spelt out in
>>   the API.
>>   s/dry/dryrun/
>>
>>
>>
>>
>>
>> --
>> Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
>>  -= IPv6 IoT consulting =-
>>
>>
>>
>>
>> _______________________________________________
>> Anima mailing list
>> Anima@ietf.org
>> https://www.ietf.org/mailman/listinfo/anima
>>


From nobody Tue Sep 24 18:53:38 2019
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 49DA0120090 for <anima@ietfa.amsl.com>; Tue, 24 Sep 2019 18:53:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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_NONE=-0.0001, SPF_HELO_NONE=0.001, 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 kgZtRpQMbi6E for <anima@ietfa.amsl.com>; Tue, 24 Sep 2019 18:53:34 -0700 (PDT)
Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) (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 2EFC3120033 for <anima@ietf.org>; Tue, 24 Sep 2019 18:53:34 -0700 (PDT)
Received: by mail-pf1-x42d.google.com with SMTP id q21so2381741pfn.11 for <anima@ietf.org>; Tue, 24 Sep 2019 18:53:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=to:from:organization:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=YastiI06J+/VPS2bVZO6BCYEsiwunrk87XajQ/ESgkc=; b=JY5wma7gnesLgdMB30ba+tdujJ+H+XLTyLihVmOonh1d9oO2sBlrj21vJTj41+cpiw +g1WscRIj/iFBiFBW16jvI3aSKzpYTzGmQttbDqv/1ZhkvtX+qyRul5CEC1xUIy3mra5 BXSiQXpSlrTCx3w1ZzhFfhqmNg1WDJ/q+tBPvnPqq6nJm3w2opI3ta/ZqQ9yDIioOK7V MW46VLbZU7fDVmZcmGJndBag2HC/qnon8xgXI64D0afF9MOTHsKpyxMLfLeY1HBUOFPk U/xaAH4/eTQ6enFlmQ4T7o8bK7dwAsMvLLxwy2q/ATo8JEkoWUsLcRgGxtN5gyXcN1JI ulRA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:organization:subject:message-id:date :user-agent:mime-version:content-language:content-transfer-encoding; bh=YastiI06J+/VPS2bVZO6BCYEsiwunrk87XajQ/ESgkc=; b=TeuekJ8fgmZqxEqqZEHzBnVNBwXftuetcLg/bk3h4TwpUV+msE2WMjMG8He4ZntpAv yw8gr9f3ZhQsRlSI+JJoioOaqwXuJMiiliPWMBLakRlU9AZpheezi17WzjXbVtGQ8zQK DblTTwbY3ndTbZbYaT0SLxV6QD+fYdyq2Ci5mdcB62h6PaYJmMrYmiQm+w5fwyzjWHZ5 LY/qW2ww2xeX9IHSEtm91c8Hahu4oaJiuGHWSi1df+OtHBHkM54Mh10Z52flniadfIkp z+D2wMX+Af5+xbVEH57j5tFgUDVVJusUefP5ddskx+0T/K0KPkpMm3l3CXIIlWifqG8E 6FCQ==
X-Gm-Message-State: APjAAAXKnvH1FjVByjkvhNPoLgQkMteVkq4eADbCshtuQp3zAZfpruvc 9RQoSXWWaVxY5KS63mTmaU12Iqpo
X-Google-Smtp-Source: APXvYqyNdQNRnWOwtGdqZaXO/RADa6V/PrbHJVAd0x2+7FI+kPw32oDjqy3YOvJY41Gmy/tCw1bhLA==
X-Received: by 2002:a62:5fc1:: with SMTP id t184mr6886510pfb.84.1569376413394;  Tue, 24 Sep 2019 18:53:33 -0700 (PDT)
Received: from [192.168.178.30] (82.206.69.111.dynamic.snap.net.nz. [111.69.206.82]) by smtp.gmail.com with ESMTPSA id g4sm3484179pfo.33.2019.09.24.18.53.31 for <anima@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Sep 2019 18:53:32 -0700 (PDT)
To: Anima WG <anima@ietf.org>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <41d6409f-6ad1-7294-70f1-115894925fc8@gmail.com>
Date: Wed, 25 Sep 2019 13:53:30 +1200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/M1JpQ_J-46VRf68uSiXSLUOi-n8>
Subject: [Anima] New release of Python GRASP code
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: Wed, 25 Sep 2019 01:53:36 -0000

Hi,

For anyone who downloaded my GRASP prototype, this is to announce that I just
uploaded a new version (15-BC-20190925) of grasp.py to https://github.com/becarpenter/graspy

This fixes a long-standing bug in the handling of discovery multicasts, whereby
an expired entry in the discovery cache could sometimes lead to the multicast
handler exiting. We (Michael Richardson, Bill Atwood and I) saw the problem at the
IETF105 hackathon, but it took until now to reproduce the bug and track it down.
Thanks especially to Bill for his lab work.

Regards
   Brian Carpenter

