Changeset e252e5d
- Timestamp:
- Sep 9, 2011 1:59:08 PM (13 years ago)
- Branches:
- compt_changes, info-ops, master
- Children:
- a3bbb4a
- Parents:
- f585453 (diff), 355b17e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Files:
-
- 27 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/Makefile
r355b17e re252e5d 14 14 WSDL_FILES= ../wsdl/fedd.wsdl ../wsdl/fedd_types.xsd ../wsdl/fedd_internal.wsdl ../wsdl/topdl.xsd 15 15 16 VERSION=3.2 016 VERSION=3.21b 17 17 18 18 DISTFILES= dist/fedd-${VERSION}.tar.gz -
fedd/federation/emulab_segment.py
r355b17e re252e5d 45 45 except socket_error, e: 46 46 raise service_error(service_error.connect, 47 "Cannot connect to %s: %s" % (url, e[1]))47 "Cannot connect" % e) 48 48 raise e 49 49 except BIOError, e: 50 50 if self.log: 51 self.log.warn("BIO error contacting %s: %s" % (url, e))51 self.log.warn("BIO error: %s" % e) 52 52 raise e 53 53 except sslerror, e: 54 54 if self.log: 55 self.log.warn("SSL (socket) error contacting %s: %s" % 56 (url, e)) 55 self.log.warn("SSL (socket) error: %s" % e) 57 56 raise e 58 57 except SSLError, e: 59 58 if self.log: 60 self.log.warn("SSL error contacting %s: %s" % (url, e))59 self.log.warn("SSL error: %s" % e) 61 60 raise e 62 61 except httplib.HTTPException, e: 63 62 if self.log: 64 self.log.warn("HTTP error contacting %s: %s" % (url, e))63 self.log.warn("HTTP error: %s" % e) 65 64 raise e 66 65 except Fault, f: 67 raise service_error(f.faultCode, f.faultString) 66 raise service_error(service_error.protocol, 67 "Remote XMLRPC Fault: %s" % f) 68 68 except Error, e: 69 69 raise service_error(service_error.protocol, -
fedd/federation/experiment_control.py
r355b17e re252e5d 1247 1247 "More than one project export is not supported") 1248 1248 1249 def add_services(svcs, type, slist ):1249 def add_services(svcs, type, slist, keys): 1250 1250 """ 1251 Add the given services to slist. type is import or export. 1251 Add the given services to slist. type is import or export. Also 1252 add a mapping entry from the assigned id to the original service 1253 record. 1252 1254 """ 1253 1255 for i, s in enumerate(svcs): 1254 1256 idx = '%s%d' % (type, i) 1257 keys[idx] = s 1255 1258 sr = {'id': idx, 'name': s.name, 'visibility': type } 1256 1259 if s.params: … … 1294 1297 if import_svcs or export_svcs: 1295 1298 slist = [] 1296 add_services(import_svcs, 'import', slist )1297 add_services(export_svcs, 'export', slist )1299 add_services(import_svcs, 'import', slist, e_keys) 1300 add_services(export_svcs, 'export', slist, e_keys) 1298 1301 req['service'] = slist 1299 1302 -
fedd/federation/thread_pool.py
r355b17e re252e5d 3 3 import logging 4 4 import time 5 import sys 6 import traceback 7 5 8 from threading import Lock, Thread, Condition 6 9 from service_error import service_error -
fedd/setup.py
r355b17e re252e5d 4 4 5 5 setup(name='fedd', 6 version='3.2 0',6 version='3.21b', 7 7 description='DETER Federation daemon', 8 8 author='Ted Faber',
Note: See TracChangeset
for help on using the changeset viewer.