Release 1.0.0¶
2023-06-06
- This is a Python3 (3.7 onwards) release only (Python2 is no longer supported)
- Arista EOS 4.22 or later required (for on-box use cases only)
New Modules¶
Enhancements¶
Fixed¶
- Let
config
method to raiseConnectionError
exception (198) - The fix ensures that the behavior is consistent with other methods.
- Let
- Fixed parsing of VLAN groupings by
vlans.getall()
(200) - The fix allows handling a case when multiple VLANs in the configs may be grouped under a common (group) name.
- Fixed parsing of VLAN groupings by
- Enhanced
vlans.get()
to return an actual list of VLANs (202) - The method used to return the argument itself (e.g., an RE:
200-.*
), now the actual list of matched VLANs is returned
- Enhanced
- Fixed a corner crash in
portsVlans.getall()
(213) - The crash may occur when the switchport is configured with a VLAN profile
- Fixed a corner crash in
- Improved
switchports.getall()
behavior (216) - The method will not consider subinterfaces anymore
- Improved
- Improved JSON parsing speed (166)
- User may improve the speed by using
ujson
orrapidjson
modules. The standardjson
is used as a fallback.
- Allow user to specify an SSL context (234)
- Provided the argument option
context
to specify an SSL context inconnection()
method.
- Fixed user password vulnerability in tracebacks (238)
- A user password is exposed in a traceback, which could occur due to invalid credentials.
- Added support for login password exclusively for ssh-key authentication (227)
- Catching up with EOS CLI which already supports such login password.
- Fixed user password vulnerability in debugs (242)
- A user password was exposed in user enabled debugs. With this commit the user password is masked out now.
- Added option not to include config defaults (221)
- Reading running-config or startup-config with default values is not always a desirable behavior. This commit adds an option to control such behavior.
- Fixed a corner crash in
ipinterfaces
module (210) - Fixed a crash when MTU value is not present in the interface configuration (this is rather a corner case condition).
- Fixed a corner crash in
- Fixed a bug where vxlan floodlist might return a bogus data (193)
- Fixed the issue with
interfaces
module, whereget()
method returned vxlan data structure withflood_list
parsed incorrectly.
- Improved performance of config parsing (220)
- Drastically improved perfromance of config parsing by cacheing section splitting results. This fix also tightens the prior relaxed section match behavior by allowing matching only section line (as vs entire section’s content)
- Added support for a session based authentication (203)
- Added a couple new transport options (
http_session
andhttps_session
) toconnect()
method to support a session based authentication.
- Added support infrastructure to handle deprecated EOS CLI (247)
- The added
CliVariants
class helps managing transitions from deprecated EOS CLI (by allowing specifying both, new and deprecated CLI variants).
- Added support for parsing secondary ip addresses (251)
- The added fix extends the return result for
get()
method ofipinterfaces
module with the parsed secondary ip addresses (if present).
- A minor fix to include internal exception handling (252)
- With this fix the
pyeapi.eapilib.CommandError
exception will elaborate on the causes of internal errors.
- Enhance parsing of BGP router section with
asdot
notation (256) - Allow matching and parsing
router bgp
sections if spelled withasdot
notation.
- Enhance parsing of BGP router section with
- removed and updated deprecations (204, 212, 235, 260, 262, 263)
- documentation fixes and updates (209, 225, 239, 257, 259)