CLOUDSTACK-8844: Network Update from RVR offering to Standalone offering fails - Fixed

This commit is contained in:
Kshitij Kansal 2015-09-14 16:45:49 +05:30
parent c03956ebec
commit e24ecccdea
2 changed files with 8 additions and 0 deletions

View File

@ -619,4 +619,9 @@ public class NetworkVO implements Network {
public void setVpcId(Long vpcId) {
this.vpcId = vpcId;
}
public void setIsReduntant(boolean reduntant) {
this.isRedundant = reduntant;
}
}

View File

@ -2100,6 +2100,9 @@ public class NetworkServiceImpl extends ManagerBase implements NetworkService {
}
restartNetwork = true;
networkOfferingChanged = true;
//Setting the new network's isReduntant to the new network offering's RedundantRouter.
network.setIsReduntant(_networkOfferingDao.findById(networkOfferingId).getRedundantRouter());
}
}