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

  • Updated logging messages (when using log_console and log_file parameters 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() and login() returned True even 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()