| 7 | |
| 8 | = Example RSpec = |
| 9 | |
| 10 | * This example shows how to use the disk_image element to load the Storage Depot image on an ExoGENI PC resource. Note that a 'version' string is used in the ExoGENI case. This string is the sha1 hash of the XML descriptor, and hashes for each image descriptor are available in the web directory of each image URL. |
| 11 | |
| 12 | {{{ |
| 13 | <?xml version="1.0" encoding="utf-8"?> |
| 14 | <rspec type="request" |
| 15 | xsi:schemaLocation="http://www.geni.net/resources/rspec/3 |
| 16 | http://www.geni.net/resources/rspec/3/request.xsd |
| 17 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 18 | xmlns="http://www.geni.net/resources/rspec/3"> |
| 19 | <node client_id=node0" component_manager_id="urn:publicid:IDN+exogeni.net:bbnvmsite+authority+am" exclusive="false" > |
| 20 | <sliver_type name="m1.large"> |
| 21 | <disk_image name="http://stout.incntre.iu.edu/vm/exogeni/debian/deb7_ibp_server.xml" version="7d3e6e151270d1a4b9ed6330952c7deb1a094796"/> |
| 22 | </sliver_type> |
| 23 | <interface client_id="node0:if0"> |
| 24 | <ip address="172.16.0.1" netmask="255.255.255.0" /> |
| 25 | </interface> |
| 26 | </node> |
| 27 | </rspec> |
| 28 | }}} |