From f1ed6d89a5e827a9c34928b4c5d37c9599cb7069 Mon Sep 17 00:00:00 2001 From: HuangXin Date: Wed, 14 Oct 2020 14:20:42 +0800 Subject: [PATCH] =?UTF-8?q?OCT=20REM:=201.=20=E5=A2=9E=E5=8A=A0=E8=BF=AA?= =?UTF-8?q?=E6=99=AE=E6=8E=A5=E5=8F=A3=E8=B0=83=E7=94=A8=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/dispose/ability/impl/DpTechAbilityImpl.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/com/dispose/ability/impl/DpTechAbilityImpl.java b/src/main/java/com/dispose/ability/impl/DpTechAbilityImpl.java index 4f6e64d5..e08e1e56 100644 --- a/src/main/java/com/dispose/ability/impl/DpTechAbilityImpl.java +++ b/src/main/java/com/dispose/ability/impl/DpTechAbilityImpl.java @@ -121,9 +121,13 @@ public class DpTechAbilityImpl implements DisposeAbility { return new MulReturnType<>(ErrorCode.ERR_UNSUPPORT, null); } + log.debug("DpTech startAbnormalTaskForUMC request: {}, {}, {}", disposeObject, attackType, nfDirection); + NtcRequestResultInfo ret = cleanTypePort.startAbnormalTaskForUMC(disposeObject, attackType, nfDirection.getValue()); + log.debug("DpTech startAbnormalTaskForUMC response: {}", ret); + if (ret.getResultRetVal() != 0) { err = ErrorCode.ERR_CALLDEVICE; log.error("----Error DPTech Start Cleanup Task: {}, {}, {}, {}", disposeObject, nfDirection, @@ -169,8 +173,11 @@ public class DpTechAbilityImpl implements DisposeAbility { return new MulReturnType<>(ErrorCode.ERR_UNSUPPORT, null); } + log.debug("DpTech stopAbnormalTaskForUMC request: {}, {}, {}", disposeObject, attackType, nfDirection); + NtcRequestResultInfo ret = cleanTypePort.stopAbnormalTaskForUMC(disposeObject, attackType, nfDirection.getValue()); + log.debug("DpTech stopAbnormalTaskForUMC response: {}", ret); if (ret.getResultRetVal() != 0) { err = ErrorCode.ERR_CALLDEVICE; @@ -250,6 +257,7 @@ public class DpTechAbilityImpl implements DisposeAbility { try { // 读取清洗设备支持的清洗IP范围 ArrayOfProtectionObjectDataForService objs = cleanTypePort.getAllProtectionObjectFromUMC(); + log.debug("DpTech getAllProtectionObjectFromUMC response: {}", objs); // 将DPTech设备的IP格式转换成IP访问列表,支持IPv6,IPv4 synchronized (this) { protectIpV4.clear();