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>
26 lines
662 B
Python
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"]
|