<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/validators, 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-06T18:25:01+00:00</updated>
<entry>
<title>T5195: move helpers from vyos.validate to vyos.utils package</title>
<updated>2023-08-06T18:25:01+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-08-06T17:29:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d1c4294534dd04f075f89f1bb60736d56fc6c22a'/>
<id>urn:sha1:d1c4294534dd04f075f89f1bb60736d56fc6c22a</id>
<content type='text'>
</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>policy: T4329: Fix regex for extcommunity rt #2</title>
<updated>2023-06-29T07:07:12+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-06-29T06:51:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=93724b596dab81d9a801bb5da7fd06933e293cae'/>
<id>urn:sha1:93724b596dab81d9a801bb5da7fd06933e293cae</id>
<content type='text'>
The previous implementation did not iterate over the communit list, so only
one match criteria was supported.

set policy route-map FOO rule 10 action 'permit'
set policy route-map FOO rule 10 set extcommunity rt '1111:2222222'

worked but on the other hand this failed:

set policy route-map FOO rule 20 action 'permit'
set policy route-map FOO rule 20 set extcommunity rt '6500:24 6500:23 192.168.0.1:111 192.168.0.1:222'
</content>
</entry>
<entry>
<title>dns: T5144: Improve dynamic DNS validations and completions</title>
<updated>2023-04-21T06:05:14+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2023-04-21T05:51:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=0c63c84e505033474368b7842e271ee8614c9e51'/>
<id>urn:sha1:0c63c84e505033474368b7842e271ee8614c9e51</id>
<content type='text'>
Apply validations and completions to dynamic DNS protocols supported.
This also opens up additional protocols supported by ddclient 3.10.

Additional details:
- Validation and constraint have been added for interface names as well.
- While at it, the help texts got some copyedit and rewording.
</content>
</entry>
<entry>
<title>T5025: Fix timezones and validator use timedatectl</title>
<updated>2023-02-22T17:35:13+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-02-22T17:35:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d95808b5186f1dddebf7cc9674ca655b8100a6f8'/>
<id>urn:sha1:d95808b5186f1dddebf7cc9674ca655b8100a6f8</id>
<content type='text'>
Fix timezones completion help and validotor
Use 'timedatectl' insted of find zoneinfo
</content>
</entry>
<entry>
<title>Merge pull request #1706 from jestabro/validator-file-exists</title>
<updated>2022-12-14T15:07:40+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2022-12-14T15:07:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=92aa324fef80bdb0bcb3e93feba2f4e2aa787d38'/>
<id>urn:sha1:92aa324fef80bdb0bcb3e93feba2f4e2aa787d38</id>
<content type='text'>
validators: T4798: replace python file-exists validator with file-path</content>
</entry>
<entry>
<title>validators: T4875: use file-path to replace validator 'interface-name'</title>
<updated>2022-12-14T14:59:34+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2022-12-12T21:06:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=f0bc6c62016d285f0645c4b3ba8b1451c40c637f'/>
<id>urn:sha1:f0bc6c62016d285f0645c4b3ba8b1451c40c637f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>validators: T4798: replace python file-exists validator with file-path</title>
<updated>2022-12-13T19:49:04+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2022-12-13T18:09:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=046bb9ccd56ac5e97c638bb4a9ca856d3d36026a'/>
<id>urn:sha1:046bb9ccd56ac5e97c638bb4a9ca856d3d36026a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>validators: T4795: migrate fqdn python validator to validate-value</title>
<updated>2022-11-03T19:58:56+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-11-03T19:58:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d4cb20e1cef23ba3adec543536ef5dfdf143d392'/>
<id>urn:sha1:d4cb20e1cef23ba3adec543536ef5dfdf143d392</id>
<content type='text'>
</content>
</entry>
<entry>
<title>validators: T4795: migrate mac-address python validator to validate-value</title>
<updated>2022-11-03T17:04:12+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-11-03T16:47:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=3f5464d0ee857d204dc58867065380340008f79b'/>
<id>urn:sha1:3f5464d0ee857d204dc58867065380340008f79b</id>
<content type='text'>
Instead of spawning the Python interpreter for every mac-address to
validate, rather use the base validate-value OCaml implementation which
is much faster.

This removes redundant code and also makes the CLI more responsive.

Validator is moved out to a dedicated file instead of using XML inlined &lt;regex&gt;
for the reason of re-usability. So if that regex needs to be touched again - it
can all happen in one single file.
</content>
</entry>
</feed>
