23 lines
497 B
TypeScript
23 lines
497 B
TypeScript
export interface NdmSwitchDiagInfo {
|
|
[key: string]: any;
|
|
cpuRatio?: string; // 因环境不同可能不存在
|
|
memoryRatio?: string; // 因环境不同可能不存在
|
|
logTime?: string;
|
|
info?: {
|
|
overFlowPorts?: string[];
|
|
portInfoList?: NdmSwitchPortInfo[];
|
|
};
|
|
}
|
|
|
|
export interface NdmSwitchPortInfo {
|
|
inBytes: number;
|
|
lastInBytes: number;
|
|
lastOutBytes: number;
|
|
outBytes: number;
|
|
flow: number;
|
|
inFlow: number;
|
|
outFlow: number;
|
|
portName: string;
|
|
upDown: number;
|
|
}
|