Opened at 2019-06-14T13:26:38Z
Closed at 2019-06-27T22:39:29Z
#3053 closed defect (fixed)
Implement server-side support for IFoolscapStoragePlugin
Reported by: | exarkun | Owned by: | exarkun |
---|---|---|---|
Priority: | normal | Milestone: | storage economics plugins |
Component: | code-network | Version: | n/a |
Keywords: | review-needed | Cc: | |
Launchpad Bug: |
Description
See #3049
Make the necessary changes to the storage server implementation so that it can load and use these plugins.
Change History (4)
comment:1 Changed at 2019-06-14T13:26:43Z by exarkun
- Owner set to exarkun
- Status changed from new to assigned
comment:2 Changed at 2019-06-14T14:14:02Z by exarkun
comment:3 Changed at 2019-06-26T19:51:18Z by exarkun
- Keywords review-needed added
comment:4 Changed at 2019-06-27T22:39:29Z by exarkun
- Resolution set to fixed
- Status changed from assigned to closed
Merged into integration/economic-plugins in https://github.com/tahoe-lafs/tahoe-lafs/commit/03d2337ead78684afcfc9a5146eae908afbc6bf4
Note: See
TracTickets for help on using
tickets.
The server needs to be configured with plugins to use. This requires the plugins be installed, of course, but apart from that, there will need to be some new pieces in tahoe.cfg.
Here's an example of one new piece, the server_plugins section.
This means "load plugins with a name matching anonymous-storage-v1 or privatestorage-secure-access-token-v1".
This further enables up to two new config sections:
The contents of these sections provide the value for configuration as passed to IFoolscapStoragePlugin.get_storage_server. They allow for (perhaps obviously) configuration of each storage server plugin.