Attempting to use the cisco Prime infrastructure API to log config deployment jobs through “PUT cliTemplateConfiguration/deployTemplateThroughJob"
Got this working just fine, jobs can be raised via the API and they are applied successfully.
But we’re seeing two issues:
1) The jobs have no details in them, so we cannot see what config was applied:
2) When we turn on ‘job approval’ for this job type; after approving the job we get a message saying it has already expired. This happens no matter how quickly we approve the job:
Deploying this CLI template through the GUI has no issues. We can see all the details of the job i.e. the config that is applied to the switch.
Does anyone have any experience with applying a user defined CLI template through this API call.
Seen the same issue and raised it with engineering. Using a REST API to see the results of the job today. The blog series goes into some details of the API calls to get the results.
We initially designed this API service for an API only workflow, that said, in Prime Infrastructure 3.2 you will be able to see the results of this (and other API initiated jobs) via the job dashboard in the UI.
Problems when job approval is enabled and API job types are in the list that require approval. For now, please disable job approval or remove the API job types from the list of job types that require approval. Have created CSCvb52762 to cover this issue.