From: Faiyaz Ahmed Date: Thu, 8 Jan 2009 22:06:51 +0000 (+0000) Subject: Initial commmit. X-Git-Tag: sfa-0.9-0@14641~756 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8f6a0a77f9979024110c3f916df56389815a4219;p=sfa.git Initial commmit. --- diff --git a/cmdline/testUser.sh b/cmdline/testUser.sh index 59b909c7..f1aa80a1 100755 --- a/cmdline/testUser.sh +++ b/cmdline/testUser.sh @@ -6,7 +6,7 @@ # The following lines use a test account. The account has a first name of "test" # and a last name of "account". The private key should be in the file test.pkey -USERNAME=test +USERNAME=${USERNAME-`whoami`} PARENT_HRN=planetlab.us.pl USER_HRN=$PARENT_HRN.account_test @@ -18,9 +18,9 @@ USER_HRN=$PARENT_HRN.account_test # The following lines use Tony Mack's planetlab account on a live PLC # database (tony: copy your private key to tmack.pkey in the current directory) -USERNAME=tmack -PARENT_HRN=planetlab.us.princeton -USER_HRN=$PARENT_HRN.Mack_Tony +#USERNAME=tmack +#PARENT_HRN=planetlab.us.princeton +#USER_HRN=$PARENT_HRN.Mack_Tony PRIVKEY_FN=$USERNAME.pkey CRED_FN=$USERNAME.cred diff --git a/rspec/planetlab.xsd b/rspec/planetlab.xsd new file mode 100644 index 00000000..6be14cbf --- /dev/null +++ b/rspec/planetlab.xsd @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/rspec/rspecvalidate.py b/rspec/rspecvalidate.py new file mode 100644 index 00000000..8a0a4887 --- /dev/null +++ b/rspec/rspecvalidate.py @@ -0,0 +1,19 @@ +#!/usr/bin/python + +# $HeadURL$ +# $Id$ + +# +# Validate RSPEC hiearchy, values, types, and names using supplied xsd. +# +# Faiyaz Ahmed +# +# Copyright 2009 Princeton University +# http://www.planet-lab.org +# + +import sys +from xml.dom import minidom + + +# parse