cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
419
Views
0
Helpful
0
Replies

Best practices for device configuration using NetconfService

MahdiR
Level 1
Level 1

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?

0 Replies 0