cisco-en-programmability / dnacentersdk

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

Redundant - takes no effect params #152

Open phathpha opened 2 months ago

phathpha commented 2 months ago

Prerequisites

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

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