def __init__(self, mountdir='/mnt'): """ ctor @param mountdir : the parent directory name for rozofs mount points """ Agent.__init__(self, ROZOFSMOUNT_MANAGER) self._mountdir = mountdir
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())
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())
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())
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())