agent2.0版本数据适配,开发脚本策略接口
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package com.ruoyi.rocketmq.domain;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.ruoyi.common.core.annotation.Excel;
|
||||
import com.ruoyi.common.core.web.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
@@ -13,6 +15,7 @@ import java.math.BigDecimal;
|
||||
* @date 2025-08-25
|
||||
*/
|
||||
@Data
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class InitialSwitchInfo extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -26,14 +29,19 @@ public class InitialSwitchInfo extends BaseEntity
|
||||
private String clientId;
|
||||
|
||||
/** 名称 */
|
||||
@JsonProperty("ifDescr")
|
||||
private String name;
|
||||
/** 接收流量 */
|
||||
@JsonProperty("ifHCInOctets")
|
||||
private BigDecimal inBytes;
|
||||
/** 发送流量 */
|
||||
@JsonProperty("ifHCOutOctets")
|
||||
private BigDecimal outBytes;
|
||||
/** 状态 */
|
||||
@JsonProperty("ifOperStatus")
|
||||
private String status;
|
||||
/** 类型 */
|
||||
@JsonProperty("ifType")
|
||||
private String type;
|
||||
/** 接收流量(bytes/s) */
|
||||
private BigDecimal inSpeed;
|
||||
@@ -41,6 +49,18 @@ public class InitialSwitchInfo extends BaseEntity
|
||||
private BigDecimal outSpeed;
|
||||
/** 交换机ip */
|
||||
private String switchIp;
|
||||
/** 端口配置速率(Mbps) */
|
||||
private BigDecimal ifSpeed;
|
||||
/** 入站丢包 */
|
||||
private Integer ifInDiscards;
|
||||
/** 出站丢包 */
|
||||
private Integer ifOutDiscards;
|
||||
/** 错误的入站数据包数量 */
|
||||
private Integer ifInErrors;
|
||||
/** 错误的出站数据包数量 */
|
||||
private Integer ifOutErrors;
|
||||
/** 端口索引 */
|
||||
private Integer ifIndex;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user