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.
Unreleased
2.11.0 - 2026-02-04
Added
Add support of Cisco Catalyst Center version (‘3.1.6.0’)
Adds modules for v3_1_6_0
New service for Cisco Catalyst Center 3.1.6.0’s API:
system_software_upgrade
Changed
SDK is now compatible with Cisco Catalyst Center 3.1.6.0’s API.
2.10.6 - 2025-12-15
Fixed
Empty Response Handling: Fixed issue where empty string responses from API (e.g., NFS config and backup configuration operations) caused “argument of type ‘NoneType’ is not iterable” error. Updated
mydict_data_factory()to gracefully handleNoneresponses by returning an emptyMyDict()instead of attempting to processNonevalues.Multiple Attributes Support: Fixed
gets_interfaces_along_with_statistics_and_poe_data_from_all_network_devices()to accept tuples for theattributeparameter, allowing users to pass multiple attributes likeattribute=("rxError", "txError")which correctly generates query parameters with&separators.Port Channel Configuration: Fixed API and SDK feature name mismatch for port channel configurations. Changed payload key from
"portChannelConfig"to"portchannelConfig"(lowercase ‘c’) increate_configurations_for_an_intended_layer2_feature_on_a_wired_device()andupdate_configurations_for_an_intended_layer2_feature_on_a_wired_device()methods to match the API’s expected format.Report Filters Validation: Fixed validation schema for
create_or_schedule_a_report()to acceptvaluefield in filters as an array of objects instead of a single object, matching the API’s expected format forMULTI_SELECT_TREEfilter types.
Changed
Documentation: Added missing section header “DNACenterAPI v2.3.7.9” in the User API Doc to properly separate v2.3.7.9 classes from v2.3.7.6, improving documentation clarity and navigation.
2.10.5 - 2025-10-29
Fixed
Validation Schema (v3.1.3.0): Fixed
valuefield type fromobjecttoarrayinCreateOrScheduleAReportvalidator (jsd_fa310ab095148bdb00d7d3d5e1676.py).
2.10.4 - 2025-07-30
Added
Ansible Compatibility Aliases (v3.1.3.0): Added 46 backward compatibility alias functions to support Ansible modules and legacy code. These aliases map old function names to their current implementations:
application_policy.py (4 alias):
create_application_sets_v2→create_application_setscreate_applications_v2→create_applicationsedit_applications_v2→edit_applicationsget_application_count_v2→get_application_count
site_design.py (19 alias):
add_planned_access_points_positions_v2→add_planned_access_points_positionsassign_planned_access_points_to_operations_ones_v2→assign_planned_access_points_to_operations_onescreates_a_building_v2→creates_a_buildingcreates_a_floor_v2→creates_a_floordelete_planned_access_points_position_v2→delete_planned_access_points_positiondeletes_a_building_v2→deletes_a_buildingdeletes_a_floor_v2→deletes_a_flooredit_planned_access_points_positions_v2→edit_planned_access_points_positionsedit_the_access_points_positions_v2→edit_the_access_points_positionsget_access_points_positions_count_v2→get_access_points_positions_countget_access_points_positions_v2→get_access_points_positionsget_floor_settings_v2→get_floor_settingsget_planned_access_points_positions_count_v2→get_planned_access_points_positions_countget_planned_access_points_positions_v2→get_planned_access_points_positionsgets_a_building_v2→gets_a_buildinggets_a_floor_v2→gets_a_floorupdates_a_building_v2→updates_a_buildingupdates_a_floor_v2→updates_a_flooruploads_floor_image_v2→uploads_floor_image
discovery.py (3 alias):
create_global_credentials_v2→create_global_credentialsget_all_global_credentials_v2→get_all_global_credentialsdelete_global_credential_v2→delete_global_credential
devices.py (4 alias):
get_device_interface_stats_info_v2→get_device_interface_stats_infothe_total_interfaces_count_across_the_network_devices→get_total_interfaces_count_across_the_network_devicesthe_trend_analytcis_data_for_the_interfaces_in_the_specified_time_range→get_trend_analytics_data_for_the_interfaces_in_the_specified_time_rangethe_trend_analytics_data_for_the_network_device_in_the_specified_time_range→get_trend_analytics_data_for_the_network_device_in_the_specified_time_range
configuration_templates.py (1 alias):
get_projects_details_v2→get_projects_details
sda.py (3 alias):
the_trend_analytics_data_for_a_fabric_site_in_the_specified_time_range→get_trend_analytics_data_for_a_fabric_site_in_the_specified_time_rangethe_trend_analytics_data_for_a_transit_network_in_the_specified_time_range→get_trend_analytics_data_for_a_transit_network_in_the_specified_time_rangethe_trend_analytics_data_for_a_virtual_network_in_the_specified_time_range→get_trend_analytics_data_for_a_virtual_network_in_the_specified_time_range
industrial_configuration.py (11 alias):
configure_a_r_e_p_ring_on_f_a_b_r_i_c_deployment→configure_rep_ring_on_fabric_deploymentconfigure_a_r_e_p_ring_on_n_o_n_f_a_b_r_i_c_deployment→configure_rep_ring_on_non_fabric_deploymentdelete_r_e_p_ring_configured_in_the_f_a_b_r_i_c_deployment→delete_rep_ring_configured_in_the_fabric_deploymentdelete_r_e_p_ring_configured_in_the_n_o_n_f_a_b_r_i_c_deployment→delete_rep_ring_configured_in_the_non_fabric_deploymentget_the_r_e_p_ring_based_on_the_ring_id→get_the_rep_ring_based_on_the_ring_idretrieves_the_count_of_m_r_p_ring_members→retrieves_the_count_of_mrp_ring_membersretrieves_the_count_of_r_e_p_rings→retrieves_the_count_of_rep_ringsretrieves_the_list_of_m_r_p_rings→retrieves_the_list_of_mrp_ringsretrieves_the_list_of_network_devices_part_of_m_r_p_ring→retrieves_the_list_of_network_devices_part_of_mrp_ringretrieves_the_list_of_r_e_p_rings→retrieves_the_list_of_rep_rings
device_onboarding_pnp.py (1 alias):
un_claim_device→unclaim_device
applications.py (1 alias):
the_trend_analytics_data_for_thousand_eyes_test_results_in_the_specified_time_range→get_trend_analytics_data_for_thousand_eyes_test_results_in_the_specified_time_range
Fixed
Function Name Corrections (v3.1.3.0): Fixed multiple incorrectly named functions across several API modules to follow proper Python naming conventions and match their actual functionality:
industrial_configuration.py: Corrected REP (Resilient Ethernet Protocol) ring function names:
configure_are_p_ring_on_fabric_deployment→configure_rep_ring_on_fabric_deploymentconfigure_are_p_ring_on_non_fabric_deployment→configure_rep_ring_on_non_fabric_deploymentdelete_are_p_ring_configured_in_the_fabric_deployment→delete_rep_ring_configured_in_the_fabric_deploymentdelete_are_p_ring_configured_in_the_non_fabric_deployment→delete_rep_ring_configured_in_the_non_fabric_deploymentretrieves_the_list_of_are_p_rings→retrieves_the_list_of_rep_ringsretrieves_the_count_of_are_p_rings→retrieves_the_count_of_rep_ringsget_the_are_p_ring_based_on_the_ring_id→get_the_rep_ring_based_on_the_ring_id
user_and_roles.py: Corrected class name:
UserandRoles→UserAndRoles(improved word separation)
device_onboarding_pnp.py: Fixed function naming:
un_claim_device→unclaim_device(removed unnecessary underscore)
sda.py: Corrected trend analytics function names:
the_trend_analytics_data_for_a_fabric_site_in_the_specified_time_range→get_trend_analytics_data_for_a_fabric_site_in_the_specified_time_rangethe_trend_analytics_data_for_a_transit_network_in_the_specified_time_range→get_trend_analytics_data_for_a_transit_network_in_the_specified_time_rangethe_trend_analytics_data_for_a_virtual_network_in_the_specified_time_range→get_trend_analytics_data_for_a_virtual_network_in_the_specified_time_range
devices.py: Fixed trend analytics and interface functions:
the_total_interfaces_count_across_the_network_devices→get_total_interfaces_count_across_the_network_devicesthe_trend_analytcis_data_for_the_interfaces_in_the_specified_time_range→get_trend_analytics_data_for_the_interfaces_in_the_specified_time_range(also fixed typo “analytcis” → “analytics”)the_trend_analytics_data_for_the_network_device_in_the_specified_time_range→get_trend_analytics_data_for_the_network_device_in_the_specified_time_range
applications.py: Fixed trend analytics function:
the_trend_analytics_data_for_thousand_eyes_test_results_in_the_specified_time_range→get_trend_analytics_data_for_thousand_eyes_test_results_in_the_specified_time_range
Changed
Backward Compatibility: Added alias functions for all corrected function and class names to maintain backward compatibility. Existing code using the old function names will continue to work without modification.
Naming Conventions: All corrected functions now follow proper Python naming conventions with clear, descriptive names that better reflect their functionality.
Documentation Consistency: Function names now properly align with their respective API documentation and operation IDs.
2.10.3 - 2025-07-29
Fixed
Fixed
download_masked_device_configurationfunction in both v2.3.7.9 and v3.1.3.0 by addingstream=Trueparameter and additional download parameters (dirpath,save_file,filename) to properly handle file downloads, prevent JSONDecodeError, and maintain consistency with other download functions in the SDKUpdated function signature to match the pattern established by
download_unmaskedraw_device_configuration_as_zipfunctionResolved parameter naming conflict in webhook destination functions where both the webhook payload and HTTP request headers used similar parameter names, causing ambiguity in function signatures.
Resolved function name conflicts in
configuration_templatesmodule where duplicateget_template_versionsfunctions existed across multiple API versions (v2.3.5.3, v2.3.7.6, v2.3.7.9, v3.1.3.0). Renamed legacy endpoint functions togets_all_the_versions_of_a_given_templateto match their operation IDs and avoid naming collisions.
Changed
Updated return type documentation for
download_masked_device_configurationfromMyDicttoDownloadResponseto accurately reflect the response type when using stream=TrueEnhanced function parameters to support proper file download functionality with configurable directory path, save options, and custom filename
Standardized HTTP header parameter naming across all API versions. Changed
customHeadersparameter tohttp_headersin webhook destination functions (create_webhook_destination, update_webhook_destination, get_webhook_destination) in v2.3.7.6 to maintain consistency with other API versions (v2.3.5.3, v2.3.7.9, v3.1.3.0). This resolves the conflict between the webhook payloadheadersparameter and HTTP request headers parameter.Refactored
configuration_templatesfunction naming for consistency across API versions:v3.1.3.0: Renamed first
get_template_versionsfunction (legacy endpoint/dna/intent/api/v1/template-programmer/template/version/{templateId}) togets_all_the_versions_of_a_given_templatev2.3.7.9: Renamed first
get_template_versionsfunction (legacy endpoint) togets_all_the_versions_of_a_given_templatev2.3.7.6: Renamed
get_template_versions_v1togets_all_the_versions_of_a_given_template_v1and updated alias functions. Added backward compatibility aliasget_template_versionsfor seamless migrationv2.3.5.3: Renamed
get_template_versionsfunction togets_all_the_versions_of_a_given_template. Added backward compatibility aliasget_template_versionsfor seamless migration.Updated all corresponding test functions to match the new naming convention
Maintained backward compatibility where applicable through alias functions
2.10.2 - 2025-07-22
Fixed
Fixed
download_unmaskedraw_device_configuration_as_zipfunction in both v2.3.7.9 and v3.1.3.0 by addingstream=Trueparameter and additional download parameters (dirpath,save_file,filename) to properly handle ZIP file downloads, prevent JSONDecodeError, and maintain consistency with other download functions in the SDKFixed ResourceWarning for unclosed HTTP connections by adding proper session management methods (
close(), context manager support, and automatic cleanup) to bothDNACenterAPIandRestSessionclasses
Changed
Removed
active_validationparameter fromdownload_unmaskedraw_device_configuration_as_zipfunction to maintain consistency with other download functions in the SDK
Documentation
Updated README.rst with comprehensive resource management documentation and usage examples, including context manager usage, explicit close methods, and migration guidance for updating existing code to use new resource management patterns.
2.10.1 - 2025-07-04
Fixed
Fixed a bug that occurred when the response was empty.
Fixed validation for the
valuefield in filters of the functionretrieves_the_list_of_clients_by_applying_complex_filters_while_also_supporting_aggregate_attributesto acceptstring,integer, andnumbertypes as supported by the API.Fixed function name from
download_unmaskedraw_device_configuration_as_z_iptodownload_unmaskedraw_device_configuration_as_zip.
2.10.0 - 2025-06-09
Added
Backup service.
Industrial configuratiom service.
Know your network service.
Restore service.
Wired service. ### Changed
Renamed
get_auditlog_summarytoget_audit_log_summaryRenamed
get_auditlog_parent_recordstoget_audit_log_parent_recordsRenamed
get_eventartifactstoget_event_artifactsRenamed
get_auditlog_recordstoget_audit_log_recordsRenamed
gets_the_total_network_device_interface_counts_in_the_specified_time_range_when_there_is_no_start_and_end_time_specified_returns_the_latest_interfaces_total_counttogets_the_total_network_device_interface_counts.Moved
get_port_channelsto LAN Automation service ### RemovedThe v1 alias functions were all removed. Example… if your using “application_v1” you must be able to change it to “application”.
2.9.1 - 2025-05-09
Fix
Modification of the get_reserve_ip_subpool_v1 function.
2.9.0 - 2025-05-09
Added
Add support of DNA Center versions (‘3.1.3.0’)
Adds modules for v3_1_3_0
Modules 2_2_2_3, 2_2_3_3, 2_3_3_0 were removed
2.8.14 - 2025-05-05
Fix
This release allows the download_unmaskedraw_device_configuration_as_z_ip_v1 function to correctly respond with a binary.
2.8.13 - 2025-04-25
Fix
Correction in error handling.
Added function aliases that have been renamed due to fixes.
Deprecated functions were established that would disappear in the future.
Deprecated functions (export_projects_v1, clone_given_template get_projects_v1, export_projects, clone_given_template_v1, get_projects, get_all_keywords_of_clis_accepted, get_all_keywords_of_clis_accepted_v1, run_read_only_commands_on_devices_v1, run_read_only_commands_on_devices, cisco_dna_center_packages_summary_v1, release_summary_v1, cisco_dna_center_packages_summary, nodes_configuration_summary_v1, release_summary , nodes_configuration_summary, get_all_mobility_groups, get_all80211be_profiles_v1, get_all80211be_profiles, get_all_mobility_groups_v1, gets_interfaces_along_with_statistics_data_from_all_network_devices_v1, gets_interfaces_along_with_statistics_data_from_all_network_devices, get_the_interface_data_for_the_given_interface_idinstance_uuid_along_with_the_statistics_data_v1 )
2.8.12 - 2025-04-08
Fix
Fix in ignore_the_given_list_of_issues_v1 function in versions 2.3.7.6 and 2.3.7.9.
2.8.11 - 2025-04-03
Fix
Resolution of issues #206 and #205.
sync_devices functionality has been added to devices.
Adjusted function names to avoid looping.
2.8.10 - 2025-04-01
Fix
This release allows the downloads_a_specific_i_cap_packet_capture_file_v1 function to correctly respond with a binary.
2.8.9 - 2025-03-13
Fix
Correction in the functions set_banner_settings_for_a_site, set_dhcp_settings_for_a_site, set_n_t_p_settings_for_a_site, set_time_zone_for_a_site, set_d_n_s_settings_for_a_site, set_telemetry_settings_for_a_site, set_aaa_settings_for_a_site. #174
2.8.8 - 2025-03-10
Fix
Modification of the data type in offset and limit. In the get_ap_profiles function of the wireless family.
2.8.7 - 2025-03-05
Fix
Error correction in the user_and_roles module
2.8.6 - 2025-02-27
Added
Add support of DNA Center versions (‘2.3.7.7’)
2.8.5 - 2025-02-21
Fix
correction in the request validation structures. In the deploy_template functions in version 1 and 2. In 2.3.5.3, 2.3.7.6 and 2.3.7.9.
2.8.4 - 2025-02-17
Fix
fix in create_webhook_destination, update_webhook_destination, get_webhook_destination functions. In versions 2.3.7.6 and 2.3.7.9.
2.8.3 - 2025-01-23
Fix
Issues #188 and #189 have been resolved.
Alias have been adjusted for backward compatibility.
Some functions were changed in versions 2.3.7.6 and 2.3.7.9 to handle files.
Added
Cisco_IMC module added
2.8.2 - 2025-01-15
Fix
A new alias function has been added to maintain compatibility with event_management in versions 2.3.7.6 and 2.3.7.9.
The new function is get_eventartifacts which was already present in previous versions but was changed to get_event_artifacts in 2.3.7.6 and 2.3.7.9.
issues #186
2.8.1 - 2025-01-13
Fix
changing the api version in the configuration files
Resolved issue #174
removal of -v1 from reference urls in the documentation
Fixed a bug in site_design in the uploads_floor_image function in versions 2.3.7.6 and 2.3.7.9.
2.8.0 - 2024-12-11
Added
Add support of DNA Center versions (‘2.3.7.9’)
Adds modules for v2_3_7_9
2.7.7 - 2024-11-19
Bug fix
The get_templates_details function was added because it was named incorrectly.There was an “s” missing from the word templates.
2.7.6 - 2024-11-12
ADD
authentication_management module added
2.7.5 - 2024-11-11
ADD
The use of alias in the functions was implemented
The User Agent parameter was added
New Modules Such As (ai_endpoint_analytics, cisco_trusted_certificates, disaster_revery) were Added
2.7.4 - 2024-09-17
Add multipart parameter for file upload in site_design:uploads_floor_image.
2.7.3 - 2024-08-19
Refactor error message construction in ApiError class
Injection for requests.Session ### Fixed
Fixed a problem when exporting the environment variable verify
Update offset and limit parameter type to support int and str value
accept_cisco_ise_server_certificate_for_cisco_ise_server_integrationaccept empty payload {} to retryUpdate memberToTags from list to object in
updates_tag_membershipUpdate offset and limit parameter type to support int and str value
2.7.2 - 2024-08-09
Update User-Agent header in RestSession
Update requirements:
python = “^3.8”
requests = “^2.32.0”
readthedocs-sphinx-search = “^0.3.2” ### Fixed
Fix function names in 2.3.7.6
user_and_rolesFrom add_role_ap_i to add_role_api
From get_a_a_a_attribute_ap_i to get_aaa_attribute_api
From get_permissions_ap_i to get_permissions_api
From delete_role_ap_i to delete_role_api
From get_roles_ap_i to get_roles_api
From get_users_ap_i to get_users_api
From add_user_ap_i to add_user_api
From update_user_ap_i to update_user_api
From delete_user_ap_i to delete_user_api
From get_external_authentication_setting_ap_i to get_external_authentication_setting_api
From manage_external_authentication_setting_ap_i to manage_external_authentication_setting_api
From get_external_authentication_servers_ap_i to get_external_authentication_servers_api
From add_and_update_a_a_a_attribute_ap_i to add_and_update_aaa_attribute_api
From delete_a_a_a_attribute_ap_i to delete_aaa_attribute_api
From get_a_a_a_attribute_ap_i to get_aaa_attribute_api
2.7.1 - 2024-05-31
Fixed
Updated package version retrieval method from pkg_resources to importlib.metadata.
2.7.0 - 2024-05-31
Added
Add support of DNA Center versions (‘2.3.7.6’)
Adds modules for v2_3_7_6 ### Changed
The future library was removed
The past library was removed
Changed str to str
Requirements updated ### Fixed
Fix headers in
create_webhook_destinationandupdate_webhook_destination
2.6.11 - 2023-01-10
Fixed
Configuration template import template - check_type error #142 - Fixing required schema.
Updating request version. Issue #132
2.6.10 - 2023-11-10
Fixed
Fixed params in 2.3.5.3 claim_a_device_to_a_site from interfaceName to ipInterfaceName
Fixed params in 2.3.5.3 claim_a_device_to_a_site from vlanID to vlanId
2.6.9 - 2023-09-20
Changed
AP port assignment API not working with DNAC APIs of 2.3.3.0 #126, Documetion bug, extra-space in enum.
2.6.8 - 2023-09-12
Changed
2_3_3_0 sda sevice
add_vnmethod update.
2.6.7 - 2023-08-25
Changed
Update readthedocs settings
2.6.6 - 2023-07-10
Changed
Change requests-toolbelt minimum version #101
2.6.5 - 2023-05-29
Changed
user_and_roles::Unable to use user and roles module. #112
2.6.4 - 2023-05-25
Changed
SDK implementation for API Add Edge Device to Sda fabric on DNAC Version 2.3.3.0 inconsistent with previous DNAC versions implementation #90
Documentatin links updated.
EoX turns to Eox
SDK function for version 2.3.3.x (v2_3_3_0 /device_onboarding_pnp.py) input requirment does not match with API schema from dnac, #103
Function name changed to assign_device_credential_to_site in DNAC2.3.5.0(dnacentersdk/api/v2_3_5_3/network_settings.py) #107
Function names changed in v2.3.5.0 libs all function got added with 2 though no change in DNAC APIs #106
2.3.3.0 LAN Automation function names are incorrect #105
Function name changed in 2.3.3.0 from update_ssid_to_ip_pool_mapping to update_ssid_to_ip_pool_mapping2 #104
SDK function for version 2.3.3.x (v2_3_3_0 /device_onboarding_pnp.py) input requirment does not match with API schema from dnac, #103
Poor naming of function: v2_3_5_3/authentication_management.py :
authentication_ap_i( #102
2.6.3 - 2023-04-28
Changed
SDK implementation for API Add Edge Device to Sda fabric on DNAC Version 2.3.3.0 inconsistent with previous DNAC versions implementation #90
Actual error message was not being used in case of exceptions #98
SDA :: add_default_authentication_profile #97
DNA_CENTER_VERIFY not being imported correctly from the environment #92, now you can export this as:
export DNA_CENTER_VERIFY=false export DNA_CENTER_VERIFY=true
2.6.2 - 2023-04-25
Changed
Add
issuefamily on 2.3.3.0
2.6.1 - 2023-04-12
Changed
Remove some families bug in 2.3.3.0
Correct families names in 2.3.5.3
Removing duplicate params
2.6.0 - 2023-04-12
Added
Add support of DNA Center versions (‘2.3.5.3’)
Adds modules for v2_3_5_3
2.5.6 - 2023-01-10
Added
Compatibility matrix added in
readme.rst
Fixed
Offset and limit now support str and int
dnacentersdk.api.v2_3_3_0.application_policy
dnacentersdk.api.v2_3_3_0.applications
dnacentersdk.api.v2_3_3_0.compliance
dnacentersdk.api.v2_3_3_0.configuration_templates
dnacentersdk.api.v2_3_3_0.device_onboarding_pnp
dnacentersdk.api.v2_3_3_0.device_replacement
dnacentersdk.api.v2_3_3_0.devices
dnacentersdk.api.v2_3_3_0.discovery
dnacentersdk.api.v2_3_3_0.event_management
dnacentersdk.api.v2_3_3_0.health_and_performance
dnacentersdk.api.v2_3_3_0.lan_automation
dnacentersdk.api.v2_3_3_0.licenses
dnacentersdk.api.v2_3_3_0.network_settings
dnacentersdk.api.v2_3_3_0.path_trace
dnacentersdk.api.v2_3_3_0.site_design
dnacentersdk.api.v2_3_3_0.sites
dnacentersdk.api.v2_3_3_0.software_image_management_swim
dnacentersdk.api.v2_3_3_0.tag
dnacentersdk.api.v2_3_3_0.task
2.5.5 - 2022-11-17
Fixed
Removed enum in
dnacentersdk.api.v2_3_3_0.sda.add_default_authentication_profile:authenticateTemplateName
Added Dict_of_str function call in custom_caller headers
2.5.4 - 2022-08-11
Added
New function on
fabric_wirelessfor v2_3_3_0.add_ssid_to_ip_pool_mapping
2.5.3 - 2022-08-09
Fixed
virtualNetworkonsda.adds_border_deviceparameter comes fromarraytoobject.Parameters
borderWithExternalConnectivityandconnectedToInternetonsda.adds_border_devicecomes frombooleantostring.
2.5.2 - 2022-07-29
Fixed
Removed enum in
sda.adds_border_device:externalDomainRoutingProtocolName
Removed enum in
sda.add_multicast_in_sda_fabric:multicastMethod
Removed enum in
site_design.provision_nfv:linkType
Removed enum in
sda.add_transit_peer_network:routingProtocolName
Removed enum in
network_settings.update_networkandnetwork_settings.create_network:ipAddress
sharedSecret
domainName
primaryIpAddress
secondaryIpAddress
network
servers
2.5.1 - 2022-07-12
Fixed
Fixed enum in
network_global.create_global_pool:IpAddressSpace
2.5.0 - 2022-06-20
Added
Add support of DNA Center versions (‘2.3.3.0’)
Adds modules for v2_3_3_0
2.4.11 - 2022-06-15
Fixed
Improved the way of reading the following env variables:
wait_on_rate_limit
verify
debug
2.4.10 - 2022-05-12
Added
Add following parameters to
delete_ip_pool_from_sda_virtual_networkandget_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
DownloadResponseclass that wraps theurllib3.response.HTTPResponse.Add
filenameoptional 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.HTTPResponseto a wrapperDownloadResponse.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
rfProfileparameter for request body struct ofclaim_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_deviceinterfaceNameis now part of the structure ofexternalConnectivitySettingsin sda.adds_border_deviceexternalAutonomouSystemNumberis now part of the structure ofexternalConnectivitySettingsin sda.adds_border_devicel3Handoffis now part of the structure ofexternalConnectivitySettingsin sda.adds_border_deviceUpdate the type of the
l3Handofffrom object to list in sda.adds_border_devicevirtualNetworkis now part of the structure ofl3Handoffin sda.adds_border_devicevirtualNetworkNameis now part of the structure ofvirtualNetworkin sda.adds_border_devicevlanIdis now part of the structure ofvirtualNetworkin sda.adds_border_deviceUpdate 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
idto devices.sync_devices for Cisco DNA Center API v2.2.3.3Update 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
payloadandactive_validationto 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,imageInfoandconfigInfoto 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_devicesfuntion
Changed
Included support for DNAC 2.2.3.3 files
Update function names:
Rename
devices.add_device2todevices.add_deviceRename
devices.is_valid_add_device2todevices.is_valid_add_devicein testsRename
devices.test_add_device2todevices.test_add_devicein testsRename
devices.add_device2_default_valtodevices.add_device_default_valin tests
Update missing dnac 2.2.3.3 files
2.3.3 - 2021-11-24
Changed
Changes to
configuration_templatesfunctions:Add
payloadandactive_validationparameters toclone_given_templatefunctionChange type from
dicttolistfor parametertemplatesincreate_projectChange type from
dicttolistfor parametertemplatesinupdate_projectChange type from
(list, dict)tobasestingfor parameterpayloadinimports_the_projects_providedChange type from
objecttolistfor parameterresourceParamsinpreview_templateRemoved
active_validationparameter inimports_the_projects_providedfunction
Changes to
sdafunctions:Add
isGuestVirtualNetworkparameter toadd_virtual_network_with_scalable_groupsfunctionAdd
isGuestVirtualNetworkparameter toupdate_virtual_network_with_scalable_groupsfunction
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
primaryIpAddressandsecondaryIpAddressfor 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.pyRemove 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__.pyFix errors for readthedocs
1.2.10 - 2019-07-18
Added
Add support for DNA Center version 1.2.10