mirror of https://github.com/apache/cloudstack.git
Merge pull request #818 from kansal/CLOUDSTACK-8844
Fixed: Network Update from RVR offering to Standalone offering failsProblem: Moving a RVR network offering to standalone makes the status of VR's as UNKNOWN and Redundant Router marked with YES. Fix: The network's isRedundant was not getting updated. * pr/818: CLOUDSTACK-8844: Network Update from RVR offering to Standalone offering fails - Fixed Signed-off-by: Remi Bergsma <github@remi.nl>
This commit is contained in:
commit
901d47c07e
|
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue