Files
napalm-qnap-qts/CHANGELOG.md
T
Christian Manivong c999822d59
driver / standard (pull_request) Successful in 14s
driver / lint (pull_request) Successful in 12s
driver / types (pull_request) Successful in 1m1s
driver / test (3.12) (pull_request) Successful in 1m1s
driver / lowest (pull_request) Successful in 31s
driver / test (3.13) (pull_request) Successful in 1m4s
driver / build (pull_request) Successful in 27s
driver / security (pull_request) Successful in 1m9s
CI / driver (pull_request) Successful in 2m36s
driver / publish (pull_request) Skipped
fix: no account of netOrk's own on QTS either (NetOrk/netork#1817)
QTS manages its users in its own UI and ships no shadow-utils, so
add_service_account, inherited from LinuxDriver, is switched off like the
personal accounts.
2026-11-01 12:03:02 +01:00

88 lines
3.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Changelog
All notable changes to this project are documented here.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Changed
- Personal accounts are switched off (`get_local_accounts`, `add_local_account`,
`lock_local_account` = `None`). napalm-linux now adds and locks accounts with
`useradd`/`usermod` (NetOrk/netork#1793); QTS manages its users in its own UI and
ships no shadow-utils. A QTS variant follows once it can be built against a real box.
- netOrk's own account (`add_service_account`, NetOrk/netork#1817) is switched off for the
same reason.
- `set_hostname` is switched off (`= None`). napalm-linux now renames a host through
`hostnamectl` and `/etc/hostname` (NAPALM/napalm-linux#45), which QTS would report as
done and lose on the next boot: its name lives in `uLinux.conf`, `/etc` in RAM. netOrk
then says the name is kept in netOrk only. A QTS rename follows once it can be built
against a real box (#13).
- Python 3.12 is the floor (`requires-python = ">=3.12"`): netOrk runs every driver
on 3.12, so 3.10 and 3.11 are no longer tested (NAPALM/driver-standard#6).
## [0.6.0] - 2026-10-23
The first release on PyPI.
### Changed
- The driver follows the NAPALM driver standard
(https://git.netork.io/NAPALM/driver-standard): CI on Gitea runs ruff, mypy, the
tests on Python 3.10–3.13 and at the lowest declared versions, bandit, pip-audit and
a build check, and a release tag publishes to PyPI. The package now ships `py.typed`
and a LICENSE file. It needs napalm-device-types 4.22.0 and napalm-linux 0.15.0.
**Python 3.9 is no longer supported**; napalm-device-types never ran on it.
## [0.4.0] – 2026-10-17
### Changed
- Requires napalm-linux 0.8.0, whose fixes are napalm-device-types' templates.
`configure_snmp_agent`, `configure_package_proxy` and `ensure_package` are switched
off (`None`): QTS has no apt, dnf or opkg, and its SNMP agent is set in its own UI.
Before, the inherited SNMP and apt-proxy fixes were offered and failed.
### Fixed
- `get_device_warnings` no longer logs a TypeError on every poll: the inherited one
asked for updates, which QTS cannot list (#6).
## [0.3.0] – 2026-10-08
### Removed
- The `_docker_bin()` override: napalm-linux 0.3.0 drops the Docker CLI
methods it served. `_container_engine_binary("docker")` returns Container
Station's path itself.
### Changed
- Requires napalm-linux >= 0.3.0.
## [0.2.0] – 2026-10-07
### Added
- `_container_engine_binary` returns Container Station's docker path, so the
container engine connection from napalm-device-types 2.6.0
(`open_container_engine("docker")`) reaches it although it is not on PATH.
Callers pass arguments only and never see the path (NetOrk/netork#765).
### Changed
- Requires napalm-device-types >= 2.6.0 and napalm-linux >= 0.2.0.
## [0.1.0]
### Added
- Initial driver scaffold: `QnapQtsDriver(StorageDriver, LinuxDriver)` with
discovery fingerprints (SNMP enterprise OID 1.3.6.1.4.1.24681, HTTP, port
specs) and the `qnap_qts` entry point.
- Explicit `DEVICE_CLASS = "storage"` so netOrk does not classify a QNAP as a
plain Linux host and hide its Storage tab.
- QTS major-version detection, Container Station docker path discovery and
Virtualization Station virsh discovery, all resolved once per session in
`open()`.
- MRO collision resolution for `get_services`, which `StorageDriver` would
otherwise shadow.
- `tools/harvest.sh` and `tools/sanitize.py` for capturing and anonymising
command output from real hardware.
### Pending
- Storage, QPKG and VM parsers — blocked on the fixture harvest.