[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3053: Implement server-side support for IFoolscapStoragePlugin

Tahoe-LAFS trac at tahoe-lafs.org
Fri Jun 14 14:14:02 UTC 2019


#3053: Implement server-side support for IFoolscapStoragePlugin
------------------------------+---------------------------------------
     Reporter:  exarkun       |      Owner:  exarkun
         Type:  defect        |     Status:  assigned
     Priority:  normal        |  Milestone:  storage economics plugins
    Component:  code-network  |    Version:  n/a
   Resolution:                |   Keywords:
Launchpad Bug:                |
------------------------------+---------------------------------------

Comment (by exarkun):

 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.

 {{{
 [storage]
 plugins=
     anonymous-storage-v1
     privatestorage-secure-access-token-v1
 }}}

 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:

 {{{
 [storageserver.plugins.anonymous-storage-v1]
 readonly = False
 reserved_space = 12345
 ...

 [storageserver.plugins.privatestorage-secure-access-token-v1]
 public_key = ...
 ...
 }}}

 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.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3053#comment:2>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list