Пример #1
0
 def __init__(self, mountdir='/mnt'):
     """
     ctor
     @param mountdir : the parent directory name for rozofs mount points
     """
     Agent.__init__(self, ROZOFSMOUNT_MANAGER)
     self._mountdir = mountdir
Пример #2
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())
Пример #3
0
 def __init__(self, mountdir='/mnt'):
     """
     ctor
     @param mountdir : the parent directory name for rozofs mount points
     """
     Agent.__init__(self, ROZOFSMOUNT_MANAGER)
     self._mountdir = mountdir
Пример #4
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())
Пример #5
0
 def __init__(self, config="%s%s" % (__sysconfdir__, '/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())
Пример #6
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())