cisco-en-programmability/dnacentersdk

2.3.3.0 API add_vn method does not seem to be passing the site and vn to the API correctly/at all

Closed this issue · 2 comments

Prerequisites

  • [ Yes] Have you tested the operation in the API directly?
  • [ Yes] Do you have the latest SDK version?
  • [ Yes] Review the compatibility matrix before opening an issue.

Describe the bug
When using the sdk with the 2.3.3.0 API version through Ansible or directly in python the add_vn method fails. I don't know if the API for this call has changed significantly, but the code in the method is different between 2.3.3.0 and 2.3.5.3. The 2.3.3.0 version has no parameters for the site and vn. The 2.3.5.3 API works as expected. Based on the compatibility matrix and my version of DNAC and Ansible I believe the recommended SDK version is 2.5.5 which has the same error but there is no option to move to the 2.3.5.3 API as 2.3.3.0 is the highest option in 2.5.5.

Expected behavior
Virtual networks should be added to fabric site.

Screenshots
failed_api_call
successfull_api_call_dnac_explorer
successfull_api_call_sdk

Environment (please complete the following information):

  • Cisco DNA Center Version and patch: 2.3.3.7-72323
  • Python version:python:3.9.17
  • SDK version:2.6.7
  • OS Version: 5.15.49-linuxkit-pr aarch64 GNU/Linux

Additional context
Add any other context about the problem here.

Hi @paulbauer1, try using the latest version of dnacentersdk (2.6.8). In this version, according to the comments on the issue, it was fixed. Try testing again to see if there's anything else we need to adjust in the code.

Closed due inactivity.