mirror of https://github.com/apache/cloudstack.git
bug 14420: listNetworkOfferings by networkId - respect specifyVlan flag of the original offering
status 14420: resolved fixed
This commit is contained in:
parent
da2be577a2
commit
88dd43e6e0
|
|
@ -152,6 +152,9 @@ public class NetworkOfferingDaoImpl extends GenericDaoBase<NetworkOfferingVO, Lo
|
|||
sc.addAnd("trafficType", SearchCriteria.Op.EQ, originalOffering.getTrafficType());
|
||||
|
||||
sc.addAnd("state", SearchCriteria.Op.EQ, NetworkOffering.State.Enabled);
|
||||
|
||||
//specify Vlan should be the same
|
||||
sc.addAnd("specifyVlan", SearchCriteria.Op.EQ, originalOffering.getSpecifyVlan());
|
||||
|
||||
return customSearch(sc, null);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue