Permalink
Browse files

smapiv2: add VDI.similar_content

  • Loading branch information...
1 parent 77a8dad commit 2f969b6d551b8278f81190755fabb0f1534337f2 David Scott committed Jun 8, 2012
Showing with 14 additions and 1 deletion.
  1. +14 −1 smapiv2.ml
View
@@ -411,7 +411,20 @@ let api =
outputs = [
vdi
]
- }
+ }; {
+ Method.name = "similar_content";
+ description = "[similar_content sr vdi] returns a list, most similar first, of disks with recognizably similar content";
+ inputs = [
+ sr;
+ vdi;
+ ];
+ outputs = [
+ { Arg.name = "vdi_infos";
+ ty = Type.(Array (Name "vdi_info"));
+ description = "VDIs with recognizably similar content, most similar first"
+ }
+ ]
+ }
]
}; {
Interface.name = "SR";

0 comments on commit 2f969b6

Please sign in to comment.