给三种实例增加serverAddress字段
This commit is contained in:
@@ -52,6 +52,11 @@ public class Container implements Serializable {
|
||||
*/
|
||||
private String webUi;
|
||||
|
||||
/**
|
||||
* 实际服务器地址(不带协议,不带端口号)
|
||||
*/
|
||||
private String serverAddress;
|
||||
|
||||
/**
|
||||
* 宿主机id
|
||||
*/
|
||||
|
||||
@@ -57,6 +57,11 @@ public class HostMachine implements Serializable {
|
||||
*/
|
||||
private String manageIp;
|
||||
|
||||
/**
|
||||
* 实际服务器地址(不带协议,不带端口号)
|
||||
*/
|
||||
private String serverAddress;
|
||||
|
||||
/**
|
||||
* 宿主机id(0代表物理机没有宿主机)
|
||||
*/
|
||||
|
||||
@@ -39,6 +39,11 @@ public class ContainerVo {
|
||||
*/
|
||||
private String imageName;
|
||||
|
||||
/**
|
||||
* 实际服务器地址(不带协议,不带端口号)
|
||||
*/
|
||||
private String serverAddress;
|
||||
|
||||
/**
|
||||
* WebUi URL
|
||||
*/
|
||||
|
||||
@@ -34,6 +34,11 @@ public class HostVo {
|
||||
*/
|
||||
private String avatar;
|
||||
|
||||
/**
|
||||
* 实际服务器地址(不带协议,不带端口号)
|
||||
*/
|
||||
private String serverAddress;
|
||||
|
||||
/**
|
||||
* 管理ip地址
|
||||
*/
|
||||
|
||||
@@ -53,6 +53,11 @@ public class VirtualMachineListVo {
|
||||
*/
|
||||
private String manageIp;
|
||||
|
||||
/**
|
||||
* 实际服务器地址(不带协议,不带端口号)
|
||||
*/
|
||||
private String serverAddress;
|
||||
|
||||
/**
|
||||
* 核心线程数
|
||||
*/
|
||||
|
||||
@@ -54,6 +54,11 @@ public class VmVo {
|
||||
*/
|
||||
private String osName;
|
||||
|
||||
/**
|
||||
* 实际服务器地址(不带协议,不带端口号)
|
||||
*/
|
||||
private String serverAddress;
|
||||
|
||||
/**
|
||||
* 管理ip地址
|
||||
*/
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
<result property="sshId" column="ssh_id" jdbcType="BIGINT"/>
|
||||
<result property="osId" column="os_id" jdbcType="BIGINT"/>
|
||||
<result property="manageIp" column="manage_ip" jdbcType="VARCHAR"/>
|
||||
<result property="serverAddress" column="server_address" jdbcType="VARCHAR"/>
|
||||
<result property="hostMachineId" column="host_machine_id" jdbcType="INTEGER"/>
|
||||
<result property="threads" column="threads" jdbcType="BIGINT"/>
|
||||
<result property="memory" column="memory" jdbcType="BIGINT"/>
|
||||
@@ -29,7 +30,7 @@
|
||||
.
|
||||
id
|
||||
,hm.name,hm.description,
|
||||
hm.avatar,hm.ssh_id,hm.os_id,
|
||||
hm.avatar,hm.ssh_id,hm.os_id,hm.server_address,
|
||||
hm.manage_ip,hm.host_machine_id,hm.threads,
|
||||
hm.memory,hm.host_machine_state,notify,
|
||||
hm.create_time,hm.create_by,hm.update_time,
|
||||
|
||||
Reference in New Issue
Block a user