source: trunk/RSpecExamples/protogeni-2vm.rspec @ 1638

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

adding example RSpecs for Niky

  • Property svn:executable set to *
File size: 1.4 KB
RevLine 
[1583]1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3This rspec will reserve two VMs on shared OpenFlow VLAN 1750
4at the PG Utah site.
5
6AM: http://www.emulab.net/protogeni/xmlrpc/am/2.0
7-->
8<rspec type="request"
9        xmlns="http://www.geni.net/resources/rspec/3"
10        xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1"
11        xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1"
12        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
13        xsi:schemaLocation="http://www.geni.net/resources/rspec/3
14        http://www.geni.net/resources/rspec/3/request.xsd"> 
15
16  <node client_id="host1" exclusive="false">
17    <sliver_type name="emulab-openvz" />
18      <interface client_id="host1:if0" />
19      <interface client_id="host1:if1" />
20  </node>
21
22  <node client_id="host2" exclusive="false">
23    <sliver_type name="emulab-openvz" />
24      <interface client_id="host2:if0" />
25      <interface client_id="host2:if1" />
26  </node>
27
28  <link client_id="host1-and-host2-0">
29    <interface_ref client_id="host1:if0"/>
30    <interface_ref client_id="host2:if0"/>
31    <property source_id="host1:if0" dest_id="host2:if0"/>
32    <property source_id="host2:if0" dest_id="host1:if0"/>
33  </link>
34
35  <link client_id="host1-and-host2-1">
36    <interface_ref client_id="host1:if1"/>
37    <interface_ref client_id="host2:if1"/>
38    <property source_id="host1:if1" dest_id="host2:if1"/>
39    <property source_id="host2:if1" dest_id="host1:if1"/>
40  </link>
41</rspec>
Note: See TracBrowser for help on using the repository browser.