Changeset 05c41f5 for fedd/federation/proxy_emulab_segment.py
- Timestamp:
- Oct 7, 2011 5:29:41 PM (13 years ago)
- Branches:
- compt_changes, info-ops, master
- Children:
- 58e5a4f
- Parents:
- 743a102
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/proxy_emulab_segment.py
r743a102 r05c41f5 330 330 proxy_segment.__init__(self, log=log, keyfile=keyfile, debug=debug) 331 331 332 def __call__(self, parent, user, pid, eid, gid=None ):332 def __call__(self, parent, user, pid, eid, gid=None, terminate=False): 333 333 """ 334 334 Stop a sub experiment by calling swapexp on the federant … … 343 343 rv = self.ssh_cmd(user, host, 344 344 "/usr/testbed/bin/swapexp -w %s %s out" % (pid, eid)) 345 if terminate: 346 rv = self.ssh_cmd(user, host, 347 "/usr/testbed/bin/endexp -w %s %s" % (pid, eid)) 345 348 except self.ssh_cmd_timeout: 346 349 rv = False
Note: See TracChangeset
for help on using the changeset viewer.