mirror of https://github.com/apache/cloudstack.git
In inline SRX/F5 mode, collect outbound usage for LB rules from the SRX.
This commit is contained in:
parent
fd759c60df
commit
60d69aabb2
|
|
@ -1072,6 +1072,10 @@ public class ExternalNetworkManagerImpl implements ExternalNetworkManager {
|
|||
NicVO nic = _nicDao.findById(mapping.getNicId());
|
||||
String loadBalancingIpAddress = nic.getIp4Address();
|
||||
bytesSentAndReceived = answer.ipBytes.get(loadBalancingIpAddress);
|
||||
|
||||
if (bytesSentAndReceived != null) {
|
||||
bytesSentAndReceived[0] = 0;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
bytesSentAndReceived = answer.ipBytes.get(publicIp);
|
||||
|
|
|
|||
Loading…
Reference in New Issue