Page MenuHomeVyOS Platform

pki: calls to node_changed_presence() must use unmangled config paths.
Closed, ResolvedPublicFEATURE REQUEST

Description

We do use mangled config paths

pki = conf.get_config_dict(base, key_mangling=('-', '_'), ...

returns a config dict where - is replaced by _ when assembling the config dict.

This does not work when we throw the retrieved path into ConfigDiff().node_changed_presence()
https://github.com/vyos/vyos-1x/blob/07936657062ce1fe1b9185b17e9230f20e96e365/src/conf_mode/pki.py#L259-L265

This must be un-mangled.

Details

Version
-
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)