mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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…
x
Reference in New Issue
Block a user