<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/migration-scripts/sstp, branch vyos/1.4dev1</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/marekm72/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/marekm72/vyos-1x.git/atom?h=vyos%2F1.4dev1</id>
<link rel='self' href='https://git.amelek.net/marekm72/vyos-1x.git/atom?h=vyos%2F1.4dev1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/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/marekm72/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/marekm72/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: sstp: T3642: Migrate SSTP to PKI configuration</title>
<updated>2021-07-20T12:49:10+00:00</updated>
<author>
<name>sarthurdev</name>
<email>965089+sarthurdev@users.noreply.github.com</email>
</author>
<published>2021-07-20T10:05:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=70785300b0dbd11bcd805f7d2906e77fc826f4a7'/>
<id>urn:sha1:70785300b0dbd11bcd805f7d2906e77fc826f4a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sstp: T2953: migrate gateway-address, client-ip-settings to common level</title>
<updated>2020-10-04T09:37:21+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-10-04T09:37:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=4649284812bb3dbb8c07f0e4dc56226b6da1a703'/>
<id>urn:sha1:4649284812bb3dbb8c07f0e4dc56226b6da1a703</id>
<content type='text'>
* move "network-settings gateway-address" to "gateway-address"
* move "network-settings client-ip-settings" to "client-ip-pool"
</content>
</entry>
<entry>
<title>sstp: T2953: migrate mtu to common level</title>
<updated>2020-10-03T18:36:18+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-10-03T18:36:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=585aaf9c5770e2a0784849aee75213bd4ea1871a'/>
<id>urn:sha1:585aaf9c5770e2a0784849aee75213bd4ea1871a</id>
<content type='text'>
Preparation before using get_config_dict() and common Jinja2 templates.
</content>
</entry>
<entry>
<title>sstp: T2953: migrate name-server settions to common level</title>
<updated>2020-10-03T17:59:21+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-10-03T17:57:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=2c90c0d7c8d3bef95c1397c199bb53f7847743d7'/>
<id>urn:sha1:2c90c0d7c8d3bef95c1397c199bb53f7847743d7</id>
<content type='text'>
In order to reuse as much as possible before migrationg to get_config_dict()
and re-use Jinja2 snippets the name-server node must be moved one level up to
'set vpn sstp name-server'.
</content>
</entry>
<entry>
<title>sstp: T2953: migrate ppp-settings to ppp-options node</title>
<updated>2020-10-02T15:51:44+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-10-02T15:51:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=cbdbbdceaad5fc02ca673bed199f666137a2ce73'/>
<id>urn:sha1:cbdbbdceaad5fc02ca673bed199f666137a2ce73</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sstp: T2150: use full file path on SSL certificates</title>
<updated>2020-03-22T10:46:39+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-03-22T10:46:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=fdafecc0c569f7d5f818a5a2c56bf7ea1983d2f4'/>
<id>urn:sha1:fdafecc0c569f7d5f818a5a2c56bf7ea1983d2f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sstp: T2008: bugfix migrator for radius options</title>
<updated>2020-03-21T10:19:44+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-03-21T10:19:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=5636e057948edc46b9cd5b1eb87f9cf420204adc'/>
<id>urn:sha1:5636e057948edc46b9cd5b1eb87f9cf420204adc</id>
<content type='text'>
An if statement was missing to check if there are really additional
radius-settings or not.
</content>
</entry>
<entry>
<title>sstp: T2008: migrate SSL certificate nodes</title>
<updated>2020-03-20T22:25:05+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-03-20T22:22:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=95c42faa4436c5dd761049a8a6e75996c815cc2c'/>
<id>urn:sha1:95c42faa4436c5dd761049a8a6e75996c815cc2c</id>
<content type='text'>
</content>
</entry>
</feed>
