I've seen different approaches to device configuration using NetconfService. It has a number of methods but I don't see those used in the examples that I've seen.
What is the best way to do device configuration with NetconfService? i.e. is edit_config() just enough or should I use validate(), lock(), commit(), unlock() etc. And in what order should I use these methods?
Also is the best way to use Datastore.running or Datastore.candidate for configuration?