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

Event Timeline

jestabro changed the task status from Open to In progress.Fri, May 22, 8:07 PM
jestabro triaged this task as Normal priority.
jestabro created this task.
jestabro created this object in space S1 VyOS Public.
jestabro closed this task as Resolved.Fri, May 22, 8:20 PM
jestabro updated the task description. (Show Details)
pasik added a subscriber: pasik.Sat, May 23, 8:54 AM
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.Tue, Jun 2, 5:49 PM