fix: AMT runs no SNMP agent (0.1.1)
SNMP_CAPABLE = False, so netOrk does not poll AMT over SNMP the way it reads other management controllers (UCD-MIB).
This commit is contained in:
1 parent
0052ba7884
commit
1ef2034d87
4 files changed
+14
-1
No files matched your search
@@ -1,5 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
## 0.1.1
|
||||
|
||||
- `SNMP_CAPABLE = False`: AMT runs no SNMP agent, so netOrk does not poll it over SNMP
|
||||
as it does other management controllers.
|
||||
|
||||
## 0.1.0
|
||||
|
||||
- `amt` driver (`napalm_amt.AmtDriver`), a `ManagementControllerDriver` for Intel AMT over
|
||||
|
||||
@@ -93,6 +93,8 @@ class AmtDriver(ManagementControllerDriver):
|
||||
#: AMT names itself in the ``Server`` header of every answer, and its web UI in the
|
||||
#: title ("Intel(R) Active Management Technology 11.8.50.3399").
|
||||
HTTP_FINGERPRINT = [FingerprintRule("active management technology", 10.0)]
|
||||
#: AMT runs no SNMP agent, so netOrk does not read it over SNMP.
|
||||
SNMP_CAPABLE = False
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "napalm-amt"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
description = "NAPALM driver for Intel Active Management Technology (AMT) over WS-Management"
|
||||
readme = "README.md"
|
||||
license = { file = "LICENSE" }
|
||||
|
||||
@@ -32,6 +32,12 @@ def test_does_not_offer_a_controller_reset():
|
||||
assert not hasattr(AmtDriver, "reboot_host")
|
||||
|
||||
|
||||
def test_has_no_snmp():
|
||||
# AMT runs no SNMP agent; netOrk must not poll it over SNMP (UCD-MIB) for being
|
||||
# a management controller.
|
||||
assert AmtDriver.SNMP_CAPABLE is False
|
||||
|
||||
|
||||
def test_tls_follows_the_port():
|
||||
assert AmtDriver(HOST, "u", "p").transport.url == f"http://{HOST}:16992/wsman"
|
||||
tls = AmtDriver(HOST, "u", "p", optional_args={"port": 16993, "verify_ssl": False})
|
||||
|
||||
Reference in new issue
Block a user