Changeset 5ecb9a3 for fedd/federation/experiment_control_legacy.py
- Timestamp:
- Dec 6, 2010 1:56:04 PM (13 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master
- Children:
- cf0ff4f
- Parents:
- d31a171
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/experiment_control_legacy.py
rd31a171 r5ecb9a3 48 48 """ 49 49 50 def get_legacy_access(self, tb, tbparam, access_user, masters, tbmap): 50 def get_legacy_access(self, tb, tbparam, fid, masters, tbmap, expid=None, 51 expcert=None): 51 52 """ 52 53 Get access to testbed through fedd and set the parameters for that tb … … 67 68 raise service_error(service_error.req, 68 69 "More than one project export is not supported") 70 71 try: 72 access_user = self.accessdb[fid] 73 except KeyError: 74 raise service_error(service_error.internal, 75 "Access map and authorizer out of sync in " + \ 76 "create_experiment for fedid %s" % fid) 69 77 70 78 uri = tbmap.get(testbed_base(tb), None) … … 187 195 188 196 189 def get_legacy_access_to_testbeds(self, testbeds, access_user, allocated,190 tbparams, masters, tbmap):191 """192 Request access to the various testbeds required for this instantiation193 (passed in as testbeds). User, access_user, expoert_project and master194 are used to construct the correct requests. Per-testbed parameters are195 returned in tbparams.196 """197 for tb in testbeds:198 self.get_access(tb, tbparams, access_user, masters, tbmap)199 allocated[tb] = 1200
Note: See TracChangeset
for help on using the changeset viewer.