Exemplo n.º 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
Exemplo n.º 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())
Exemplo n.º 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
Exemplo n.º 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())
Exemplo n.º 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())
Exemplo n.º 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())