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.
This commit is contained in:
commit
0052ba7884
61 files changed
+4303
No files matched your search
@@ -0,0 +1,39 @@
|
||||
<?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:c="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"
|
||||
xmlns:d="http://schemas.xmlsoap.org/ws/2005/02/trust"
|
||||
xmlns:e="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
|
||||
xmlns:f="http://schemas.dmtf.org/wbem/wsman/1/cimbinding.xsd"
|
||||
xmlns:g="http://schemas.xmlsoap.org/ws/2004/09/enumeration"
|
||||
xmlns:h="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_TLSSettingData"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<a:Header>
|
||||
<b:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</b:To>
|
||||
<b:RelatesTo>8</b:RelatesTo>
|
||||
<b:Action a:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/09/enumeration/PullResponse</b:Action>
|
||||
<b:MessageID>uuid:00000000-8086-8086-8086-000000002915</b:MessageID>
|
||||
<c:ResourceURI>http://intel.com/wbem/wscim/1/amt-schema/1/AMT_TLSSettingData</c:ResourceURI>
|
||||
</a:Header>
|
||||
<a:Body>
|
||||
<g:PullResponse>
|
||||
<g:Items>
|
||||
<h:AMT_TLSSettingData>
|
||||
<h:AcceptNonSecureConnections>false</h:AcceptNonSecureConnections>
|
||||
<h:ElementName>Intel(r) AMT 802.3 TLS Settings</h:ElementName>
|
||||
<h:Enabled>false</h:Enabled>
|
||||
<h:InstanceID>Intel(r) AMT 802.3 TLS Settings</h:InstanceID>
|
||||
<h:MutualAuthentication>false</h:MutualAuthentication>
|
||||
</h:AMT_TLSSettingData>
|
||||
<h:AMT_TLSSettingData>
|
||||
<h:AcceptNonSecureConnections>true</h:AcceptNonSecureConnections>
|
||||
<h:ElementName>Intel(r) AMT LMS TLS Settings</h:ElementName>
|
||||
<h:Enabled>false</h:Enabled>
|
||||
<h:InstanceID>Intel(r) AMT LMS TLS Settings</h:InstanceID>
|
||||
<h:MutualAuthentication>false</h:MutualAuthentication>
|
||||
</h:AMT_TLSSettingData>
|
||||
</g:Items>
|
||||
<g:EndOfSequence></g:EndOfSequence>
|
||||
</g:PullResponse>
|
||||
</a:Body>
|
||||
</a:Envelope>
|
||||
Reference in new issue
Block a user