class insights.combiners.netstat.NetworkStats(net_stats, ip_stats)[source]

Bases: object

A combiner for working with both netstat -i and ip -s link That is if netstat -i gets deprecated then we can continue with ip -s link.

This interface closely follow interface Netstat_I it has following Attributes:

group_by_iface

This property returns network stats organised per interface in dict format.

Type:

dict

data

List of network stats as per devices.

Type:

list