<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/migration-scripts/ipsec/9-to-10, branch circinus-merge-commit-handling</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=circinus-merge-commit-handling</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=circinus-merge-commit-handling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2024-04-06T08:46:30+00:00</updated>
<entry>
<title>T6199: remove unused Python imports from migration scripts</title>
<updated>2024-04-06T08:46:30+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-04-06T08:46:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=489e6fababa60d9c0fbfdb421305cbe563432499'/>
<id>urn:sha1:489e6fababa60d9c0fbfdb421305cbe563432499</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>T4879: IPsec migration script remote-id for peer name eq address</title>
<updated>2022-12-19T16:32:24+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2022-12-19T16:32:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=34edb6c19fd77af3ec621905e45631e4901ef574'/>
<id>urn:sha1:34edb6c19fd77af3ec621905e45631e4901ef574</id>
<content type='text'>
Migration for "remote-id" where peer is IPv4 or IPv6 address
was missed
It was only migration if peer starts with "@"
It cause that you must manualy set 'remote-id' to get it working
correctly

replace 'vpn ipsec site-to-site peer 192.0.2.2'
     =&gt; 'vpn ipsec site-to-site peer peer_192-0-2-2 authentication remote-id 192.0.2.2'
</content>
</entry>
<entry>
<title>ipsec: T4118: bugfix migration of IKEv2 road-warrior "id" CLI option</title>
<updated>2022-09-20T18:32:57+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-09-20T18:32:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=2eb0ddc54ea8bf50f62cc381eb3356363194c6fd'/>
<id>urn:sha1:2eb0ddc54ea8bf50f62cc381eb3356363194c6fd</id>
<content type='text'>
The "authentication id" option for road-warriors did not get migrated to
the new local-id CLI node. This has been fixed.
</content>
</entry>
<entry>
<title>ipsec: T4118: bugfix config migrator 9-to-10</title>
<updated>2022-09-19T18:29:23+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-09-19T18:29:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e9c233d65cfffccca131afb4cfb0bcaae0836c39'/>
<id>urn:sha1:e9c233d65cfffccca131afb4cfb0bcaae0836c39</id>
<content type='text'>
When a CLI node is set with a migrator and is not a valueLess node, we need to
specify the "value" using the value= operation in config.set().

This fixes the config load error: vyos.configsession.ConfigSessionError: Invalid
config file (syntax error): error at line 353
</content>
</entry>
<entry>
<title>ipsec: T4118: Change vpn ipsec syntax for IKE ESP and peer</title>
<updated>2022-09-16T11:53:41+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2022-08-10T19:51:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=bd4588827b563022ce5fb98b1345b787b9194176'/>
<id>urn:sha1:bd4588827b563022ce5fb98b1345b787b9194176</id>
<content type='text'>
Migration and Change boolean nodes "enable/disable" to
disable-xxxx, enable-xxxx and just xxx for VPN IPsec
configurations

  - IKE changes:
      - replace 'ipsec ike-group &lt;tag&gt; mobike disable'
             =&gt; 'ipsec ike-group &lt;tag&gt; disable-mobike'
      - replace 'ipsec ike-group &lt;tag&gt; ikev2-reauth yes|no'
             =&gt; 'ipsec ike-group &lt;tag&gt; ikev2-reauth'
  - ESP changes:
      - replace 'ipsec esp-group &lt;tag&gt; compression enable'
             =&gt; 'ipsec esp-group &lt;tag&gt; compression'
  - PEER changes:
      - replace: 'peer &lt;tag&gt; id xxx'
              =&gt; 'peer &lt;tag&gt; local-id xxx'
      - replace: 'peer &lt;tag&gt; force-encapsulation enable'
              =&gt; 'peer &lt;tag&gt; force-udp-encapsulation'
      - add option: 'peer &lt;tag&gt; remote-address x.x.x.x'

Add 'peer &lt;name&gt; remote-address &lt;name&gt;' via migration script
</content>
</entry>
</feed>
