diff --git a/docs/admin/release_notes/version_1.17.md b/docs/admin/release_notes/version_1.17.md index 4cca2a35..167f0509 100644 --- a/docs/admin/release_notes/version_1.17.md +++ b/docs/admin/release_notes/version_1.17.md @@ -3,6 +3,17 @@ This document describes all new features and changes in the release. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Release Overview + +- Add config parsing and update RUNNING_CONFIG_MAPPER for HP Network OS devices. + +## [v1.17.3 (2026-07-07)](https://github.com/networktocode/netutils/releases/tag/v1.17.3) + +### Added + +- [#841](https://github.com/networktocode/netutils/issues/841) - Added TenGigE to TenGigabitEthernet interface mapping in BASE_INTERFACES. +- [#843](https://github.com/networktocode/netutils/issues/843) - Added a PYNTC lib mapper entry mapping the `cisco_xr` network driver to pyntc's `cisco_iosxr_ssh` device type. + ## [v1.17.2 (2026-04-02)](https://github.com/networktocode/netutils/releases/tag/v1.17.2) ### Dependencies diff --git a/docs/user/lib_mapper/pyntc.md b/docs/user/lib_mapper/pyntc.md index 7b06e2af..7cb374d5 100644 --- a/docs/user/lib_mapper/pyntc.md +++ b/docs/user/lib_mapper/pyntc.md @@ -4,6 +4,7 @@ | cisco_aireos_ssh | → | cisco_wlc | | cisco_asa_ssh | → | cisco_asa | | cisco_ios_ssh | → | cisco_ios | +| cisco_iosxr_ssh | → | cisco_xr | | cisco_nxos_nxapi | → | cisco_nxos | | f5_tmos_icontrol | → | bigip_f5 | | juniper_junos_netconf | → | juniper_junos | \ No newline at end of file diff --git a/docs/user/lib_mapper/pyntc_reverse.md b/docs/user/lib_mapper/pyntc_reverse.md index eb362eb8..8f091b67 100644 --- a/docs/user/lib_mapper/pyntc_reverse.md +++ b/docs/user/lib_mapper/pyntc_reverse.md @@ -7,4 +7,5 @@ | cisco_nxos | → | cisco_nxos_nxapi | | cisco_wlc | → | cisco_aireos_ssh | | cisco_xe | → | cisco_ios_ssh | +| cisco_xr | → | cisco_iosxr_ssh | | juniper_junos | → | juniper_junos_netconf | \ No newline at end of file diff --git a/netutils/constants.py b/netutils/constants.py index 6a68117c..1052867c 100644 --- a/netutils/constants.py +++ b/netutils/constants.py @@ -119,6 +119,7 @@ "TenGigabitEthernet": "TenGigabitEthernet", "TenGigEthernet": "TenGigabitEthernet", "TenGigEth": "TenGigabitEthernet", + "TenGigE": "TenGigabitEthernet", "TenGig": "TenGigabitEthernet", "TeGig": "TenGigabitEthernet", "Ten": "TenGigabitEthernet", diff --git a/netutils/lib_mapper.py b/netutils/lib_mapper.py index 2f473f2d..0e4cc4aa 100644 --- a/netutils/lib_mapper.py +++ b/netutils/lib_mapper.py @@ -350,6 +350,7 @@ "cisco_aireos_ssh": "cisco_wlc", "cisco_asa_ssh": "cisco_asa", "cisco_ios_ssh": "cisco_ios", + "cisco_iosxr_ssh": "cisco_xr", "cisco_nxos_nxapi": "cisco_nxos", "f5_tmos_icontrol": "bigip_f5", "juniper_junos_netconf": "juniper_junos", @@ -525,6 +526,7 @@ "cisco_nxos": "cisco_nxos_nxapi", "cisco_wlc": "cisco_aireos_ssh", "cisco_xe": "cisco_ios_ssh", # no reverse + "cisco_xr": "cisco_iosxr_ssh", "juniper_junos": "juniper_junos_netconf", } diff --git a/pyproject.toml b/pyproject.toml index 96a9c6a5..e9269e48 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "netutils" -version = "1.17.2" +version = "1.17.3" description = "Common helper functions useful in network automation." authors = ["Network to Code, LLC "] license = "Apache-2.0" diff --git a/tests/unit/test_interface.py b/tests/unit/test_interface.py index ab661778..0a514b9d 100644 --- a/tests/unit/test_interface.py +++ b/tests/unit/test_interface.py @@ -28,6 +28,7 @@ "received": "TwoGigabitEthernet1/0/1", }, {"sent": {"interface": "Tw1/0/1"}, "received": "TwoGigabitEthernet1/0/1"}, + {"sent": {"interface": "TenGigE0/0/0/1"}, "received": "TenGigabitEthernet0/0/0/1"}, { "sent": {"interface": "SuperFastEth 1/0/1", "addl_name_map": {"SuperFastEth": "SuperFastEthernet"}}, "received": "SuperFastEthernet1/0/1", @@ -154,6 +155,7 @@ "received": "Tw1/0/1", }, {"sent": {"interface": "Tw1/0/1"}, "received": "Tw1/0/1"}, + {"sent": {"interface": "TenGigE0/0/0/1"}, "received": "Te0/0/0/1"}, { "sent": { "interface": "SuperFastEth 1/0/1",