-
Notifications
You must be signed in to change notification settings - Fork 282
/
features.mli
73 lines (65 loc) · 3.71 KB
/
features.mli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
(*
* Copyright (C) 2006-2009 Citrix Systems Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation; version 2.1 only. with the special
* exception on linking described in file LICENSE.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*)
(** Module that controls feature restriction.
* @group Licensing
*)
(** Features than can be enabled and disabled. *)
type feature =
| VLAN (** Enable VLAN. Currently not used. *)
| QoS (** Enable QoS control. Currently not used. *)
| Shared_storage (** Enable shared storage. Currently not used? *)
| Netapp (** Enable use of NetApp SRs *)
| Equalogic (** Enable use of Equalogic SRs *)
| Pooling (** Enable pooling of hosts *)
| HA (** Enable High Availability (HA) *)
| Marathon (** Currently not used *)
| Email (** Enable email alerting *)
| Performance (** Used by XenCenter to restrict the performance graphs *)
| WLB (** Enable Workload Balancing (WLB) *)
| RBAC (** Enable Role-Based Access Control (RBAC) *)
| DMC (** Enable Dynamic Memory Control (DMC) *)
| Checkpoint (** Enable Checkpoint functionality *)
| CPU_masking (** Enable masking of CPU features *)
| Connection (** Used by XenCenter *)
| 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 *)
| GPU (** Enable use of GPU passthrough *)
| DR (** Enable disaster recovery *)
| VIF_locking (** Enable locking of VIFs to specific MAC addresses and IP addresses. *)
| Storage_motion (** Enable Storage XenMotion feature *)
| VGPU (** Enable use of virtual GPUs *)
| Integrated_GPU (** Enable use of integrated GPU passthrough *)
| VSS (** Enable use of VSS *)
| Guest_agent_auto_update (** Enable use of the Windows guest agent auto-update feature. *)
| PCI_device_for_auto_update (** Enable making new VMs with the PCI device that triggers Windows Update. *)
| Xen_motion (** Enable XenMotion feature *)
| Guest_ip_setting (** Enable use of Guest ip seting *)
| AD (** Enable use of Active Directory *)
| Ssl_legacy_switch (** Enable the control switch for SSL/TLS legacy-mode. *)
(** Convert RPC into {!feature}s *)
val feature_of_rpc : Rpc.t -> feature
(** Convert {!feature}s into RPC *)
val rpc_of_feature : feature -> Rpc.t
(** Convert {!feature}s into strings *)
val name_of_feature : feature -> string
(** The list of all known features. *)
val all_features : feature list
(** Returns a compact list of the current restrictions. *)
val to_compact_string : feature list -> string
(** Convert a {!feature} list into an association list. *)
val to_assoc_list : feature list -> (string * string) list
(** Convert an association list of features into a {!feature} list. *)
val of_assoc_list : (string * string) list -> feature list