From 923b0364e7fac251f5146b7ea8714e12586fc084 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 17 Jun 2009 14:37:59 +0000 Subject: Cleanup svn path=/scripts/Old/encode-test.py; revision=2532 --- scripts/Old/rsset.py | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 scripts/Old/rsset.py (limited to 'scripts/Old/rsset.py') diff --git a/scripts/Old/rsset.py b/scripts/Old/rsset.py deleted file mode 100644 index 8d4d2d44..00000000 --- a/scripts/Old/rsset.py +++ /dev/null @@ -1,28 +0,0 @@ -# $Id$ - -# Copyright (C) 2008 American Registry for Internet Numbers ("ARIN") -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND ARIN DISCLAIMS ALL WARRANTIES WITH -# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -# AND FITNESS. IN NO EVENT SHALL ARIN BE LIABLE FOR ANY SPECIAL, DIRECT, -# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE -# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -# PERFORMANCE OF THIS SOFTWARE. - -# Test adjacent resource sets, my OpenSSL code says we're doing bad things with them - -import rpki.resource_set - -r1 = rpki.resource_set.resource_set_ipv4("10.2.0.0/16") -r2 = rpki.resource_set.resource_set_ipv4("10.3.0.0/16") - -u = r1.union(r2) - -print r1 -print r2 -print u -- cgit v1.2.3