mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
feat: discover virtual network interfaces
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
This commit is contained in:
parent
536a006b93
commit
ae08e5998f
1 changed files with 3 additions and 0 deletions
|
@ -34,6 +34,9 @@ import (
|
||||||
// Name of this feature source
|
// Name of this feature source
|
||||||
const Name = "network"
|
const Name = "network"
|
||||||
|
|
||||||
|
// VirtualFeature exposes features for network interfaces that are not attached to a physical device
|
||||||
|
const VirtualFeature = "virtual"
|
||||||
|
|
||||||
const DeviceFeature = "device"
|
const DeviceFeature = "device"
|
||||||
|
|
||||||
const sysfsBaseDir = "class/net"
|
const sysfsBaseDir = "class/net"
|
||||||
|
|
Loading…
Reference in a new issue