mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-18 23:38:18 +00:00
implement the feature
improve the test slightly, too, to verify the configuration supplied to the plugin is as expected.
This commit is contained in:
@ -889,6 +889,16 @@ class _Client(node.Node, pollmixin.PollMixin):
|
||||
ic.publish("storage", announcement, self._node_private_key)
|
||||
|
||||
|
||||
def get_client_storage_plugin_web_resources(self):
|
||||
"""
|
||||
Get all of the client-side ``IResource`` implementations provided by
|
||||
enabled storage plugins.
|
||||
|
||||
:return dict[bytes, IResource provider]: The implementations.
|
||||
"""
|
||||
return self.storage_broker.get_client_storage_plugin_web_resources()
|
||||
|
||||
|
||||
def _enable_storage_servers(self, announceable_storage_servers):
|
||||
"""
|
||||
Register and announce the given storage servers.
|
||||
|
Reference in New Issue
Block a user