CLOUDSTACK-5281:

Resource limit shouldnt be counted for resources with display flag = 0. Correcting this for the networks at the moment.
This commit is contained in:
Nitin Mehta 2013-12-20 17:42:45 -08:00
parent edc1b78d84
commit 83bbe682d9

View File

@ -25,6 +25,7 @@ import javax.ejb.Local;
import javax.inject.Inject;
import javax.naming.ConfigurationException;
import org.apache.cloudstack.acl.ControlledEntity;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Component;
@ -835,6 +836,11 @@ public class MockNetworkManagerImpl extends ManagerBase implements NetworkOrches
//To change body of implemented methods use File | Settings | File Templates.
}
@Override
public boolean resourceCountNeedsUpdate(NetworkOffering ntwkOff, ACLType aclType) {
return false; //To change body of implemented methods use File | Settings | File Templates.
}
@Override
public void prepareNicForMigration(VirtualMachineProfile vm, DeployDestination dest) {
// TODO Auto-generated method stub