更新流量转发目的地址下发配置参数格式
This commit is contained in:
@@ -3222,11 +3222,14 @@ public abstract class BaseService {
|
||||
//流量转发目的地址
|
||||
public static ProxyFileTrafficMirrorCfgAudit convertCallBackProxyFileTrafficMirror(ProxyFileTrafficMirrorCfg cfg) {
|
||||
ProxyFileTrafficMirrorCfgAudit fileTemp = new ProxyFileTrafficMirrorCfgAudit();
|
||||
Map map = new HashMap<String,List>();
|
||||
map.put(cfg.getAddrType(),Arrays.asList(cfg.getAddrList().split(",")));
|
||||
fileTemp.setId(Long.valueOf(cfg.getCompileId()));
|
||||
fileTemp.setCfgId(cfg.getCompileId());
|
||||
fileTemp.setProfileId(cfg.getCompileId());
|
||||
fileTemp.setProfileName(keywordsEscape(cfg.getCfgDesc()));
|
||||
fileTemp.setAddrList(Arrays.asList(cfg.getAddrList().split(",")));
|
||||
fileTemp.setAddrList(map);
|
||||
fileTemp.setAddrContent(cfg.getAddrList());
|
||||
fileTemp.setAddrType(cfg.getAddrType());
|
||||
fileTemp.setAction(cfg.getAction());
|
||||
fileTemp.setService(cfg.getServiceId());
|
||||
|
||||
Reference in New Issue
Block a user