mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
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…
x
Reference in New Issue
Block a user