-
Notifications
You must be signed in to change notification settings - Fork 7
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
Attaching a network profile to a day0 template #155
Comments
For context, my terraform configuration is applied successfully without any errors, the template and network profiles are created. But the network profile isn't attached to the template. |
@sudhanshujoshi23 which DNAC version are you using? I just creatd network profile and cli template and attach it as onboarding template to network_profile using following code:
and I can see template being attached to network profile: If terraform config was applied successfully without any errors, are you sure you cannot see template attached to network profile under Network Profiles -> Edit ? |
The DNAC version I am using is Version 2.3.5.3-70194 |
Can you try upgrading to 2.3.7.X , provider was tested against 2.3.7 version of CC. |
This will need some time... Thanks! |
For commiting template you need to use resource: https://registry.terraform.io/providers/CiscoDevNet/catalystcenter/latest/docs/resources/template_version and code can look like this:
|
I don't think there is a problem with terraform code. This resource is using internal API endpoint: /api/v1/siteprofile, which might not work on your DNAC version. As i mentioned provider is tested against 2.3.7 DNAC version. I would recommend to upgrade to 2.3.7.X and try again. |
Okay, we will update you once we have updated our DNAC version. |
The endpoint /api/v1/siteprofile is part of the internal APIs. Internal APIs are not officially documented or supported for external developers. These APIs are primarily used by the DNA Center's front-end web application and internal processes. While they might be accessible through tools like browser developer tools (by inspecting requests from the DNAC UI) or reverse engineering, Cisco does not guarantee their stability or availability between releases. Where to Find Documentation for Internal APIs |
I am trying to attach a network profile to a day0 template using the below configuration, but I don't understand why it doesn't work. Can someone please let me know what I am missing here?
The text was updated successfully, but these errors were encountered: