* fix: documentation build
* fix: documentation build (#2066)
* Fixes#2086 stripping whitespace
* Bump types-setuptools from 69.2.0.20240317 to 69.5.0.20240519
* Bump pytest from 7.3.1 to 8.2.1
* Bump sphinx from 7.2.6 to 7.3.7
* Bump black from 24.3.0 to 24.4.2
* Bump mypy from 1.9.0 to 1.10.0
* Closes#2028: Fix typo
* Bump jinja2 from 3.1.3 to 3.1.4
* Bump types-six from 1.16.21.20240311 to 1.16.21.20240513
* Bump coveralls from 3.3.1 to 4.0.1
* Bump ansible from 9.4.0 to 9.6.0
* Bump types-requests from 2.31.0.20240406 to 2.32.0.20240521
* Bump types-setuptools from 69.5.0.20240519 to 69.5.0.20240522
* Rework eos.get_bgp_neighbor
* added pyenv .python-version file to the gitignore
* Small fixes for nxos_ssh
* Improve nxos_ssh version handling
* Bump ansible version in docs requirements
* Draft: Update eos CLI vrf command
* use plain dict in IOSDriver.get_bgp_neighbors_detail()
* Support NTP server details in base, EOS
* Bump urllib3 from 2.2.1 to 2.2.2
* Bump types-requests from 2.32.0.20240521 to 2.32.0.20240712
* Bump pytest from 8.2.1 to 8.3.2
* Bump mypy from 1.10.0 to 1.11.1
* Bump types-pyyaml from 6.0.12.20240311 to 6.0.12.20240808
* Bump types-requests from 2.32.0.20240712 to 2.32.0.20241016
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-napalm?expand=0&rev=39
- Update to 5.0.0:
* New features
+ Add format optional variable to core drivers to support get_config()
options
+ [Junos] Add huge_tree as an optional_arg in junos to fix xml huge
tree node
+ [Validate] Add tolerance percentage
* Improvements and bug fixes
+ [NX-OS] Update nxos.py to expose file transfer errors
+ [Validate] Use isinstance(list) instead of types comparison
+ [Junos] Do not try to parse a "none" value and convert it to "" for
get_ipv6_neighbors_table
+ [JUNOS] Fix call to lxml.etree.ElementBase.getparent erroneously
using get_parent
+ [NX-OS SSH, IOS] IPv6 Regex update
+ [IOS] Make get_vlans name whitespace aware
+ [NX-OS] Fix get_bgp_neighbor when neighbor is admin shut
+ [JUNOS] get_bgp_config() - ValueError: Can't convert with callable None
+ [IOS] get_bgp_neighbors same IP different VRF
+ [NX-OS] Handle non standard output for PSU's in get_environment
+ [IOS-XR] Use LastStateTransitionTime to populate last_flapped for
get_interfaces() in IOS-XR
+ [Junos] Fix Can't convert with callable None
- Refreshed python-napalm-no-mock.patch
- Removed patches, included upstream:
* napalm-gh-pr1796-xmlgetparent.patch
* remove-future-requirement.patch
- Add patch support-python-313.patch:
* Use vendored telnetlib provided by netmiko
OBS-URL: https://build.opensuse.org/request/show/1229703
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-napalm?expand=0&rev=17
* New features
+ Add format optional variable to core drivers to support get_config()
options
+ [Junos] Add huge_tree as an optional_arg in junos to fix xml huge
tree node
+ [Validate] Add tolerance percentage
* Improvements and bug fixes
+ [NX-OS] Update nxos.py to expose file transfer errors
+ [Validate] Use isinstance(list) instead of types comparison
+ [Junos] Do not try to parse a "none" value and convert it to "" for
get_ipv6_neighbors_table
+ [JUNOS] Fix call to lxml.etree.ElementBase.getparent erroneously
using get_parent
+ [NX-OS SSH, IOS] IPv6 Regex update
+ [IOS] Make get_vlans name whitespace aware
+ [NX-OS] Fix get_bgp_neighbor when neighbor is admin shut
+ [JUNOS] get_bgp_config() - ValueError: Can't convert with callable None
+ [IOS] get_bgp_neighbors same IP different VRF
+ [NX-OS] Handle non standard output for PSU's in get_environment
+ [IOS-XR] Use LastStateTransitionTime to populate last_flapped for
get_interfaces() in IOS-XR
+ [Junos] Fix Can't convert with callable None
- Refreshed python-napalm-no-mock.patch
- Removed patches, included upstream:
* napalm-gh-pr1796-xmlgetparent.patch
* remove-future-requirement.patch
- Add patch support-python-313.patch:
* Use vendored telnetlib provided by netmiko
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-napalm?expand=0&rev=34
- Remove empty netmiko-4-support.patch
- Update to 4.0.0
Type Hinting
============
- After months of work, @Kircheneer added type hinting support in #1412 and
#1476.
New features
============
- Add Commit-Confirm support for Cisco IOS #1691
- New encoding argument added to the cli method to return the output of
operational / show commands in the desired format. Currently supported on
Junos and EOS. #1637 & #1663
- Added ttp_parse helper function to codebase #1563
- Replaced ciscoconfparse with netutils #1565
- New SSH transport available for Arista EOS - thanks @thomasbridge74 #1502
Improvements
============
- Adds mac and ip checks for getters #1560
- The uptime field in the get_facts return is now float type: #1651
- [NX-OS] Improve compare_config for NXOS partial merging #1567
- [EOS] support arbitrary transport class #1643 & #1647
- [EOS] move config lock check to _load_config #1642
- [EOS] Handle modern memory output from Arista EOS 4.27+ #1673
- [IOS-XR] Improving get_facts behavior to handle XML changes in newer OS
versions #1667
- [Junos] make sure we don't duplicate LLDP neighbor entries #1640
Bug fixes
=========
- [Junos] find for system uptime element #1675
- [IOS-XR] get_lldp_neighbor_details does not support 'N/A' capabilities
#1681
- [IOS-XR] get_lldp_neighbor_details add alternative lldp local interface key
#1682
- [NX-OS] get_interfaces fix description on SVI interfaces #1571
- [IOS] get_vlans does not return all interfaces if they wrap around in the
config #1569
- [Junos] Fix#1549: Check peer admin status from the BGP options #1566
- [EOS] get_bgp_neighbors_detail only returns back a single peer for a
certain EOS platform #1573
- Update to 3.4.1
* Pinning to junos-eznc>=2.6.3
OBS-URL: https://build.opensuse.org/request/show/1031189
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-napalm?expand=0&rev=13
- Remove empty netmiko-4-support.patch
- Update to 4.0.0
Type Hinting
============
- After months of work, @Kircheneer added type hinting support in #1412 and
#1476.
New features
============
- Add Commit-Confirm support for Cisco IOS #1691
- New encoding argument added to the cli method to return the output of
operational / show commands in the desired format. Currently supported on
Junos and EOS. #1637 & #1663
- Added ttp_parse helper function to codebase #1563
- Replaced ciscoconfparse with netutils #1565
- New SSH transport available for Arista EOS - thanks @thomasbridge74 #1502
Improvements
============
- Adds mac and ip checks for getters #1560
- The uptime field in the get_facts return is now float type: #1651
- [NX-OS] Improve compare_config for NXOS partial merging #1567
- [EOS] support arbitrary transport class #1643 & #1647
- [EOS] move config lock check to _load_config #1642
- [EOS] Handle modern memory output from Arista EOS 4.27+ #1673
- [IOS-XR] Improving get_facts behavior to handle XML changes in newer OS
versions #1667
- [Junos] make sure we don't duplicate LLDP neighbor entries #1640
Bug fixes
=========
- [Junos] find for system uptime element #1675
- [IOS-XR] get_lldp_neighbor_details does not support 'N/A' capabilities
#1681
- [IOS-XR] get_lldp_neighbor_details add alternative lldp local interface key
#1682
- [NX-OS] get_interfaces fix description on SVI interfaces #1571
- [IOS] get_vlans does not return all interfaces if they wrap around in the
config #1569
- [Junos] Fix#1549: Check peer admin status from the BGP options #1566
- [EOS] get_bgp_neighbors_detail only returns back a single peer for a
certain EOS platform #1573
- Update to 3.4.1
* Pinning to junos-eznc>=2.6.3
OBS-URL: https://build.opensuse.org/request/show/1031059
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-napalm?expand=0&rev=24
- version update to 3.4.0
Junos
Junos discard_config on error fix#1448
Junos LLDP improvements #1470
Junos pass self.ignore_warning to diff call in compare_config() #1480
NX-OS
Improve NX-API error messages #1461
NX-OS disable SSL InsecureRequestWarning if ssl_verify is False #1510
NX-OS unknown interface MTU and unknown speed as -1 #1511
NX-OS improve JSON handling in newer NX-OS versions #1490
IOS
IOS allow BGP configuration with no explicit AFI #1477
Escape vlan_name on IOS before building regex string #1546
Handle get_network_instances for IOS devices that do not support show vrf detail #1547
EOS
EOS fix get_bgp_config mismatch between neighbors and peer-group #1503
IOS-XR
Pass IOS-XR NETCONF optional_args to ncclient connect #1535
General
Bandwidth parameter returned as a float
Pin Netmiko to require Netmiko version 3.3.X or 3.4.X
- added patches
fix https://github.com/napalm-automation/napalm/issues/1594
+ python-napalm-no-mock.patch
OBS-URL: https://build.opensuse.org/request/show/964663
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-napalm?expand=0&rev=20
- Update to version 3.3.1
* [IOS-XR] Fix#1330 (get_bgp_neighbors_detail: flap_count
return a negative value).
* [IOS] Fix#1387 (get_network_instances fails KeyError when
deleting item from interfaces).
* [Junos] Fix bgp flap_count issue for iosxr_netconf.
* [Junos] Change the function cli when result is xml object.
* [EOS, IOS, Junos, NXOS] Add source_interface argument to ping.
- Update to version 3.3.0
New Features
* [Junos] Add get_vlans for Junos.
* [Junos] Added Support for Logical Interfaces Counters.
* [Junos] Use aply-groups inheritance on get-configuration RPC
calls.
* [Core] Adding cannonical mapping for 25GE, 50GE, 200GE and
400GE interfaces.
Bug Fixes
* [EOS] Fix for BGP description not found by get_bgp_neighbors
in some EOS versions.
* [EOS] Set next hop to something valid for vxlan routes.
* [EOS] Fix naplam.get_route_to() not working on EOS:failed to
detect a valid IP address from u''.
* [IOS-XR] XR 7+: get_lldp_neighbors_detail query only the
NodeTable.
* [IOS-XR] Resolve#1181 (IOS-XR get_environment() throws an
error in 6.3.2 on NCS5501) and reduce the get_facts heavy
workload.
* [IOS-XR] Look up the KeepAliveTime and HoldTime keys in the
VRF tree.
* [Junos] Fix sanitized bug for Junos.
OBS-URL: https://build.opensuse.org/request/show/913295
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-napalm?expand=0&rev=17
- Update to version 3.2.0
New features
* [EOS] Add get_vlans getter.
* [NX-OS] Feature/nxos ssh get_interfaces_counters.
Bug fixes and behaviour changes
* [IOS] get_network_instances fixes, see #1095 for more details.
* [IOS-XR] get_route_to fix pyIOSXR.exceptions.XMLCLIError for
some versions.
* [EOS] Fix get_arp_table for static ARP records.
* [EOS] Add EOS-4.23+ translation for show environment temperature.
* [IOS] Update get_probe code to make it work it IOS XE 16.12.x.
OBS-URL: https://build.opensuse.org/request/show/831955
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-napalm?expand=0&rev=15
- Update to version 3.1.0
Core changes
* Fix: force_no_enable enabled on ios and nx only
* If you maintain a thrid-party driver using Netmiko for the
underlying layer, but that doesn't make use of the enable
features typically found on IOS-like devices, it is
recommended to pin to this NAPALM version, so it won't break
compatibility.
* lxml text retrieval (find_txt) shouldn't fail if no text
element available
Driver changes
* [NX-OS] Initial version for nxos_ssh get_optics
* [NX-OS] Fixed get_bgp_neighbors and asdot notation on NX-OS
* [Junos] Fix "KeyError in get_environment() on Juniper MX10k3
with Junos 19.2R1.8 by making PEM naming consistent
* [IOS] Fix get_optics metric
* [IOS] Allow username detection on older Cisco ios versions
OBS-URL: https://build.opensuse.org/request/show/823026
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-napalm?expand=0&rev=13
- Update to version 3.0.0
Changes:
* Integrated nxapi_plumbing and pyIOSXR into NAPALM.
* [NXOS] If the command returns a null value then
json.loads(None) throws an exception.
* [NXOS] For Vlan interfaces nxos driver, the state is not
correctly defined (related to json output).
* [IOS] Return empty dictionary if BGP not running.
* Fix Nornir + NAPALM threading issue.
* [IOS, NXOS] get-vlans() getter implementation.
* [IOS] Fix traceroute output parsing in ios.
* [NXOS] firmware less than 7 does not support json in cli
* Updated support for TwoGigabit & TwentyFiveGig interfaces
to canonical_map.py
* [NXOS]: Prevent nxos.get_interfaces_ip from failing if no
ipv6 support.
* [Junos] Added auto_probe optional argument.
* [NXOS] Fix exception when trying to get environmental data
from certain Nexus devices.
* [IOS] Fix fix vrf detection when no vrf is defined.
* [IOS-XR} No silent pass of errors in base.helpers & logging.
* [IOS-XR] Add support for XML namespace prefixes in find_txt.
* [NXOS] Fix get_vlans() method where no interfaces in VLAN.
* [IOS] Added ``force_no_enable` optional argument.
* [NXOS] Use Kickstart version to determine NXOS version.
* [NXOS] Add nxos_ssh support for force_no_enable.
* [EOS] Fix#1153: Strip double quotation on LLDP remote port.
* [IOS] Fix typo in the traceoute method.
* add a few less used canonical mappings.
* [IOS] Fix show interfaces summary for 10/40/100 Gig Interfaces
OBS-URL: https://build.opensuse.org/request/show/800795
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-napalm?expand=0&rev=7
- version update to 2.5.0
* This is the last release supporting Python 2. Going forward, we will only support Python 3.6+
* namespace fix for napalm cli (#950)
* [EOS] Fix broken get_bgp_neighbors when 6PE configured on eos (#945)
* [NXOS] If parent_table in nxos is None call exception (#939)
* [Junos] Remove extensive argument from junos_iface_table (#929)
* MTU support for get_interfaces (#940)
* [EOS] When asPathType is Internal (IBGP), as_path is empty and the remote-as is the local_as (#1064)
* [IOS] support n9k ipv6 ints for interfaces_ip getter (#969)
* [IOS] support catalyst vss for mac_address getter (#968)
* [IOS] Raise exception if BGP neighbor info requested and BGP not running (#970)
* [NXOS] Implement nxos_ssh get_environment (#973)
* Better handling of connection closing upon exceptions in enter (#994)
* [NXOS] address single and multiple v6 address on n9k (#997)
* [NXOS] Fix nxos and nxos_ssh hostname change handling (#999)
* added option to run show run all (#1029)
* [Junos] add optional arg for DB config selection (#1035)
* [Junos] Fixed "Wrong interface information for Junos virtual-switch w/ bridge domains using get_network_instances" (#1032)
* [EOS] Implemented lock_disable for EOS based on Junos. (#1042)
* [NXOS] Work around NXAPI double quoting (#1048)
* [NXOS] napalm.nxos.traceroute - VRF traces and handle AS in hops (#989)
* [IOS] Fix extra line in show ip int brief on IOS (#986)
* [NXOS] Expand nxos commit merge rollback error (#860)
* [IOS] add support for VRF for get_arp_table func (#937)
* [IOS] get_bgp_neighbors vrf and safi aware (#768)
* [IOS] Check if temperature sensor on Cisco device is not supported (#1055)
* [IOS] Fixes get_environment memory collection on ios-xe devices (#1053)
* [IOS] get_route_to implementation for IOS (#750)
OBS-URL: https://build.opensuse.org/request/show/789750
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-napalm?expand=0&rev=5
- Update to version 2.5.0
* namespace fix for napalm cli
* [EOS] Fix broken get_bgp_neighbors when 6PE configured on eos
* [NXOS] If parent_table in nxos is None call exception
* [Junos] Remove extensive argument from junos_iface_table
* MTU support for get_interfaces
* [EOS] When asPathType is Internal (IBGP), as_path is empty and
the remote-as is the local_as
* [IOS] support n9k ipv6 ints for interfaces_ip getter
* [IOS] support catalyst vss for mac_address getter
* [IOS] Raise exception if BGP neighbor info requested and BGP
not running
* [NXOS] Implement nxos_ssh get_environment
* Better handling of connection closing upon exceptions in enter
* [NXOS] address single and multiple v6 address on n9k
* [NXOS] Fix nxos and nxos_ssh hostname change handling
* [Junos] add optional arg for DB config selection
* [Junos] Fixed "Wrong interface information for Junos virtual-switch
w/ bridge domains using get_network_instances"
* [EOS] Implemented lock_disable for EOS based on Junos.
* [NXOS] Work around NXAPI double quoting
* [NXOS] napalm.nxos.traceroute - VRF traces and handle AS in hops
* [IOS] Fix extra line in show ip int brief on IOS
* [NXOS] Expand nxos commit merge rollback error
* [IOS] add support for VRF for get_arp_table func
* [IOS] get_bgp_neighbors vrf and safi aware
* [IOS] Check if temperature sensor on Cisco device is not supported
* [IOS] Fixes get_environment memory collection on ios-xe devices
* [IOS] get_route_to implementation for IOS
OBS-URL: https://build.opensuse.org/request/show/737247
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-napalm?expand=0&rev=2