command = ["sfi.py", "-u", self.getUser(), "-a", self.getAuthority(),
"-r", self.registry(), "-s", self.slicemgr(), "show", hrn]
self.trace_command(command)
- text = subprocess.Popen(command, stdout=PIPE).communicate()[0]
+ text = subprocess.Popen(command, stdout=subprocess.PIPE).communicate()[0]
self.trace_end()
return text
command=["sfi.py", "-u", self.getUser(), "-a", self.getAuthority(),
"-r", self.registry(), "-s", self.slicemgr(), "list", hrn]
self.trace_command(command)
- text = subprocess.Popen(command, stdout=PIPE).communicate()[0]
+ text = subprocess.Popen(command, stdout=subprocess.PIPE).communicate()[0]
self.trace_end()
lines = text.split('\n')
for line in lines:
"-r", self.registry(), "-s", self.slicemgr(), "create", slice, filename]
self.trace_command(command)
subprocess.call(command)
- self.trace_en()
+ self.trace_end()
class PlanetLabData(SfaData):
def __init__(self):