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
This is for consistency.
Now the add/remove functions that would be autogenerated if the
field were RW would themselves have names ending "purpose", and
therefore would be the same as the hand-written add/remove
functions that add and remove a single purpose.
(Before this change, the hypothetical autogenerated
functions would have been "add/remove_purposes" even
though they add/remove only a single purpose.)
Signed-off-by: Thomas Sanders <[email protected]>
(* network pool introduce is used to copy network records on pool join -- it's the network analogue of VDI/PIF.pool_introduce *)
@@ -5317,7 +5317,7 @@ let network =
5317
5317
field ~writer_roles:_R_VM_OP ~in_product_since:rel_orlando ~default_value:(Some (VSet[])) ~ty:(SetString) "tags""user-specified tags for categorization purposes";
5318
5318
field ~qualifier:DynamicRO~in_product_since:rel_tampa ~default_value:(Some (VEnum"unlocked")) ~ty:network_default_locking_mode "default_locking_mode""The network will use this value to determine the behaviour of all VIFs where locking_mode = default";
5319
5319
field ~qualifier:DynamicRO~in_product_since:rel_creedence ~default_value:(Some (VMap[])) ~ty:(Map (Ref _vif, String)) "assigned_ips""The IP addresses assigned to VIFs on networks that have active xapi-managed DHCP";
5320
-
field ~qualifier:StaticRO~in_product_since:rel_inverness ~default_value:(Some (VSet[])) ~ty:(Set network_purpose) "purposes""Set of purposes for which the server will use this network";
5320
+
field ~qualifier:StaticRO~in_product_since:rel_inverness ~default_value:(Some (VSet[])) ~ty:(Set network_purpose) "purpose""Set of purposes for which the server will use this network";
0 commit comments