mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
If vm has multiple nics belonging to different shared networks then wrong statistics will be collected since network id is not considred as primary key. Make the change so that primary key contains network id so that traffic belonging to that corresponding network is shown If network id is not added to primary key then all the traffic of all shared networks will show up in one nic. Co-authored-by: Rakesh Venkatesh <rakeshv@apache.org>