0.15.2-a1 β 2022-07-29ο
π Featuresο
New code example: upload security policy - Upload Firewall Security Policies to an appliance or create a new Template Group to be assigned to appliances
Overview: Upload EdgeConnect Security Policy
Code: upload_security_policy
Updated logging messages (when using
log_consoleandlog_fileparameters for EdgeConnect and Orchestrator) to include base Orch FQDN or ECOS FQDN to be clear when logging statements across different instances in a single script.
Added the following EdgeConnect functions from Swagger:
- from .ecos._alarm
- from .ecos._bonded_tunnel
- from .ecos._cli
- from .ecos._deployment
- from .ecos._local_subnets
- from .ecos._peers
- from .ecos._security_maps
- from .ecos._third_party_tunnel
- from .ecos._tunnel
π Bug Fixesο
#10 -
login()andlogin()returnedTrueeven when login failed#11 -
appliance_resync()had incorrect endpoint of/applianceResyncSynchronize, corrected to/applianceResync#12 - The preconfig generator example code had the option to look for a column for appliance serial number to match preconfig to, however, didnβt include that information when creating the preconfig on Orchestrator as the parameter wasnβt specified.
#13 - Corrected return type-hint for methods that use return_type=βfull_responseβ with hint of requests.Response object rather than dict
π§° Maintenance / Otherο
Introduced initial automated tox testing for Python 3.7, 3.8, 3.9, 3.10 - run pytest tests
additional testenv:format environment - Check isort for imported packages - Check flake8
π Known Issuesο
Warning
The following two functions for the _ip_objects submodule exprience
errors at this time. These function do work in the Orchestrator UI:
bulk_upload_address_group() and
bulk_upload_service_group()