./net/py-junos-eznc, Python library to manage JunOS devices

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.7.1, Package name: py311-junos-eznc-2.7.1, Maintainer: pkgsrc-users

Junos PyEZ is a Python library to remotely manage/automate Junos devices.

Junos PyEZ is designed to provide the same capabilties as a user
would have on the Junos CLI, but in an environment built for
automation tasks. These capabilities include, but are not limited
to:

* Remote connectivty and management of Junos devices via NETCONF
* Provide "facts" about the device such as software-version,
serial-number, etc.
* Retrieve "operational" or "run-state" information as Tables/Views
* Retrieve configuration information as Tables/Views
* Make configuration changes in unstructured and structured ways
* Provide common utilities for tasks such as secure copy of files
and software updates


Required to run:
[security/py-paramiko] [devel/py-setuptools] [lang/python27] [comms/py-serial] [lang/py-six] [net/py-netaddr]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 165.351 KB

Version history: (Expand)


CVS history: (Expand)


   2024-04-28 20:02:50 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-junos-eznc: updated to 2.7.1

2.7.1

Enhancements done

Added customer juniper paramiko module as a dependency which supported aes128 \ 
and aes257 cipher
   2024-01-22 20:26:48 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-junos-eznc: updated to 2.7.0

Release 2.7.0

Enhancements done

Support added for Python 3.10 and above version.
   2023-12-13 20:21:35 by Thomas Klausner | Files touched by this commit (2)
Log message:
py-junos-eznc: fix build with Python 3.12.
   2023-12-13 20:17:21 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-junos-eznc: fix PLIST for Python != 3.11
   2023-11-23 09:45:59 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-junos-eznc: add missing tool
   2023-11-15 01:05:18 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-junos-eznc: update to 2.6.8.

Release 2.6.8 - 3 OCT 2023

Features Added

    Introduced optional argument routing instance for fs.cp() API
    Intoduced optional argument member_id for installation of pkg on specific \ 
member id of EX-VC

Bugs fixed

    Changed the VlanTable field name to vlan-name and BfdSessionTable field name \ 
to client-bame #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
   2023-03-30 21:44:09 by Havard Eidnes | Files touched by this commit (3) | Package updated
Log message:
py-junos-eznc: update to version 2.6.7.

Pkgsrc changes:
 * update dependency list to match package requirements
 * PLIST and checksum fixes

Upstream changes:

2.6.7:

Enhancements done
    Supported option to set look_for_keys with bool True/False #1234

Bugs Fixed
    Fixed build failure against setuptools #1231

2.6.6:

Bugs Fixed
    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:

Enhancements done
    Supported multi-gig ports for EthPortTable.yml #1177

Bugs Fixed
    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:

Enhancements done
    Supported start_shell options to choose the shell types (sh or csh) #995
    Supported for python 3.9

Bugs Fixed
    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

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

2.6.2:

Bugs Fixed
    Fix for evo device as Password prompt comes directly during telnet #1112

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

2.6.0:

Enhancement Added
    Python 2 support removed from this release.
    Session-id variable added to support telnet based persistent
      connection in Juniper supported ansible collections.

2.5.4:

Features Added
    cRPD model check to be added for on-box junos #1084

Bugs Fixed
    support use-fast-diff in diff/pdff function #1088
    Zeroize handling modified for scenario where only warning is
      returned in the rpc-reply #1087
    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. #1085
    Checksum algorithm argument to be passed during remote checksum
      in software installation. #1083
    docstring initialized with empty string as it becomes empty if
      optimization flag is added. #1081

2.5.3:

Bugs Fixed
    vmhost single re based image upgrade is failing while reboot #1071

2.5.2:

Bugs Fixed
    juniper_junos_system fails when (vmhost) rebooting MX204 router #1068
    Testcase failing in PyEZ after ncclient upgrade #1064
    Wheel support for version integrated with versioneer. #1070
    rpc-reply during reboot parsing gives error #1066

2.5.1:

Bugs Fixed
    Adding monitor-failure information in juniper_junos_facts output #991
    Raise exception when dev.cli fails with exception #925
    Device version fix for srx when cluster id greater than 15 #1032 #819

2.5.0:

Features Added
    Black tool integrated and checked in Travis.
    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 #1047
    Changes for the msg displayed in case of failure in software update #1030
    fix for default ssh_config path in windows #1043
    ntc_template latest version uses textfsm 1.1.0 #1042
    drop hard dependency on unittest2 #1040

Note:
  Due to changes in software install functionality, the return type
  has changed for the function sw.install.  Now it will return tuple
  in place of Boolean, Tuple contains Success/Failure status and
  software install message (if any)

2.4.1:

Bugs fixed
    Latest textfsm doesn't support in windows. Hence, supporting
      textfsm 0.4.1 for windows user #1019
    Convert port argument when passed as str to int data type #1020
    Return type of sw.install function going to change in the
      upcoming major release. So, added a deprecation warning in
      sw.install #1025

2.4.0:

Features Added
    Added TableView Null Key support #983
    Added timeout support for commit_check() #998
    Added Win serial COM support #1000
    Added load patch support #1001
    Added textfsm support for table/view #1009

Bugs fixed:
    Fixed table/view issue w.r.t to get() call #981
    Fixed documentation typo #986
    Handled sax parser input for nested fields #997
    Fixed outbound ssh issue #1007
    Fixed xpath issue when defined with a string function #1008

2.3.2:

Features Added
    Added TableView Null Key support #983
    Added timeout support for commit_check() #998
    Added Win serial COM support #1000
    Added load patch support #1001
    Added textfsm support for table/view #1009

Bugs fixed:
    Fixed table/view issue w.r.t to get() call #981
    Fixed documentation typo #986
    Handled sax parser input for nested fields #997
    Fixed outbound ssh issue #1007
    Fixed xpath issue when defined with a string function #1008

2.3.1:

Bugs fixed:
    Handled a check for pending Junos OS or package installation #966
    Fixed MetaPathLoader support only for jnpr.junos* modules #977
    Fixed huge tree XML support #975
    Fixed Junos sax parser issue for filter_xml broken #969

2.3.0:

Features Added
    TableView extended for vty/cli unstructured command #950
    Added junos SAX parser feature #942 #955 #951
    Added TableView Null Key support #910
    Added command tables #958.
    Added reboot support for junos vmhost platform #952
    Added ElsEthernetSwitchingTable TableView #939
    Added callback functionality to ftp get #932
    Extended start shell support for Bourne shell #934
    Added at option support for sw.reboot() and sw.poweroff() #916
    Added generalized function for ssh-client #957

Bugs Fixed
    Updated fact collection for srx platform #935
    Supports new ssh private key format #945
    Handled exception in dev.close() #956
    Updated file transfers to use context manager to open files #885
    Fixed reboot and poweroff behavior #916

2.2.1:

Bugs Fixed
    Handle multiple package-result values from sw.install #864
    Extended support to WR-Based Linux H/W #882 #883 #889
    Fixed issues in Console over SSH #877
    Optimized PyEZ docker image size and minor bug fixes #894 #911
    Fixed JSON serialization for Junos facts #902
    Updated securityzone.yml. Added item zone-security #909
    Fixed runtime error while using Outbound-SSH #915
    Fixed Pyyaml bugs #914 #917 #918

2.2.0:

Features Added:
    Support for Node Slicing based platforms #856
    Support for Linux based Juniper devices #862
    Support SSH Connection through console server (having login
      credentials) #861 #870
    Outbound SSH #732

2.1.9:

Bugs Fixed
    Added op tables and views for SRX security zones #855
    Changed facts for DVATIA platform #856
    Fixed issue in gathering facts when other RE is rebooting/off #852
    Added and fixed existing unit test cases in PyEZ #838 #854 #840
    Fixed RpcTimeoutError for pdiff() #839
    Handled newer junos device #853

2.1.8:

Bug Fixed:
    Correct PyEZ TechWiki link #813
    Support active and inactive configuration options in config
      table/view #826
    Upgraded alpine 3.6 to support docker in PyEZ #789 #828 #827
    Support configuration table/view in telnet mode #829
    Added new unit test cases in PyEZ #831
    Detect set config format with all keywords like insert, activate,
      copy etc #791 #792
   2023-03-30 21:41:23 by Havard Eidnes | Files touched by this commit (3)
Log message:
Roll back net/py-junos-eznc.
Sorry...  Committed to wrong branch, this rolls back.