cisco-en-programmability / dnacentersdk

Cisco DNA Center Python SDK
https://dnacentersdk.readthedocs.io/en/latest/
MIT License
70 stars 33 forks source link

SDA :: add_default_authentication_profile #97

Closed JayaVamsiKrishnaSaiVolla closed 1 year ago

JayaVamsiKrishnaSaiVolla commented 1 year ago

Prerequisites

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):

Additional context Add any other context about the problem here.

fmunozmiranda commented 1 year ago

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