Esempio n. 1
0
 def __init__(self, config='/etc/rozofs/export.conf', daemon='exportd'):
     Agent.__init__(self, EXPORTD_MANAGER)
     self._daemon_manager = DaemonManager(daemon, ["-c", config])
     self._reader = ConfigurationReader(config,
                                        ExportdConfigurationParser())
     self._writer = ConfigurationWriter(config,
                                        ExportdConfigurationParser())
Esempio n. 2
0
 def __init__(self, config="%s%s" % (__sysconfdir__, '/rozofs/storage.conf'), daemon='storaged'):
     Agent.__init__(self, STORAGED_MANAGER)
     self._daemon_manager = DaemonManager(daemon, ["-c", config], 5)
     self._reader = ConfigurationReader(config, StoragedConfigurationParser())
     self._writer = ConfigurationWriter(config, StoragedConfigurationParser())
Esempio n. 3
0
 def __init__(self, config='/etc/rozofs/storage.conf', daemon='storaged'):
     Agent.__init__(self, STORAGED_MANAGER)
     self._daemon_manager = DaemonManager(daemon, ["-c", config], 1)
     self._reader = ConfigurationReader(config, StoragedConfigurationParser())
     self._writer = ConfigurationWriter(config, StoragedConfigurationParser())