From ae08e5998fafd6f99d9b4e9e004e7d843934b1cb Mon Sep 17 00:00:00 2001 From: AhmedGrati Date: Thu, 2 Nov 2023 15:48:19 +0100 Subject: [PATCH] feat: discover virtual network interfaces Signed-off-by: AhmedGrati --- source/network/network.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/network/network.go b/source/network/network.go index 383e2a0ce..1026ba034 100644 --- a/source/network/network.go +++ b/source/network/network.go @@ -34,6 +34,9 @@ import ( // Name of this feature source const Name = "network" +// VirtualFeature exposes features for network interfaces that are not attached to a physical device +const VirtualFeature = "virtual" + const DeviceFeature = "device" const sysfsBaseDir = "class/net"