08-27-2020 02:49 AM - edited 08-27-2020 03:07 AM
Hello colleagues,
There are a plenty of scenarios when it’s expected that NSO can’t gracefully commit a transaction. For instance, if we change a device’s management IP address via NSO, or making some changes on uplink interface which disrupt a device’s management connectivity temporary etc. In all of that cases the transaction can’t be successfully finished because NED never get a CLI prompt (or any other kind of execution’s confirmation) from the device under management.
I would clarify are there any best practices or recommended design patterns for services which invoke that kind of transactions, or maybe some NSO enhancements have been developed specifically for that scenarios?
Thank you in advance for your suggestions
Ivan
Solved! Go to Solution.
09-09-2020 02:37 AM
Best practice is to not cut the management connection. Just add another IP, change the IP in NSO to the new one, remove the old.
Did a small package that does exactly that a long time ago https://github.com/NSO-developer/ipchange-service
09-09-2020 02:37 AM
Best practice is to not cut the management connection. Just add another IP, change the IP in NSO to the new one, remove the old.
Did a small package that does exactly that a long time ago https://github.com/NSO-developer/ipchange-service
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