I have updated the README code so it compiles. Using the data in the existing assets folder, I get the following error:
libyang[0]: Mandatory node "oper-status" instance does not exist. (path: Schema location "/ietf-interfaces:interfaces/interface/oper-status", line number 20.)
thread 'main' panicked at 'Failed to parse data tree: Error { errcode: 7, msg: Some("Mandatory node \"oper-status\" instance does not exist."), path: Some("Schema location \"/ietf-interfaces:interfaces/interface
/oper-status\", line number 20."), apptag: None }', src/bin/dewit.rs:33:6
to the interfaces container.
I would be happy to update the interfaces.json file or include a note about the expected failure. I will leave that up to your discretion. Thanks!
I have updated the README code so it compiles. Using the data in the existing
assets
folder, I get the following error:This is easily resolved by adding
to the interfaces container. I would be happy to update the
interfaces.json
file or include a note about the expected failure. I will leave that up to your discretion. Thanks!