09-07-2023 06:16 AM
Hi,
I have a question about NSO rollback.
Can I do rollback programmatically?
if I have a service model touches device then later user wants to rollback. Can
user send a request to NSO and NSO rollback the configuration programmatically?
THX
sm000x
Solved! Go to Solution.
09-07-2023 11:56 AM
the right thing todo is to delete the service (or do an undeploy if you just want to remove the config from the devices but keep the service data). You do not want to fiddle around with the rollback files for things like this.
09-07-2023 11:58 AM
but yes you can rollback programmatically, you can read up on rollbacks a bit more here https://developer.cisco.com/docs/nso/guides/#!rollbacks/rollbacks
09-07-2023 11:56 AM
the right thing todo is to delete the service (or do an undeploy if you just want to remove the config from the devices but keep the service data). You do not want to fiddle around with the rollback files for things like this.
09-07-2023 12:15 PM
Thank you very much.
09-07-2023 11:58 AM
but yes you can rollback programmatically, you can read up on rollbacks a bit more here https://developer.cisco.com/docs/nso/guides/#!rollbacks/rollbacks
09-07-2023 12:19 PM
Thank you very much for the information.
09-14-2023 07:55 AM
Hi, hniska:
I read https://developer.cisco.com/docs/nso/guides/#!rollbacks/rollbacks, however, there is no example code there.
Do you have a simple rollback java code anywhere?
THX
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide