feat!: fix templates with the caller's values replace run_device_action (0.8.0) #31

Merged
christianmanivong merged 5 commits from feat/fix-templates-27 into master 2026-10-16 23:17:15 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit fc968fab44 - Show all commits

No files matched your search

+2 -2
View File
@@ -11,12 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Breaking:** `run_device_action` is gone, with `fix_snmp`, `fix_apt_proxy`, - **Breaking:** `run_device_action` is gone, with `fix_snmp`, `fix_apt_proxy`,
`fix_docker_permissions` and the unused `apt_update_upgrade`. The driver implements `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: napalm-device-types 4.13's fix templates instead, and the caller supplies every value:
`configure_snmp_agent(settings)` (one `rocommunity` line per allowed source, udp/161 `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 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 status), `configure_package_proxy(url)`, `grant_container_engine_access(user)` and
`ensure_package(name)`. No community, contact, location or address of an application `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. is built in any more. Requires napalm-device-types 4.13.0 or later; version 0.8.0.
- The sudo hint names no application's settings. - The sudo hint names no application's settings.
### Fixed ### Fixed
+1 -1
View File
@@ -37,7 +37,7 @@ classifiers = [
] ]
dependencies = [ dependencies = [
"napalm>=4.0", "napalm>=4.0",
"napalm-device-types>=4.12.0", "napalm-device-types>=4.13.0",
"netmiko>=4.0.0", "netmiko>=4.0.0",
"paramiko>=5.0.0", # CVE-2026-44405 "paramiko>=5.0.0", # CVE-2026-44405
] ]