Changeset e83f2f2 for fedd/fedd_ns2topdl.py
- Timestamp:
- Dec 14, 2010 6:58:28 PM (13 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master
- Children:
- c092b7f
- Parents:
- 2627eb3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/fedd_ns2topdl.py
r2627eb3 re83f2f2 4 4 5 5 from federation import topdl 6 from federation.proof import proof 6 7 from federation.remote_service import service_caller 7 8 from federation.client_lib import client_opts, exit_with_fault, RPCException, \ … … 45 46 responseBody="Ns2TopdlResponseBody") 46 47 except RPCException, e: 47 exit_with_fault(e )48 exit_with_fault(e, 'Ns2Topdl', opts) 48 49 except RuntimeError, e: 49 50 sys.exit("Error processing RPC: %s" % e) … … 69 70 else: 70 71 print topdl.topology_to_xml(top, top="experiment") 72 proof = proof.from_dict(resp_dict.get('proof', {})) 73 if proof and opts.auth_log: 74 log_authentication(opts.auth_log, 'New (create)', 'succeeded', proof)
Note: See TracChangeset
for help on using the changeset viewer.