[Anima] Releasing updated GRASP code and API

Brian E Carpenter <brian.e.carpenter@gmail.com> Fri, 15 January 2021 01:15 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 00FB63A0BDA for <anima@ietfa.amsl.com>; Thu, 14 Jan 2021 17:15:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, 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 xaiIpL0Si_Xg for <anima@ietfa.amsl.com>; Thu, 14 Jan 2021 17:15:53 -0800 (PST)
Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) (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 4B13E3A0BD7 for <anima@ietf.org>; Thu, 14 Jan 2021 17:15:53 -0800 (PST)
Received: by mail-pf1-x42a.google.com with SMTP id d2so4464664pfq.5 for <anima@ietf.org>; Thu, 14 Jan 2021 17:15:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:organization:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=LpK1ojwiTUnm+Ine9D+E1N+m0jqae+wPSmsD1L3GraA=; b=N82T043QSnwCfOpLxstgIPVwdzFSedjex+akmicJLWw2jTQVXnjqoM91WeipXw8u6E qOCjhqvU4nG3mxbV0/1gR2inmzLPSTOjquYg3skgJeNPzgtJgg/k9I7thCAIwKxBBx/c HrEoNnK4HkjY5pGiz0ZZMvkK5KlH4bOC9zRfN0hPblBoWGvrY1r4s6Yvq4zPdQYmJIi3 vE/6dxOHjIbdEnmLAIPxhHkQpT9M0QfC5P8stcFh73fXlPDvupoZBa5VaoOtDFeQWRe2 TzfjuVBxCFI6O5gQJnvqBDKpogNzwKGtU9cF5WDKk1jM2O1nIHz0LE0XNZ0K8roajWrR u8uw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:organization:message-id:date :user-agent:mime-version:content-language:content-transfer-encoding; bh=LpK1ojwiTUnm+Ine9D+E1N+m0jqae+wPSmsD1L3GraA=; b=YpA7yvmYLpXqvoFlNWEggMyH5j0IFRVSAhoTi9ntxPTclpOgtBzXXMy6cTlTiXK6Ma sWVqN4ORzlCDE+O+jCd/HIKEMob8R2RU8w8uTnfPf5FYUhnu8ky8q0tjRZ1Rpu/VeirU ja8TZPQXxOqhHx8dS1vAW1dmpJuGUzDz+ny9e5scOLOVx29QKFDywiLIbRYGgHI3OKhH he7/jszpNcn9QARfBYilU5yl1Bc1ert9V9Nz9F+KNEEBsyLF8ieDHe0ulZwwA0t+cw+r dy+pCbaeONiZ05MyMEmjpI0eK4DvFLXpu+6I7Krsgb8xjdEUz8gt029YTdzo6MbURsPf 8F7A==
X-Gm-Message-State: AOAM530jwsGutjOXm8dvodm0SteoTkJ4VsOQ6kJA+bbfhk/cb3cqU0zi xwLPwE5KWoMzT1xyDpgzQYngkbnagYiVDA==
X-Google-Smtp-Source: ABdhPJwaWOcl6nAoOd0rdN7YqHBgRzNafdg+5zqK2GcxuHYaJMJ318V36tKFLfMtGakJnVzFIvZqLw==
X-Received: by 2002:a63:d418:: with SMTP id a24mr10092592pgh.73.1610673352392; Thu, 14 Jan 2021 17:15:52 -0800 (PST)
Received: from [192.168.178.20] ([151.210.131.28]) by smtp.gmail.com with ESMTPSA id ft9sm2290003pjb.17.2021.01.14.17.15.50 for <anima@ietf.org> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jan 2021 17:15:51 -0800 (PST)
To: Anima WG <anima@ietf.org>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <5b169c92-a3b9-e7f5-2d0d-2c28eeb543e9@gmail.com>
Date: Fri, 15 Jan 2021 14:15:48 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
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/32_6ZpZ8ZHMve6HGnGu9JgAFtII>
Subject: [Anima] Releasing updated GRASP code and 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, 15 Jan 2021 01:15:55 -0000

Hi,

Since the API draft was approved recently and is now in the RFC Editor queue, I have updated my prototype Python implementation accordingly. To preserve backwards compatibility, I:
 
(a) added missing API features to the underlying code in the grasp.py module;

(b) created a wrapper module graspi.py that maps the original API to the API defined by draft-ietf-anima-grasp-api-10. The changes are quite small.

The result is that code using the original API will still work (import grasp) and new code should use the official API (import graspi).

As always, the code is at https://github.com/becarpenter/graspy and the place to start is the updated documentation at https://github.com/becarpenter/graspy/blob/master/graspy.pdf

If you have downloaded the code, please refresh everything from the repo and add graspi.py and graspitests.py.

Error reports welcome.

Regards
   Brian Carpenter