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() it's the router who want to get network throttling rate, then the function failed to follow the policy. status 9516: resolved fixed
This commit is contained in:
parent
cd7c74538b
commit
2971fb32fb
|
|
@ -1484,7 +1484,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