Changeset a452f3c for fedd/federation
- Timestamp:
- Jun 30, 2010 10:25:53 AM (14 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- 1c59925
- Parents:
- 132440f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/protogeni_access.py
r132440f ra452f3c 936 936 slice_cred = segment_commands.pg_call(self.sa_url, 'Register', 937 937 param, ctxt) 938 f = open("./slice_cred", "w")939 print >>f, slice_cred940 f.close()938 #f = open("./slice_cred", "w") 939 #print >>f, slice_cred 940 #f.close() 941 941 # Populate the ssh keys (let PG format them) 942 942 param = { … … 952 952 ticket = segment_commands.pg_call(self.cm_url, 'GetTicket', param, 953 953 ctxt) 954 f = open("./ticket", "w")955 print >>f, ticket956 f.close()954 #f = open("./ticket", "w") 955 #print >>f, ticket 956 #f.close() 957 957 param = { 958 958 'credential': slice_cred, … … 962 962 sliver_cred, manifest = segment_commands.pg_call(self.cm_url, 963 963 'RedeemTicket', param, ctxt) 964 f = open("./sliver_cred", "w")965 print >>f, sliver_cred966 f.close()967 f = open("./manifest", "w")968 print >>f, manifest969 f.close()964 #f = open("./sliver_cred", "w") 965 #print >>f, sliver_cred 966 #f.close() 967 #f = open("./manifest", "w") 968 #print >>f, manifest 969 #f.close() 970 970 # start 'em up 971 971 param = { … … 1443 1443 new_scred = segment_commands.pg_call(self.sa_url, 'GetCredential', 1444 1444 param, ctxt) 1445 f = open('./new_slice_cred', 'w')1446 print >>f, new_scred1447 f.close()1445 #f = open('./new_slice_cred', 'w') 1446 #print >>f, new_scred 1447 #f.close() 1448 1448 1449 1449 except segment_commands.ProtoGENIError, e:
Note: See TracChangeset
for help on using the changeset viewer.