CLOUDSTACK-4442: Source NAT not applied when network starts up

fixing the buid break introduced with prev commit for this bug
(cherry picked from commit 255c8473db)

Signed-off-by: animesh <animesh@apache.org>
This commit is contained in:
Murali Reddy 2013-08-22 21:07:52 +05:30 committed by animesh
parent 1cd53833d1
commit ea738cb5fb
1 changed files with 1 additions and 1 deletions

View File

@ -2000,7 +2000,7 @@ public class VpcManagerImpl extends ManagerBase implements VpcManager, VpcProvis
boolean success = false;
try {
//unassign ip from the VPC router
success = _ntwkMgr.applyIpAssociations(_ntwkModel.getNetwork(networkId), true);
success = _ntwkMgr.applyIpAssociations(_ntwkModel.getNetwork(networkId), true, false);
} catch (ResourceUnavailableException ex) {
throw new CloudRuntimeException("Failed to apply ip associations for network id=" + networkId +
" as a part of unassigning ip " + ipId + " from vpc", ex);