I'm thinking here of changes in topology. Often these affect many services but in the end they result in changes on just a few devices.
If I call the re-deploy action in a loop I will have many transactions, and especially with cli NEDs it could take a long time. So a single transaction would be nice. I remember reading somewhere there was a way to do this, but searched through docs and could not find.
Solved! Go to Solution.
In the NSO CLI, there was an option to pass wildcard (*) when doing re-deploy for all instances of a service type. I'm wondering how that is implemented. If it just iterates over the service instance list or does something smart.
With (*) It will iterate through all service instances and commit them one by one, you can check that by having two open NSO CLI's, if you issue a re-deploy in one, you'll see how many commits were issued in the other window. At least that was the case when I did the reconcile command, but i think that behind the scenes it still does the same re-deploy action.
Not sure yet how would you put this into one transaction though.