完善IP复用地址池、策略配置.
This commit is contained in:
@@ -9,7 +9,7 @@ public class IpAddrPool extends InlineIp{
|
||||
@Expose
|
||||
private Integer groupId;
|
||||
@Expose
|
||||
private Integer addrPoolId;
|
||||
private Long addrPoolId;
|
||||
|
||||
public Integer getRegionId() {
|
||||
return regionId;
|
||||
@@ -27,11 +27,12 @@ public class IpAddrPool extends InlineIp{
|
||||
this.groupId = groupId;
|
||||
}
|
||||
|
||||
public Integer getAddrPoolId() {
|
||||
public Long getAddrPoolId() {
|
||||
return addrPoolId;
|
||||
}
|
||||
|
||||
public void setAddrPoolId(Integer addrPoolId) {
|
||||
public void setAddrPoolId(Long addrPoolId) {
|
||||
this.addrPoolId = addrPoolId;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -14,7 +14,6 @@ public class IpAddrPoolCfg extends BaseCfg<IpAddrPoolCfg>{
|
||||
private static final long serialVersionUID = 1392197458744667669L;
|
||||
private String indexTable="ip_reuse_addr_pool";
|
||||
|
||||
private Integer addrPoolId; // 地址池ID
|
||||
private String addrPoolName; // 地址池名称
|
||||
private Integer ipTotal; // IP总数
|
||||
private Integer availableIpTotal; // 可用IP总数
|
||||
@@ -31,12 +30,6 @@ public class IpAddrPoolCfg extends BaseCfg<IpAddrPoolCfg>{
|
||||
public void setIndexTable(String indexTable) {
|
||||
this.indexTable = indexTable;
|
||||
}
|
||||
public Integer getAddrPoolId() {
|
||||
return addrPoolId;
|
||||
}
|
||||
public void setAddrPoolId(Integer addrPoolId) {
|
||||
this.addrPoolId = addrPoolId;
|
||||
}
|
||||
public String getAddrPoolName() {
|
||||
return addrPoolName;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
package com.nis.domain.configuration;
|
||||
|
||||
/**
|
||||
* IP复用策略
|
||||
* @author dell
|
||||
*
|
||||
*/
|
||||
public class IpReusePolicyCfg extends BaseCfg<IpReusePolicyCfg>{
|
||||
|
||||
private static final long serialVersionUID = 2904010760648378142L;
|
||||
private String indexTable="ip_reuse_policy_cfg";
|
||||
|
||||
private Integer userId; // 用户标识
|
||||
private String userType; // 用户类型
|
||||
private Integer addrPoolId; // 地址池ID
|
||||
private String translateParam; // 地址翻译参数
|
||||
|
||||
private String userName; // 仅用于列表条件检索
|
||||
private String addrPoolName;
|
||||
|
||||
public Integer getUserId() {
|
||||
return userId;
|
||||
}
|
||||
public void setUserId(Integer userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
public String getUserType() {
|
||||
return userType;
|
||||
}
|
||||
public void setUserType(String userType) {
|
||||
this.userType = userType;
|
||||
}
|
||||
public Integer getAddrPoolId() {
|
||||
return addrPoolId;
|
||||
}
|
||||
public void setAddrPoolId(Integer addrPoolId) {
|
||||
this.addrPoolId = addrPoolId;
|
||||
}
|
||||
public String getTranslateParam() {
|
||||
return translateParam;
|
||||
}
|
||||
public void setTranslateParam(String translateParam) {
|
||||
this.translateParam = translateParam;
|
||||
}
|
||||
public String getIndexTable() {
|
||||
return indexTable;
|
||||
}
|
||||
public void setIndexTable(String indexTable) {
|
||||
this.indexTable = indexTable;
|
||||
}
|
||||
public String getUserName() {
|
||||
return userName;
|
||||
}
|
||||
public void setUserName(String userName) {
|
||||
this.userName = userName;
|
||||
}
|
||||
public String getAddrPoolName() {
|
||||
return addrPoolName;
|
||||
}
|
||||
public void setAddrPoolName(String addrPoolName) {
|
||||
this.addrPoolName = addrPoolName;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user