Browse files

smapiv2: declare VDI.set_persistent

  • Loading branch information...
1 parent 44e44f5 commit e4cb5ebe4cdfd96c7f49b52ecd94fcce0ae63472 David Scott committed May 29, 2012
Showing with 13 additions and 0 deletions.
  1. +13 −0 smapiv2.ml
View
13 smapiv2.ml
@@ -216,6 +216,19 @@ let api =
}
];
}; {
+ Method.name = "set_persistent";
+ description = "[set_persistent task sr vdi persistent] configures whether a VDI's contents should be persisted across epochs";
+ inputs = [
+ sr;
+ vdi;
+ { Arg.name = "persistent";
+ ty = Type.(Basic Boolean);
+ description = "New value of the VDI persistent field";
+ }
+ ];
+ outputs = [
+ ];
+ }; {
Method.name = "epoch_begin";
description = "[epoch_begin task sr vdi] signals that VDI is about to be connected to a fresh (started, rebooted) VM.";
inputs = [

0 comments on commit e4cb5eb

Please sign in to comment.