diff options
author | Christian Breunig <christian@breunig.cc> | 2024-01-03 21:57:00 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-01-04 07:55:13 +0100 |
commit | b152b52023ba0cf0d4919eae39e92de28a458917 (patch) | |
tree | c8c6cdbdeccd48ff60a0ef6b0b6ed0d339687969 /src/init | |
parent | 301312b293238d3041c8912af6fdb86b506d7ab4 (diff) | |
download | vyos-1x-b152b52023ba0cf0d4919eae39e92de28a458917.tar.gz vyos-1x-b152b52023ba0cf0d4919eae39e92de28a458917.zip |
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.
Diffstat (limited to 'src/init')
0 files changed, 0 insertions, 0 deletions