Skip to content

Commit

Permalink
CA-213035: feature-flag for ssl_legacy control switch
Browse files Browse the repository at this point in the history
Add a feature to indicate the availability of this functionality.

Signed-off-by: Thomas Sanders <thomas.sanders@citrix.com>
  • Loading branch information
thomassa committed Jun 15, 2016
1 parent 8c108e2 commit faf9340
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ocaml/xapi/features.ml
Expand Up @@ -49,6 +49,7 @@ type feature =
| Xen_motion
| Guest_ip_setting
| AD
| Ssl_legacy_switch
with rpc

type orientation = Positive | Negative
Expand Down Expand Up @@ -87,6 +88,7 @@ let keys_of_features =
Xen_motion, ("restrict_xen_motion", Negative, "XenMotion");
Guest_ip_setting, ("restrict_guest_ip_setting", Negative, "GuestIP");
AD, ("restrict_ad", Negative, "AD");
Ssl_legacy_switch, ("disable_ssl_legacy_switch", Negative, "Ssl_legacy_switch");
]

let name_of_feature f =
Expand Down
1 change: 1 addition & 0 deletions ocaml/xapi/features.mli
Expand Up @@ -49,6 +49,7 @@ type feature =
| 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
Expand Down

0 comments on commit faf9340

Please sign in to comment.