Skip to content

Commit

Permalink
New version v2.6.10
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
bvargasre committed Nov 14, 2023
1 parent c3831d6 commit 1cbbd75
Show file tree
Hide file tree
Showing 8 changed files with 135 additions and 90 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [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.
Expand Down Expand Up @@ -458,4 +463,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[2.6.7]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.6.6...v2.6.7
[2.6.8]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.6.7...v2.6.8
[2.6.9]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.6.8...v2.6.9
[Unreleased]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.6.9...develop
[2.6.10]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.6.9...v2.6.10
[Unreleased]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.6.10...develop
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ The following table shows the supported versions.
* - 2.3.3.0
- 2.5.6
* - 2.3.5.3
- 2.6.8
- 2.6.10


If your SDK is older please consider updating it first.
Expand Down
1 change: 0 additions & 1 deletion dnacentersdk/a.json

This file was deleted.

18 changes: 9 additions & 9 deletions dnacentersdk/api/v2_3_5_3/device_onboarding_pnp.py
Original file line number Diff line number Diff line change
Expand Up @@ -850,37 +850,37 @@ def claim_a_device_to_a_site(self,
deviceId=None,
gateway=None,
imageInfo=None,
interfaceName=None,
ipInterfaceName=None,
rfProfile=None,
sensorProfile=None,
siteId=None,
staticIP=None,
subnetMask=None,
type=None,
vlanID=None,
vlanId=None,
headers=None,
payload=None,
active_validation=True,
**request_parameters):
"""Claim a device based on DNA-C Site-based design process. Some required parameters differ based on device
platform: Default/StackSwitch: imageInfo, configInfo. AccessPoints: rfProfile. Sensors:
sensorProfile. CatalystWLC/MobilityExpress/EWC: staticIP, subnetMask, gateway. vlanID and
sensorProfile. CatalystWLC/MobilityExpress/EWC: staticIP, subnetMask, gateway. vlanId and
ipInterfaceName are also allowed for Catalyst 9800 WLCs. .
Args:
configInfo(list): Device Onboarding (PnP)'s configInfo (list of objects).
deviceId(string): Device Onboarding (PnP)'s Device Id.
gateway(string): Device Onboarding (PnP)'s for CatalystWLC/MobilityExpress .
imageInfo(object): Device Onboarding (PnP)'s imageInfo.
interfaceName(string): Device Onboarding (PnP)'s for Catalyst 9800 WLC .
ipInterfaceName(string): Device Onboarding (PnP)'s for Catalyst 9800 WLC .
rfProfile(string): Device Onboarding (PnP)'s for Access Points .
sensorProfile(string): Device Onboarding (PnP)'s for Sensors .
siteId(string): Device Onboarding (PnP)'s Site Id.
staticIP(string): Device Onboarding (PnP)'s for CatalystWLC/MobilityExpress .
subnetMask(string): Device Onboarding (PnP)'s for CatalystWLC/MobilityExpress .
type(string): Device Onboarding (PnP)'s Type. Available values are 'Default', 'StackSwitch',
'AccessPoint', 'Sensor', 'CatalystWLC' and 'MobilityExpress'.
vlanID(string): Device Onboarding (PnP)'s for Catalyst 9800 WLC .
vlanId(string): Device Onboarding (PnP)'s for Catalyst 9800 WLC .
headers(dict): Dictionary of HTTP Headers to send with the Request
.
payload(dict): A JSON serializable Python object to send in the
Expand Down Expand Up @@ -937,10 +937,10 @@ def claim_a_device_to_a_site(self,
subnetMask,
'gateway':
gateway,
'vlanID':
vlanID,
'interfaceName':
interfaceName,
'vlanId':
vlanId,
'ipInterfaceName':
ipInterfaceName,
'sensorProfile':
sensorProfile,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def __init__(self):
},
"type": "object"
},
"interfaceName": {
"ipInterfaceName": {
"type": "string"
},
"rfProfile": {
Expand Down Expand Up @@ -111,7 +111,7 @@ def __init__(self):
],
"type": "string"
},
"vlanID": {
"vlanId": {
"type": "string"
}
},
Expand Down
Loading

0 comments on commit 1cbbd75

Please sign in to comment.