<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/migration-scripts/quagga, branch current</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=current</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=current'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2025-06-28T21:16:52+00:00</updated>
<entry>
<title>T7591: remove copyright years from source files</title>
<updated>2025-06-28T21:16:52+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-06-28T18:51:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1478516ae437f19ebeb7d6ff9b83dd74f8e76758'/>
<id>urn:sha1:1478516ae437f19ebeb7d6ff9b83dd74f8e76758</id>
<content type='text'>
The legal team says years are not necessary so we can go ahead with it, since
it will simplify backporting.

Automatically removed using: git ls-files | grep -v libvyosconfig | xargs sed -i -E \
's/^# Copyright (19|20)[0-9]{2}(-[0-9]{4})? VyOS maintainers.*/# Copyright VyOS maintainers and contributors &lt;maintainers@vyos.io&gt;/g'

In addition we will error-out during "make" if someone re-adds a legacy
copyright notice
</content>
</entry>
<entry>
<title>migration: T6968: check for ip address as next-hop-interface in 1.3.x</title>
<updated>2025-06-18T23:07:51+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2025-06-18T20:37:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=f7ce71b4e464582450eada5112cdfbd86f39436d'/>
<id>urn:sha1:f7ce71b4e464582450eada5112cdfbd86f39436d</id>
<content type='text'>
1.3.x did not disallow an ip address as value of:
protocols static route addr next-hop-interface
Consequently, the case should be checked and handled during migration.
</content>
</entry>
<entry>
<title>multicast: T6746: migrate CLI to to mimic unicast IPv4 routes syntax</title>
<updated>2024-12-16T21:24:50+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-12-12T19:57:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d58e7ace7075e24c64cfe5e56ffcaad1688446e9'/>
<id>urn:sha1:d58e7ace7075e24c64cfe5e56ffcaad1688446e9</id>
<content type='text'>
Consolidate "multicast interface-route" and "multicast route" under common
"mroute &lt;x.x.x.x/y&gt;" CLI node.
</content>
</entry>
<entry>
<title>static: T6746: migrate BFD CLI nodes</title>
<updated>2024-12-16T21:24:50+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-12-11T20:22:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=147751ec59527800e956b7ea689805ba80769abe'/>
<id>urn:sha1:147751ec59527800e956b7ea689805ba80769abe</id>
<content type='text'>
Migrate "set protocols static route &lt;x.x.x.x/x&gt; next-hop &lt;y.y.y.y&gt; bfd multi-hop
source &lt;z.z.z.z&gt; profile &lt;NAME&gt;" to: "set protocols static route &lt;x.x.x.x/x&gt;
next-hop &lt;y.y.y.y&gt; bfd profile bar"

FRR supports only one source IP address per BFD multi-hop session. VyOS
had CLI cupport for multiple source addresses which made no sense.
</content>
</entry>
<entry>
<title>migration: T6007: convert all migration scripts to load as module</title>
<updated>2024-06-26T20:38:41+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-06-20T01:16:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=26740a8d583f64dc0a27b59dd4ae303056972c0b'/>
<id>urn:sha1:26740a8d583f64dc0a27b59dd4ae303056972c0b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5427: Fix migration script arguments len expects 2 args</title>
<updated>2023-08-02T09:12:23+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-08-02T09:12:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d1923b7b58795f0d9635ae0e8df110f591881bdf'/>
<id>urn:sha1:d1923b7b58795f0d9635ae0e8df110f591881bdf</id>
<content type='text'>
The script's name is always provided as the first argument sys.argv[0]
Expected length for argv is 2 (script itself + config file)

Change: 'if (len(argv) &lt; 1)' to 'if len(argv) &lt; 2'
</content>
</entry>
<entry>
<title>T5150: migrate CLI configs to new Kernel/Zebra route-map support</title>
<updated>2023-04-13T07:01:31+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-04-12T19:11:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=7d642a2862dcd0c7c2f80ac42ea9427970804d06'/>
<id>urn:sha1:7d642a2862dcd0c7c2f80ac42ea9427970804d06</id>
<content type='text'>
</content>
</entry>
<entry>
<title>policy: T4414: add support for route-map "as-path prepend last-as x"</title>
<updated>2022-05-05T16:45:17+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-05-05T16:44:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=799b7f511248d68bbbe05e0dfd2aa4849fc32387'/>
<id>urn:sha1:799b7f511248d68bbbe05e0dfd2aa4849fc32387</id>
<content type='text'>
</content>
</entry>
<entry>
<title>migration: T548: Rename quagga scripts for correct seq</title>
<updated>2021-08-06T11:56:00+00:00</updated>
<author>
<name>Viacheslav</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2021-08-06T11:55:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=4ae22dd44fd480ef4fc2e71c6f2eb00750a22fa4'/>
<id>urn:sha1:4ae22dd44fd480ef4fc2e71c6f2eb00750a22fa4</id>
<content type='text'>
Rename quagga migration scripts for correct sequences
between 1.3 and 1.4 branches
7-to-8 in 1.3 uses the same migration as 8-to-9 in 1.4
This PR fix it
</content>
</entry>
<entry>
<title>vrf: route: static: T2450: we also need to migrate the interface based routes</title>
<updated>2021-07-12T16:38:41+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-07-12T16:38:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=73e58b7d000c92608b263f2f52b60d21d741db04'/>
<id>urn:sha1:73e58b7d000c92608b263f2f52b60d21d741db04</id>
<content type='text'>
Previously during migration if one had used interface routes, the VRF based
ones got not migrated.

The following "old" VyOS 1.3 configuration did not get migrated:

set protocols static interface-route 10.20.0.0/24 next-hop-interface eth2 next-hop-vrf 'blue'
set protocols static interface-route 10.30.0.0/24 next-hop-interface br10 next-hop-vrf 'red'
set protocols vrf blue static interface-route 10.0.0.0/24 next-hop-interface eth1 next-hop-vrf 'default'
set protocols vrf red static interface-route 10.0.0.0/24 next-hop-interface eth1 next-hop-vrf 'default'
set vrf name blue table '3000'
set vrf name mgmt table '1000'
set vrf name red table '2000'

It must get migrated to:

set protocols static route 10.20.0.0/24 interface eth2 vrf 'blue'
set protocols static route 10.30.0.0/24 interface br10 vrf 'red'
set vrf name blue protocols static route 10.0.0.0/24 interface eth1 vrf 'default'
set vrf name blue table '3000'
set vrf name mgmt table '1000'
set vrf name red protocols static route 10.0.0.0/24 interface eth1 vrf 'default'
set vrf name red table '2000'
</content>
</entry>
</feed>
