def _valid_config_sections(): cfg = node._common_config_sections() cfg.update({ "client": ( "helper.furl", "introducer.furl", "key_generator.furl", "mutable.format", "peers.preferred", "shares.happy", "shares.needed", "shares.total", "stats_gatherer.furl", ), "drop_upload": ( # deprecated already? "enabled", ), "ftpd": ( "accounts.file", "accounts.url", "enabled", "port", ), "storage": ( "debug_discard", "enabled", "expire.cutoff_date", "expire.enabled", "expire.immutable", "expire.mode", "expire.mode", "expire.mutable", "expire.override_lease_duration", "readonly", "reserved_space", "storage_dir", ), "sftpd": ( "accounts.file", "accounts.url", "enabled", "host_privkey_file", "host_pubkey_file", "port", ), "helper": ( "enabled", ), "magic_folder": ( "download.umask", "enabled", "local.directory", "poll_interval", ), }) return cfg
def _valid_config_sections(): return node._common_config_sections()