mirror of https://github.com/apache/cloudstack.git
bug 9516: Fix network.throttling.rate on DomR other vnifs
It's due to nobody tell getNetworkRate() the id of router, then the function is fail to follow the policy. status: resolved fixed
This commit is contained in:
parent
ef3ea765bf
commit
79c5013ee2
|
|
@ -1602,7 +1602,7 @@ public class VirtualNetworkApplianceManagerImpl implements VirtualNetworkApplian
|
|||
String vmGuestAddress = null;
|
||||
|
||||
// Get network rate - required for IpAssoc
|
||||
Integer networkRate = _networkMgr.getNetworkRate(ipAddr.getNetworkId(), null);
|
||||
Integer networkRate = _networkMgr.getNetworkRate(ipAddr.getNetworkId(), router.getId());
|
||||
|
||||
IpAddressTO ip = new IpAddressTO(ipAddr.getAddress().addr(), add, firstIP, sourceNat, vlanId, vlanGateway, vlanNetmask, vifMacAddress, vmGuestAddress, networkRate);
|
||||
ipsToSend[i++] = ip;
|
||||
|
|
|
|||
Loading…
Reference in New Issue