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
{{ message }}
Repository navigation
Commit 82ffddc
Browse filesBrowse the repository at this point in the historyBrowse files
Vijayendra Bhamidipati
committed
CS-15055: DB exception when creating n1kv VSM when adding a cluster via the latest management server GUI.
Description:
Adding an optional flag to the addCluster command,
"addvsmflag". If this is set to true, the API will
throw an exception if any VSM parameter is missed
out. The above bug was running into a DB exception
because the vCenter ipaddress wasn't passed in and
the API didn't catch it.
Copy file name to clipboardExpand all lines: api/src/com/cloud/api/commands/AddClusterCmd.java
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,13 @@ public class AddClusterCmd extends BaseCmd {
81
81
@Parameter(name = ApiConstants.VCENTER_DC_NAME, type = CommandType.STRING, required = false, description = "the name of the vCenter Data Center the VSM associated with this cluster will serve")
82
82
privateStringvcenterdcname;
83
83
84
+
@Parameter(name = ApiConstants.ADD_VSM_FLAG, type = CommandType.STRING, required = false, description = "flag that indicates a Cisco Nexus 1000v VSM is being associated with this cluster")
0 commit comments