= ProtoGENI Test Tools Evaluation = The ProtoGENI Test Scripts are a suite of command line tools that can be used as a user interface to control ProtoGENI facilities. Package evaluated was found at the [http://www.protogeni.net/trac/protogeni/wiki/TestScripts Test Scritps] page and using instructions from the page a tarball was downloaded from [http://www.emulab.net/downloads/protogeni-tests.tar.gz here]. ProtoGENI Test Scripts Time frame: This evaluation took place June 3-7, 2010. = ProtoGENI Findings = The PGTools work is a port of the Emulab tools to ProtoGENI APIs as a backend and are found in the protogeni/test directory of the Emulab source distribution. and also in the Emulab OPS node. The tutorial is very helpful and is a must for anyone starting to us these tools. No meaningful issues were found during this evaluation. = ProtoGENI Test Tools How-to = '''ProtoGENI Test Scripts Hot-to''' Must follow the very detailed setup instructions at the [http://www.protogeni.net/trac/protogeni/wiki/Tutorial#GettingReady ProtoGENI tutorial] Page. The list below is a summary of the actions that are required setup to use PGTools. Details can be found in the tutorial: {{{ 1. Get an account by sending email request to testbed-ops@flux.utah.edu 2. Join an existing project 3. Generate SSL certificate 4. Generate and updaload SSH keys }}} You are now ready to use the test tools provided for ProtoGENI. Slice was created using this very simple three node rspec registered a slice: {{{ lnevers@riva:~/protogeni-tests$ ./registerslice.py -n ln_slice_pgt Got my SA credential No such slice registered here:Creating new slice called ln_slice_pgt New slice created: urn:publicid:IDN+emulab.net+slice+ln_slice_pgt }}} and created a sliver: {{{ lnevers@riva:~/protogeni-tests$ ./createsliver.py -n ln_slice_pgt 3node.xml Got my SA credential Asking for slice credential for ln_slice_pgt Got the slice credential Creating the Sliver ... Created the sliver }}} Checked the status for the newly created sliver: {{{ lnevers@riva:~/protogeni-tests$ ./sliverstatus.py -n ln_slice_pgt Got my SA credential. Looking for slice ... Found the slice, asking for a credential ... Got the slice credential, asking for a sliver credential ... Got the sliver credential, asking for sliver status {'status': 'ready', 'state': 'started', 'details': {'urn:publicid:IDN+emulab.net+sliver+12127': {'status': 'ready', 'state': 'started', 'component_urn': 'urn:publicid:IDN+emulab.net+node+pc321', 'error': ''}, 'urn:publicid:IDN+emulab.net+sliver+12129': {'status': 'ready', 'state': 'started', 'component_urn': 'urn:publicid:IDN+emulab.net+node+pc354', 'error': ''}, 'urn:publicid:IDN+emulab.net+sliver+12128': {'status': 'ready', 'state': 'started', 'component_urn': 'urn:publicid:IDN+emulab.net+node+pc217', 'error': ''}}} }}} Renew Slice: {{{ $ ./renewsliver.py -n ln_slice_pgt 43200 Got my SA credential Found the slice, asking for a credential ... Got the slice credential, renewing the slice at the SA ... Renewed the slice, asking for slice credential again Got the slice credential, renewing the sliver Sliver has been renewed until 20100801T12:36:52 }}} Example on how to set up a tunnel between Utah and Kentucky emulab sites: {{{ lnevers@riva:~/protogeni-tests$ ./tuntest.py -n ln_slice_pgt ukgeni utahemulab }}}