Skip to content

Release v2.0.0

Compare
Choose a tag to compare
@h4ndzdatm0ld h4ndzdatm0ld released this 15 Mar 06:40
· 8 commits to master since this release
d4104b3

[2.0.0] - 2022-03-14

Added

  • Implemented RpcResult and SchemaResult dataclasses
  • netconf_validate task has been implemented. This is tested in integration against SROS devices that support the capability.
  • ruff linter
  • Integration tests for IOSXE with ContainerLab. (Not in CI)
  • Standardized on tests for all platforms part of integration tests. Added a common section for common NETCONF operations.
  • Added examples and updated previous ones

Changed

  • sysrepo tests all got replaced by a containerized instance of Arista CEOS
  • mypy settings were moved into pyproject.toml file
  • get_schema doesn't pull .data_xml attribute and just dumps the output.
  • write_output internal helper allows for custom file extension (used for yang schema dumps)
  • pylint is now driven by ruff
  • bandit is now configured by pyproject.toml | updated docker file for linter + github CI
  • Added is_truthy helper and refactored SKIP_INTEGRATION_TESTS

Removed

  • Dropped Python3.7 - Only 3.8 and above is supported.
  • sysrepo container and dependencies. No tests or reliance on this container anymore.
  • xmltodict library has been removed. The user should parse XML as they please.
  • Flake8 (Replaced by Ruff as a plugin)
  • Pydocstyle (Replaced by Ruff as a plugin)
  • pylint (Replaced by Ruff as a plugin)