Page MenuHomeVyOS Platform

Set default to new syntax for config file component versions
Closed, ResolvedPublicFEATURE REQUEST

Description

Task T2029 switched to a new syntax for the config file trailing version string. As detailed there, all parsing and migration was adopted to the new syntax, but the original syntax was maintained on 'save'. Here we will change the default behavior to save the config with the new syntax. All operations on config files: 'load', 'merge', 'add system image', and manually replacing a config file and rebooting, will automatically migrate the original syntax.

Though it is never required, if one wants to convert one syntax to the other, the following commands will make the change in place:

old-to-new:
/usr/libexec/vyos/run-config-migration.py --virtual --set-vintage vyos example-config.boot

new-to-old:
/usr/libexec/vyos/run-config-migration.py --virtual --set-vintage vyatta example-config.boot

Details

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