<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/migration-scripts/interfaces/19-to-20, branch sever-sever-patch-1</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=sever-sever-patch-1</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=sever-sever-patch-1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2024-06-26T20:38:41+00:00</updated>
<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>tunnel: T3366: re-order migration scripts</title>
<updated>2021-07-25T19:16:50+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-07-25T19:15:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=67a5ca7fa372f8e3679b533d370ffa362c76f4ca'/>
<id>urn:sha1:67a5ca7fa372f8e3679b533d370ffa362c76f4ca</id>
<content type='text'>
The migrator from 20-to-21 is required as 19-to-20 on VyOS 1.3 - thus simply
rename/reorder the two migrators to not break things the hard way when
upgrading from 1.3 -&gt; 1.4.
</content>
</entry>
<entry>
<title>wwan: T3620: reorder mirgation scripts for 1.3 backport</title>
<updated>2021-06-13T11:17:02+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-06-13T11:17:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=7065d0c4fe08b094aaf0970dc12a2045f5b80c86'/>
<id>urn:sha1:7065d0c4fe08b094aaf0970dc12a2045f5b80c86</id>
<content type='text'>
As the new WWAN interface style is backported to VyOS 1.3 we also need to shift
the order of the interface migration scripts. so the same order from VyOS 1.4
also applies to VyOS 1.3.

In short, 21-to-22 is renamed to 18-to-19 and all other migrators are shifted
up one version.
</content>
</entry>
<entry>
<title>l2tpv3: T3366: migrate local-ip and remote-ip CLI options</title>
<updated>2021-02-28T17:10:08+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-02-28T09:14:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=5574bd672825a87b1983cc135ae2e0bdabbe751b'/>
<id>urn:sha1:5574bd672825a87b1983cc135ae2e0bdabbe751b</id>
<content type='text'>
Rename CLI options local-ip to source-address and remote-ip to remote to
get a consistent CLI experience for the user.
</content>
</entry>
<entry>
<title>tunnel: T3366: rename remote-ip to remote</title>
<updated>2021-02-27T23:54:37+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-02-27T20:49:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=857294427afba3259e683f2360c735f0f4be32b6'/>
<id>urn:sha1:857294427afba3259e683f2360c735f0f4be32b6</id>
<content type='text'>
Streamline the CLI configuration where we try to use remote on other interfaces
like vxlan, geneve.
</content>
</entry>
<entry>
<title>tunnel: T3366: rename local-ip to source-address</title>
<updated>2021-02-27T23:54:37+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-02-27T20:37:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=582b718221c67ddb71e39fbad0a72241761304a9'/>
<id>urn:sha1:582b718221c67ddb71e39fbad0a72241761304a9</id>
<content type='text'>
Streamline the CLI configuration where we try to use source-address when
creating connections which are especially sourced from a discrete address.
</content>
</entry>
<entry>
<title>tunnel: T3364: rename encapsulation mode "gre-bridge" to "gretap"</title>
<updated>2021-02-27T23:54:37+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-02-27T15:04:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=8f100189086102458ff8e4f61f842cf44a6bf8aa'/>
<id>urn:sha1:8f100189086102458ff8e4f61f842cf44a6bf8aa</id>
<content type='text'>
The following list shows the mapping of VyOS tunnel encapsulation modes to the
corresponding Linux modes.

VyOS        Linux
gre         gre
gre-bridge  gretap
ipip        ipip
ipip6       ipip6
ip6ip6      ip6ip6
ip6gre      ip6gre
sit         sit

Besides gre-bridge this is pretty consistent. As bridge interfaces are also
called tap interfaces gre-bridge will be renamed to gretap to make the
post-processing much easier.

This means (in detail) that there are no more child classes of _Tunnel and
there will be now one geneirc TunnelIf class handling all sorts of encapsulation.
</content>
</entry>
<entry>
<title>ospf: T3267: fix invalid migrator version number</title>
<updated>2021-01-29T14:38:03+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-01-29T14:38:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=49096fd098fc2f2ed9891026da5d6956ad137783'/>
<id>urn:sha1:49096fd098fc2f2ed9891026da5d6956ad137783</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ospf: T3267: move "interface ip ospf" configuration to "protocols ospf interface"</title>
<updated>2021-01-29T14:01:48+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-01-29T14:01:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b17b6d8931b142dcd3e2ddc4e213929bfafe9948'/>
<id>urn:sha1:b17b6d8931b142dcd3e2ddc4e213929bfafe9948</id>
<content type='text'>
For easier maintenance and operability move the interface specific protocol
setting of OSPF to the OSPF protocol section. This is now also in-line with IS-IS.

This means to migrate:
 ethernet eth0 {
    vif 202 {
        ip {
            ospf {
                authentication {
                    md5 {
                        key-id 10 {
                            md5-key vyosvyos
                        }
                    }
                }
                dead-interval 40
                hello-interval 10
                priority 1
                retransmit-interval 5
                transmit-delay 1
            }
        }
    }
 }

to

 protocols {
    ospf {
        interface eth0.201 {
            authentication {
                md5 {
                    key-id 10 {
                        md5-key vyosvyos
                    }
                }
            }
            dead-interval 40
            hello-interval 10
            priority 1
            retransmit-interval 5
            transmit-delay 1
        }
 }
</content>
</entry>
</feed>
