Generalizing the idea of is_node_changed, which recursively checks for a difference under a node between the working and active config, a function is_node_revised will provide the check between config revisions, defaulting to the change between rev 1 and rev 0. This is useful, for example, for checking if an action is necessary in a post-commit hook (cf. config-sync, https://vyos.dev/T775; https://github.com/vyos/vyos-1x/pull/2042).
Description
Description
Details
Details
- Difficulty level
- Unknown (require assessment)
- Version
- vyos-1.4
- Why the issue appeared?
- Will be filled on close
- Is it a breaking change?
- Perfectly compatible
- Issue type
- Improvement (missing useful functionality)
Related Objects
Related Objects
- Mentioned Here
- T775: Config Sync between two VyOS routers