listHosts: add 'core' details by nvazquez · Pull Request #13444 · apache/cloudstack · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@ public class HostResponse extends BaseResponseWithAnnotations {
@Param(description = "the virtual machine id for host type ConsoleProxy and SecondaryStorageVM", since = "4.21.0")
private String virtualMachineId;

@SerializedName("msid")
@Param(description = "(only for details=core) the msid of the host's management server")
private Long msId;

@SerializedName(ApiConstants.MANAGEMENT_SERVER_ID)
@Param(description = "The management server ID of the host")
private String managementServerId;
Expand Down Expand Up @@ -488,6 +492,14 @@ public void setVirtualMachineId(String virtualMachineId) {
this.virtualMachineId = virtualMachineId;
}

public Long getMsId() {
return msId;
}

public void setMsId(Long msId) {
this.msId = msId;
}

public void setManagementServerId(String managementServerId) {
this.managementServerId = managementServerId;
}
Expand Down
203 changes: 111 additions & 92 deletions server/src/main/java/com/cloud/api/query/dao/HostJoinDaoImpl.java
Loading