mirror of https://github.com/apache/cloudstack.git
add networkofferid to search network for
This commit is contained in:
parent
b6d448d1fd
commit
284742ad11
|
|
@ -3869,7 +3869,7 @@ public class NetworkServiceImpl extends ManagerBase implements NetworkService {
|
|||
|
||||
//check if we need to create guest network
|
||||
Network privateNetwork = _networksDao.getPrivateNetwork(uriString, cidr,
|
||||
networkOwnerId, pNtwk.getDataCenterId(), null);
|
||||
networkOwnerId, pNtwk.getDataCenterId(), networkOfferingId);
|
||||
if (privateNetwork == null) {
|
||||
//create Guest network
|
||||
privateNetwork = _networkMgr.createGuestNetwork(ntwkOff.getId(), networkName, displayText, gateway, cidr, uriString,
|
||||
|
|
|
|||
Loading…
Reference in New Issue