- Enhancements for ACL functionality
- New functions for ACL attaching (interface, vlan)
- Ports and protocols can be set by name, like in CLI
- Validations of MAC and IP address
- Validations of capabilities
- New class to handle Object Groups
- Fixes for issues found internally
- Added support for LLDP neighbors
- Added support for LAG interface
- Added support for DNS configuration
- Added enhancements to VLAN module
- New attributes: voice, igmp snooping and vsx-sync
- Bugfixes for Interface module related to vlan trunks
- Minor fix for Session
- Remove printing of login resource URI
- Fixed bugs for firmware upload
- Fixed ACL entry functionality
- Added support MTU attribute to Interface class
- Fixed bugs for DHCP Relay class
- Added function to get firmware status
- Fully tested Port Security functionality
- Fixed OSPF active interface functionality
- Fixed readthedocs autogeneration
- New modules supported and fully tested:
- mac.py
- poe_interface.py
- static_mac.py
- Fixed create_checkpoint function in configuration module
- Added support for Csrf Token
- Added support for Data planes
- Added support for REST v10.09
- Added function get_firmware_info to Device
- Remove repeated logic for open/login and close/logout functions in Session
- Fully tested the OSPFv2 and OSPFv3 functionality
- Bugfixes in other modules
- New modules supported for OSPF feature and fully tested:
- ospf_area.py
- ospf_interface.py
- ospf_router.py
- ospfv3_router.py
- ospf_virtual_link.py
- This modules are not fully tested and therefore not supported yet:
- bgp_neighbor.py
- bgp_router.py
- mac.py
- poe_interface.py
- static_mac.py
- vrf.py
- vsx.py
- vrf_address_family.py
- Fixed VLAN Interface Active Gateway setting
- Removed type hinting for python version compliance
- Fixed bug when instantiating static nexthops
- Fixed port_security_enable()
- invalid default values
- MAC address validation
- Fixed bugs in PYAOSCX Exceptions instantiation
- Formatted python files with psf/black
- Fixed PEP8 compliance issues
- Added a deprecated decorator to warn about deprecated methods
- Made consistency changes on:
- docstrings
- string literal quotes and interpolation
- whitespace
- internal use of the connection session to the switch
- code-formatting
- Deleted error.py
- Deleted exceptions/request_error.py
- Added support for the following modules:
- Queue Profile
- OSPF
- QOS DSCP
- VSX (in factory)
- Added updates to Interface modules for QoS
- Added global QoS profiles, QoS trust mode
- Added address family verification to Static Route
- Updated README.md with API requirements and note about Master branch
- Various Bugfixes
- ACE modification
- Missing self parameter in API method
- Fixed circular import in VRF
- Fixed Modifying dictionary during iteration error in ACL
- Removed certain attributes when updating an ACL entry
- Fixed QoS and QoSDSCP modules and imperative methods
- Fixed interface for rate data type and trust mode in QoS
- Fixed VRF in devices with different capabilities
- Fixed invalid GET response for non-existing Interface
- Fixed Schedule Profile attributes when updating
- Remove call to get() in mac.py's get_all()
- Fixed config_attrs if calling get() without selector
- Shorten payloads for network requests
- Verification added for missing PoE capability
- Fixed isl_port interface instantiation
- Added missing import and decorator in interface module
- Added missing parameter to logging call in QoS
- Added support for the following modules:
- MAC
- QoS
- PoE
- Added support for REST version 10.08
- Bug fixes in ACL and Interface modules
- General code quality improvements for maintainability
- netaddr was added as a dependency
WARNING: V2 is NOT backwards compatible with v1 and earlier
- Huge overhaul of the design - the libraries now use factories in order for the code to be more object oriented. Please read the Design document file for more information.
- Removed previous workflow examples (defunct) and added /workflows/workflow.py as an example for using the new design
- Added directories for supporting files in /rest/v1 and /rest/v10_04
- Most of the previous libraries have been updated, but there are unsupported modules that are pending updates below:
- ARP
- Common_ops
- EVPN
- LLDP
- Loop Protect
- MAC
- NAE
- QoS
- System
- VXLAN
- Additionally, a few libraries have been migrated into other libraries:
- bgp.py is now split between bgp_router.py and bgp_neighbor.py
- config. py is now configuration.py
- dhcp.py is now dhcp_relay.py
- lag.py is now integrated into interface.py
- ospf.py is now split between ospf_area.py, ospf_interface.py, and ospf_router.py
- Made changes to setup.py to update the PyPi information
- Added nae.py, a new module to provide functionality for interacting with NAE scripts and agents.
- Added a function 'create_first_password' to setup.py to support logging into a factory default switch and handling the mandatory password creation.
- Minor bug fix in system.py module
- Modified setup.py to mandate the Python3 requirement
Updates to the following files:
- access_security.py
- acl.py
- common_ops.py
- evpn.py
- interface.py
- lag.py
- ospf.py
- port.py
- qos.py
- vsx.py
- Fixed '_create_l3_lag_interface' to configure each member port to belong to the L3 LAG.
- None--a version-up was required due to accidentally uploading the wrong code as version 0.1.0 to PyPI and not being able to delete it nor re-use the version number.
- This is the initial release for the AOS-CX Python libraries, example sample data, and workflows.
- For this release, it is recommended to only utilize the v1 API due to current issues that are listed in the Known Issues section.
- Issue with v10.04 REST API prevents updating an Interface table entry's OSPF authentication information. This affects workflows:
- configure_ospf.py