X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=cmdline%2FtestSA.sh;h=8cdb7cdc18eefcfa53e4c9f32d0c699873f28efc;hb=08921bdd47322f073db0cab05dba5229846acfe2;hp=1ebd96fd025ccb25b602a2a02c70ec551feae383;hpb=5277e1135bdb2041856118412f089d76833bc0a3;p=sfa.git diff --git a/cmdline/testSA.sh b/cmdline/testSA.sh index 1ebd96fd..8cdb7cdc 100755 --- a/cmdline/testSA.sh +++ b/cmdline/testSA.sh @@ -24,7 +24,6 @@ echo XXXXX ------------------------------------------------------------------- echo XXXXX Create a private key python ./genicli.py --username testkey createKey - echo XXXXX ------------------------------------------------------------------- echo XXXXX Create a GID for a user python ./genicli.py --username root --credfile rootsa.cred --outfile testuser.gid createGid planetlab.us.pl.testuser None testkey.pkey @@ -33,6 +32,10 @@ echo XXXXX ------------------------------------------------------------------- echo XXXXX Create a GID for a slice python ./genicli.py --username root --credfile rootsa.cred --outfile testslice.gid createGid planetlab.us.pl.testslice1 None testkey.pkey +echo XXXXX ------------------------------------------------------------------- +echo XXXXX Create a GID for a node +python ./genicli.py --username root --credfile rootsa.cred --outfile testnode.gid createGid planetlab.us.pl.testnode1 None testkey.pkey + echo XXXXX ------------------------------------------------------------------- echo XXXXX Register a user python ./genicli.py --username root --credfile rootsa.cred --email test1234@test.com register user planetlab.us.pl.testuser testuser.gid @@ -43,9 +46,28 @@ python ./genicli.py --username root --credfile rootsa.cred resolve planetlab.us. echo XXXXX ------------------------------------------------------------------- echo XXXXX Register a slice -python ./genicli.py --username root --credfile rootsa.cred --email test1234@test.com register slice planetlab.us.pl.testslice1 testslice.gid +python ./genicli.py --username root --credfile rootsa.cred register slice planetlab.us.pl.testslice1 testslice.gid + +echo XXXXX ------------------------------------------------------------------- +echo XXXXX Resolve the test node +python ./genicli.py --username root --credfile rootsa.cred resolve planetlab.us.pl.testslice1 + +echo XXXXX ------------------------------------------------------------------- +echo XXXXX Register a node +python ./genicli.py --username root --credfile rootsa.cred --ip 198.0.0.133 --dns testnode1.lan register node planetlab.us.pl.testnode1 testnode.gid + +echo XXXXX ------------------------------------------------------------------- +echo XXXXX Resolve the test node +python ./genicli.py --username root --credfile rootsa.cred resolve planetlab.us.pl.testnode1 + +echo XXXXX ------------------------------------------------------------------- +echo XXXXX Remove the test node +python ./genicli.py --username root --credfile rootsa.cred remove node planetlab.us.pl.testnode1 + +echo XXXXX ------------------------------------------------------------------- +echo XXXXX Remove the test slice +python ./genicli.py --username root --credfile rootsa.cred remove slice planetlab.us.pl.testslice1 echo XXXXX ------------------------------------------------------------------- echo XXXXX Remove a user -python ./genicli.py --username root --credfile rootsa.cred remove user planet\ -lab.us.pl.testuser +python ./genicli.py --username root --credfile rootsa.cred remove user planetlab.us.pl.testuser