<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/migration-scripts/interfaces/5-to-6, branch T6674-circ-trigger</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=T6674-circ-trigger</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=T6674-circ-trigger'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2023-08-02T09:12:23+00:00</updated>
<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>Revert "migrator: interfaces: T4171: bugfix ConfigTreeError"</title>
<updated>2022-01-16T17:17:24+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-01-16T17:17:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=7e731c0ef503334eaab2bfd723163a9749d64da2'/>
<id>urn:sha1:7e731c0ef503334eaab2bfd723163a9749d64da2</id>
<content type='text'>
This reverts commit 29efbf51efea559773f61703f11a77a8aee6de36.
</content>
</entry>
<entry>
<title>migrator: interfaces: T4171: bugfix ConfigTreeError</title>
<updated>2022-01-11T11:02:11+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-01-11T11:01:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=29efbf51efea559773f61703f11a77a8aee6de36'/>
<id>urn:sha1:29efbf51efea559773f61703f11a77a8aee6de36</id>
<content type='text'>
Migrating 1.2.8 -&gt; 1.4-rolling-202201110811

vyos-router[970]: Waiting for NICs to settle down: settled in 0sec..
vyos-router[1085]: Started watchfrr.
vyos-router[970]: Mounting VyOS Config...done.
vyos-router[970]: Starting VyOS router: migrate
vyos-router[1490]: Traceback (most recent call last):
vyos-router[1490]:   File "/opt/vyatta/etc/config-migrate/migrate/interfaces/5-to-6", line 112, in &lt;module&gt;
vyos-router[1490]:     for if_type in config.list_nodes(['interfaces']):
vyos-router[1490]:   File "/usr/lib/python3/dist-packages/vyos/configtree.py", line 236, in list_nodes
vyos-router[1490]:     raise ConfigTreeError("Path [{}] doesn't exist".format(path_str))
vyos-router[1490]: vyos.configtree.ConfigTreeError: Path [b'interfaces'] doesn't exist
vyos-router[1455]: Migration script error: /opt/vyatta/etc/config-migrate/migrate/interfaces/5-to-6: Command
     '['/opt/vyatta/etc/config-migrate/migrate/interfaces/5-to-6', '/opt/vyatta/etc/config/config.boot']'
     returned non-zero exit status 1..
vyos-router[970]:  configure.
vyos-config[979]: Configuration success
</content>
</entry>
<entry>
<title>router-advert: T3561: fix inconsistent use of tabs and spaces in indentation</title>
<updated>2021-05-24T06:33:23+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-05-24T06:33:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=acc701bac3483a3242c77a2e00c076890e27eea9'/>
<id>urn:sha1:acc701bac3483a3242c77a2e00c076890e27eea9</id>
<content type='text'>
Commit c17f259d ("router-advert: T3561: add support for specific routes") used
tabs over spaces in the Migration script which triggered a TabError (inconsistent
use of tabs and spaces in indentation").
</content>
</entry>
<entry>
<title>router-advert: T3561: add support for specific routes</title>
<updated>2021-05-23T10:20:56+00:00</updated>
<author>
<name>Mark Royds</name>
<email>github@mnr.cc</email>
</author>
<published>2021-05-23T10:20:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c17f259d09abd2bf632d09400fe8deb4c2781d32'/>
<id>urn:sha1:c17f259d09abd2bf632d09400fe8deb4c2781d32</id>
<content type='text'>
Co-authored-by: Mark Royds &lt;mark.royds@vitaminit.co.uk&gt;</content>
</entry>
<entry>
<title>router-advert: T2618: fix for wrongly converted "autonomous-flag"</title>
<updated>2020-06-19T20:22:41+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-06-19T20:22:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=7e258d0f77c005baf27a50160aa8b82b8562975c'/>
<id>urn:sha1:7e258d0f77c005baf27a50160aa8b82b8562975c</id>
<content type='text'>
Boolean nodes have been removed b/c a boolean value makes less sense. The same
behavior can be achieved with the presence or absence of a node. Unfortunately
the 'autonomous-flag' node has been a negated one which did not migrate
it to 'no-autonomous-flag' if it was set to false previously.
</content>
</entry>
<entry>
<title>router-advert: T2162: bugfix migrating link-mtu nodes with 0 value</title>
<updated>2020-03-26T06:32:55+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-03-26T06:31:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=583e9d907236a4a98fe40e97a378c1fb655f8a95'/>
<id>urn:sha1:583e9d907236a4a98fe40e97a378c1fb655f8a95</id>
<content type='text'>
... those nodes mean link-mtu advertisement is disabled in radvd and thus we
delete the node completely as it's useless.
</content>
</entry>
<entry>
<title>router-advert: T1831: add config migration script</title>
<updated>2020-03-24T17:59:41+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-03-24T17:25:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=7d31eae269650ae3767ab1736d14e9f3d6867a67'/>
<id>urn:sha1:7d31eae269650ae3767ab1736d14e9f3d6867a67</id>
<content type='text'>
</content>
</entry>
</feed>
