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

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

Branch: CURRENT, Version: 2.1.7, Package name: py27-junos-eznc-2.1.7, 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

* 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:

Master sites:

SHA1: e45d1900348536f138623d06e311a31877ea4928
RMD160: cd9f1a7744b8394907f1c95d3fb30529073887c2
Filesize: 105.284 KB

Version history: (Expand)

CVS history: (Expand)

   2017-10-16 14:03:57 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-junos-eznc: update to 2.1.7

Release 2.1.7:

Features Added:
* None

Bugs Fixed:
* Correct PyEZ TechWiki link.
* SRX Branch cluster fails SW.install()
   2017-09-04 20:08:31 by Thomas Klausner | Files touched by this commit (163)
Log message:
Follow some redirects.
   2017-06-08 10:38:35 by Thomas Klausner | Files touched by this commit (1)
Log message:
Restrict to python-2.7 due to py-scp.
   2017-06-07 12:25:30 by Havard Eidnes | Files touched by this commit (3) | Package updated
Log message:
Update py-junos-eznc to version 2.1.3.

Pkgsrc changes:
 * Update dependencies to match requirements.txt
 * Adapt to PLIST changes

Upstream changes:

Release 2.1.3

Features Added:
 * Ephemeral config support #707
 * Add a srx_cluster_redundancy_group fact. #711

Bugs Fixed:
 * ignore_warning fails when single that is first child of . #712
 * mode='telnet' did not logout non-cli user #713
 * JSONLoadError was thrown when load valid JSON config #717/#718
 * Fix XML normalization feature when using NETCONF over console. #719/#720
 * Handle differences in |display xml rpc #722

Release 2.1.2

Bugs Fixed:
 * Doc badge was pointing to older version #694
 * Fix new-style fact gathering for SRX clusters. #697/#698
 * Properly handle SW upgrades on multi-RE and/or multi-chassis
   systems when using new-style fact gathering. #700
 * Raise JSONLoadError if json config is malformed #706
 * Handle ConnectClosedError exception for lock() and unlock() #708

Release 2.1.1

Bugs Fixed:
 * Fix regressions caused by ignore_warning. #691

Release 2.1.0

Features Added:
 * Enhanced fact gathering. Facts are now gathered "on demand."
   Additional facts are added.
 * The definition of facts and return values are properly documented. #638
 * Support for YANG get RPCs. #672
 * Add an ignore_warning argument to suppress RpcError exceptions
   for warnings. #672/#685
 * Enhanced the sw.install() method with basic ISSU and NSSU
   support using the issu and nssu
 * boolean arguments. #606/#630/#632
 * ** NSSU support has not yet been tested and should currently
   be considered experimental.
 * Provide a master property and a re_name property for Device. #682
 * Enhanced reboot() method to take an all_re boolean parameter
   which controls if only the connected
 * Routing Engine, or all Routing Engines, are rebooted. #613
 * Enhanced the warning message produced by the cli() method to
   recommend the corresponding
 * dev.rpc.<method>() call. #603
 * Add support for update parameter to configuration load() method. #681
 * Added directory_usage to utils #629/#631/#636
 * Adding support for NFX/JDM fact gathering. #652/#659
 * Connected property. #664

Bugs Fixed:
 * Updated the interface-name glob pattern to correctly match
   et-<x>/<y>/<z> interfaces
 * in several tables and views. #609
 * Take care of special chars on screen during console connection. #610
 * Address issue with fact gathering stopping when it encounters
   a problem. #615
 * Minor typos fixed in RuntimeError exception message and in comments. #621
 * Added console_has_banner parameter. #622
 * Add CentOS Support to install instructions #623
 * Key value is needed in _IsisAdjacencyLogTable #627
 * Improved functionality and documentation of Docker build.
 * added remote port ID to lldp.yml (OP) #645
 * Fix documentation for rollback() #647
 * Fix for fact gathering pprint. #660/#661
 * update ospf view, add bgp/inventory #665
 * Updated doc string for close function #686
 * Add Travis builds for Python 3.5 and 3.6 #687
 * StartShell.run to take this as None for non returning commands #680
 * Modify ignore_warning return value to mimic normal RPC return value. #688

Release 2.0.1
 * StartShell to take timeout (30 second by default) as paramter
 * Proper exception handling in case of Console connection #595
 * Fix: Config.lock() return exception when normalize is on
 * Added microbadge badge for the Docker image #593
 * Fix: print dev for Console conn was printing object not Device(....) #591
 * Fix: To take care of special chars with StartShell->run function call #589
 * Fix: ssh private key file to be considered for scp util #586
 * Added Dockerfile to enable automated image builds on project commits #585
   2016-09-15 17:05:52 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-ncclient is python-3.x ready now.
   2016-09-14 01:16:37 by Paul Goyette | Files touched by this commit (1)
Log message:
   2016-09-14 01:09:23 by Thomas Klausner | Files touched by this commit (1)
Log message:
Mark as not ready for python-3.x due to py-ncclient.
   2016-09-13 12:03:32 by Havard Eidnes | Files touched by this commit (3) | Package updated
Log message:
Update to version 2.0.0.

Notable changes:
ref. https://github.com/Juniper/py-junos-eznc/releases

 * Now PyEZ will support Console (Telnet/Serial) connection apart from SSH
 * Python >=3.4 support
 * Configuration Tables to Define and Configure Structured Resources
 * JSON Config load
   For devices >=16.1, user can also load JSON config apart from xml/set/text
 * FTP Utility
   Option to use FTP utility to transfer files in addition to existing SCP.
 * Multi RPC error
   If the config being loaded got more then 1 error/warning, PyEZ will
   give all error details to the user
 * Bug fixes
   * dev.cli "invalid command" returned even in case of proper
     command. #498 #492
   * StartShell utility to work on Occam and root users.
   * StartShell run function to return Tuple of last_ok & command output
   * Many other bug fixes.