diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-04-28 16:44:28 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-04-28 16:46:41 +0200 |
| commit | e8434e64bada81aabed2cfe614d64cd213110984 (patch) | |
| tree | f3f8c160e3a6c691ac82fb94bff733e1f6459816 /python/setup.py | |
| parent | e5c61bdfef7a060120625ff50e302923753b2ef3 (diff) | |
| download | vyos-1x-e8434e64bada81aabed2cfe614d64cd213110984.tar.gz vyos-1x-e8434e64bada81aabed2cfe614d64cd213110984.zip | |
T8541: add vyos.utils.config.set_leaf() helper
Improve config formatting for valueless leaf nodes with a new helper.
Otherwise the rendered-to-string configuration would become
device ttyS0 {
kernel {
}
}
Whereas this would be the preferred representation:
device ttyS0 {
kernel
}
Co-authored-by: John Estabrook <jestabro@vyos.io>
Diffstat (limited to 'python/setup.py')
0 files changed, 0 insertions, 0 deletions
