Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
bc82c1a5
Commit
bc82c1a5
authored
Jul 11, 2011
by
Jonathon Duerig
Browse files
Added miscellaneous example/test rspecs for rspecv2
parent
9a050779
Changes
5
Hide whitespace changes
Inline
Side-by-side
protogeni/test/bound-type-v2.rspec
0 → 100644
View file @
bc82c1a5
<?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>
protogeni/test/shaped-v2.rspec
0 → 100644
View file @
bc82c1a5
<?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>
protogeni/test/shared-v2.rspec
0 → 100644
View file @
bc82c1a5
<?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>
protogeni/test/sharedlink-v2.rspec
0 → 100644
View file @
bc82c1a5
<?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>
protogeni/test/tuntest-v2.rspec
0 → 100644
View file @
bc82c1a5
<?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>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment