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

Difficulty level
Easy (less than an hour)
Version
vyos-1.3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Internal change (not visible to end users)

Event Timeline

jestabro changed the task status from Open to In progress.May 22 2020, 8:07 PM
jestabro triaged this task as Normal priority.
jestabro created this task.
jestabro created this object in space S1 VyOS Public.
jestabro updated the task description. (Show Details)
erkin set Issue type to Internal change (not visible to end users).Aug 30 2021, 6:03 AM
erkin removed a subscriber: Active contributors.