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

Merged
christianmanivong merged 2 commits from feature/share-endpoints into main 2026-12-03 17:53:35 +00:00
2 Commits
Author SHA1 Message Date
Christian Manivong 480107c96a refactor: the share and mount transports in their own mixin (NetOrk/netork#3104)
driver / lint (pull_request) Successful in 13s
driver / standard (pull_request) Successful in 15s
driver / lowest (pull_request) Successful in 27s
driver / types (pull_request) Successful in 54s
driver / test (3.12) (pull_request) Successful in 1m0s
driver / test (3.13) (pull_request) Successful in 53s
driver / build (pull_request) Successful in 24s
driver / security (pull_request) Successful in 58s
CI / driver (pull_request) Successful in 1m41s
driver / publish (pull_request) Skipped
The standard's ratchet holds linux.py at its recorded size: the two exec-channel
transports move to _shares.LinuxSharesMixin, which the host readings bring in.
2026-12-03 18:45:51 +01:00
Christian Manivong 6f073aa96c 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.
2026-12-03 18:43:45 +01:00