github napalm-automation-community/napalm-ros 1.6.0

4 hours ago

Breaking

  • NAPALM 5 is now required (napalm = ">=5.0.0,<6.0.0") (#167). NAPALM 5 added a format argument to get_config, and a driver cannot match both the NAPALM 4 and NAPALM 5 method signatures at once, so the previously declared >=4.0.0,<6.0.0 range was never satisfiable in both directions. Stay on napalm-ros 1.5.0 if you need NAPALM 4.

Changes

  • get_config accepts NAPALM 5's format argument. RouterOS exports its configuration only as an /export script, so any value other than text raises NotImplementedError (#167).
  • CI now resolves and tests NAPALM 5.2.0; the lockfile previously pinned 4.1.0, so NAPALM 5 was never exercised (#167).
  • Drop the setuptools = "<81" dev cap. It existed because NAPALM 4 imported pkg_resources at import time; NAPALM 5 does not (#167).
  • Add the missing mocked_data fixtures for test_get_config_sanitized_filtered (#167).

Don't miss a new napalm-ros release

NewReleases is sending notifications on new releases.