feat: Fingerprint-Attribute für Discovery-Scoring
Ergänzt DRIVER_NAME, HTTP_FINGERPRINT, SNMP_FINGERPRINT, SSH_FINGERPRINT, PORT_SPECS und SNMP_OBJECT_ID_PREFIX gemäß docs/DISCOVERY_FINGERPRINTING.md. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
46c4c13f3d
commit
7e8624a3dd
Binary file not shown.
@@ -22,6 +22,7 @@ import json as _json
|
||||
import re
|
||||
from typing import Any
|
||||
|
||||
from napalm_device_types import FingerprintRule
|
||||
from napalm_device_types.models import (
|
||||
DiskPoolDict,
|
||||
LogicalVolumeDict,
|
||||
@@ -48,7 +49,14 @@ class OpenMediaVaultDriver(LinuxDriver):
|
||||
"""
|
||||
|
||||
TYPE_LABEL = "Storage"
|
||||
DRIVER_NAME = "openmediavault"
|
||||
driver_name = "openmediavault"
|
||||
SSH_FINGERPRINT = [
|
||||
FingerprintRule("debian", weight=4.0),
|
||||
]
|
||||
HTTP_FINGERPRINT = [
|
||||
FingerprintRule("openmediavault", weight=9.0, mandatory=True),
|
||||
]
|
||||
|
||||
# ── Facts override ─────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
Reference in New Issue
Block a user