agent2.0版本数据适配,开发脚本策略接口
This commit is contained in:
+12
@@ -96,4 +96,16 @@ public class InitialSwitchInfoDetails extends BaseEntity
|
||||
|
||||
/** 交换机ip */
|
||||
private String switchIp;
|
||||
/** 端口配置速率(Mbps) */
|
||||
private BigDecimal ifSpeed;
|
||||
/** 入站丢包 */
|
||||
private Integer ifInDiscards;
|
||||
/** 出站丢包 */
|
||||
private Integer ifOutDiscards;
|
||||
/** 错误的入站数据包数量 */
|
||||
private Integer ifInErrors;
|
||||
/** 错误的出站数据包数量 */
|
||||
private Integer ifOutErrors;
|
||||
/** 端口索引 */
|
||||
private Integer ifIndex;
|
||||
}
|
||||
|
||||
+1
@@ -131,6 +131,7 @@ public class RmResourceGroupServiceImpl implements IRmResourceGroupService
|
||||
StringBuilder resultStr = new StringBuilder();
|
||||
String[] idArray = ids.split(",");
|
||||
for (String s : idArray) {
|
||||
rmResourceGroup.setResourceIds(s);
|
||||
int rows = rmResourceGroupMapper.exitsResourceById(rmResourceGroup);
|
||||
if(rows > 0){
|
||||
resultStr.append(s);
|
||||
|
||||
Reference in New Issue
Block a user