Page MenuHomeVyOS Platform

XML: Python default dictionary does not obey underscore (_) when flat is False
Closed, ResolvedPublicBUG

Description

>>> defaults(['service', 'console-server'], flat=True)
{'device_data_bits': '8', 'device_stop_bits': '1', 'device_parity': 'none'}
>>> defaults(['service', 'console-server'], flat=False)
{'device': {'data-bits': '8', 'stop-bits': '1', 'parity': 'none'}}

Details

Version
1.3-rolling-202006271315
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)