Skip to content

Commit acccceb

Browse files
author
Konstantina Chremmou
committed
CP-20287: Modified the v6d apply_edition function to return an additional list, namely the experimental feature flags with their values.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
1 parent 8bf3ea9 commit acccceb

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

v6/v6_interface.ml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,22 @@ let uri () = "file:" ^ !default_path
2020

2121
type debug_info = string
2222

23+
type edition_info = {
24+
edition: string;
25+
xapi_params: (string * string) list;
26+
additional_params: (string * string) list;
27+
experimental_features: (string * bool) list;
28+
}
29+
2330
exception Invalid_edition of string
2431
exception V6d_failure
2532
exception License_expired
2633
exception License_processing_error
2734
exception Missing_connection_details
2835
exception License_checkout_error of string
2936

30-
(* dbg_str -> requested edition -> current params ->
31-
new edition * new xapi params * new additional params *)
32-
external apply_edition : debug_info -> string -> (string * string) list ->
33-
string * (string * string) list * (string * string) list = ""
37+
(* dbg_str -> requested edition -> current params -> edition_info *)
38+
external apply_edition : debug_info -> string -> (string * string) list -> edition_info = ""
3439

3540
(* dbg_str -> list of editions *)
3641
external get_editions : debug_info -> (string * (string * string * int)) list = ""

0 commit comments

Comments
 (0)