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.
5.0.25 - 2024-02-13
EndTime
attribute change to*int
inResponseTaskGetTaskTreeResponse
.StartTime
attribute change to*int
inResponseTaskGetTaskTreeResponse
.LastUpdate
attribute change to*int
inResponseTaskGetTaskTreeResponse
.
5.0.24 - 2023-12-07
Value
attribute change tointerface
inResponseNetworkSettingsGetNetworkV2Response
.RetrieveRfProfiles
change response struct due bad documentation.TagIDList
added toResponseDevicesGetDeviceDetailResponse
struct.SiteID
added toRequestItemDeviceOnboardingPnpImportDevicesInBulkDeviceInfo
struct.
5.0.23 - 2023-11-24
Progress
struct removed fromResponseDeviceOnboardingPnpGetDeviceByIDDeviceInfo
.Progress
struct added toResponseDeviceOnboardingPnpGetDeviceByIDDeviceInfoProgress
.
5.0.22 - 2023-11-24
Progress
struct added toResponseDeviceOnboardingPnpGetDeviceByIDDeviceInfo
.
5.0.21 - 2023-11-20
ResponseConfigurationTemplatesGetProjectsDetails
is now an array.
5.0.20 - 2023-11-20
ResponseNetworkSettingsGetReserveIPSubpoolResponse
changes response.
5.0.19 - 2023-11-14
- Add
Progress
parameter toResponseItemDeviceOnboardingPnpGetDeviceList2
.
5.0.18 - 2023-11-14
tag service
updated toItems
to array ofobject
.
5.0.17 - 2023-10-25
GetBorderDeviceDetailFromSdaFabric
doesn't returns apayload
parameter.- Add
MfpClientProtection
parameter toResponseItemWirelessGetEnterpriseSSIDSSIDDetails
. - Add
ProtectedManagementFrame
parameter for Create and UpdateWireless
.
5.0.16 - 2023-10-24
- Add
BapiSyncResponse
toResponseTaskGetBusinessAPIExecutionDetails
.
5.0.15 - 2023-10-24
- Handle
200 code
with aRate Limit
error.
5.0.14 - 2023-10-12
dnacenter-go-sdk
now is able to handle 401
API code and refresh token if it's required.
5.0.13 - 2023-09-19
IsCommonPool
property added to ResponseSdaGetIPPoolFromSdaVirtualNetwork
IsWirelessPool
property added to ResponseSdaGetIPPoolFromSdaVirtualNetwork
IsLayer2OnlyPool
property added to ResponseSdaGetIPPoolFromSdaVirtualNetwork
IsIpDirectedBroadcast
property added to ResponseSdaGetIPPoolFromSdaVirtualNetwork
IsSelectiveFloodingEnabled
property added to ResponseSdaGetIPPoolFromSdaVirtualNetwork
IsBridgeModeVm
property added to ResponseSdaGetIPPoolFromSdaVirtualNetwork
5.0.12 - 2023-09-07
FloorNumber
on ResponseSitesGetFloorResponseAdditionalInfoAttributes struct change to FloorIndex
.
5.0.11 - 2023-09-05
VLANName
added toResponseSdaGetIPPoolFromSdaVirtualNetwork
struct.
5.0.10 - 2023-08-21
ResponseFabricWirelessAddSSIDToIPPoolMapping
is not array.
5.0.9 - 2023-08-21
ResponseSitesGetSiteResponseAdditionalInfoAttributes
is transformed into a structure with the following attributes:- Country
string
- Address
string
- Latitude
string
- AddressInheritedFrom
string
- Type
string
- Longitude
string
- OffsetX
string
- OffsetY
string
- Length
string
- Width
string
- Height
string
- RfModel
string
- FloorIndex
string
- Country
5.0.8 - 2023-07-31
ResponseSdaGetDefaultAuthenticationProfileFromSdaFabric.WakeOnLan
change fromstring
tointerface
. To consider bothstring
andbool
response values.GetDefaultAuthenticationProfileFromSdaFabric
changes empty string response tonil
5.0.7 - 2023-07-12
RequestDeviceOnboardingPnpClaimADeviceToASiteConfigInfo
struct is now a pointer.ConfigParameters
struct is now a pointer.Skip
is a pointer.
5.0.6 - 2023-06-26
- Device onboarding Pnp Service Changes
ConfigInfo
change toobject
onRequestDeviceOnboardingPnpClaimADeviceToASiteConfigInfo
struct. - SDA Service Changes
WakeOnLan
change tostring
onResponseSdaGetDefaultAuthenticationProfileFromSdaFabric
struct.
5.0.5 - 2023-05-11
- Device onboarding Pnp Service Changes
ConfigParameters
change toarray
onRequestDeviceOnboardingPnpClaimADeviceToASiteConfigInfo
struct.
5.0.4 - 2023-05-05
- SDA Service Changes
IsInfraVn
andIsDefaultVn
change to*bool
onResponseSdaGetVnFromSdaFabric
struct.
5.0.3 - 2023-05-03
- ResponseSdaGetDefaultAuthenticationProfileFromSdaFabric is an object not an array.
- ResponseNetworkSettingsGetGlobalPoolResponse adding new attributes and changing attributes types.
5.0.2 - 2023-04-27
- Adding struct for sites.ResponseSitesGetSiteResponse.AdditionalInfo
5.0.1 - 2023-04-12
- Mulicast -> Multicast on RequestItemLanAutomationLanAutomationStart
5.0.0 - 2023-04-12
-
New services for Cisco DNA Center 2.3.5.3's API:
- AuthenticationManagement *AuthenticationManagementService
- DisasterRecovery *DisasterRecoveryService
- EoX *EoXService
- ItsmIntegration *ItsmIntegrationService
- *PlatformConfigurationService turns to *PlatformService
- Policy *PolicyService
- UserandRoles *UserandRolesService
-
New API Methods for previous Services:
- DevicesService.CreateUserDefinedField
- DevicesService.UpdateUserDefinedField
- DevicesService.AddUserDefinedFieldToDevice
- DevicesService.DeleteUserDefinedField
- DevicesService.RemoveUserDefinedFieldFromDevice
- DiscoveryService.GetAllGlobalCredentialsV2
- DiscoveryService.CreateGlobalCredentialsV2
- DiscoveryService.UpdateGlobalCredentialsV2
- DiscoveryService.DeleteGlobalCredentialV2
- EventManagementService.GetEmailDestination
- EventManagementService.GetSNMPDestination
- EventManagementService.GetSyslogDestination
- EventManagementService.GetWebhookDestination
- FabricWirelessService.AddSSIDToIPPoolMapping
- IssuesService.ExecuteSuggestedActionsCommands
- LanAutomationService.LanAutomationLogsForIndividualDevices
- LanAutomationService.LanAutomationActiveSessions
- NetworkSettingsService.GetNetworkV2
- NetworkSettingsService.GetServiceProviderDetailsV2
- NetworkSettingsService.AssignDeviceCredentialToSiteV2
- NetworkSettingsService.CreateNetworkV2
- NetworkSettingsService.CreateSpProfileV2
- NetworkSettingsService.UpdateNetworkV2
- NetworkSettingsService.UpdateSpProfileV2
- NetworkSettingsService.DeleteSpProfileV2
- SystemSettingsService.GetAuthenticationAndPolicyServers
- WirelessService.GetAccessPointRebootTaskResult
- WirelessService.GetAccessPointConfigurationTaskResult
- WirelessService.GetAccessPointConfiguration
- WirelessService.RebootAccessPoints
- WirelessService.ConfigureAccessPoints
-
The SDK was updated with the official DNA Center API 2.3.5.3 documentation, therefore some structures or data types may have changed.Oficial Documentation.
4.0.14 - 2023-02-27
ResponseClientsGetClientDetailDetail.Detail.VlanId
atributte change type fromstring
to*int
inclients
service.
4.0.13 - 2023-02-02
- ID attribute added to
ResponseDeviceOnboardingPnpImportDevicesInBulkSuccessList
ondevice_onboarding_pnp
service.
4.0.12 - 2023-01-10
- Query params
offset
andlimit
change toint
.
4.0.11 - 2022-11-16
- Change
ConnectedToInternet
andBorderWithExternalConnectivity
parameters frombool
tostring
.
4.0.10 - 2022-11-15
- Change
RequestItemSdaAddBorderDeviceInSdaFabricExternalConnectivitySettingsL2Handoff
to allow array.
4.0.9 - 2022-11-14
- Change
RequestItemSdaAddBorderDeviceInSdaFabricExternalConnectivitySettingsL3Handoff
to allow array.
4.0.8 - 2022-10-21
- Adding
ResponseSiteGetSite
response struct.
4.0.7 - 2022-10-18
- Change
ResponseSitesDeleteSite
response struct.
4.0.6 - 2022-07-19
- Adding
GetSiteByID
method.
4.0.5 - 2022-07-19
- Adding
to many request
handle. New parameter on configuration options of SDK API Client. - Method
SetDNACWaitTimeToManyRequest
added for update wait time (in minutes) to reintent API requests that fails due429
status code. - Adding
GetSiteByID
method.
4.0.4 - 2022-07-19
sda.ResponseSdaGetBorderDeviceDetailFromSdaFabric.Payload
atributte removed fromsda.ResponseSdaGetBorderDeviceDetailFromSdaFabric
.
4.0.3 - 2022-07-12
[]RequestItemSdaAddBorderDeviceInSdaFabricExternalConnectivitySettingsL3HandoffVirtualNetwork
becomes toRequestItemSdaAddBorderDeviceInSdaFabricExternalConnectivitySettingsL3HandoffVirtualNetwork
.
4.0.2 - 2022-07-08
event_management.ResponseItemEventManagementGetEventSubscriptionsSubscriptionEndpointsSubscriptionDetails.TrustCert
parameter turns toboolean
.event_management.ResponseItemEventManagementGetEventSubscriptionsSubscriptionEndpointsSubscriptionDetails.ConnectTimeout
parameter turns tonumber
.event_management.ResponseItemEventManagementGetEventSubscriptionsSubscriptionEndpointsSubscriptionDetails.ReadTimeout
parameter turns tonumber
.
- Added
SiteNameHierarchy
,FabricName
,FabricType
andFabricDomainType
toResponseSdaGetSiteFromSdaFabric
ofsda
4.0.1 - 2022-06-17
discovery.ResponseDiscoveryGetGlobalCredentialsResponse.Secure
parameter turns toboolean
.event_management.ResponseItemEventManagementGetSyslogEventSubscriptionsSubscriptionEndpointsSubscriptionDetailsSyslogConfig.Port
turns toint
.
4.0.0 - 2022-06-16
New services for Cisco DNA Center 2.3.3.0's API:
- CiscoDnaCenterSystem *CiscoDnaCenterSystemService
- LanAutomation *LanAutomationService
- SystemSettings *SystemSettingsService
Services removed on Cisco DNA Center 2.3.3.0's API:
- AuthenticationManagement *AuthenticationManagementService
- DisasterRecovery *DisasterRecoveryService
- Policy *PolicyService
- SDK now compatible with Cisco DNA Center 2.3.3.0's API.
3.6.3 - 2022-03-17
- Changed
RequestConfigurationTemplatesDeployTemplateV2TargetInfoParams
frominterface
tomap[string]interface{}
3.6.2 - 2022-03-17
- Changed
ResponseDevicesGetDeviceBySerialNumberResponse.LastUpdateTime
fromstring
to*int
- Changed
RequestConfigurationTemplatesDeployTemplateTargetInfoParams
frominterface
tomap[string]interface{}
3.6.1 - 2022-03-16
- Removed from
RequestDeviceOnboardingPnpClaimADeviceToASite
following pointers.RequestDeviceOnboardingPnpClaimADeviceToASiteImageInfo
.RequestDeviceOnboardingPnpClaimADeviceToASiteConfigInfo
.
- Removed from
RequestDeviceOnboardingPnpClaimADeviceToASiteImageInfo
following pointers.Skip
.
- Removed from
RequestDeviceOnboardingPnpClaimADeviceToASiteConfigInfo
following pointers.RequestDeviceOnboardingPnpClaimADeviceToASiteConfigInfoConfigParameters
.
- Removed
omitempty
for following variables.RequestDeviceOnboardingPnpClaimADeviceToASite.ImageInfo
RequestDeviceOnboardingPnpClaimADeviceToASite.ConfigInfo
RequestDeviceOnboardingPnpClaimADeviceToASite.ImageInfo.ImageID
RequestDeviceOnboardingPnpClaimADeviceToASite.ImageInfo.Skip
RequestDeviceOnboardingPnpClaimADeviceToASite.ConfigInfo.ConfigID
RequestDeviceOnboardingPnpClaimADeviceToASite.ConfigInfo.ConfigParameters
RequestDeviceOnboardingPnpClaimADeviceToASite.ConfigInfo.ConfigParameters.Key
RequestDeviceOnboardingPnpClaimADeviceToASite.ConfigInfo.ConfigParameters.Value
3.6.0 - 2022-03-15
- Added new service
CustomCallService
3.5.1 - 2022-03-1
- Added new struct
ResponseWirelessPSKOverride
onwireless
forPSKOverride
response.
- Changed type of following variable on
RequestTagUpdatesTagMembership
struct oftag
.MemberToTags
from []RequestTagUpdatesTagMembershipMemberToTags to map[string][]string.
- Removed
RequestTagUpdatesTagMembershipMemberToTags
struct fromtag
.
3.5.0 - 2022-02-17
- Added
Password
,Port
,Secure
,Username
,NetconfPort
,ReadCommunity
andWriteCommunity
toResponseDiscoveryGetGlobalCredentialsResponse
ofdiscovery
- Changed type of the following variable on
ResponseNetworkSettingsGetServiceProviderDetailsResponse
struct ofnetwork-settings
Version
from string to int
- Changed type of the following variable on
ResponseSitesGetSiteResponse
struct ofsites
AdditionalInfo
from string to[]ResponseSitesGetSiteResponseAdditionalInfo
3.4.1 - 2022-02-01
- Added ImageInfo, ConfigInfo and Hostname to RequestDeviceOnboardingPnpClaimADeviceToASite struct in device_onboarding_pnp file.
- ResponseHealthAndPerformanceSystemPerformanceHistoricalAPIKpisData changes from struct with
T1
property to amap[string][]string
3.4.0 - 2022-01-27
- Added SubscriptionID, IsPrivate, TenantID to ResponseItemEventManagementGetEventSubscriptions of event_management.
- Added IsDeletable to ResponseConfigurationTemplatesGetsTheDetailsOfAGivenProject of configutations_templates.
- Add ID to RequestDevicesSyncDevices2
- Removes ResponseItemFabricWirelessUpdateSSIDToIPPoolMapping, ResponseItemFabricWirelessUpdateSSIDToIPPoolMapping,ResponseItemFabricWirelessAddWLCToFabricDomain from fabric_wireless.
- Removes ResponseItemWirelessApProvision, ResponseItemWirelessCreateUpdateDynamicInterface from wireless.
- Changes ResponseFabricWirelessAddSSIDToIPPoolMapping to prev ResponseItemFabricWirelessAddSSIDToIPPoolMapping, ResponseFabricWirelessUpdateSSIDToIPPoolMapping to prev ResponseItemFabricWirelessUpdateSSIDToIPPoolMapping, ResponseFabricWirelessAddWLCToFabricDomain to prev ResponseItemFabricWirelessAddWLCToFabricDomain, ResponseDeviceOnboardingPnpGetDeviceList2 to prev ResponseItemDeviceOnboardingPnpGetDeviceList2.
- Changes ResponseWirelessApProvision to prev ResponseItemWirelessApProvision.
- Changes ResponseWirelessCreateUpdateDynamicInterface to prev ResponseItemWirelessCreateUpdateDynamicInterface.
3.3.1 - 2022-01-19
- Creation of a new
ResponseApplicationPolicyGetApplicationsResponse
structure.
- On
Network Settings
changed the type of the following variables:CreateTime
from string to intLastUpdateTime
from string to intTotalIPAddressCount
from string to int 64UsedIPAddressCount
from string to int 64
- Changed type of the following variables on
ResponseApplicationPolicyGetApplicationsResponseNetworkApplications
structPopularity
from string to intRank
from string to int
- Changed type of the following variables on
ResponseApplicationPolicyGetApplicationsResponseNetworkIDentity
structLowertPort
from string to intUpperPort
from string to int
3.3.0 - 2022-01-13
- application_policy - Adds IndicativeNetworkIdentity property to ResponseItemApplicationPolicyGetApplications struct
- application_policy - Adds ResponseItemApplicationPolicyGetApplicationsIndicativeNetworkIDentity struct
- Fix SetAuthToken to use DNAC X-Auth-Token
- sites - Response of ResponseSitesGetSiteCount type changes from string to *int
3.2.0 - 2022-01-13
- Adds "Separating Authentication" #17:
- Adds
SetOptions
function. - Adds
NewClientNoAuth
function. - Adds
NewClientWithOptionsNoAuth
function. - Adds
AuthClient
function.
- Adds
- Fixes "Add ability to test via Resty httpmock" #10
- Changes type from int to float64 for ResponseTopologyGetOverallNetworkHealthHealthDistirubution.GoodPercentage in topology.go
3.1.1 - 2022-01-10
- Adds
FabricName
property toResponseSdaGetSdaFabricInfo
- Adds
FabricType
property toResponseSdaGetSdaFabricInfo
- Adds
FabricDomainType
property toResponseSdaGetSdaFabricInfo
ExecutionStatusURL
changes toExecutionId
onResponseSdaGetSdaFabricInfo
3.1.0 - 2021-12-24
- Adds
RequestSiteDesignCreateFloormap
struct - Adds
RequestSiteDesignUpdateFloormap
struct - Adds
requestSiteDesignCreateFloormap
param toCreateFloormap
- Adds
requestSiteDesignUpdateFloormap
param toUpdateFloormap
3.0.2 - 2021-12-14
- Fixes ResponseDevicesGetDeviceValuesThatMatchFullyOrPartiallyAnAttribute struct
- Fixes RequestTagAddMembersToTheTag struct
3.0.1 - 2021-12-13
- Fix ImportCertificateP12
3.0.0 - 2021-12-06
- Add ResponseItemConfigurationTemplatesGetsAListOfProjectsTemplates struct (change interface{})
- Add ResponseConfigurationTemplatesGetsTheDetailsOfAGivenProjectTemplates struct (change interface{})
- Add DocumentDatabase and ProjectAssociated properties to ResponseConfigurationTemplatesGetsDetailsOfAGivenTemplate
- Add ImportCertificateMultipartFields to ImportCertificate
- Add ImportCertificateP12MultipartFields to ImportCertificateP12
- Add VirtualNetworkType to RequestSdaAddVirtualNetworkWithScalableGroups and RequestSdaUpdateVirtualNetworkWithScalableGroups
- Add ImportLocalSoftwareImageMultipartFields to ImportLocalSoftwareImage
- Add BapiError to ResponseTaskGetBusinessAPIExecutionDetails
- Removes CreatesACloneOfTheGivenTemplateQueryParams
- Update to use DNAC 2.2.3.3
- Changes type of Templates property from (pointer to struct) to (pointer to array of struct):
- ResponseItemConfigurationTemplatesGetsAListOfProjects
- ResponseConfigurationTemplatesGetsTheDetailsOfAGivenProject
- ResponseConfigurationTemplatesGetProjectsDetailsResponse
- RequestConfigurationTemplatesCreateProject
- RequestConfigurationTemplatesUpdateProject
- Changes type of ResourceParams property from (pointer to struct) to (pointer to array of struct):
- RequestConfigurationTemplatesDeployTemplateTargetInfo
- RequestConfigurationTemplatesPreviewTemplate
- RequestConfigurationTemplatesDeployTemplateV2TargetInfo
- Change type of RollbackTemplateErrors TemplateErrors and properties from (pointer to struct) to (pointer to array of struct):
- ResponseItemConfigurationTemplatesGetsAListOfProjectsTemplatesValidationErrors
- ResponseConfigurationTemplatesGetsTheDetailsOfAGivenProjectTemplatesValidationErrors
- ResponseConfigurationTemplatesGetsDetailsOfAGivenTemplateValidationErrors
- ResponseConfigurationTemplatesGetProjectsDetailsResponseTemplatesValidationErrors
- ResponseConfigurationTemplatesGetTemplatesDetailsResponseValidationErrors
- RequestConfigurationTemplatesCreateProjectTemplatesValidationErrors
- RequestConfigurationTemplatesUpdateProjectTemplatesValidationErrors
- RequestItemConfigurationTemplatesImportsTheTemplatesProvidedValidationErrors
- RequestConfigurationTemplatesCreateTemplateValidationErrors
- RequestConfigurationTemplatesUpdateTemplateValidationErrors
- Change GetProjectsDetails, GetTemplatesDetails response struct to ResponseConfigurationTemplatesGetProjectsDetails, ResponseConfigurationTemplatesGetTemplatesDetails (which adds response property with a list of previous struct definition)
2.2.1 - 2022-01-13
- Fix SetAuthToken to use DNAC X-Auth-Token
2.2.0 - 2022-01-13
- Adds "Separating Authentication" #17:
- Adds
SetOptions
function. - Adds
NewClientNoAuth
function. - Adds
NewClientWithOptionsNoAuth
function. - Adds
AuthClient
function.
- Adds
2.1.2 - 2021-12-14
- Fixes ResponseDevicesGetDeviceValuesThatMatchFullyOrPartiallyAnAttribute struct
- Fixes RequestTagAddMembersToTheTag struct
2.1.1 - 2021-12-13
- Fix ImportCertificateP12
2.1.0 - 2021-12-06
- Add ImportCertificateMultipartFields to ImportCertificate
- Add ImportCertificateP12MultipartFields to ImportCertificateP12
- Add ImportLocalSoftwareImageMultipartFields to ImportLocalSoftwareImage
2.0.0 - 2021-12-06
- Add function to get the resty.Client pointer.
- Update to use DNAC 2.2.2.3
1.2.1 - 2022-01-13
- Fix SetAuthToken to use DNAC X-Auth-Token
1.2.0 - 2022-01-13
- Adds "Separating Authentication" #17:
- Adds
SetOptions
function. - Adds
NewClientNoAuth
function. - Adds
NewClientWithOptionsNoAuth
function. - Adds
AuthClient
function.
- Adds
1.1.0 - 2021-12-06
- Add ImportCertificateMultipartFields to ImportCertificate
- Add ImportCertificateP12MultipartFields to ImportCertificateP12
- Add ImportLocalSoftwareImageMultipartFields to ImportLocalSoftwareImage
1.0.0 - 2021-11-30
- Common client added for Resty.Client reference.
- Update issue templates.
- Removed
var RestyClient *resty.Client
- Solved issue 'Add ability to test via Resty httpmock'
0.1.1 - 2021-11-02
- Int for count values and float64 for percentages in topology.go
- Int for count values and float64 for percentages in topology.go
0.1.0 - 2021-10-29
- Adds error response to api_client.go
- Adds Delete__Response to Delete calls for sites and tag
- Adds check response.IsError() to get calls in sites and tag
- New definition for GetApplicationsResponse, uses GetApplicationsResponseResponse
- Adds Attributes to GetSiteResponseResponseAdditionalInfo
- Adds GetSiteResponseResponseAdditionalInfoAttributes struct
- Add headers for GetClientEnrichmentDetails
- Changes structure definitions of application_policy and sites
- Changes struct name from GetApplicationsResponse to GetApplicationsResponseResponse
- AdditionalInfo is []GetSiteResponseResponseAdditionalInfo, not GetSiteResponseResponseAdditionalInfo
- Changes json attribute, replaces namespace to nameSpace
- Changes the type in network_settings.go from int to uint64 for GetGlobalPoolResponseResponse
- Update README
- Update example reference
- Update dependencies
- Add workflow and scripts
- Fixes GetApplicationsResponse struct
- Fixes GetSiteResponseResponseAdditionalInfo struct
- AdditionalInfo is []GetSiteResponseResponseAdditionalInfo, not GetSiteResponseResponseAdditionalInfo
- Fixes Task structs
- Fixes GetSiteCountResponse struct
- Fixes ConfigurationTemplates struct
- Fixes Discovery struct
- Fixes device_onboarding_pnp structures and return values
- Fixes network_settings structures
- Fixes some sites structures
- Fixes sda's GetSDAFabricInfoResponse struct
- Fix unchecked errors
- Fix test errors