Skip to content

Conversation

@shrsr
Copy link
Collaborator

@shrsr shrsr commented Dec 12, 2025

No description provided.

@shrsr shrsr self-assigned this Dec 12, 2025
@shrsr shrsr linked an issue Dec 12, 2025 that may be closed by this pull request
@github-actions github-actions bot changed the title Added ability to un-deploy non-application template types in resource_ndo_schema_template_deploy Added ability to un-deploy non-application template types in resource_ndo_schema_template_deploy (DCNE-583) Dec 12, 2025
}

// Get site IDs from deploySummary
siteDeployments, err := template.S("deploySummmary", "siteDeploymentSummaries").Children()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used a similar method to get the deployment task ids in CiscoDevNet/ansible-mso#728. How likely do we think the API will change to fix the deploySummmary typo here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure. We'll cross that bridge when we get there I suppose? Also not sure on what would happen to the endpoint with the typo if they just came up with a new API endpoint? We could open a case with the Engg. for this? Could you ask @lhercot ?

@shrsr shrsr requested a review from samiib December 16, 2025 17:12
},
},

"undeploy": &schema.Schema{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we have an undeploy_all option like we added in ansible? Then both integrations will have similar behaviour.
site_ids would be required on undeploy and ignored on undeploy_all

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@samiib Yes, that's the plan. I'm still working on this PR because I need to implement un-deploying application type templates as well.

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

Successfully merging this pull request may close these issues.

mso_template undeploy option (DCNE-583)

2 participants