Commit cb51455d authored by Leigh B. Stoller's avatar Leigh B. Stoller

Shots before the ceasefire

parent ee9ad0c8
<rspec xmlns="http://protogeni.net/resources/rspec/0.1">
<node virtual_id="geni1"
virtualization_type="emulab-vnode"
exclusive="1">
</node>
<needsfirewall>1</needsfirewall>
</rspec>
<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>
#! /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" ]
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