Closed abimishr closed 10 months ago
Hi @abimishr version 2.6.10 of dnacentersdk is available try this new version Most of the mentioned parameters were already there interfaceName to ipInterfaceName was corrected Test it and let us know it works for you
Hi @bvargasre thanks for the update. I suppose 2.6.10 got available recently. Thanks for the super quick resolution. I have checked and its working.
Prerequisites
Describe the bug I am trying to claim a WLC using the API “claim a device to a site” (/onboarding/pnp-device/site-claim). Catalyst WLC requires additional parameters like Static IP, subnet mask, Vlan ID etc. Since, DNAC's developer tool kit has an issue with the documentation, the SDK is also following the same documentation. Current documentation and SDK code takes vlanID and InterfaceName. However, the API expects it to be vlanId and ipInterfaceName respectively in the backend. I have raised a documentaion bug previously with the API team and it's in progress. Hence, requesting here to make the same change in SDK's code under device_onboarding_pnp.py file in claim_a_device_to_a_site method.
Expected behavior Device gets claimed after calling the API, generates Day 0 config and gets provisioned on the DNAC GUI.
Screenshots
Environment (please complete the following information):
Additional context Link to the bug raised for the API team: https://cdetsng.cisco.com/webui/#view=CSCwh91999