Skip to content

Commit

Permalink
Merge pull request #38 from djs55/SR.stat
Browse files Browse the repository at this point in the history
SR.stat: use total_space, free_space i.e. the same as SMAPIv2
  • Loading branch information
djs55 committed Jul 6, 2015
2 parents 9bc83d7 + 93d9c14 commit a7bd8a5
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions generator/src/control.ml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,10 @@ let api =
"generally only displayed by clients when the user is examining";
"SRs in detail.";
];
"virtual_allocation", Basic Int64, String.concat " " [
"Sum of the virtual_sizes of all Volumes in this SR (in bytes)";
"free_space", Basic Int64, String.concat " " [
"Number of bytes free on the backing storage (in bytes)";
];
"physical_utilisation", Basic Int64, String.concat " " [
"Physical space currently used in this SR (in bytes). Note this";
"may be less than virtual_allocation if using thin-provisioning,";
"or it may be more than virtual_allocation if the storage type";
"has internal overheads.";
];
"physical_size", Basic Int64, String.concat " " [
"total_space", Basic Int64, String.concat " " [
"Total physical size of the backing storage (in bytes)";
];
]
Expand Down

0 comments on commit a7bd8a5

Please sign in to comment.