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
configmethod to raiseConnectionErrorexception (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
ujsonorrapidjsonmodules. The standardjsonis used as a fallback.
- Allow user to specify an SSL context (234)
Provided the argument option
contextto 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
ipinterfacesmodule (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
interfacesmodule, whereget()method returned vxlan data structure withflood_listparsed 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_sessionandhttps_session) toconnect()method to support a session based authentication.
- Added support infrastructure to handle deprecated EOS CLI (247)
The added
CliVariantsclass 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 ofipinterfacesmodule with the parsed secondary ip addresses (if present).
- A minor fix to include internal exception handling (252)
With this fix the
pyeapi.eapilib.CommandErrorexception will elaborate on the causes of internal errors.
- Enhance parsing of BGP router section with
asdotnotation (256) Allow matching and parsing
router bgpsections if spelled withasdotnotation.
- Enhance parsing of BGP router section with
removed and updated deprecations (204, 212, 235, 260, 262, 263)