cisco-en-programmability/dnacentersdk

SDA :: add_default_authentication_profile

Closed this issue · 1 comments

Prerequisites

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

Describe the bug
End point URL : "/dna/intent/api/v1/business/sda/authentication-profile"

Schema : siteNameHierarchy(string, required): Path of sda Fabric Site
authenticateTemplateName(string, required, enum: No Authentication , Open Authentication, Closed Authentication, Low Impact)

For authenticateTemplateName parameter , input string "No Authentication" [without white space at end] is failing at parameter validation.
Actual API call would still take both strings with and without white spaces.

Expected behavior
Api call should still happen as API accepts both strings with and without white.

Screenshots
Screenshot 2023-04-27 at 12 54 35 AM

Environment (please complete the following information):

  • Cisco DNA Center Version and patch: 2.3.6.0
  • Python version:3.6
  • SDK version:2.3.3
  • OS Version:

Additional context
Add any other context about the problem here.

@JayaVamsiKrishnaSaiVolla please try it again with v2.6.3(latest) and notify us how does it goes.