mirror of https://github.com/apache/cloudstack.git
InternalLb: fixed creation for default network offering with internal lb support - public lb support should be disbaled on it
Conflicts: engine/schema/src/com/cloud/offerings/NetworkOfferingVO.java
This commit is contained in:
parent
30d4ef3af7
commit
242f46118b
|
|
@ -426,4 +426,7 @@ public class NetworkOfferingVO implements NetworkOffering {
|
|||
this.internalLb = internalLb;
|
||||
}
|
||||
|
||||
public void setPublicLb(boolean publicLb) {
|
||||
this.publicLb = publicLb;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1428,6 +1428,7 @@ public class NetworkManagerImpl extends ManagerBase implements NetworkManager, L
|
|||
true, Network.GuestType.Isolated, false, null, false, null, false, false, null, false);
|
||||
offering.setState(NetworkOffering.State.Enabled);
|
||||
offering.setInternalLb(true);
|
||||
offering.setPublicLb(false);
|
||||
_networkOfferingDao.update(offering.getId(), offering);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue