Commit bc82c1a5 authored by Jonathon Duerig's avatar Jonathon Duerig

Added miscellaneous example/test rspecs for rspecv2

parent 9a050779
<?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"
xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 http://www.protogeni.net/resources/rspec/2/request.xsd"
type="request" >
<node client_id="my-node"
exclusive="true">
<sliver_type name="raw-pc" />
<hardware_type name="pc850" />
</node>
</rspec>
<?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"
xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2
http://www.protogeni.net/resources/rspec/2/request.xsd"
type="request">
<node client_id="left"
exclusive="true">
<sliver_type name="raw-pc" />
<interface client_id="left:if0" />
</node>
<node client_id="right"
exclusive="true">
<sliver_type name="raw-pc" />
<interface client_id="right:if0" />
</node>
<link client_id="center">
<interface_ref client_id="left:if0" />
<interface_ref client_id="right:if0" />
<!-- capacity is in kbps -->
<!-- latency is in ms -->
<!-- packet_loss is a proportion between 0 and 1 -->
<property source_id="left:if0" dest_id="right:if0" capacity="10000"
latency="20" packet_loss="0.01" />
<property source_id="right:if0" dest_id="left:if0" capacity="2000"
latency="50" packet_loss="0.0" />
</link>
</rspec>
<?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"
xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 http://www.protogeni.net/resources/rspec/2/request.xsd"
type="request" >
<node client_id="my-node"
exclusive="true">
<sliver_type name="emulab-openvz" />
</node>
</rspec>
<?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"
xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2
http://www.protogeni.net/resources/rspec/2/request.xsd"
type="request">
<node client_id="left"
exclusive="false">
<sliver_type name="emulab-openvz" />
<interface client_id="left:if0" />
</node>
<node client_id="right"
exclusive="false">
<sliver_type name="emulab-openvz" />
<interface client_id="right:if0" />
</node>
<link client_id="center">
<interface_ref client_id="left:if0" />
<interface_ref client_id="right:if0" />
</link>
</rspec>
<?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"
xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2
http://www.protogeni.net/resources/rspec/2/request.xsd"
type="request">
<node client_id="left"
exclusive="true">
<sliver_type name="raw-pc" />
<interface client_id="left:if0">
<ip address="192.168.44.3" mask="255.255.255.0" type="ipv4"/>
</interface>
</node>
<node client_id="right"
exclusive="true">
<sliver_type name="raw-pc" />
<interface client_id="right:if0">
<ip address="192.168.44.7" mask="255.255.255.0" type="ipv4"/>
</interface>
</node>
<link client_id="center">
<link_type name="gre-tunnel" />
<interface_ref client_id="left:if0" />
<interface_ref client_id="right:if0" />
</link>
</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