S/DNAT复用地址池配置属性修改.
This commit is contained in:
@@ -911,4 +911,22 @@ var fillIp=function (ip){
|
||||
}
|
||||
}
|
||||
return ip;
|
||||
}
|
||||
}
|
||||
|
||||
jQuery.validator.addMethod("ipUnique",function(value, element) {
|
||||
var ctx=$(element).attr("ctx");
|
||||
var cfgId= $("[name='cfgId']").val();
|
||||
var functionId= $("[name='functionId']").val();
|
||||
var url = ctx+"/maintenance/ipMultiplexPoolCfg/checkIp";
|
||||
var result = true;
|
||||
$.ajax({
|
||||
type:'post',
|
||||
async:false,
|
||||
url: url,
|
||||
data:{"cfgId":cfgId,"functionId":functionId,"destIpAddress":value},
|
||||
success:function(data){
|
||||
result = data;
|
||||
}
|
||||
});
|
||||
return result;
|
||||
});
|
||||
@@ -75,6 +75,7 @@
|
||||
input:"Please Enter ",
|
||||
protocolPort:"TCP protocol or UDP protocol must be chosen when port is greater than 0",
|
||||
protocolPort1:"Only when TCP protocol or UDP protocol is chosen can port greater than 0,ALL protocol has no limit",
|
||||
netAddress:"The class C type of IP addresses must has the same network number bit field"
|
||||
netAddress:"The class C type of IP addresses must has the same network number bit field",
|
||||
ipUnique:"IP already exists."
|
||||
});
|
||||
}(jQuery));
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
input:"Please Enter ",
|
||||
protocolPort:"TCP protocol or UDP protocol must be chosen when port is greater than 0",
|
||||
protocolPort1:"Only when TCP protocol or UDP protocol is chosen can port greater than 0,ALL protocol has no limit",
|
||||
netAddress:"C类IP地址网络位必须相同"
|
||||
netAddress:"C类IP地址网络位必须相同",
|
||||
ipUnique:"IP already exists."
|
||||
});
|
||||
}(jQuery));
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
input:"请输入 ",
|
||||
protocolPort:"端口大于0时必须选择TCP协议或者UDP协议",
|
||||
protocolPort1:"只有tcp,udp协议端口号可以不为0,全部协议无限制",
|
||||
netAddress:"C类IP地址网络位必须相同"
|
||||
netAddress:"C类IP地址网络位必须相同",
|
||||
ipUnique:"IP已存在"
|
||||
});
|
||||
}(jQuery));
|
||||
|
||||
Reference in New Issue
Block a user