Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redundant - takes no effect params #152

Open
phathpha opened this issue May 14, 2024 · 0 comments
Open

Redundant - takes no effect params #152

phathpha opened this issue May 14, 2024 · 0 comments
Assignees

Comments

@phathpha
Copy link

phathpha commented May 14, 2024

Prerequisites

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

Describe the bug
In configutation_templates module, there are some parameters that either takes no effects or makes no sense at client side. Those are :
createTime
lastUpdateTime
latestVersionTime
validationErrors
template_version

As those parameters will be determined after Template creation, user should not input them.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
create template

When provide createTime, lastUpdateTime and lasterVersionTime with hypothetical values during Template Creation.
Although the backend accepted those values and return 202

But while validation using dna/intent/api/v1/template-programmer/template/${templateId}
get template

Those parameters did not take any effects at all (which is expected since these values are generated by the backend, not to be defined by users)

Environment (please complete the following information):

  • Cisco DNA Center Version and patch: Version 2.3.7.5-70431
  • Python version: Python3.8
  • SDK version: dnacentersdk 2.6.10
  • OS Version:

Additional context
I suppose this is the problem with DNAC API itself, should contact API team for further discussions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants