Page MenuHomeVyOS Platform

Extend get_config_dict() with additional parameter with_pki that defaults to False
Closed, ResolvedPublicFEATURE REQUEST

Description

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

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Internal change (not visible to end users)

Event Timeline

c-po moved this task from Open to Finished on the VyOS 1.4 Sagitta board.
c-po triaged this task as Normal priority.
c-po edited a custom field.