Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ocaml/xapi/features.ml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ type feature =
| No_platform_filter
| No_nag_dialog
| VMPR
| IntelliCache
with rpc

type orientation = Positive | Negative
Expand All @@ -61,6 +62,7 @@ let keys_of_features =
No_platform_filter, ("platform_filter", Negative, "Plat");
No_nag_dialog, ("regular_nag_dialog", Negative, "nonag");
VMPR, ("restrict_vmpr", Negative, "VMPR");
IntelliCache, ("restrict_intellicache", Negative, "IntelliCache");
]

let string_of_feature f =
Expand Down
1 change: 1 addition & 0 deletions ocaml/xapi/features.mli
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ type feature =
| No_platform_filter (** Filter platform data *)
| No_nag_dialog (** Used by XenCenter *)
| VMPR (** Enable use of VM Protection and Recovery *)
| IntelliCache (** Enable use of IntelliCache feature *)

(** Convert RPC into {!feature}s *)
val feature_of_rpc : Rpc.t -> feature
Expand Down