Files
napalm-amt/napalm_amt/parsers/__init__.py
T
christianmanivong 0052ba7884 feat: Intel AMT driver over WS-Management (0.1.0)
An `amt` driver (napalm_amt.AmtDriver), a ManagementControllerDriver for the
management controller of Intel vPro machines, with its own lean WS-Management
client (requests + ElementTree, HTTP Digest, ports 16992/16993).

It reads the machine's identity, hardware with the SMBIOS system UUID, firmware
(AMT with build, BIOS), power state and the hardware event log, reports what AMT
listens on (plain HTTP or TLS, KVM incl. port 5900, IDE-R), and switches the
machine's power. AMT cannot be reset over WS-Management, so there is no
reboot_host. Discovery recognises AMT by its ports and its Server header.

Tested against Intel's published AMT 12 recordings (go-wsman-messages,
Apache-2.0, see NOTICE). `python -m napalm_amt.record` records a real AMT
read-only; the first test devices are two Lenovo ThinkCentre M910x.
2026-10-18 14:55:32 +02:00

32 lines
975 B
Python

"""Pure functions from WS-Management instances (dicts) to the shapes the driver returns."""
from napalm_amt.parsers.inventory import parse_cpus, parse_drives, parse_memory
from napalm_amt.parsers.logs import parse_event_record
from napalm_amt.parsers.network import parse_ethernet_ports
from napalm_amt.parsers.power import POWER_REQUESTS, accepted_actions, parse_power_state
from napalm_amt.parsers.protocols import parse_management_protocols
from napalm_amt.parsers.system import (
parse_firmware,
parse_platform_guid,
parse_software_identity,
parse_system_identity,
uuid_from_base64,
)
__all__ = [
"POWER_REQUESTS",
"accepted_actions",
"parse_cpus",
"parse_drives",
"parse_ethernet_ports",
"parse_event_record",
"parse_firmware",
"parse_management_protocols",
"parse_memory",
"parse_platform_guid",
"parse_power_state",
"parse_software_identity",
"parse_system_identity",
"uuid_from_base64",
]