Changeset ecca6eb for fedd/federation/experiment_control.py
- Timestamp:
- Sep 3, 2009 6:51:50 PM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-2.00, version-3.01, version-3.02
- Children:
- f5ae004
- Parents:
- 66861a2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/experiment_control.py
r66861a2 recca6eb 2151 2151 self.caller = caller 2152 2152 2153 def __call__(self, uri, aid, topo, attrs=None):2153 def __call__(self, uri, aid, topo, master, attrs=None): 2154 2154 req = { 2155 2155 'allocID': { 'fedid' : aid }, … … 2157 2157 'topdldescription': topo.to_dict(), 2158 2158 }, 2159 'master': master, 2159 2160 } 2160 2161 if attrs: … … 2204 2205 trusted_certs=self.trusted_certs, 2205 2206 caller=self.call_StartSegment), 2206 args=(uri, aid, topo[tb], attrs), name=tb,2207 args=(uri, aid, topo[tb], False, attrs), name=tb, 2207 2208 pdata=thread_pool, trace_file=self.trace_file) 2208 2209 threads.append(t) … … 2231 2232 trusted_certs=self.trusted_certs, 2232 2233 caller=self.call_StartSegment) 2233 if not starter(uri, aid, topo[master], attrs):2234 if not starter(uri, aid, topo[master], True, attrs): 2234 2235 failed.append(master) 2235 2236 … … 2668 2669 "/usr/local/federation/bin"), 2669 2670 ('active', "%s" % active), 2670 (' type', 'both'),2671 ('startup', 'sudo -H /usr/local/federation/bin/fed-tun.pl -f /proj/%s/exp/%s/tmp/%s %s.gw.conf >& /tmp/bridge.log' % (sproject, eid, myname.lower(), sdomain.lower())))2671 ('portal_type', 'both'), 2672 ('startup', 'sudo -H /usr/local/federation/bin/fed-tun.pl -f /proj/%s/exp/%s/tmp/%s.%s.%s%s.gw.conf >& /tmp/bridge.log' % (sproject, eid, myname.lower(), eid.lower(), sproject.lower(), sdomain.lower()))) 2672 2673 ], 2673 2674 interface=[ … … 2836 2837 (url_base, expid) 2837 2838 }, 2839 { 2840 'attribute': 'experiment_name', 2841 'value': eid, 2842 }, 2838 2843 ] 2839 2844
Note: See TracChangeset
for help on using the changeset viewer.