VPC: fixed listNetworkACLs by networkId

This commit is contained in:
Alena Prokharchyk 2012-07-06 16:33:19 -07:00
parent 0f3f69f095
commit 29aaf4c841
2 changed files with 1 additions and 2 deletions

View File

@ -22,7 +22,6 @@ import java.util.List;
import org.apache.log4j.Logger;
import com.cloud.api.ApiConstants;
import com.cloud.api.BaseCmd.CommandType;
import com.cloud.api.BaseListTaggedResourcesCmd;
import com.cloud.api.IdentityMapper;
import com.cloud.api.Implementation;

View File

@ -339,7 +339,7 @@ public class NetworkACLManagerImpl implements Manager,NetworkACLManager{
_accountMgr.buildACLSearchBuilder(sb, domainId, isRecursive, permittedAccounts, listProjectResourcesCriteria);
sb.and("id", sb.entity().getId(), Op.EQ);
sb.and("network", sb.entity().getNetworkId(), Op.EQ);
sb.and("networkId", sb.entity().getNetworkId(), Op.EQ);
sb.and("purpose", sb.entity().getPurpose(), Op.EQ);
sb.and("trafficType", sb.entity().getTrafficType(), Op.EQ);