Page MenuHomeVyOS Platform

Uncaught errors for functions delete/delete_value in Python module configtree.py
Closed, ResolvedPublicBUG

Description

Two issues in error passing from the bindings libvyosconfig to the Python module configtree.py:
(1) the binding for delete_value does not catch the error of a non-existent path, and hence can not pass that information in a non-zero return value
(2) the Python module functions delete and delete_value do not raise error on non-zero return value of binding, as other functions in that module do.

Details

Version
vyos-1.4
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

jestabro triaged this task as Normal priority.
jestabro created this object in space S1 VyOS Public.
jestabro moved this task from Open to Finished on the VyOS 1.4 Sagitta board.