Page MenuHomeVyOS Platform

Drop config compatibility with Vyatta Core older than 6.5
Closed, ResolvedPublicENHANCEMENT

Description

As discussed in http://blog.vyos.net/vyos-1-dot-2-0-development-news-in-july , there's an idea to drop compatibility with Vyatta Core versions older than 6.5 that Kim and I discussed.

Right now, it is theoretically possible to load configs from Vyatta verions going back to XORP-based releases from 2007. If someone really wants to check if it works, I still have the images. ;)

The main concerns are:

  1. Vyatta Core older than 6.5 is now six years old, and is nearly impossible to find in the wild, therefore no one tested those script for ages and no one is ever going to
  2. Vyatta 6.5 itself is not perfectly compatible with older releases, for example the much missed "modify" firewalls always have to be manually converted to "policy route" rules, and automatic conversion is impossible because the latter only has partial functionality of the former
  3. If someone still has one such router, they can always upgrade through VyOS 1.x, whose images we were never planning to delete after 1.2.0 release
  4. Old scripts are a mess, using XorpConfigParser that is an even worse mess.
  5. Removing them will make it easier to switch to a better system of storing current versions and running migration scripts

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Config syntax change (non-migratable)
Issue type
Feature/functionality removal

Event Timeline

dmbaturin renamed this task from Drop forward compatibility with Vyatta Core older than 6.5 to Drop config compatibility with Vyatta Core older than 6.5.Aug 27 2018, 8:36 PM
dmbaturin created this task.
dmbaturin created this object with visibility "Public (No Login Required)".
dmbaturin updated the task description. (Show Details)

As stated on IRC I'm fine with the support removal as one can always upgrade through VyOS 1.1.x.

syncer triaged this task as Normal priority.Sep 1 2018, 2:26 PM

Moving to 1.3.x, since there was no deprecation warning. Let's do it properly.

syncer renamed this task from Drop config compatibility with Vyatta Core older than 6.5 to .Oct 18 2018, 6:05 AM
syncer changed the subtype of this task from "Task" to "Enhancement".Oct 20 2018, 4:49 AM

Related task: T1334

The version string in 6.5 is:

/* === vyatta-config-version: "cluster@1:config-management@1:conntrack-sync@1:conntrack@1:dhcp-relay@1:dhcp-server@4:firewall@5:ipsec@4:nat@4:qos@1:quagga@2:system@6:vrrp@1:wanloadbalance@3:webgui@1:webproxy@1:zone-policy@1" === */

There's only one script that needs to be moved from vyatta-config-migrate to vyos-1x or rewritten, it's: migrate/system/6-to-7
The rest is already in vyos-1x.

dmbaturin changed the edit policy from "Custom Policy" to "Subscribers".
jestabro moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.
dmbaturin set Is it a breaking change? to Config syntax change (non-migratable).Sep 3 2021, 12:14 PM
dmbaturin set Issue type to Feature/functionality removal.