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
Copy file name to clipboardExpand all lines: ocaml/idl/datamodel.ml
+12-7Lines changed: 12 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -4098,6 +4098,17 @@ let pool_update_resync_host = call
4098
4098
~allowed_roles:_R_POOL_OP
4099
4099
()
4100
4100
4101
+
let pool_update_get_enforce_homogeneity = call
4102
+
~name:"get_enforce_homogeneity"
4103
+
~hide_from_docs:true
4104
+
~doc:"Get the value of the field 'enforce_homogeneity'"
4105
+
~in_oss_since:None
4106
+
~in_product_since:rel_honolulu
4107
+
~params:[ Ref _pool_update, "self", "The update to be queried"]
4108
+
~allowed_roles:_R_POOL_OP
4109
+
~result:(Bool, "The value of the field")
4110
+
()
4111
+
4101
4112
let pool_update =
4102
4113
create_obj ~in_db:true
4103
4114
~in_product_since:rel_ely
@@ -4122,6 +4133,7 @@ let pool_update =
4122
4133
pool_update_attach;
4123
4134
pool_update_detach;
4124
4135
pool_update_resync_host;
4136
+
pool_update_get_enforce_homogeneity;
4125
4137
]
4126
4138
~contents:
4127
4139
[ uid ~in_oss_since:None _pool_update;
@@ -4132,13 +4144,6 @@ let pool_update =
4132
4144
field ~in_product_since:rel_ely ~default_value:(Some (VSet[])) ~in_oss_since:None~qualifier:StaticRO~ty:(Set pool_update_after_apply_guidance) "after_apply_guidance""What the client should do after this update has been applied.";
4133
4145
field ~in_oss_since:None~qualifier:StaticRO~ty:(Ref _vdi) "vdi""VDI the update was uploaded to";
4134
4146
field ~in_product_since:rel_ely ~in_oss_since:None~qualifier:DynamicRO~ty:(Set (Ref _host)) "hosts""The hosts that have applied this update.";
4135
-
field ~in_product_since:rel_honolulu
4136
-
~default_value:(Some (VBoolfalse))
4137
-
~in_oss_since:None
4138
-
~qualifier:StaticRO
4139
-
~ty:Bool
4140
-
"enforce_homogeneity"
4141
-
"Flag - if true, all hosts in a pool must apply this update";
0 commit comments