Permalink
Browse files

smapiv2: add VDI.stat

  • Loading branch information...
1 parent b857175 commit af6f2f734d79d559fa747e752c710310a5b18ef9 David Scott committed May 29, 2012
Showing with 13 additions and 0 deletions.
  1. +13 −0 smapiv2.ml
View
@@ -202,6 +202,19 @@ let api =
];
outputs = [
];
+ }; {
+ Method.name = "stat";
+ description = "[stat task sr vdi] returns metadata associated with VDI [vdi] in SR [sr].";
+ inputs = [
+ sr;
+ vdi;
+ ];
+ outputs = [
+ { Arg.name = "vdi_info";
+ ty = vdi_info;
+ description = "VDI metadata";
+ }
+ ];
}; {
Method.name = "epoch_begin";
description = "[epoch_begin task sr vdi] signals that VDI is about to be connected to a fresh (started, rebooted) VM.";

0 comments on commit af6f2f7

Please sign in to comment.