You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CP-1158: Add a pool first-class field for the nicera vswitch controller address.
This field is checked by xapi to be consistent on pool-join, and it is cleared by the plugin on pool-eject.
To set it: xe pool-set-vswitch-controller address=<IP address>
Seems to work on my limited dev-tests, need to make more tests later.
Signed-off-by: Ian Campbell <[email protected]>
Copy file name to clipboardExpand all lines: ocaml/idl/datamodel.ml
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ open Datamodel_types
18
18
(* IMPORTANT: Please bump schema vsn if you change/add/remove a _field_.
19
19
You do not have to bump vsn if you change/add/remove a message *)
20
20
let schema_major_vsn =5
21
-
let schema_minor_vsn =59
21
+
let schema_minor_vsn =60
22
22
23
23
(* Historical schema versions just in case this is useful later *)
24
24
let rio_schema_major_vsn =5
@@ -4987,6 +4987,15 @@ let pool_audit_log_append = call
4987
4987
~allowed_roles:_R_POOL_ADMIN
4988
4988
()
4989
4989
4990
+
let pool_set_vswitch_controller = call
4991
+
~in_oss_since:None
4992
+
~in_product_since:rel_midnight_ride
4993
+
~name:"set_vswitch_controller"
4994
+
~params:[String, "address", "IP address of the vswitch controller."]
4995
+
~doc:"Set the IP address of the vswitch controller."
4996
+
~allowed_roles:_R_POOL_OP
4997
+
()
4998
+
4990
4999
(** A pool class *)
4991
5000
let pool =
4992
5001
create_obj
@@ -5047,6 +5056,7 @@ let pool =
5047
5056
; pool_enable_redo_log
5048
5057
; pool_disable_redo_log
5049
5058
; pool_audit_log_append
5059
+
; pool_set_vswitch_controller
5050
5060
]
5051
5061
~contents:
5052
5062
[uid ~in_oss_since:None _pool
@@ -5074,6 +5084,7 @@ let pool =
5074
5084
; field ~in_product_since:rel_george ~qualifier:RW~ty:Bool~default_value:(Some (VBoolfalse)) "wlb_verify_cert""true if communication with the WLB server should enforce SSL certificate verification."
5075
5085
; field ~in_oss_since:None~in_product_since:rel_midnight_ride ~qualifier:DynamicRO~ty:Bool~default_value:(Some (VBoolfalse)) "redo_log_enabled""true a redo-log is to be used other than when HA is enabled, false otherwise"
5076
5086
; field ~in_oss_since:None~in_product_since:rel_midnight_ride ~qualifier:DynamicRO~ty:(Ref _vdi) ~default_value:(Some (VRef (Ref.string_of Ref.null))) "redo_log_vdi""indicates the VDI to use for the redo-log other than when HA is enabled"
5087
+
; field ~in_oss_since:None~in_product_since:rel_midnight_ride ~qualifier:DynamicRO~ty:String~default_value:(Some (VString"")) "vswitch_controller""address of the vswitch controller"
0 commit comments