DNS reject增加策略分组功能
This commit is contained in:
@@ -528,9 +528,10 @@ public abstract class BaseService {
|
||||
return resStrategy;
|
||||
}
|
||||
//ip转换为callback用ip
|
||||
public InlineIp convertCallBackIp(BaseIpCfg cfg){
|
||||
public InlineIp convertCallBackIp(BaseIpCfg cfg,Long policyGroup){
|
||||
IpCfg c=ipConvert(new IpCfg(),cfg);
|
||||
InlineIp ip=new InlineIp();
|
||||
ip.setId(cfg.getCompileId());
|
||||
ip.setCfgId(cfg.getCompileId());
|
||||
ip.setAction(cfg.getAction());
|
||||
ip.setService(cfg.getServiceId());
|
||||
@@ -547,6 +548,7 @@ public abstract class BaseService {
|
||||
ip.setDirection(cfg.getDirection());
|
||||
ip.setIsValid(cfg.getIsValid());
|
||||
ip.setOpTime(cfg.getAuditTime());
|
||||
ip.setPolicyGroup(policyGroup);
|
||||
return ip;
|
||||
}
|
||||
//区域IPsetAreaEffectiveIds设置
|
||||
|
||||
Reference in New Issue
Block a user