[Anima] Fwd: I-D Action: draft-liu-anima-grasp-api-03.txt

Brian E Carpenter <brian.e.carpenter@gmail.com> Mon, 13 February 2017 02:04 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B05F11294EB for <anima@ietfa.amsl.com>; Sun, 12 Feb 2017 18:04:58 -0800 (PST)
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_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 qwIj4FOQq9nH for <anima@ietfa.amsl.com>; Sun, 12 Feb 2017 18:04:57 -0800 (PST)
Received: from mail-pg0-x231.google.com (mail-pg0-x231.google.com [IPv6:2607:f8b0:400e:c05::231]) (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 236181293E1 for <anima@ietf.org>; Sun, 12 Feb 2017 18:04:57 -0800 (PST)
Received: by mail-pg0-x231.google.com with SMTP id 204so27814286pge.0 for <anima@ietf.org>; Sun, 12 Feb 2017 18:04:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:references:to:from:organization:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=EcllepGl03poyQnHY1ricjJp+37rSPmrI3pIE2P8NDk=; b=t77i8JM+FSToV9MmigvqQmvPijT1G+QRdvvt9u4+VhFgTsSbkmC2DTuamYPp+KeNn/ DyQ0OROJaKIsVFL0J4WI/GKY4NZiQs3o0HmDuw2NKV3fmcvtzbXO/nN9vCV3Ml1TL3ud IxevDgwQo8UvygIkoGESmiBdUuiy1fHZkBkO3f/FeZGomiep9AaF7SzH3wcCOrwLKJcs hdUlDmGTLfkj39idN2ZRTpVMfdP2hdpz9MF0nYqoqdw/Lfqr+VZDF3E4Q2cLGdYFOFZ7 XEJUPJp563tH3kxMkmHuPpvEzZt6tSvtbPm5SIAgmC7fsZ7999TQ5nfZBPaoVcKmHM0u csOg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:references:to:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=EcllepGl03poyQnHY1ricjJp+37rSPmrI3pIE2P8NDk=; b=N3dhBrJ8xekX76Gv2VMcaNc+rQZNqvGoAKWhClIDyfjzu0+gS7kKtrSQU5EJcuI6Ck 2XFPERDIrY0aIb3SF8pXVhdDoTIk/3CXT+r4ncY+vwFEs0KzA/BbGuIWUJiwR/UX1pzi btlrn3Qg8vsxSJ+n1BCic1r3SON0aYRQGvERv4jMp2VIYUhV5G+Z9syKPJnJQuz3wFiq cSKY9EHL9FXiqH/2vrsTTglDrBOZkRNeQmoBDG7PecOk2WZPXFY3Dr1TXDR6d1vdfZS9 vBxG3ndEbDd31XLoyG+ctL/zcMc4A1sgfD5vL1HIr3dTr1eOqPNHR7vixzdbHxNMwARj M86g==
X-Gm-Message-State: AMke39kgYXaLRR5CT+RAfMx5dXf8oFl8J5q6zcyCtXj9GIAh7NUt6DNhEfd+TViFSmJo8A==
X-Received: by 10.98.147.207 with SMTP id r76mr23477517pfk.111.1486951496448; Sun, 12 Feb 2017 18:04:56 -0800 (PST)
Received: from ?IPv6:2406:e007:6e60:1:28cc:dc4c:9703:6781? ([2406:e007:6e60:1:28cc:dc4c:9703:6781]) by smtp.gmail.com with ESMTPSA id j185sm17083057pgd.35.2017.02.12.18.04.54 for <anima@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Feb 2017 18:04:55 -0800 (PST)
References: <148695095591.6195.15664543448981686883.idtracker@ietfa.amsl.com>
To: Anima WG <anima@ietf.org>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
X-Forwarded-Message-Id: <148695095591.6195.15664543448981686883.idtracker@ietfa.amsl.com>
Message-ID: <4b423848-9a17-e82b-674a-5e1c009be70c@gmail.com>
Date: Mon, 13 Feb 2017 15:04:52 +1300
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1
MIME-Version: 1.0
In-Reply-To: <148695095591.6195.15664543448981686883.idtracker@ietfa.amsl.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/UA7Iuqud6Hmx0JoKslMSch2LCwE>
Subject: [Anima] Fwd: I-D Action: draft-liu-anima-grasp-api-03.txt
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.17
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, 13 Feb 2017 02:04:59 -0000

And here's an update to the GRASP API.

Main changes:

1) Changed error return to integers:
The previous design returned English-language error strings. This design
returns an integer error code, but therefore needs the error codes to
be enumerated. So far, there are 38, based on the prototype implementation.

Do we need extensibility, user-defined error codes, etc.?

2) Required all implementations to accept objective values in CBOR:
This is important, since it allows for use from programming
languages that don't have a natural way of expressing complex
objects.

3) Added non-blocking alternatives:
This needs discussion. Originally we assumed that the ASA could easily
use multi-threading, but that is a dangerous assumption in general. So
the idea is that all GRASP API calls that are naturally blocking (e.g
waiting for a timeout or an incoming message) would have a non-blocking
alternative that can be called in an event-loop style of programming.
We need input on whether this has been defined correctly. (It goes
with the error code 2, "noReply".)

Regards
    Brian + co-authors

-------- Forwarded Message --------
Subject: I-D Action: draft-liu-anima-grasp-api-03.txt
Date: Sun, 12 Feb 2017 17:55:55 -0800
From: internet-drafts@ietf.org
Reply-To: internet-drafts@ietf.org
To: i-d-announce@ietf.org


A New Internet-Draft is available from the on-line Internet-Drafts directories.


        Title           : Generic Autonomic Signaling Protocol Application Program Interface (GRASP API)
        Authors         : Brian Carpenter
                          Bing Liu
                          Wendong Wang
                          Xiangyang Gong
	Filename        : draft-liu-anima-grasp-api-03.txt
	Pages           : 22
	Date            : 2017-02-12

Abstract:
   This document specifies the application programming interface (API)
   of the Generic Autonomic Signaling Protocol (GRASP).  The API is used
   for Autonomic Service Agents (ASA) calling the GRASP protocol module
   to exchange autonomic network messages with other ASAs.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-liu-anima-grasp-api/

There's also a htmlized version available at:
https://tools.ietf.org/html/draft-liu-anima-grasp-api-03

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-liu-anima-grasp-api-03


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/

_______________________________________________
I-D-Announce mailing list
I-D-Announce@ietf.org
https://www.ietf.org/mailman/listinfo/i-d-announce
Internet-Draft directories: http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt