feat: the host's file shares and network mounts, 0.27.0 (NetOrk/netork#3104)

- get_shares() through napalm-device-types' PosixSharesMixin: the NFS exports and
  Samba shares the host serves, each naming its service.
- get_network_mounts() through NetworkMountsMixin: the NFS exports and SMB shares
  the host has mounted.
- Requires napalm-device-types 4.58.0, which also reports nfs-server running while
  its unit is active and names it as the unit of the kernel's NFS sockets.
This commit is contained in:
Christian Manivong committed 2026-12-03 18:43:45 +01:00
1 parent 612bda6ce2
commit 6f073aa96c
4 files changed
+92 -2

No files matched your search

+2 -2
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "napalm-linux"
version = "0.26.0"
version = "0.27.0"
description = "NAPALM driver for generic Linux systems via SSH"
readme = "README.md"
requires-python = ">=3.12"
@@ -34,7 +34,7 @@ classifiers = [
]
dependencies = [
"napalm>=4.0",
"napalm-device-types>=4.55.0", # LoginSessionsMixin
"napalm-device-types>=4.58.0", # PosixSharesMixin, nfs-server running
"netmiko>=4.0.0",
"paramiko>=5.0.0", # CVE-2026-44405
]