Fixed issue in loading cidr on VR reboot

This commit is contained in:
Jayapal 2013-12-10 15:15:44 +05:30
parent 3caef2b1d5
commit 785b71e399
1 changed files with 1 additions and 0 deletions

View File

@ -3639,6 +3639,7 @@ public class VirtualNetworkApplianceManagerImpl extends ManagerBase implements V
}
rulesTO = new ArrayList<FirewallRuleTO>();
for (FirewallRule rule : rules) {
_rulesDao.loadSourceCidrs((FirewallRuleVO)rule);
FirewallRule.TrafficType traffictype = rule.getTrafficType();
if(traffictype == FirewallRule.TrafficType.Ingress){
IpAddress sourceIp = _networkModel.getIp(rule.getSourceIpAddressId());