How to enable an error message when user tries to delete a record that doesnt exist? confd says “No modifications to commit” after user commits, but is there a way to trigger an error as soon as user tries to delete/change a value that doesnt exist in the CDB?
root@cavium-thunderx 21:31:43% show link vlan-map
vlan-map 0 {
vid [ 3 100 200 ];
}
[ok][2018-01-12 21:31:47]
[edit]
root@cavium-thunderx 21:31:47% delete link vlan-map 0 vid 111
[ok][2018-01-12 21:31:57]
[edit]
root@cavium-thunderx 21:31:57% commit
No modifications to commit.
[ok][2018-01-12 21:32:00]
[edit]