<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/migration-scripts/l2tp, branch vyos/1.4dev1</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=vyos%2F1.4dev1</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=vyos%2F1.4dev1'/>
<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>T5195: vyos.util -&gt; vyos.utils package refactoring (#2093)</title>
<updated>2023-07-14T20:18:36+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-07-14T20:18:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d1ca536da448749dff557f13ecae97b124026e96'/>
<id>urn:sha1:d1ca536da448749dff557f13ecae97b124026e96</id>
<content type='text'>
* T5195: move run, cmd, call, rc_cmd helper to vyos.utils.process

* T5195: use read_file and write_file implementation from vyos.utils.file

Changed code automatically using:

find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import read_file$/from vyos.utils.file import read_file/g' {} +
find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import write_file$/from vyos.utils.file import write_file/g' {} +

* T5195: move chmod* helpers to vyos.utils.permission

* T5195: use colon_separated_to_dict from vyos.utils.dict

* T5195: move is_systemd_service_* to vyos.utils.process

* T5195: fix boot issues with missing imports

* T5195: move dict_search_* helpers to vyos.utils.dict

* T5195: move network helpers to vyos.utils.network

* T5195: move commit_* helpers to vyos.utils.commit

* T5195: move user I/O helpers to vyos.utils.io</content>
</entry>
<entry>
<title>pki: ipsec: l2tp: T2816: T3642: Move IPSec/L2TP code into vpn_ipsec.py and update to use PKI.</title>
<updated>2021-07-15T11:18:26+00:00</updated>
<author>
<name>sarthurdev</name>
<email>965089+sarthurdev@users.noreply.github.com</email>
</author>
<published>2021-07-13T14:04:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=3af38a4d673c37ed46d7d8d43ad03a94799ad09d'/>
<id>urn:sha1:3af38a4d673c37ed46d7d8d43ad03a94799ad09d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pppoe-server: T2314: migrate IPv6 to common CLI nodes with embeeded validation</title>
<updated>2020-04-18T12:31:51+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-04-18T10:35:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=901d5e89ec6e3fb0f3d13f90f0495a4dda592454'/>
<id>urn:sha1:901d5e89ec6e3fb0f3d13f90f0495a4dda592454</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vpn: l2tp: T2264: migrate IPv6 prefix node to common CLI style</title>
<updated>2020-04-11T13:12:52+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-04-11T13:12:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=07080afd4015a900fb7474e1c81008f58b478565'/>
<id>urn:sha1:07080afd4015a900fb7474e1c81008f58b478565</id>
<content type='text'>
Combining multiple options into a single CLI node is considered bad practice.
IPv6 prefixes consited of the prefix itself and a mask send to the client in
one node only.

The following CLI parts have been migrated from

  client-ipv6-pool {
    delegate-prefix fc00:0:1::/48,64
    prefix 2001:db8::/64,64
  }

to

  client-ipv6-pool {
    delegate fc00:0:1::/48 {
      delegation-prefix 48
    }
    prefix 2001:db8::/48 {
      mask 64
    }
  }

Thus regular validation steps from the VyOS CLI can be used when a prefix is
configured.
</content>
</entry>
<entry>
<title>vpn: l2tp: T2264: remove RADIUS req-limit node</title>
<updated>2020-04-11T09:25:59+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-04-10T22:34:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=9e07ddb150fbf235466ce6de6f209d0ea3038b06'/>
<id>urn:sha1:9e07ddb150fbf235466ce6de6f209d0ea3038b06</id>
<content type='text'>
It makes less sense for the user to specify this behavior.
</content>
</entry>
<entry>
<title>vpn: l2tp: T2264: combine WINS CLI syntax</title>
<updated>2020-04-11T09:25:13+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-04-10T17:43:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=a533ca621567150732b58fc5176cd18b608f1f92'/>
<id>urn:sha1:a533ca621567150732b58fc5176cd18b608f1f92</id>
<content type='text'>
There is no reason to distinguish between WINS servers in terms of priority.
This is solely a task which can be done in the underlaying Python scripts.
</content>
</entry>
<entry>
<title>vpn: l2tp: T2264: combine IPv4/IPv6 name-server CLI syntax</title>
<updated>2020-04-11T09:25:13+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-04-10T17:32:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=6a2e75dbe4003c6987c6932296e68c486ff7b380'/>
<id>urn:sha1:6a2e75dbe4003c6987c6932296e68c486ff7b380</id>
<content type='text'>
There is no reason to distinguish between an IPv4 and IPv6 name-server node
on the CLI - this can be done in the underlaying Python scripts.
</content>
</entry>
<entry>
<title>l2tp: T1858: Delete deprecated outside-nexthop</title>
<updated>2019-12-30T11:50:15+00:00</updated>
<author>
<name>DmitriyEshenko</name>
<email>dmitriy.eshenko@vyos.io</email>
</author>
<published>2019-12-30T11:50:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=685e9fb19140d002bcae9f3b78d5bd0f33b172d0'/>
<id>urn:sha1:685e9fb19140d002bcae9f3b78d5bd0f33b172d0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>migration-scripts: l2tp: T1811: add missing check on server existence</title>
<updated>2019-11-18T20:15:08+00:00</updated>
<author>
<name>Eshenko Dmitriy</name>
<email>snooppy@mail.ua</email>
</author>
<published>2019-11-18T20:15:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=fb72bc367234bf35628bdccf84b0b76108f6341e'/>
<id>urn:sha1:fb72bc367234bf35628bdccf84b0b76108f6341e</id>
<content type='text'>
</content>
</entry>
</feed>
