mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-8844: Network Update from RVR offering to Standalone offering fails - Fixed
This commit is contained in:
parent
c03956ebec
commit
e24ecccdea
|
|
@ -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