component.xml 1.92 KB
Newer Older
Aurel's avatar
Aurel committed
1
<component prefix="neo.client.config">
Aurel's avatar
Aurel committed
2
  <sectiontype name="NeoStorage" datatype=".NeoStorage"
Aurel's avatar
Aurel committed
3
               implements="ZODB.storage">
4 5 6 7
    <description>
      A scalable storage for Zope
    </description>
    <key name="master_nodes" required="yes">
Aurel's avatar
Aurel committed
8
      <description>
9
        Give the list of the master node like ip:port ip:port...
Aurel's avatar
Aurel committed
10
      </description>
11 12
    </key>
    <key name="name" required="yes">
Aurel's avatar
Aurel committed
13
      <description>
14
        Give the name of the cluster
Aurel's avatar
Aurel committed
15
      </description>
16 17
    </key>
    <key name="compress" datatype="boolean">
18
      <description>
19 20
        If true, data is automatically compressed (unless compressed size is
        not smaller). This is the default behaviour.
21
      </description>
22 23 24 25 26 27 28 29
    </key>
    <key name="read-only" datatype="boolean">
      <description>
        If true, only reads may be executed against the storage.  Note
        that the "pack" operation is not considered a write operation
        and is still allowed on a read-only neostorage.
      </description>
    </key>
30
    <key name="logfile" datatype="existing-dirpath">
31
      <description>
32
        Log debugging information to specified SQLite DB.
33 34
      </description>
    </key>
35
    <key name="dynamic_master_list" datatype="existing-dirpath">
36 37 38 39 40 41
      <description>
        The file designated by this option contains an updated list of master
        nodes which are known to be part of current cluster, so new nodes can
        be added/removed without requiring a config change each time.
      </description>
    </key>
Julien Muchembled's avatar
Julien Muchembled committed
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
    <key name="ca" datatype="existing-file">
      <description>
        Certificate authority in PEM format.
      </description>
    </key>
    <key name="cert" datatype="existing-file">
      <description>
        Certificate in PEM format.
      </description>
    </key>
    <key name="key" datatype="existing-file">
      <description>
        Private key in PEM format.
      </description>
    </key>
Aurel's avatar
Aurel committed
57 58
  </sectiontype>
</component>