git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove dependency of Config module from TrustedRoots class
[sfa.git]
/
sfa
/
util
/
config.py
diff --git
a/sfa/util/config.py
b/sfa/util/config.py
index
d58243e
..
b6c62c0
100644
(file)
--- a/
sfa/util/config.py
+++ b/
sfa/util/config.py
@@
-41,6
+41,9
@@
class Config:
except IOError, e:
raise IOError, "Could not find the configuration file: %s" % config_file
except IOError, e:
raise IOError, "Could not find the configuration file: %s" % config_file
+ def get_trustedroots_dir(self):
+ return self.config_path + os.sep + 'trusted_roots'
+
def get_openflow_aggrMgr_info(self):
aggr_mgr_ip = 'localhost'
if (hasattr(self,'OPENFLOW_AGGREGATE_MANAGER_IP')):
def get_openflow_aggrMgr_info(self):
aggr_mgr_ip = 'localhost'
if (hasattr(self,'OPENFLOW_AGGREGATE_MANAGER_IP')):