Add API Support for L2 Information
What would you like to add or change?:
It would be really helpful if ntopng provided L2 information via the RestAPI for devices.
Right now, counters like bytes.sent and bytes.rcvd seem to only include L3 traffic. This makes sense, because the host API is indexed by IP address which would indicate that the host endpoint is L3 only?
In a busy network, it is often possible that this only explains part of the story as there can be a lot of traffic happening at L2 that is not shown when you only have access to L3 data for hosts.
Why do you and others need this?:
It would be really helpful, if L2 device throughput was also exposed by the RestAPI so that we could get access to throughput information on ntopng monitored networks. This would allow our tools that integrate with the RestAPI to get a more full story of the current network conditions.
Of particular interest would be total packets received / sent and total bytes received / sent.