Skip to content

Commit b062924

Browse files
authored
Merge pull request #218 from xapi-project/feature/REQ477/master
477 merge
2 parents 459dd28 + 60d5e86 commit b062924

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

storage/storage_interface.ml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ let vdi_info_of_rpc rpc = Rpc.struct_extend rpc (rpc_of_vdi_info default_vdi_inf
9898
type sr_health = Healthy | Recovering
9999

100100
type sr_info = {
101+
sr_uuid: string option;
101102
name_label: string;
102103
name_description: string;
103104
total_space: int64; (** total number of bytes on the storage substrate *)
@@ -119,13 +120,15 @@ type dp_stat_t = {
119120
let string_of_dp_stat_t (x: dp_stat_t) = Jsonrpc.to_string (rpc_of_dp_stat_t x)
120121

121122
type probe = {
122-
srs: (string * sr_info) list; (* SRs we found *)
123-
uris: string list; (* other uris we found which could be probed recursively *)
123+
configuration: (string * string) list;
124+
complete: bool;
125+
sr: sr_info option;
126+
extra_info: (string * string) list;
124127
}
125128

126129
type probe_result =
127130
| Raw of string (* SMAPIv1 adapters return arbitrary data *)
128-
| Probe of probe
131+
| Probe of probe list
129132

130133
module Mirror = struct
131134
type id = string

0 commit comments

Comments
 (0)