A substantial RouterOS 7 release: new/updated getters, configuration-management hardening, and a required librouteros floor bump.
Configuration management
- Read
get_configover the binary API on RouterOS 7 (#148), and makecompare_configwork on RouterOS older than ~7.13 by routing throughget_config(#152). - Harden
commit_config: dry-run the candidate before applying (RouterOS 7.16+), cancel an armed auto-revert when an apply fails, and give an actionable error when device-mode has the scheduler disabled (#149). - Require librouteros >= 4.2.2 (#158), which carries the
/file/addfixcommit_configneeds to apply a candidate on RouterOS older than ~7.13.
RouterOS 7 getter support
- Support the RouterOS 7 BGP API in
get_bgp_neighbors/get_bgp_neighbors_detail(#146). - Fix
get_network_instanceson RouterOS 7 (/ip/route/vrf->/ip/vrf) (#153).
Fixes
- Close the SSH client used by
get_configand guardclose()against a partially-open driver (#147). is_alivenow probes the connection instead of hardcodingTrue(#151).- Skip the
NoneNTP server whensecondary-ntpis unset (#150). - Fix
get_environmentKeyErrorwhen health monitoring is off (#154). - Fix NAPALM 5 compatibility and packaging dependency (#157).