Page MenuHomeVyOS Platform

Utility function to check if config under node has been changed between revisions
Closed, ResolvedPublic

Description

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).

Details

Version
vyos-1.4
Is it a breaking change?
Perfectly compatible