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
api,server: allow updating hypervisor capabilities with hypervisor and
version
hypervisor and hypervisorversion parameter added to the
updateHypervisorCapabilities API.
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Copy file name to clipboardExpand all lines: api/src/main/java/org/apache/cloudstack/api/command/admin/config/UpdateHypervisorCapabilitiesCmd.java
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,12 @@ public class UpdateHypervisorCapabilitiesCmd extends BaseCmd {
45
45
@Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = HypervisorCapabilitiesResponse.class, description = "ID of the hypervisor capability")
46
46
privateLongid;
47
47
48
+
@Parameter(name = ApiConstants.HYPERVISOR, type = CommandType.STRING, description = "the hypervisor of the hypervisor capability", since = "4.19.1")
49
+
privateStringhypervisor;
50
+
51
+
@Parameter(name = ApiConstants.HYPERVISOR_VERSION, type = CommandType.STRING, description = "the hypervisor version of the hypervisor capability", since = "4.19.1")
52
+
privateStringhypervisorVersion;
53
+
48
54
@Parameter(name = ApiConstants.SECURITY_GROUP_EANBLED, type = CommandType.BOOLEAN, description = "set true to enable security group for this hypervisor.")
finalInvalidParameterValueExceptionex = newInvalidParameterValueException("Unable to find the hypervisor capabilities for specified hypervisor and hypervisor version");
0 commit comments