source: trunk/RSpecExamples/instageni-4vm-at-utah.rspec @ 1583

Last change on this file since 1583 was 1583, checked in by lnevers@bbn.com, 12 years ago

adding example RSpecs for Niky

  • Property svn:executable set to *
File size: 1.9 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3This example RSpec shows how to request 4 VMs from the
4Utah InstaGENI Rack.
5-->
6
7<rspec type="request"
8        xmlns="http://www.geni.net/resources/rspec/3"
9        xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1"
10        xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1"
11        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
12        xsi:schemaLocation="http://www.geni.net/resources/rspec/3
13        http://www.geni.net/resources/rspec/3/request.xsd"> 
14
15  <node client_id="VM-1" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false">
16    <sliver_type name="emulab-openvz"/>
17    <interface client_id="VM-1:if0">
18      <ip address="192.168.1.1" netmask="255.255.255.0" type="ipv4"/>
19    </interface>
20  </node>
21  <node client_id="VM-2" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false">
22    <sliver_type name="emulab-openvz"/>
23    <interface client_id="VM-2:if0">
24      <ip address="192.168.1.2" netmask="255.255.255.0" type="ipv4"/>
25    </interface>
26  </node>
27  <node client_id="VM-3" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false">
28    <sliver_type name="emulab-openvz"/>
29    <interface client_id="VM-3:if0">
30      <ip address="192.168.1.3" netmask="255.255.255.0" type="ipv4"/>
31    </interface>
32  </node>
33  <node client_id="VM-4" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false">
34    <sliver_type name="emulab-openvz"/>
35    <interface client_id="VM-4:if0">
36      <ip address="192.168.1.4" netmask="255.255.255.0" type="ipv4"/>
37    </interface>
38  </node>
39  <link client_id="lan0">
40    <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/>
41    <interface_ref client_id="VM-1:if0"/>
42    <interface_ref client_id="VM-2:if0"/>
43    <interface_ref client_id="VM-3:if0"/>
44    <interface_ref client_id="VM-4:if0"/>
45    <link_type name="lan"/>
46  </link>
47</rspec>
Note: See TracBrowser for help on using the repository browser.