Changeset a398ec9
- Timestamp:
- Nov 23, 2008 5:14:31 PM (16 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
- Children:
- c35207d
- Parents:
- 1653a08
- Location:
- fedd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/fedd_access.py
r1653a08 ra398ec9 38 38 class parse_error(RuntimeError): pass 39 39 40 bool_attrs = ("dynamic_projects", "project_priority" )40 bool_attrs = ("dynamic_projects", "project_priority", "allow_proxy") 41 41 emulab_attrs = ("boss", "ops", "domain", "fileserver", "eventserver") 42 42 id_attrs = ("testbed", "proxy", … … 686 686 return resp 687 687 else: 688 resp = self.proxy_RequestAccess.call_service(dt, req, 689 self.proxy_cert_file, self.proxy_cert_pwd, 690 self.proxy_trusted_certs) 691 if resp.has_key('RequestAccessResponseBody'): 692 return resp['RequestAccessResponseBody'] 693 else: 694 return None 688 if self.allow_proxy: 689 resp = self.proxy_RequestAccess.call_service(dt, req, 690 self.proxy_cert_file, self.proxy_cert_pwd, 691 self.proxy_trusted_certs) 692 if resp.has_key('RequestAccessResponseBody'): 693 return resp['RequestAccessResponseBody'] 694 else: 695 return None 696 else: 697 raise service_error(service_error.access, 698 "Access proxying denied") 695 699 696 700 def ReleaseAccess(self, req, fid): -
fedd/fedd_client.py
r1653a08 ra398ec9 151 151 callback=add_node_callback, callback_args=(node_descs,), 152 152 help="Node description: image:hardware[:count]") 153 self.add_option("-p", "--project", action="store", dest="project",154 type="string",155 help="Use a project request with this project name")156 153 self.add_option("-t", "--testbed", action="store", dest="testbed", 157 154 type="string",
Note: See TracChangeset
for help on using the changeset viewer.