feat: report the node kernel's modules and build configuration

A Proxmox node runs its own kernel under every guest, which makes it the host
where a kernel CVE's preconditions matter most. ProxmoxDriver mixes in
KernelFactsMixin from napalm-device-types and supplies only the transport,
the existing exec path.

Requires napalm-device-types 2.1.0.
This commit is contained in:
Christian Manivong
2026-10-05 06:17:30 +02:00
parent ccb9585f4e
commit 52074620ef
4 changed files with 57 additions and 2 deletions
+2 -1
View File
@@ -34,7 +34,7 @@ from typing import Any
logger = logging.getLogger(__name__)
from napalm_device_types import FingerprintRule, HypervisorDriver, PortSpec
from napalm_device_types import FingerprintRule, HypervisorDriver, KernelFactsMixin, PortSpec
from napalm.base.exceptions import ConnectionException
try:
@@ -76,6 +76,7 @@ class ProxmoxDriver(
ProxmoxVMProvisionMixin,
ProxmoxRoutingMixin,
ProxmoxSystemMixin,
KernelFactsMixin,
HypervisorDriver,
):
"""NAPALM driver for Proxmox VE nodes."""