15
0
forked from pool/python-napalm
Commit Graph

18 Commits

Author SHA256 Message Date
10685f39d3 - Add patch remove-future-requirement.patch, remove requirement of
future module.
- Switch to pyproject macros.
- Stop using greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-napalm?expand=0&rev=32
2023-09-06 02:58:18 +00:00
fee23c377c Accepting request 1105435 from home:crameleon:branches:devel:languages:python
- Update to 4.1.0
- add napalm-gh-pr1796-xmlgetparent.patch to resolve an exception while reading XML output from Junos

OBS-URL: https://build.opensuse.org/request/show/1105435
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-napalm?expand=0&rev=30
2023-08-23 11:04:54 +00:00
60cb61e02f OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-napalm?expand=0&rev=28 2023-01-02 12:53:34 +00:00
55a71037e7 Accepting request 1031059 from home:dgarcia:branches:devel:languages:python
- 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
2022-10-25 18:12:25 +00:00
88294feff3 - Add patch netmiko-4-support.patch:
* Support netmiko >= 4
  * As a consequence, bump {Build,}Requires on netmiko to >= 4.
- Remove unneeded BuildRequires on mock

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-napalm?expand=0&rev=22
2022-08-05 04:59:58 +00:00
a1ebc8c1fd Accepting request 964663 from home:pgajdos:python
- 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
2022-03-24 13:42:27 +00:00
328a7a6ca3 Accepting request 945710 from home:bnavigator:branches:devel:languages:python
- remove selectors2 test requirement: It's unmaintained and pulled
  in by ncclient only if necessary, i.e. on python <= 3.4 (!), but
  nowhere declared or used by napalm itself.

OBS-URL: https://build.opensuse.org/request/show/945710
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-napalm?expand=0&rev=19
2022-01-13 12:47:38 +00:00
211334334c Accepting request 925207 from home:ecsos:server
- Fix build error for Leap 15.3
  - Add Missing python-lxml.
  - Add missing python-typing_extensions.

If you not believe, branch it and try to build.

OBS-URL: https://build.opensuse.org/request/show/925207
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-napalm?expand=0&rev=18
2021-10-14 14:28:31 +00:00
133d477934 Accepting request 913295 from home:mnhauke:network:automation
- 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
2021-08-20 13:15:06 +00:00
Tomáš Chvátal
d71264a8eb Accepting request 831955 from home:mnhauke:network:automation
- 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
2020-09-04 05:33:30 +00:00
Tomáš Chvátal
d267de8858 Accepting request 823026 from home:mnhauke:network:automation
- 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
2020-07-27 20:08:29 +00:00
Tomáš Chvátal
4490165f63 Accepting request 807980 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/807980
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-napalm?expand=0&rev=11
2020-05-21 18:31:16 +00:00
Tomáš Chvátal
f53a38a381 Accepting request 805796 from home:mnhauke:network:automation
- Update to version 3.0.1
  * [Junos] close configuration in case configure_private is set
    to avoid configure session to stay forever
  * [IOS] get_interfaces_counters broken with Managment Interface
  * [IOS] get_optics does not work on VSS setup
  * [IOS] get_optics broken if input value is N/A
  * [NXOS] Fix cmd_verify and null character

OBS-URL: https://build.opensuse.org/request/show/805796
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-napalm?expand=0&rev=9
2020-05-15 10:41:48 +00:00
Tomáš Chvátal
3237ef1445 Accepting request 800795 from home:mnhauke:network:automation
- 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
2020-05-06 16:15:51 +00:00
Tomáš Chvátal
3df4867d4a Accepting request 789750 from home:pgajdos:python
- 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
2020-03-30 12:54:03 +00:00
Tomáš Chvátal
7ab5861f1d Accepting request 738195 from devel:languages:python
Downgrade to napalm v2.4.0 since v2.5.0 basically broke all community drivers.

OBS-URL: https://build.opensuse.org/request/show/738195
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-napalm?expand=0&rev=3
2019-10-14 08:09:47 +00:00
Tomáš Chvátal
7ee863fd4d Accepting request 737247 from home:mnhauke:branches:devel:languages:python
- 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
2019-10-11 08:19:29 +00:00
Tomáš Chvátal
84b9dacb40 Accepting request 735964 from home:mnhauke:branches:home:dmolkentin:netbox
Initial package for python-napalm

OBS-URL: https://build.opensuse.org/request/show/735964
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-napalm?expand=0&rev=1
2019-10-08 07:10:50 +00:00