module Nn_datastores:sig
..end
type
datastore = {
|
id : |
(* | ID in the database | *) |
|
identity : |
(* | identity string | *) |
|
size : |
(* | size in blocks | *) |
|
enabled : |
(* | whether administratively enabled | *) |
|
node : |
(* | whether a datanode has this store | *) |
|
alive : |
(* | Whether it is known to be alive | *) |
type
discovered = {
|
d_identity : |
|
d_size : |
val null_datastore : datastore
val to_xdr : datastore -> Pfs_rpcapi_aux.ds_info
val of_xdr : Pfs_rpcapi_aux.ds_info -> datastore
datastore
to/from the wire representation