[Casm] Fwd: Prefix manager code updated

Brian E Carpenter <brian.e.carpenter@gmail.com> Sun, 07 May 2017 03:13 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: casm@ietfa.amsl.com
Delivered-To: casm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 021EF127873 for <casm@ietfa.amsl.com>; Sat, 6 May 2017 20:13:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, 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 gRGPE0qsK9sF for <casm@ietfa.amsl.com>; Sat, 6 May 2017 20:13:56 -0700 (PDT)
Received: from mail-pg0-x229.google.com (mail-pg0-x229.google.com [IPv6:2607:f8b0:400e:c05::229]) (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 62F9E126C26 for <casm@ietf.org>; Sat, 6 May 2017 20:13:56 -0700 (PDT)
Received: by mail-pg0-x229.google.com with SMTP id q4so19389886pga.3 for <casm@ietf.org>; Sat, 06 May 2017 20:13:56 -0700 (PDT)
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=oqTzMxaCv9Mo1VK7Ou3bpjV6Gj6s0aIMh1QaTgEDx48=; b=YGlwGR31YIZVpFfEzEDq/N6Nc75+1wYcoIC4H5NWOUoApFjumkM7Kniz9zUBKc3PwR GWUuNCZpEsHQppDInhP5KZzE7l2vGI9GneRKy7IY0Y/wZ3FW7FYL7KUXN8HJsgkAB3QC kDs+yJAYyl7YcogOsbN5so/REsMeohfZamcMzaw2OaHrnaRqxnRV1I99oqXYjVXPY6ip Wa7SWAUHyxdSQYU8ybn1WUFWnU8FOc0pS8bxnGXzv3/1KcFQSxmfJqjsaOrxJtfCp8O9 7kfmwXUIVbS73Q3CppK7DoWl77z5iP2GkmgpasoShOoqwXwtyFm+DGPUaGTzmqUBM7e4 ROqw==
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=oqTzMxaCv9Mo1VK7Ou3bpjV6Gj6s0aIMh1QaTgEDx48=; b=LF9xe0MXj4u8qSBFW62JWDc/riinJ8i7xas5IRbgqZq6oUxq7/j+BGt2uC8aO2sclJ E/aBo9pPaWb/AhnLOkdnBY08BybN7SAi7LxkkCjPN4LVZelieDLTMtrGx6sK1S8TkwEW 5Xc47TXwdogRkEAWwvS49kRFgn2UcqAfte5aVCf7aakDQ2E01vzlLnjVdahqQU4Mu+X2 c6XZPda8ItSxFWEJrBJEPdo+vSvTyPpT3lwzfw0OKluwO/Iobofsgu6pSlBlc4S3tRtm HOXOg/W/8W17XMe2co1HAGiWHhGEp35OQZq+Lx56FT19QV72x5cLxx+98BJ7axr6efo7 n1Mg==
X-Gm-Message-State: AN3rC/4pJOd/Sjdh0GlX84qTSKqe/sbRxqANJB9qO7oD/AGBXkySVqx2 LbQNtD/UZ/+z6Rj3
X-Received: by 10.99.156.2 with SMTP id f2mr11649918pge.65.1494126835764; Sat, 06 May 2017 20:13:55 -0700 (PDT)
Received: from [192.168.178.21] (181.228.69.111.dynamic.snap.net.nz. [111.69.228.181]) by smtp.gmail.com with ESMTPSA id s18sm16411449pfi.16.2017.05.06.20.13.54 for <casm@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 May 2017 20:13:55 -0700 (PDT)
References: <8d965972-312c-aff0-a011-b6198baa660e@gmail.com>
To: casm@ietf.org
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
X-Forwarded-Message-Id: <8d965972-312c-aff0-a011-b6198baa660e@gmail.com>
Message-ID: <be7e9963-efd4-acc8-ed35-1c33308aee78@gmail.com>
Date: Sun, 7 May 2017 15:13:51 +1200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <8d965972-312c-aff0-a011-b6198baa660e@gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/casm/01DyCJOQhZfITEoXlm5tIaCGRJc>
Subject: [Casm] Fwd: Prefix manager code updated
X-BeenThere: casm@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Coordinated Address Space Management <casm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/casm>, <mailto:casm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/casm/>
List-Post: <mailto:casm@ietf.org>
List-Help: <mailto:casm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/casm>, <mailto:casm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 07 May 2017 03:13:58 -0000

In case anybody here is interested; comments welcome of course.

    Brian

-------- Forwarded Message --------
Subject: Prefix manager code updated
Date: Sun, 7 May 2017 15:04:17 +1200
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
To: Anima WG <anima@ietf.org>

Hi,

I've uploaded a new improved version of my demo code for draft-ietf-anima-prefix-management.

It can be found at https://www.cs.auckland.ac.nz/~brian/graspy/pfxm2.py, but I advise reading the implementation notes first: https://www.cs.auckland.ac.nz/~brian/graspy/pfxm2.pdf .

There's also a screen shot at https://www.cs.auckland.ac.nz/~brian/graspy/prefixen.png . This shows a 'master' prefix manager (bottom left) and four prefix delegators in action, all running on the same machine (but independent GRASP instances). It works between machines too, but that's hard to capture in a screen shot.

TL;DR:  "Apart from figuring out the bit manipulations and eliminating a few fencepost errors, this was quite easy work. I think it shows that the whole mechanism is viable. With stable storage added, and a secure ACP, it should be safe for real world use. Expansion to cover IPv4 as well would be straightforward, if the objective format allowed it."

Regards
   Brian Carpenter