Nornir-netconf

Latest version: v2.0.0

Safety actively analyzes 622475 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

2.0.0

Added

- `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)

1.1.0

Added

- Normalized the result output between vendors to include 'ok' key
- Pipeline to publish to pypi/github

Changed

- Containerlab IP addresses for local integration testings changed
- Added env variable to docker-compose to run integration tests in containers
- Ability to run all tests from pytest or container
- Tests showing how to use the `extras` for defining the `platform` as the key of `name`

Fixed

- GH Actions Badge was pointing to previous fork on the Nornir organization

1.0.1

Added

- Local integration tests with ContainerLab

Changed

- Lowered requirement version for `ncclient`

Fixed

- Several integration tests are OS versions changed from previous eve-ng lab

1.0.0

Changed

- Removed dependencies locking python version between a range.
- Removed unused dev env dependencies
- Removed version pinning on dev dependencies
- Dropped support for python3.6

0.1.0

Added

- netconf_capabilities - Return server capabilities from target
- netconf_get - Returns state data based on the supplied xpath
- netconf_get_config - Returns configuration from specified configuration store (default="running")
- netconf_edit_config - Edits configuration on specified datastore (default="running")
- netconf_lock - Locks or Unlocks a specified datastore (default="lock")
- netconf_commit - Commits a change
- readme
- Integration tests

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.