https://rayka-co.com/lesson/edit-conf...
In the previous sections we have configured network devices using json payload sent through requests python library in restconf protocol.
But probably the easiest way to keep the configuration data is in yaml format. Then the Python “load_yaml” from “nornir utils” library has the option to automatically change yaml to json before sending it to the network devices.
This is what we are going to demonstrate in this section.