Commit aeb46be8 authored by Jonathon Duerig's avatar Jonathon Duerig

Add example rspec allocating a pool to the test scripts

parent 36111fe7
......@@ -41,7 +41,7 @@ ACCEPTSLICENAME=1
debug = 0
impotent = 0
dokeys = 1
dokeys = 0
execfile( "test-common.py" )
......@@ -104,9 +104,11 @@ if dokeys:
params["impotent"] = impotent
rval,response = do_method_retry("cm", "CreateSliver", params)
if rval:
print rval, response
Fatal("Could not create sliver")
pass
sliver,manifest = response["value"]
print rval, response
print "Created the sliver"
#print str(manifest)
<?xml version="1.0" encoding="UTF-8"?>
<rspec xmlns="http://www.protogeni.net/resources/rspec/2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1"
xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 http://www.protogeni.net/resources/rspec/2/request.xsd"
type="request" >
<emulab:routable_pool client_id="foo" count="2" type="any" />
<node client_id="my-node"
exclusive="true">
<sliver_type name="raw-pc" />
</node>
</rspec>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment