37 Commits

Author SHA256 Message Date
Ana Guerrero
03706373ef Accepting request 1226858 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1226858
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-junos-eznc?expand=0&rev=18
2024-11-27 21:12:49 +00:00
45d7c63a2c - Add get-telnetlib-from-netmiko.patch, telnetlib was removed from
the standardlibrary in Python 3.13
  * https://github.com/Juniper/py-junos-eznc/issues/1324

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junos-eznc?expand=0&rev=34
2024-11-27 10:15:06 +00:00
Ana Guerrero
ec0ce00227 Accepting request 1218707 from devel:languages:python
- Update to 2.7.2:
  * Enhancements done
    + Introduced bind_addr parameter in Device() API #1279
    + Introduced vmhost paramater in dev.facts #1333
    + Introduced hostkey_verify paramater in Device() API #1321
  * Bugs Fixed
    + Fixed the missing key to EthernetSwitchingTable #1228
    + Fixed error handling on HelloHandler #1339
    + Fixed the version check #1338
    + Removed Google and Stackflow link from the ReadME #1337
    + Fixed SystemStorageTable tables and views to handles multiple
      routing-engine file system storage information.#1244
    + Fixed Console' object has no attribute '_use_filter' error when
      executed Table/View script #1335
    + Fixed cli function to get full RPC response #1315
    + Fixed sw.install to set no_validate option when validate=False for
      NSSU and ISSU upgrade #1323
    + Fixed UT framework mock to use built-in unittest.mock #1311
    + Fixed specific VC member reboot handling #1308 #1310
    + Supported latest paramiko version which supports aes128-gcm and
      aes256-gcm cipher
- Dropped patches:
  * python-311.patch
  * python-junos-eznc-no-mock.patch
- Refreshed all other patches.
- Switch to pyproject macros.
- Use nose2 to run the testsuite, like upstream.

OBS-URL: https://build.opensuse.org/request/show/1218707
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-junos-eznc?expand=0&rev=17
2024-10-28 14:20:57 +00:00
Steve Kowalik
97fba53c7b - Update to 2.7.2:
* Enhancements done
    + Introduced bind_addr parameter in Device() API #1279
    + Introduced vmhost paramater in dev.facts #1333
    + Introduced hostkey_verify paramater in Device() API #1321
  * Bugs Fixed
    + Fixed the missing key to EthernetSwitchingTable #1228
    + Fixed error handling on HelloHandler #1339
    + Fixed the version check #1338
    + Removed Google and Stackflow link from the ReadME #1337
    + Fixed SystemStorageTable tables and views to handles multiple
      routing-engine file system storage information.#1244
    + Fixed Console' object has no attribute '_use_filter' error when
      executed Table/View script #1335
    + Fixed cli function to get full RPC response #1315
    + Fixed sw.install to set no_validate option when validate=False for
      NSSU and ISSU upgrade #1323
    + Fixed UT framework mock to use built-in unittest.mock #1311
    + Fixed specific VC member reboot handling #1308 #1310
    + Supported latest paramiko version which supports aes128-gcm and
      aes256-gcm cipher
- Dropped patches:
  * python-311.patch
  * python-junos-eznc-no-mock.patch
- Refreshed all other patches.
- Switch to pyproject macros.
- Use nose2 to run the testsuite, like upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junos-eznc?expand=0&rev=32
2024-10-28 05:41:43 +00:00
Ana Guerrero
00957e4bea Accepting request 1169283 from devel:languages:python
Forwarded request #1168537 from mcalabkova

- Update to 2.7.1
    * Added customer juniper paramiko module as a dependency which 
      supported aes128 and aes257 cipher #1299
  - Create no-six.patch to get rid of six dependency.

OBS-URL: https://build.opensuse.org/request/show/1169283
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-junos-eznc?expand=0&rev=16
2024-04-21 18:26:15 +00:00
c22febb860 Accepting request 1168537 from home:mcalabkova:branches:devel:languages:python
- Update to 2.7.1
  * Added customer juniper paramiko module as a dependency which 
    supported aes128 and aes257 cipher #1299
- Create no-six.patch to get rid of six dependency.

OBS-URL: https://build.opensuse.org/request/show/1168537
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junos-eznc?expand=0&rev=30
2024-04-19 22:15:19 +00:00
Ana Guerrero
8f5ecf5d85 Accepting request 1146140 from devel:languages:python
- Update to 2.7.0:
  - Support added for Python 3.10 and above version.
- 2.6.8:
  - Introduced optional argument routing instance for fs.cp() API
  - Introduced optional argument member_id for installation of pkg on
    specific member id of EX-VC
  - Changed the VlanTable field name to vlan-name and BfdSessionTable
    field name to client-name #423
  - Fixed the port details in StartShell to use the port from Device
    object instead of default Port 22 #573
  - Fixed the sw.install to use Windows file path for package copy
    #1206
  - Fixed the sw.install to install the vc_master after the other
    vc_members gets installed for EX-3400 where unlink is set by
    default #1247
  - Removed Unused Dependency: Netaddr #1257
  - Fixed "object": version_info(re_version) emits ValueError: invalid
    literal for int() with base 10: '17-EVO' for EVO version
    X50.17-EVO#1264
- Drop python-junos-eznc-remove-nose.patch

OBS-URL: https://build.opensuse.org/request/show/1146140
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-junos-eznc?expand=0&rev=15
2024-02-12 17:53:25 +00:00
a666ed656d - Update to 2.7.0:
- Support added for Python 3.10 and above version.
- 2.6.8:
  - Introduced optional argument routing instance for fs.cp() API
  - Introduced optional argument member_id for installation of pkg on
    specific member id of EX-VC
  - Changed the VlanTable field name to vlan-name and BfdSessionTable
    field name to client-name #423
  - Fixed the port details in StartShell to use the port from Device
    object instead of default Port 22 #573
  - Fixed the sw.install to use Windows file path for package copy
    #1206
  - Fixed the sw.install to install the vc_master after the other
    vc_members gets installed for EX-3400 where unlink is set by
    default #1247
  - Removed Unused Dependency: Netaddr #1257
  - Fixed "object": version_info(re_version) emits ValueError: invalid
    literal for int() with base 10: '17-EVO' for EVO version
    X50.17-EVO#1264
- Drop python-junos-eznc-remove-nose.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junos-eznc?expand=0&rev=28
2024-02-12 11:03:19 +00:00
Dominique Leuenberger
44b5e43732 Accepting request 1068621 from devel:languages:python
- Add python-311.patch to support python 3.11, gh#Juniper/py-junos-eznc#1236
- Remove python-junos-eznc-fix-unittests.patch, not needed anymore
- Update to 2.6.7:
  * Supported option to set look_for_keys with bool True/False #1234
  * Fixed build failure against setuptools #1231
- 2.6.6
  * Fixed reboot failing on other RE #1199
  * Fixed passing 'sleep' arg to StartShell run() #1202
  * Fixed PyEZ get-facts support for ACX model #1209
  * Fixed EthPortTable regex pattern #1215
  * Fixed StartShell UnboundLocalError #1203 #1211
- 2.6.5
  * Supported multi-gig ports for EthPortTable.yml #1177
  * Fixed on-box support for start shell types #1190 #1186
  * Fixed conn_open_timeout value was getting set None , changed it to
    default 30 seconds #1184
- 2.6.4
  * Supported start_shell options to choose the shell types (sh or csh) #995
  * Supported for python 3.9
  * Fixed Device facts current_re returns the SRX cluster node0 and
    node1 details with cluster ID 16 #1135
  * Fixed upgrade ncclient version 0.6.13, updated requirements.txt to
    install ncclient==0.6.13 #1153
  * Fixed deprecation warning due to invalid escape sequences #1034
  * Fixed Unit tests test_sw_put_ftp failure #1165

OBS-URL: https://build.opensuse.org/request/show/1068621
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-junos-eznc?expand=0&rev=14
2023-03-02 22:04:02 +00:00
6a54ddccb7 - Add python-311.patch to support python 3.11, gh#Juniper/py-junos-eznc#1236
- Remove python-junos-eznc-fix-unittests.patch, not needed anymore
- Update to 2.6.7:
  * Supported option to set look_for_keys with bool True/False #1234
  * Fixed build failure against setuptools #1231
- 2.6.6
  * Fixed reboot failing on other RE #1199
  * Fixed passing 'sleep' arg to StartShell run() #1202
  * Fixed PyEZ get-facts support for ACX model #1209
  * Fixed EthPortTable regex pattern #1215
  * Fixed StartShell UnboundLocalError #1203 #1211
- 2.6.5
  * Supported multi-gig ports for EthPortTable.yml #1177
  * Fixed on-box support for start shell types #1190 #1186
  * Fixed conn_open_timeout value was getting set None , changed it to
    default 30 seconds #1184
- 2.6.4
  * Supported start_shell options to choose the shell types (sh or csh) #995
  * Supported for python 3.9
  * Fixed Device facts current_re returns the SRX cluster node0 and
    node1 details with cluster ID 16 #1135
  * Fixed upgrade ncclient version 0.6.13, updated requirements.txt to
    install ncclient==0.6.13 #1153
  * Fixed deprecation warning due to invalid escape sequences #1034
  * Fixed Unit tests test_sw_put_ftp failure #1165

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junos-eznc?expand=0&rev=26
2023-03-02 07:18:00 +00:00
Dominique Leuenberger
bcfd5c83b5 Accepting request 974759 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/974759
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-junos-eznc?expand=0&rev=13
2022-05-03 19:19:39 +00:00
67a96a203e Accepting request 974649 from home:pgajdos:python
- added patches
  fix https://github.com/Juniper/py-junos-eznc/issues/1176
  + python-junos-eznc-no-mock.patch

- added patches
  fix 96f25bb8aa
  + python-junos-eznc-fix-unittests.patch

OBS-URL: https://build.opensuse.org/request/show/974649
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junos-eznc?expand=0&rev=24
2022-05-03 17:57:18 +00:00
Dominique Leuenberger
57553b34b0 Accepting request 946133 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/946133
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-junos-eznc?expand=0&rev=12
2022-01-13 22:21:19 +00:00
47bd77fc46 Accepting request 945709 from home:bnavigator:branches:devel:languages:python
- remove selectors2 build requirement: It's unmaintained and pulled
  in by ncclient only if necessary, i.e. on python <= 3.4, but
  nowhere declared or used by this junos-eznc.

OBS-URL: https://build.opensuse.org/request/show/945709
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junos-eznc?expand=0&rev=23
2022-01-13 12:45:04 +00:00
Dominique Leuenberger
bec1dd48c4 Accepting request 925095 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/925095
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-junos-eznc?expand=0&rev=11
2021-10-13 16:06:31 +00:00
c37451ffcc Accepting request 925087 from home:ecsos:server
- Update to version 2.6.3
  * Enhancements done
    Adding ignore warning for rollback api #1131
    Add escaped $ Bourne-style shell prompt support #868
  * Bugs Fixed
    - Fix for junos versions returning a bool value for config diff
      if there are no changes #1093
    - Handle ncclient timeout exception at close. #787
    - Newer junos versions return a bool for config diff and not
      etree if there are no changes #1093
- Changes from 2.6.2
  * Bugs Fixed
    - Fix for evo device as Password prompt comes directly during
      telnet #1112
- Changes from 2.6.1
  * Enhancement Added
    - Flag for json.loads() for special character like newline was
      made false by default. #1029
  * Bugs Fixed
    - Transform function modified only for the rpc and set back to
      original value. #1108
    - Skip the values returned in re-list without numbers during
      multi re software install #1099
    - getiterator() replaced with iter() as was deprecated in
      Python 3.2 and removed in Python 3.9 #1110
- Drop python-junos-eznc-py39xml.patch because now in upstream.

OBS-URL: https://build.opensuse.org/request/show/925087
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junos-eznc?expand=0&rev=22
2021-10-13 13:01:01 +00:00
Dominique Leuenberger
38436e7bc6 Accepting request 888644 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/888644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-junos-eznc?expand=0&rev=10
2021-04-27 19:35:04 +00:00
Steve Kowalik
75b935bb81 Accepting request 888556 from home:bnavigator:branches:devel:languages:python
- Update to 2.6.0
  * Python 2 support removed from this release.
  * Session-id variable added to support telnet based persistent
    connection in Juniper supported ansible collections.
- Add python-junos-eznc-py39xml.patch gh#Juniper/py-junos-eznc#1110
- Skip failing test gh#Juniper/py-junos-eznc/issues/1109

OBS-URL: https://build.opensuse.org/request/show/888556
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junos-eznc?expand=0&rev=20
2021-04-27 05:20:08 +00:00
Dominique Leuenberger
17a7305090 Accepting request 845024 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/845024
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-junos-eznc?expand=0&rev=9
2020-11-02 08:41:31 +00:00
59338187b4 Accepting request 844926 from home:mnhauke:network:automation
- Update to version 2.5.4
  Features Added
  * cRPD model check to be added for on-box junos.
  Bugs Fixed
  * support use-fast-diff in diff/pdff function.
  * Zeroize handling modified for scenario where only warning is
    returned in the rpc-reply.
  * ntc_template and textfsm module's installation made optional
    and to be done explicitly if one want to use PyEZ table/view
    for other vendors cli o/p parsing.
  * Checksum algorithm argument to be passed during remote
    checksum in software installation.
  * docstring initialized with empty string as it becomes empty
    if optimization flag is added.

OBS-URL: https://build.opensuse.org/request/show/844926
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junos-eznc?expand=0&rev=18
2020-10-30 12:33:08 +00:00
Dominique Leuenberger
7eead7aa1c Accepting request 835404 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/835404
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-junos-eznc?expand=0&rev=8
2020-09-21 15:27:15 +00:00
Tomáš Chvátal
daa3546840 Accepting request 835384 from home:pgajdos:python
- use pytest instead of nose and replace deprecated
  yamlordereddictloader by yamlloader
- added patches:
  + python-junos-eznc-remove-nose.patch
  + python-junos-eznc-remove-yamlordereddictloader.patch

OBS-URL: https://build.opensuse.org/request/show/835384
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junos-eznc?expand=0&rev=16
2020-09-18 11:25:19 +00:00
Dominique Leuenberger
33f2db3464 Accepting request 830423 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/830423
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-junos-eznc?expand=0&rev=7
2020-08-29 18:44:33 +00:00
Tomáš Chvátal
66bc821e5a Accepting request 830308 from home:mnhauke:network:automation
- Update to version 2.5.3
  Bugs fixed:
  * vmhost single re based image upgrade is failing while reboot.

OBS-URL: https://build.opensuse.org/request/show/830308
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junos-eznc?expand=0&rev=14
2020-08-29 06:26:58 +00:00
Dominique Leuenberger
af852e783c Accepting request 828721 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/828721
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-junos-eznc?expand=0&rev=6
2020-08-24 13:08:43 +00:00
bb4ff4d5f7 Accepting request 828702 from home:mnhauke:network:automation
- Update to version 2.5.2
  * juniper_junos_system fails when (vmhost) rebooting MX204 router
  * Testcase failing in PyEZ after ncclient upgrade
  * Wheel support for version integrated with versioneer.
  * rpc-reply during reboot parsing gives error

OBS-URL: https://build.opensuse.org/request/show/828702
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junos-eznc?expand=0&rev=12
2020-08-22 19:44:49 +00:00
Dominique Leuenberger
8114e97480 Accepting request 824188 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/824188
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-junos-eznc?expand=0&rev=5
2020-08-04 18:22:15 +00:00
84ff1caa00 Accepting request 823800 from home:mnhauke:network:automation
- Update to version 2.5.1
  * Adding monitor-failure information in juniper_junos_facts
    output
  * Raise exception when dev.cli fails with exception
  * Device version fix for srx when cluster id greater than 15

OBS-URL: https://build.opensuse.org/request/show/823800
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junos-eznc?expand=0&rev=10
2020-08-03 16:01:44 +00:00
Dominique Leuenberger
3f3e49e643 Accepting request 818041 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/818041
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-junos-eznc?expand=0&rev=4
2020-07-01 12:27:12 +00:00
Tomáš Chvátal
b59938461b Accepting request 817936 from home:mnhauke:network:automation
- Update to version 2.5.0
  Features Added
  * Versioneer support added for the code.
  * Changes for ansible actions of the reboot, shutdown to be
    handled in PyEZ
  Bugs Fixed
  * sax parser filter generation generic logic
  * Changes for the msg displayed in case of failure in software
    update
  * ntc_template latest version uses textfsm 1.1.0 #1042
  * drop hard dependency on unittest2 #1040
- Drop patch (fixed upstream)
  * python-junos-eznc-no-unittest2.patch

OBS-URL: https://build.opensuse.org/request/show/817936
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junos-eznc?expand=0&rev=8
2020-07-01 07:08:28 +00:00
Dominique Leuenberger
81abda5f77 Accepting request 811738 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/811738
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-junos-eznc?expand=0&rev=3
2020-06-15 18:28:05 +00:00
Tomáš Chvátal
50df3a6468 Accepting request 811686 from home:pgajdos:python
- version update to 2.4.1
  ## [1.4.0]
   ### Fixed
    - [#617] - IOS show ip ospf database router: Removed reliance on static spacing
    - [#620] - NXOS show fex: Allow spaces in descriptions
    - [#621] - Juniper show arp, etc.: Account for virtual chassis output (`{master:0}`)
    - [#626] - ASA show vpn-sessiondb anyconnect: Require index, capture different format style
    - [#650] - IOS show ip ospf database network: Change to allow one or more whitespace at the beginning of the line rather than 1 or more due to different output
    - [#647] - ASA show route: Allow multiline route statements
    - [#659] - IOS show mac address-table: Allow VLAN to be non-whitespace to allow N/A as an option
   ### Added
    - [#618] - IOS show ip ospf database network: New template
    - [#619] - HP Comware display lldp neighbor information verbose: New template
    - [#625] - ASA show vpn-sessiondb anyconnect: New template
    - [#628] - Cisco WLC show mobility sum: New template
    - [#631] - ASA show vpn-sessiondb anyconnect: Account for new data for assigned/public IP, group policy, and tunnel group
    - [#629] - ASA show crypto ipsec sa - Add LOCAL_ADDRESS_NAME, CURRENT_PEER_NAME, DYNAMIC_PEER_NAME, LOCAL_CRYPTO_ENDPOINT_NAME, REMOTE_CRYPTO_ENDPOINT_NAME
    - [#632] - ASA show nat: Added SERVICE_PROTOCOL
    - [#635] - IOS show ip route summary: New template
    - [#636] - ASA show vpn-sessiondb: New template
    - [#638] - ASA show inventory: Capture PID and VID withoout serial
    - [#637] - Cisco WLC show band select: New template
  ## [1.4.0]
   ### Fixed
    - [#548] IOS show mac address-table: Account for Total Mac Addresses
    - [#565] IOS show license: Avoid trailing spaces for features
    - [#575] NXOS show version: Match N5K PLATFORM & LAST_REBOOT captures split words
    - [#574] ASA show failover: Account for new output (IPS)
    - [#577] IOS show mac address-table: Account for Multicast Entries
    - [#582] NXOS show interface transceiver: Remove requirement for TYPE

OBS-URL: https://build.opensuse.org/request/show/811686
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junos-eznc?expand=0&rev=6
2020-06-05 10:16:10 +00:00
Dominique Leuenberger
ac2847f9d5 Accepting request 755663 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/755663
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-junos-eznc?expand=0&rev=2
2019-12-10 21:46:50 +00:00
bd853f0882 Accepting request 755659 from home:mnhauke:network:automation
- Update to version 2.3.1
  Bugfix release:
  * Handled a check for pending Junos OS or package installation
  * Fixed MetaPathLoader support only for jnpr.junos* modules
  * Fixed huge tree XML support
  * Fixed Junos sax parser issue for filter_xml broken

OBS-URL: https://build.opensuse.org/request/show/755659
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junos-eznc?expand=0&rev=4
2019-12-10 19:35:03 +00:00
Dominique Leuenberger
4a88d0b91c Accepting request 735628 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/735628
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-junos-eznc?expand=0&rev=1
2019-10-07 11:49:28 +00:00
Tomáš Chvátal
5384928201 - Update tests and dependencies to make the package work
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junos-eznc?expand=0&rev=2
2019-10-07 08:24:22 +00:00
Tomáš Chvátal
45c1e1aac9 Accepting request 734164 from home:mnhauke:branches:home:dmolkentin:netbox
Initial package for python-junos-eznc

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