Commit 233f6d51 authored by Robert Ricci's avatar Robert Ricci

Update one example to use the new docstring-based tour

parent 45dcb20f
"""
An example of constructing a profile with a single raw PC.
"""
# Import the Portal object.
import geni.portal as portal
# Import the ProtoGENI library.
......@@ -15,10 +19,5 @@ rspec = pg.Request()
node = pg.RawPC("node")
rspec.addResource(node)
# Create a profile description, and add it to the RSpec.
tour = ext.Tour()
tour.Description( ext.Tour.TEXT, "An example of constructing a profile with a single raw PC." )
rspec.addTour( tour )
# Print the RSpec to the enclosing page.
pc.printRequestRSpec(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