HomeVyOS Platform

configdict: T5894: add get_config_dict() flag with_pki

Description

configdict: T5894: add get_config_dict() flag with_pki

VyOS has several services relaying on the PKI CLI tree to retrieve certificates.
Consuming services like ethernet, openvpn or ipsec all re-implemented the same
code to retrieve the certificates from the CLI.

This commit extends the signature of get_config_dict() with a new option with_pki
that defaults to false. If this option is set, the PKI CLI tree will be blended
into the resulting dictionary.

Details

Provenance
c-poAuthored on Jan 3 2024, 8:57 PM
Parents
rVYOSONEX301312b29323: configdict: T5837: node_changed() shall not return duplicate list items
Branches
Loading...
Tags
Loading...