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
cb51455d
Commit
cb51455d
authored
Jan 21, 2010
by
Leigh B. Stoller
Browse files
Shots before the ceasefire
parent
ee9ad0c8
Changes
3
Hide whitespace changes
Inline
Side-by-side
protogeni/test/fwtest.rspec
0 → 100644
View file @
cb51455d
<rspec xmlns="http://protogeni.net/resources/rspec/0.1">
<node virtual_id="geni1"
virtualization_type="emulab-vnode"
exclusive="1">
</node>
<needsfirewall>1</needsfirewall>
</rspec>
protogeni/test/jailtun.rspec
0 → 100644
View file @
cb51455d
<rspec xmlns="http://protogeni.net/resources/rspec/0.1">
<node virtual_id="geni1"
virtualization_type="emulab-vnode"
virtualization_subtype="emulab-openvz"
exclusive="0">
<interface virtual_id="virt0"/>
</node>
<node virtual_id="geni2"
virtualization_type="emulab-vnode"
virtualization_subtype="emulab-openvz"
exclusive="0">
<interface virtual_id="virt0"/>
</node>
<link virtual_id="link0">
<interface_ref
virtual_interface_id="virt0"
virtual_node_id="geni1"
/>
<interface_ref
virtual_interface_id="virt0"
virtual_node_id="geni2"
/>
</link>
<link virtual_id="link1" link_type="tunnel">
<interface_ref virtual_node_id="geni1"
virtual_interface_id="virt1"
tunnel_ip="192.168.1.1"
/>
<interface_ref virtual_node_id="geni2"
virtual_interface_id="virt1"
tunnel_ip="192.168.1.2"
/>
</link
</rspec>
protogeni/test/listusage.py
0 → 100755
View file @
cb51455d
#! /usr/bin/env python
#
# GENIPUBLIC-COPYRIGHT
# Copyright (c) 2008-2009 University of Utah and the Flux Group.
# All rights reserved.
#
# Permission to use, copy, modify and distribute this software is hereby
# granted provided that (1) source code retains these copyright, permission,
# and disclaimer notices, and (2) redistributions including binaries
# reproduce the notices in supporting documentation.
#
# THE UNIVERSITY OF UTAH ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
# CONDITION. THE UNIVERSITY OF UTAH DISCLAIMS ANY LIABILITY OF ANY KIND
# FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
#
#
#
import
sys
import
pwd
import
getopt
import
os
import
re
import
xmlrpclib
from
M2Crypto
import
X509
execfile
(
"test-common.py"
)
#
# Get a credential for myself, that allows me to do things at the SA.
#
mycredential
=
get_self_credential
()
#
# Ask manager for its list.
#
params
=
{}
params
[
"credential"
]
=
mycredential
rval
,
response
=
do_method
(
"cm"
,
"ListUsage"
,
params
)
if
rval
:
Fatal
(
"Could not get a list of resources"
)
pass
print
response
[
"value"
]
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