Skip to content

Commit e24eccc

Browse files
committed
CLOUDSTACK-8844: Network Update from RVR offering to Standalone offering fails - Fixed
1 parent c03956e commit e24eccc

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

engine/schema/src/com/cloud/network/dao/NetworkVO.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,4 +619,9 @@ public void setStrechedL2Network(boolean strechedL2Network) {
619619
public void setVpcId(Long vpcId) {
620620
this.vpcId = vpcId;
621621
}
622+
623+
public void setIsReduntant(boolean reduntant) {
624+
this.isRedundant = reduntant;
625+
}
626+
622627
}

server/src/com/cloud/network/NetworkServiceImpl.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2100,6 +2100,9 @@ public Network updateGuestNetwork(final long networkId, String name, String disp
21002100
}
21012101
restartNetwork = true;
21022102
networkOfferingChanged = true;
2103+
2104+
//Setting the new network's isReduntant to the new network offering's RedundantRouter.
2105+
network.setIsReduntant(_networkOfferingDao.findById(networkOfferingId).getRedundantRouter());
21032106
}
21042107
}
21052108

0 commit comments

Comments
 (0)