Changeset 05c41f5 for fedd/federation/local_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/local_emulab_segment.py
r743a102 r05c41f5 103 103 emulab_segment.__init__(self, boss=boss, cert=cert) 104 104 105 def __call__(self, parent, user, pid, eid, gid=None ):105 def __call__(self, parent, user, pid, eid, gid=None, terminate=False): 106 106 """ 107 107 Stop a sub experiment by calling swapexp on the federant … … 114 114 self.cmd_with_timeout("rm -rf /proj/%s/software/%s" % (pid, eid)) 115 115 rv = self.swap_exp(pid, eid, 'out') 116 if terminate: 117 rv = self.terminate_exp(pid, eid) 116 118 except self.cmd_timeout: 117 119 rv = False
Note: See TracChangeset
for help on using the changeset viewer.