git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9879192
)
remove hardcoded variable name
author
Tony Mack
<tmack@cs.princeton.edu>
Mon, 14 Sep 2009 16:15:19 +0000
(16:15 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Mon, 14 Sep 2009 16:15:19 +0000
(16:15 +0000)
PLC/SFA.py
patch
|
blob
|
history
diff --git
a/PLC/SFA.py
b/PLC/SFA.py
index
8e20359
..
edff676
100644
(file)
--- a/
PLC/SFA.py
+++ b/
PLC/SFA.py
@@
-51,8
+51,8
@@
class SFA:
url = 'http://%s:%s/' %(config.SFA_REGISTRY_HOST, config.SFA_REGISTRY_PORT)
self.registry = GeniClient(url, key_file, cert_file)
#self.sfa_api = GeniAPI(key_file = key_file, cert_file = cert_file)
url = 'http://%s:%s/' %(config.SFA_REGISTRY_HOST, config.SFA_REGISTRY_PORT)
self.registry = GeniClient(url, key_file, cert_file)
#self.sfa_api = GeniAPI(key_file = key_file, cert_file = cert_file)
- #self.credential = self.sfa_api.getCredential()
- cred_file = '/etc/sfa/slicemgr.
plc
.authority.cred'
+ #self.credential = self.sfa_api.getCredential()
+ cred_file = '/etc/sfa/slicemgr.
' + self.authority + '
.authority.cred'
self.credential = Credential(filename = cred_file)
def get_login_base(self, site_id):
self.credential = Credential(filename = cred_file)
def get_login_base(self, site_id):