feat!: fix templates with the caller's values replace run_device_action (0.8.0) #31
No files matched your search
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Changed
|
||||
|
||||
- **Breaking:** `run_device_action` is gone, with `fix_snmp`, `fix_apt_proxy`,
|
||||
`fix_docker_permissions` and the unused `apt_update_upgrade`. The driver implements
|
||||
napalm-device-types 4.12's fix templates instead, and the caller supplies every value:
|
||||
`configure_snmp_agent(settings)` (one `rocommunity` line per allowed source, udp/161
|
||||
opened in ufw or iptables for those sources only, each step judged by its exit
|
||||
status), `configure_package_proxy(url)`, `grant_container_engine_access(user)` and
|
||||
`ensure_package(name)`. No community, contact, location or address of an application
|
||||
is built in any more. Requires napalm-device-types 4.12.0 or later; version 0.8.0.
|
||||
- The sudo hint names no application's settings.
|
||||
|
||||
### Fixed
|
||||
|
||||
- The type annotations resolve: `Dict`, `List` and `Optional` were used without an
|
||||
import (#29).
|
||||
|
||||
### Added
|
||||
|
||||
- `get_system_identity()` (napalm-device-types 4.9 `SystemIdentityMixin`): the host's
|
||||
|
||||
+2
-2
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "napalm-linux"
|
||||
version = "0.7.0"
|
||||
version = "0.8.0"
|
||||
description = "NAPALM driver for generic Linux systems via SSH"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.9"
|
||||
@@ -37,7 +37,7 @@ classifiers = [
|
||||
]
|
||||
dependencies = [
|
||||
"napalm>=4.0",
|
||||
"napalm-device-types>=4.9.0",
|
||||
"napalm-device-types>=4.12.0",
|
||||
"netmiko>=4.0.0",
|
||||
"paramiko>=5.0.0", # CVE-2026-44405
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user