module Nn_datastores:Datastore typessig..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 to_xdr : datastore -> Pfs_rpcapi_aux.ds_infoval of_xdr : Pfs_rpcapi_aux.ds_info -> datastoredatastore to/from the wire representation