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.
26 lines
1.2 KiB
XML
26 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<a:Envelope xmlns:a="http://www.w3.org/2003/05/soap-envelope" xmlns:b="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:g="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">
|
|
<a:Header>
|
|
<b:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</b:To>
|
|
<b:RelatesTo>1</b:RelatesTo>
|
|
<b:Action a:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/fault</b:Action>
|
|
<b:MessageID>uuid:00000000-8086-8086-8086-000000000001</b:MessageID>
|
|
</a:Header>
|
|
<a:Body>
|
|
<a:Fault>
|
|
<a:Code>
|
|
<a:Value>a:Sender</a:Value>
|
|
<a:Subcode>
|
|
<a:Value>b:DestinationUnreachable</a:Value>
|
|
</a:Subcode>
|
|
</a:Code>
|
|
<a:Reason>
|
|
<a:Text xml:lang="en-US">No route can be determined to reach the destination role defined by the WS-Addressing To.</a:Text>
|
|
</a:Reason>
|
|
<a:Detail>
|
|
<g:FaultDetail>http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/InvalidResourceURI</g:FaultDetail>
|
|
</a:Detail>
|
|
</a:Fault>
|
|
</a:Body>
|
|
</a:Envelope>
|