Debian Codegraph @

RELEASE-NOTES.md

raw
1 ## Release 2.7.5 - 22 Sep 2025
2 ## Features Added
3 - Support for ncclient 0.7.0
4 ## Bugs Fixed
5 None
6
7 ## Release 2.7.4 - 30 Apr 2025
8 ## Features Added
9 None
10 ## Bugs Fixed
11 - Fixed import error related to OspfNeighborTable #1365
12 - Fixed Virtual chassis member upgrade issue #1368
13 - To support EVO system reboot #1371
14 - EVO dual RE upgrade support #1373
15
16 ## Release 2.7.3 - 14 Feb 2025
17 ## Features Added
18 - Introduced vmhost paramater for show vmhost version in dev.facts #1355
19
20 ## Bugs Fixed
21 - Fixed napalm get_interfaces returns empty list #1354
22 - Fixed sw.reboot to handle when member_id is not set #1351
23
24 ## Release 2.7.2 - 23 OCT 2024
25 ## Features Added
26 - Introduced bind_addr parameter in Device() API #1279
27 - Introduced vmhost paramater in dev.facts #1333
28 - Introduced hostkey_verify paramater in Device() API #1321
29 - Updated Docker file to use the latest Alpine #1316
30
31 ## Bugs Fixed
32
33 - Fixed the missing key to EthernetSwitchingTable #1228
34 - Fixed error handling on HelloHandler #1339
35 - Fixed the version check #1338
36 - Removed Google and Stackflow link from the ReadME #1337
37 - Fixed SystemStorageTable tables and views to handles multiple routing-engine file system storage information.#1244
38 - Fixed Console' object has no attribute '_use_filter' error when executed Table/View script #1335
39 - Fixed cli function to get full RPC response #1315
40 - Fixed sw.install to set no_validate option when validate=False for NSSU and ISSU upgrade #1323
41 - Fixed UT framework mock to use built-in unittest.mock #1311
42 - Fixed specific VC member reboot handling #1308 #1310
43 - Supported latest paramiko version which supports aes128-gcm and aes256-gcm cipher
44
45 ## Release 2.7.1 - 12 APR 2024
46 ## Features Added
47 - Added customer juniper paramiko module as a dependency which supported aes128 and aes257 cipher #1299
48 ## Bugs Fixed
49
50 ## Release 2.7.0 - 12 JAN 2024
51 ## Features Added
52 - Support added for Python 3.10 and above version
53
54 ## Release 2.6.8 - 3 OCT 2023
55 ## Features Added
56 - Introduced optional argument routing instance for fs.cp() API
57 - Intoduced optional argument member_id for installation of pkg on specific member id of EX-VC
58 ## Bugs fixed
59 - Changed the VlanTable field name to vlan-name and BfdSessionTable field name to client-bame #423
60 - Fixed the port details in StartShell to use the port from Device object instead of default Port 22 #573
61 - Fixed the sw.install to use Windows file path for package copy #1206
62 - 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
63 - Removed Unused Dependency: Netaddr #1257
64 - Fixed "object": version_info(re_version) emits ValueError: invalid literal for int() with base 10: '17-EVO' for EVO version X50.17-EVO#1264
65
66 ## Release 2.6.6 - 9 DEC 2022
67 ## Bugs fixed
68 - Fixed reboot failing on other RE #1199
69 - Fixed passing 'sleep' arg to StartShell run() #1202
70 - Fixed PyEZ get-facts support for ACX model #1209
71 - Fixed EthPortTable regex pattern #1215
72 - Fixed StartShell UnboundLocalError #1203 #1211
73 -
74 ## Release 2.6.5 - 29 JULY 2022
75 ## Features Added
76 - Supported multi-gig ports for EthPortTable.yml #1177
77
78 ## Bugs fixed
79 - Fixed on-box support for start shell types #1190 #1186
80 - Fixed conn_open_timeout value was getting set to None , changed to default 30 seconds #1184
81
82
83 ## Release 2.6.4 - 9 JUNE 2022
84 ### Features Added
85 - Supported start_shell options to choose the shell types (sh or csh) #995
86 - Supported for python 3.9
87 ### Bugs fixed:
88 - Fixed Device facts current_re returns the SRX cluster node0 and node1 details with cluster ID 16 #1135
89 - Fixed upgrade ncclient version 0.6.13, updated requirements.txt to install ncclient==0.6.13 #1153
90 - Fixed deprecation warning due to invalid escape sequences #1034
91 - Fixed Unit tests test_sw_put_ftp failure #1165
92
93 ## Release 2.4.2.dev0 - 29 APRIL 2020
94 ## Features Added
95
96 ## Bugs fixed
97
98 ### Features Added
99 - None
100
101 ### Bugs fixed:
102 - Latest `textfsm` doesn’t support in windows. Hence, supporting `textfsm 0.4.1` for windows user #1019
103 - Convert `port` argument when passed as `str` to `int` data type #1020
104 - Return type of `sw.install` function going to change in the upcoming major release.
105 So, added a deprecation warning in `sw.install` #1025
106
107 ## Release 2.4.0 - 1 APRIL 2020
108 ### Features Added
109 - Added TableView Null Key support #983
110 - Added timeout support for commit_check() #998
111 - Added Win serial COM support #1000
112 - Added load patch support #1001
113 - Added textfsm support for table/view #1009
114
115 ### Bugs fixed:
116 - Fixed table/view issue w.r.t to get() call #981
117 - Fixed documentation typo #986
118 - Handled sax parser input for nested fields #997
119 - Fixed outbound ssh issue #1007
120 - Fixed xpath issue when defined with a string function #1008
121
122 ## Release 2.3.1 - 10 December 2019
123 ### Features Added
124 - None
125
126 ### Bugs fixed:
127 - Handled a check for pending Junos OS or package installation #966
128 - Fixed MetaPathLoader support only for jnpr.junos* modules #977
129 - Fixed huge tree XML support #975
130 - Fixed Junos sax parser issue for filter_xml broken #969
131
132 ## Release 2.3.0 - 27 September 2019
133 ### Features Added
134 - TableView extended for vty/cli unstructured command #950
135 - Added junos SAX parser feature #942 #955 #951
136 - Added TableView Null Key support #910
137 - Added command tables #958.
138 - Added reboot support for junos vmhost platform #952
139 - Added ElsEthernetSwitchingTable TableView #939
140 - Added callback functionality to ftp get #932
141 - Extended start shell support for Bourne shell #934
142 - Added `at` option support for `sw.reboot()` and `sw.poweroff()` #916
143 - Added generalized function for ssh-client #957
144
145
146 ### Bugs Fixed
147 - Updated fact collection for srx platform #935
148 - Supports new ssh private key format #945
149 - Handled exception in dev.close() #956
150 - Updated file transfers to use context manager to open files #885
151 - Fixed reboot and poweroff behavior #916
152
153 ## Release 2.2.1 - 22 April 2019
154 ### Features Added
155 - None
156
157 ### Bugs Fixed
158 - Handle multiple package-result values from sw.install #864
159 - Extended support to WR-Based Linux H/W #882 #883 #889
160 - Fixed issues in Console over SSH #877
161 - Optimized PyEZ docker image size and minor bug fixes #894 #911
162 - Fixed JSON serialization for Junos facts #902
163 - Updated securityzone.yml. Added item `zone-security` #909
164 - Fixed runtime error while using Outbound-SSH #915
165 - Fixed Pyyaml bugs #914 #917 #918
166
167
168
169 ## Release 2.2.0 - 27 August 2018
170 ### Features Added:
171 - Support for Node virt based platforms #856
172 - Support Linux based Junos devices #862
173 - Connection through console server (having login credentials) using SSH #861 #870
174 - outbound ssh #732
175
176 ### Bugs Fixed:
177
178
179 ## Release 2.1.9 - 8 August 2018
180 ### Features Added:
181 - None
182
183 ### Bugs Fixed:
184 - Added op tables and views for SRX security zones #855
185 - Changed facts for DVATIA platform #856
186 - Fixed issue in gathering facts when other RE is rebooting/off #852
187 - Added and fixed existing unit test cases in PyEZ #838 #854 #840
188 - Fixed RpcTimeoutError for pdiff() #839
189 - Handled newer junos device #853
190
191 ## Release 2.1.8 - 31 May 2018
192 ### Features Added:
193 -None
194
195 ### Bugs Fixed:
196 - Correct PyEZ TechWiki link #813
197 - Support active and inactive configuration options in config table/view #826
198 - Upgraded alpine 3.6 to support docker in PyEZ #789 #828 #827
199 - Support configuration table/view in telnet mode #829
200 - Added new unit test cases in PyEZ #831
201 - Detect set config format with all keywords like insert, activate, copy etc #791 #792
202
203
204
205 ## Release 2.1.7 - 30 September 2017
206 ### Features Added:
207 - None
208
209 ### Bugs Fixed:
210 - Correct PyEZ TechWiki link. #781/#783
211 - SRX Branch cluster fails SW.install(). #782
212
213
214 ## Release 2.1.6 - 31 August 2017
215 ### Features Added:
216 - PyEZ fact gathering support for JDM of Junos Node Slicing. #761
217 - Enhanced support for GNFs in Junos Node Slicing. #761
218 - Add vmhost parameter to SW.install() to support upgrading the VM Host. #773
219
220 ### Bugs Fixed:
221 - Fix typo in docker run example. #771
222 - Aadding ietf-softwire get_config() example. #772
223 - Fix for python3 remove_ns issue. #767
224 - Fix python2/3 compatibility. #776
225
226
227 ## Release 2.1.5 - 31 July 2017
228 ### Features Added:
229 - Single-RE sw install on multi-RE device using all_re argument to SW.install() #746
230 - Support platforms which have single-RE ISSU. #740
231 - Support Config.load() loading a configuration from a URL. #749
232 - SW.install() enhanced to install from a URL. #751
233 - Implement uptime property for Device instances. #752/#750
234 - Facts gathering support for Junos Node Slicing. #760
235
236 ### Bugs Fixed:
237 - Refactor _exec_rpc() and handle boolean RPC arguments with a value of False. #739
238 - Add the _j2ldr instance variable to the Console class. #753
239 - Properly handle normalize argument to the open() Device method. #758/#757
240 - Setting no-resolve to true for faster ARP Table lookups. #762
241
242
243 ## Release 2.1.4 - 23 June 2017
244 ### Features Added:
245 - Optimize image copying in SW.safe_copy() #728
246
247 ### Bugs Fixed:
248 - unnecessary import cleanup #730
249 - Explicitly initialize jnpr.junos.facts sub-modules. #723/#731
250 - socket.error handling for console->close() #734
251 - Ensure dev.timeout is an integer value. Addresses #735/#736
252 - Socket error fix #737
253
254
255 ## Release 2.1.3 - 30 May 2017
256 ### Features Added:
257 - Ephemeral config support #707
258 - Add a srx_cluster_redundancy_group fact. #711
259
260 ### Bugs Fixed:
261 - ignore_warning fails when single <rpc-error> that is first child of <rpc-reply>. #712
262 - mode='telnet' did not logout non-cli user #713
263 - JSONLoadError was thrown when load valid JSON config #717/#718
264 - Fix XML normalization feature when using NETCONF over console. #719/#720
265 - Handle differences in |display xml rpc #722
266
267
268 ## Release 2.1.2 - 2 May 2017
269 ### Bugs Fixed:
270 - Doc badge was pointing to older version #694
271 - Fix new-style fact gathering for SRX clusters. #697/#698
272 - Properly handle SW upgrades on multi-RE and/or multi-chassis systems when using new-style fact gathering. #700
273 - Raise JSONLoadError if json config is malformed #706
274 - Handle ConnectClosedError exception for lock() and unlock() #708
275 - Return None when the RPC equiv is either str or unicode #721
276
277
278 ## Release 2.1.1 - 28 Mar 2017
279 ### Bugs Fixed:
280 - Fix regressions caused by `ignore_warning`. #691
281
282
283 ## Release 2.1.0 - 22 Mar 2017
284 ### Features Added:
285 - Enhanced fact gathering. Facts are now gathered "on demand." Additional facts are added.
286 The definition of facts and return values are properly documented. #638
287 - Support for YANG get RPCs. #672
288 - Add an `ignore_warning` argument to suppress `RpcError` exceptions for warnings. #672/#685
289 - Enhanced the `sw.install()` method with basic ISSU and NSSU support using the issu and nssu
290 boolean arguments. #606/#630/#632
291 ** NSSU support has not yet been tested and should currently be considered experimental.
292 - Provide a master property and a re_name property for Device. #682
293 - Enhanced `reboot()` method to take an `all_re` boolean parameter which controls if only the connected
294 Routing Engine, or all Routing Engines, are rebooted. #613
295 - Enhanced the warning message produced by the `cli()` method to recommend the corresponding
296 `dev.rpc.<method>()` call. #603
297 - Add support for `update` parameter to configuration `load()` method. #681
298 - Added `directory_usage` to utils #629/#631/#636
299 - Adding support for NFX/JDM fact gathering. #652/#659
300 - Connected property. #664
301
302 ### Bugs Fixed:
303 - Updated the interface-name glob pattern to correctly match `et-<x>/<y>/<z>` interfaces
304 in several tables and views. #609
305 - Take care of special chars on screen during console connection. #610
306 - Address issue with fact gathering stopping when it encounters a problem. #615
307 - Minor typos fixed in `RuntimeError` exception message and in comments. #621
308 - Added `console_has_banner` parameter. #622
309 - Add CentOS Support to install instructions #623
310 - Key value is needed in `_IsisAdjacencyLogTable` #627
311 - Improved functionality and documentation of Docker build. #637/#673/#674/#677
312 - added remote port ID to lldp.yml (OP) #645
313 - Fix documentation for `rollback()` #647
314 - Fix for fact gathering pprint. #660/#661
315 - update ospf view, add bgp/inventory #665
316 - Updated doc string for close function #686
317 - Add Travis builds for Python 3.5 and 3.6 #687
318 - StartShell.run to take this as None for non returning commands #680
319 - Modify ignore_warning return value to mimic normal RPC return value. #688
320
321
322 ## Release 2.0.1
323 ### Bugs Fixed:
324 - StartShell to take timeout (30 second by default) as paramter
325 - Proper exception handling in case of Console connection #595
326 - Fix: Config.lock() return exception when normalize is on
327 - Added microbadge badge for the Docker image #593
328 - Fix: print dev for Console conn was printing object not Device(....) #591
329 - Fix: To take care of special chars with StartShell->run function call #589
330 - Fix: ssh private key file to be considered for scp util #586
331 - Added Dockerfile to enable automated image builds on project commits #585
332
333
334 ## Release 2.0.0
335 ### Features Added:
336 - Console connection using PyEZ
337 - Python >=3.4 support
338 - Configuration Tables to Define and Configure Structured Resources
339 - JSON Config load
340 - FTP Utility
341
342 ### Bugs Fixed:
343 - Multi RPC error
344 - various bug fixes
345
346 Refer below link for more details:
347 https://github.com/Juniper/py-junos-eznc/releases/tag/2.0.0
348
349
350 ## Release 1.0
351
352 # Junos PyEZ Overview
353
354 The Junos PyEZ project is an open-source Apache 2.0 library for the Python programming language. The purpose of this "micro-framework" library is to enable the networking professional community to effectively utilize the Junos OS NETCONF and XML APIs.
355
356 The Junos PyEZ library can be used on any number of server environments supporting Python 2.6 and 2.7.
357
358 At the time of this writing, Junos PyEZ is not distributed on devices running Junos OS.
359
360 For feature documentation and community support, refer to the following URLs:
361 * Project Page hosted on the Juniper Networks TechWiki:
362 http://techwiki.juniper.net/Automation_Scripting/Junos_PyEZ
363 * Source code hosted on Github:
364 https://github.com/Juniper/py-junos-eznc
365 * Support forum hosted using Google Groups:
366 https://groups.google.com/forum/#!forum/junos-python-ez
367
368 # Installing Junos PyEZ
369 Junos PyEZ can be installed directly from the PyPi repository by typing `pip install junos-eznc` at the system command line.
370
371 The "pip" installation process also installs any related dependent Python modules and libraries. Depending on your specific system, you might need to have the prerequisite build tools installed as well.
372
373 For the complete set of installation instructions for various platforms, see the Junos PyEZ project documentation at https://techwiki.juniper.net/Automation_Scripting/Junos_PyEZ/Installation.
374
375 # Recommended Junos Release
376 Junos PyEZ can be used with any device running Junos OS, because they all support the NETCONF and Junos XML APIs. To take full advantage of the Junos PyEZ features, we recommend using Junos OS Release 11.4 or later release - see "Known Limitations and Restrictions" section for details. For more information about Junos OS releases, refer to the Juniper Networks technical documentation site at https://www.juniper.net/techpubs/en_US/release-independent/junos/information-products/pathway-pages/junos/product/index.html .
377
378 # Supported Python Releases
379 The Junos PyEZ library has been tested with Python versions 2.6 and 2.7.
380 At the time of this writing PyEZ is not supported in Python 3.x environments. This restriction is due to dependencies on other Python modules, such as ncclient, that do not support Python 3.x.
381
382 # Known Limitations and Restrictions
383 ## General
384 * Junos PyEZ maintains a "timeout" mechanism for each executed command and response pair. The default timeout is 30 seconds. You can override the default by using the Device.timeout property. If a timeout does occur, a timeout exception is raised.
385 * Some devices running Junos OS might disconnect the NETCONF session due to inactivity. This behavior has been observed on SRX Series Services Gateways. In such cases, an exception is raised upon execution of the next command. The Junos PyEZ library does not reconnect to the device in these inactivity scenarios. However, you can call Device.open() to reconnect.
386 * Command execution is synchronous and blocking. The underlying NETCONF transport library is the ncclient module. If your application requires asynchronous or nonblocking execution logic, you should investigate other libraries to wrap around the PyEZ framework such as Twisted or Python Threads.
387 * The `Device.cli()` method is intended to be used with interactive python, and as a means to facilitate the interactive experience as needed. Please do not use this for "screen-scraping" the CLI output for automation purposes.
388
389 ## Version-Specific Limitations
390 A couple software version-dependent limitations that must be noted:
391 * 11.4 - This is the first release where the Junos XML API supports the ability to retrieve the command output in text (CLI) format. Prior to Junos OS Release 11.4, the response output was in XML. If you use the Device.cli() feature, note that this only works with Junos OS Release 11.4 and later releases.
392 * 11.4 - This is the first release where the Junos XML API supports the ability to load configuration changes using Junos OS set commands.
393
394 ## Restrictions
395 ### Primary Routing Engine
396 For devices with multiple Routing Engines, you can only connect to the primary Routing Engine. If you attempt to connect to the backup Routing Engine, the Device.open() method fails with an exception.
397
398 ### Junos OS Software Upgrade
399 The primary restriction is on software-install functionality provided by the jnpr.junos.utils.sw module. The software-install process is currently designed to support simple deployment scenarios. The expected use case for this software is deploying new equipment. The following scenarios are supported:
400 * Standalone devices with a single Routing Engine, for example EX4200 switches
401 * Standalone devices equipped with dual Routing Engines, for example MX960 routers
402 * EX Series Virtual Chassis in non-mixed-mode configurations (all devices use the same Junos OS software package)
403 * Deployment configurations that do not have any form of "in-service" features enabled, such as unified ISSU and NSSU.
404
405 The following scenarios are known not to be supported:
406 * SRX Series chassis clusters
407 * EX Series Virtual Chassis in mixed-mode configurations (devices use different Junos OS software packages)
408 * Virtual Chassis Fabric (VCF)
409 * MX Series Virtual Chassis
410 * Any deployments with "in-service" configurations enabled (such as unified ISSU or NSSU)
411