Skip to content

Latest commit

 

History

History
299 lines (234 loc) · 11.8 KB

CHANGELOG.md

File metadata and controls

299 lines (234 loc) · 11.8 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

2.4.10 - 2022-05-12

Added

  • Add following parameters to delete_ip_pool_from_sda_virtual_network and get_ip_pool_from_sda_virtual_network:
    • site_name_hierarchy

2.4.9 - 2022-04-20

Added

  • Add following parameters to claim_a_device_to_a_site:
    • gateway
    • imageId
    • ipInterfaceName
    • rfProfile
    • staticIP
    • subnetMask
    • vlanId

2.4.8 - 2022-03-23

Added

  • Add DownloadResponse class that wraps the urllib3.response.HTTPResponse.
  • Add filename optional parameter to the following functions:
    • dnacentersdk.api.v1_2_10.file.File.download_a_file_by_fileid
    • dnacentersdk.api.v1_3_0.file.File.download_a_file_by_fileid
    • dnacentersdk.api.v1_3_1.file.File.download_a_file_by_fileid
    • dnacentersdk.api.v1_3_3.file.File.download_a_file_by_fileid
    • dnacentersdk.api.v2_1_1.file.File.download_a_file_by_fileid
    • dnacentersdk.api.v2_1_2.file.File.download_a_file_by_fileid
    • dnacentersdk.api.v2_1_2.reports.Reports.download_report_content
    • dnacentersdk.api.v2_2_2_3.file.File.download_a_file_by_fileid
    • dnacentersdk.api.v2_2_2_3.reports.Reports.download_report_content
    • dnacentersdk.api.v2_2_3_3.file.File.download_a_file_by_fileid
    • dnacentersdk.api.v2_2_3_3.reports.Reports.download_report_content

Changed

  • Change the response of the following funtions from urllib3.response.HTTPResponse to a wrapper DownloadResponse.
    • dnacentersdk.api.v1_2_10.file.File.download_a_file_by_fileid
    • dnacentersdk.api.v1_3_0.file.File.download_a_file_by_fileid
    • dnacentersdk.api.v1_3_1.file.File.download_a_file_by_fileid
    • dnacentersdk.api.v1_3_3.file.File.download_a_file_by_fileid
    • dnacentersdk.api.v2_1_1.file.File.download_a_file_by_fileid
    • dnacentersdk.api.v2_1_2.file.File.download_a_file_by_fileid
    • dnacentersdk.api.v2_1_2.reports.Reports.download_report_content
    • dnacentersdk.api.v2_2_2_3.file.File.download_a_file_by_fileid
    • dnacentersdk.api.v2_2_2_3.reports.Reports.download_report_content
    • dnacentersdk.api.v2_2_3_3.file.File.download_a_file_by_fileid
    • dnacentersdk.api.v2_2_3_3.reports.Reports.download_report_content

2.4.7 - 2022-03-22

Added

  • Add rfProfile parameter for request body struct of claim_a_device_to_a_site.

2.4.6 - 2022-03-14

Changed

  • Update the type of the externalConnectivitySettingsfrom object to list in sda.adds_border_device
  • interfaceName is now part of the structure of externalConnectivitySettings in sda.adds_border_device
  • externalAutonomouSystemNumber is now part of the structure of externalConnectivitySettings in sda.adds_border_device
  • l3Handoff is now part of the structure of externalConnectivitySettings in sda.adds_border_device
  • Update the type of the l3Handofffrom object to list in sda.adds_border_device
  • virtualNetwork is now part of the structure of l3Handoff in sda.adds_border_device
  • virtualNetworkName is now part of the structure of virtualNetwork in sda.adds_border_device
  • vlanId is now part of the structure of virtualNetwork in sda.adds_border_device
  • Update models validators of Cisco DNA Center API v2.2.3.3 files for the following functions:
    • sda.adds_border_device

2.4.5 - 2022-02-01

Changed

  • Adds parameter id to devices.sync_devices for Cisco DNA Center API v2.2.3.3

  • Update response documentation of Cisco DNA Center API v2.2.3.3 files

    • fabric_wireless.add_ssid_to_ip_pool_mapping
    • fabric_wireless.update_ssid_to_ip_pool_mapping
    • fabric_wireless.add_w_l_c_to_fabric_domain
    • wireless.ap_provision
    • wireless.create_update_dynamic_interface
  • Update models validators of Cisco DNA Center API v2.2.3.3 files for the following functions:

    • devices.sync_devices

2.4.4 - 2022-01-31

Changed

  • Update response documentation of Cisco DNA Center API v2.2.3.3 files

    • application_policy.get_applications
    • device_onboarding_pnp.get_device_list
  • Adds parameters payload and active_validation to the following functions for Cisco DNA Center API v2.2.3.3:

    • site_design.create_floormap
    • site_design.update_floormap
  • Update models validators of Cisco DNA Center API v2.2.3.3 files for the following functions:

    • site_design.create_floormap
    • site_design.update_floormap
    • application_policy.create_application

Fixed

  • Removed an extra parameter in the call of VERIFY_STRING_ENVIRONMENT_VARIABLE

Added

  • Adds parameters hostname, imageInfo and configInfo to device_onboarding_pnp.pnp_device_claim_to_site

2.4.3 - 2022-01-19

Fixed

  • DNACenterAPI constructor allows for optional arguments #37

Changed

  • Update requirements
  • Adds env variables support for import before/after importing DNACenterAPI
  • Adds tests for env variables before/after DNACenterAPI import

2.4.2 - 2021-12-14

Fixed

  • Fix add_members_to_the_tag and retrieves_all_network_devices json schemas.

Updated

  • Update json schemas for models/validators and tests/models/models/validators

2.4.1 - 2021-12-01

Changed

  • Update to match checksum

2.4.0 - 2021-12-01

Added

  • Add support of DNA Center versions ('2.2.3.3')
  • Add retrieves_all_network_devices funtion

Changed

  • Included support for DNAC 2.2.3.3 files
  • Update function names:
    • Rename devices.add_device2 to devices.add_device
    • Rename devices.is_valid_add_device2 to devices.is_valid_add_device in tests
    • Rename devices.test_add_device2 to devices.test_add_device in tests
    • Rename devices.add_device2_default_val to devices.add_device_default_val in tests
  • Update missing dnac 2.2.3.3 files

2.3.3 - 2021-11-24

Changed

  • Changes to configuration_templates functions:
    • Add payload and active_validation parameters to clone_given_template function
    • Change type from dict to list for parameter templates in create_project
    • Change type from dict to list for parameter templates in update_project
    • Change type from (list, dict) to basesting for parameter payload in imports_the_projects_provided
    • Change type from object to list for parameter resourceParams in preview_template
    • Removed active_validation parameter in imports_the_projects_provided function
  • Changes to sda functions:
    • Add isGuestVirtualNetwork parameter to add_virtual_network_with_scalable_groups function
    • Add isGuestVirtualNetwork parameter to update_virtual_network_with_scalable_groups function

2.3.2 - 2021-09-14

Changed

  • Disable verify=False warnings of urllib3

2.3.1 - 2021-08-10

Fixed

  • Fix devices param definition & schemas [aba32f3]
  • Remove unnecesary path_params [25c4e99]

2.3.0 - 2021-08-09

Added

  • Add support of DNA Center versions ('2.2.2.3')
  • Adds modules for v2_2_2_3

Changed

  • Updates download_report_content of v2_2_1 function to handle response body and save it as a file.
  • Updates exceptions.py file to check if self.details is dict before attempting access
  • Updates restsession.py to handle downloads using Content-Disposition header rather than custom fileName header

2.2.5 - 2021-08-05

Changed

  • Fixes #34 by:
    • Removing enum that contain descriptions rather than actual values.
    • Adding primaryIpAddress and secondaryIpAddress for v2_2_1 the "format": "ipv4" JSON schema property.
  • Removes minus char from docstrings.
  • Adds check_type conditions for 'X-Auth-Token' for v2_2_1 operations.

2.2.4 - 2021-06-08

Fixed

  • Fixes download_a_file_by_fileid and import_local_software_image for v2_2_1

2.2.3 - 2021-06-08

Changed

  • Update project dependencies & settings
  • Update LICENSE
  • Update tests (lint, mock server order, validators)
  • Update docs for v2_2_1
  • Fix functions args for 2_2_1
  • Update LICENSE reference
  • Removed unused code in dnacentersdk/generator_containers.py
  • Remove description from validators
  • Update comments & args' types
  • Patch changes some parameters in v2_2_1 that were causing NameError
  • Patch adds one function that was missing from previous release
  • Patch adds models/validators for v2_2_1 with new ids

2.2.2 - 2021-05-10

Added

  • Add support of DNA Center versions ('2.2.1')

Changed

  • Updates requirements files

2.0.2 - 2020-11-01

Added

  • Add support of DNA Center versions ('2.1.2')
  • Included sphinx_search in Pipfile
  • Included sphinx_search in requirements-dev.txt
  • Requirements-docs.txt
  • Added requirements.lock

Changed

  • Migrated to poetry for publishing and managing the project
  • Generated requirements.txt from poetry export

Removed

  • Removed requirements.lock

2.0.0 - 2020-07-17

Added

  • Add support of DNA Center versions ('1.3.1', '1.3.3', '2.1.1')
  • Included setuptools_scm in the requirements

Changed

  • Changed repo URLs to current repository
  • Changed versioneer style from pep440 to pep440-post
  • Changed setup from versioneer to setuptools_scm
  • Changed version management to include patch (major, minor, patch)

Fixed

  • Fixed link to github organization
  • Fixed dict limit error with python < 3.7
  • Fixed (json **kwargs) handling

Removed

  • Removed Webex Teams Space Community reference from README
  • Removed Token refresh when changing base_url

1.3.0 - 2019-08-19

Added

  • Add support for multiple versions of DNA Center ('1.2.10', '1.3.0')

Fixed

  • Fix code example in README
  • Fix error in setter in api/__init__.py
  • Fix errors for readthedocs

1.2.10 - 2019-07-18

Added

  • Add support for DNA Center version 1.2.10