Files
napalm-openmediavault/napalm_openmediavault/__init__.py
T
Christian ManivongandClaude Sonnet 4.6 46c4c13f3d feat: TYPE_LABEL = "Storage" replaces storage_device = True flag
The TYPE_LABEL attribute on the base class hierarchy is now the
canonical way for drivers to declare their device category. The
storage_device sentinel flag is removed — classification is determined
by reading TYPE_LABEL via getattr() in the backend.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-24 11:38:36 +02:00

26 lines
662 B
Python

"""
napalm-openmediavault
~~~~~~~~~~~~~~~~~~~~~
NAPALM driver for OpenMediaVault NAS systems.
Extends LinuxDriver with OMV-specific storage capabilities:
physical disk inventory, md RAID pools, mounted filesystems,
and SMB/NFS/FTP share enumeration via the OMV config database.
Usage::
from napalm_openmediavault import OpenMediaVaultDriver
driver = OpenMediaVaultDriver("192.168.1.10", "admin", "secret")
driver.open()
facts = driver.get_facts()
disks = driver.get_disks()
shares = driver.get_shares()
driver.close()
"""
from napalm_openmediavault.openmediavault import OpenMediaVaultDriver
__all__ = ["OpenMediaVaultDriver"]