aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2007-12-24 07:41:48 +0000
committerRob Austein <sra@hactrn.net>2007-12-24 07:41:48 +0000
commit9bd1ce773943b587f83c91c77de7e379df421c63 (patch)
treeabc8b11e74643ee86b7728d9e0da29bd1c407654 /scripts
parent0b9d273ed65a77d480f789ab77107e73af55fd1c (diff)
Usage
svn path=/scripts/testbed.py; revision=1438
Diffstat (limited to 'scripts')
-rw-r--r--scripts/testbed.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/testbed.py b/scripts/testbed.py
index 67d60fa3..06daed15 100644
--- a/scripts/testbed.py
+++ b/scripts/testbed.py
@@ -1,5 +1,22 @@
# $Id$
+"""
+Test framework to configure and drive a collection of rpkid.py and
+irdbd.py instances under control of a master script.
+
+Usage: python rpkid.py [ { -c | --config } config_file ]
+ [ { -h | --help } ]
+ [ { -y | --yaml } yaml_script ]
+
+Default configuration file is testbed.conf, override with --config option.
+
+yaml_script is a YAML file describing the tests to be run, and is
+intended to be implementation agnostic.
+
+config_file contains settings for various implementation-specific
+things that don't belong in yaml_script.
+"""
+
import os, yaml, MySQLdb, subprocess, signal, time, datetime, re, getopt, sys
import rpki.resource_set, rpki.sundial, rpki.x509, rpki.https, rpki.log, rpki.left_right, rpki.config