Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "CP-47660 define anti-affinity feature"
Browse files Browse the repository at this point in the history
This reverts commit 599a9c6.
LunfanZhang committed May 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent cc4a203 commit 7f904fd
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions ocaml/xapi-types/features.ml
Original file line number Diff line number Diff line change
@@ -64,7 +64,6 @@ type feature =
| Updates
| Internal_repo_access
| VTPM
| VM_anti_affinity
[@@deriving rpc]

type orientation = Positive | Negative
@@ -133,9 +132,6 @@ let keys_of_features =
, ("restrict_internal_repo_access", Negative, "Internal_repo_access")
)
; (VTPM, ("restrict_vtpm", Negative, "VTPM"))
; ( VM_anti_affinity
, ("restrict_vm_anti_affinity", Negative, "VM_anti_affinity")
)
]

(* A list of features that must be considered "enabled" by `of_assoc_list`
1 change: 0 additions & 1 deletion ocaml/xapi-types/features.mli
Original file line number Diff line number Diff line change
@@ -72,7 +72,6 @@ type feature =
| Internal_repo_access
(** Enable restriction on repository access to pool members only *)
| VTPM (** Support VTPM device required by Win11 guests *)
| VM_anti_affinity (** Enable use of VM anti-affinity placement *)

val feature_of_rpc : Rpc.t -> feature
(** Convert RPC into {!feature}s *)

0 comments on commit 7f904fd

Please sign in to comment.