Skip to content

Commit bc3647a

Browse files
author
David Scott
committed
Plugin.query should return more information
Signed-off-by: David Scott <dave.scott@citrix.com>
1 parent 26b87c6 commit bc3647a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

examples/volume/org.xen.xcp.storage.plainlvm/Plugin.Query

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env ocamlscript
22
Ocaml.sources := ["common.ml"; "lvm.ml"];
3-
Ocaml.packs := ["xapi-storage"; "cmdliner"; "re.str"; "oUnit"];
3+
Ocaml.packs := ["xapi-storage"; "cmdliner"; "re.str"; "oUnit"; "uri"];
44
Ocaml.ocamlflags := ["-thread"]
55
--
66
(*
@@ -23,14 +23,14 @@ module Command = struct
2323
include Plugin.Query
2424

2525
let command common { Plugin.Query.In.dbg } = {
26-
plugin = "plugin";
27-
name = "name";
28-
description = "description";
29-
vendor = "vendor";
30-
copyright = "copyright";
31-
version = "version";
32-
required_api_version = "required_api_version";
33-
features = [];
26+
plugin = "plainlvm";
27+
name = "Plain LVM Volume plugin";
28+
description = "This plugin uses an existing LVM volume group and represents Volumes as LVs";
29+
vendor = "None";
30+
copyright = "(C) 2014 Citrix Inc";
31+
version = "0.1";
32+
required_api_version = "0.1";
33+
features = [ "SR_ATTACH"; "SR_DETACH"; "SR_CREATE"; "VDI_CREATE"; "VDI_DESTROY"; "VDI_ATTACH"; "VDI_DETACH"; "VDI_ACTIVATE"; "VDI_DEACTIVATE"];
3434
configuration = []
3535
}
3636
end

0 commit comments

Comments
 (0)