The config loader should be updated to python3, and take advantage of configtree to pass set commands to cli-shell-api, instead of relying on Vyatta::Config. Note that the merge logic was separated out of the config loader script in T1397.
- Difficulty level
- Unknown (require assessment)
- Why the issue appeared?
- Will be filled on close
The rewrite has been complete in the fork for some time, but is on hold pending: (1) consider taking advantage of the functionality in https://github.com/vyos/vyos-1x/blob/current/python/vyos/configsession.py to avoid duplication of code (2) ongoing work on options to replace the python list manipulations in the current rewrite. Regarding the latter point, it was expected that there would be a performance hit in moving away from the legacy C++ backend (via Perl bindings), and the cost was considered worthwhile in order to move forward; one data point is a performance hit of .3 on a 17k line config file, which was not bad, considering.