<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/helpers, branch vyos/1.5dev0</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.5dev0</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=vyos%2F1.5dev0'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2023-08-24T03:05:31+00:00</updated>
<entry>
<title>save-config: T4292: rewrite vyatta-save-config.pl to Python</title>
<updated>2023-08-24T03:05:31+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2023-08-24T03:05:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e4831c7ac93c50d80e0bad4b66c034030ad0bce9'/>
<id>urn:sha1:e4831c7ac93c50d80e0bad4b66c034030ad0bce9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5319: remove defaults workarounds in vyos-domain-resolver.py</title>
<updated>2023-08-11T03:30:58+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2023-08-11T03:30:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d64d3b179ce487aa6b442c397c4bb3bb1f572155'/>
<id>urn:sha1:d64d3b179ce487aa6b442c397c4bb3bb1f572155</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5195: vyos.util -&gt; vyos.utils package refactoring part #2</title>
<updated>2023-07-15T18:13:12+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-07-15T18:12:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=5f77ccf91eb402c548fc91b2e080a4b2b86f4181'/>
<id>urn:sha1:5f77ccf91eb402c548fc91b2e080a4b2b86f4181</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>T5195: move boot_* helpers to vyos.utils.boot</title>
<updated>2023-07-12T19:16:56+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-07-12T19:16:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=4e2a087cc7e91a510dd590f7cc761e36ac8f77f8'/>
<id>urn:sha1:4e2a087cc7e91a510dd590f7cc761e36ac8f77f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T775: Config-sync bracketize IPv6 secondary address</title>
<updated>2023-07-09T15:53:53+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-07-09T15:53:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=7802af3157ed1c6eee4913bbfd75351b1cccc5c5'/>
<id>urn:sha1:7802af3157ed1c6eee4913bbfd75351b1cccc5c5</id>
<content type='text'>
bracketize IPv6 remote address to avoid
Failed to parse: https://2001:db8::2/configure-section
</content>
</entry>
<entry>
<title>T775: Add service config-sync between 2 routers</title>
<updated>2023-06-30T11:59:42+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-06-14T13:36:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=a1f140c5a5eb18cb86465bc496349d093382dfef'/>
<id>urn:sha1:a1f140c5a5eb18cb86465bc496349d093382dfef</id>
<content type='text'>
Service config-sync allows synchronizing a section of
the configuration.
As PoC allow only nat, nat66 and firewall sections

Rertreive the configuration for a section from self node and
send this configuration to the section of the 'secondary' node.

This feature adds a symlink from helper 'vyos_config_sync.py'
to '/config/scripts/commit/post-hooks.d' and config that is
located in '/run/config_sync_conf.conf'
It will synchronyze the config only if the setcion
was changed.

set service config-sync secondary address 192.0.2.11
set service config-sync secondary key xxx
set service config-sync section nat
set service config-sync section nat66
set service config-sync section firewall
set service config-sync mode load
</content>
</entry>
<entry>
<title>T3472: Print warning when commit-confirm is run as regular user</title>
<updated>2023-06-09T14:19:00+00:00</updated>
<author>
<name>erkin</name>
<email>me@erkin.party</email>
</author>
<published>2023-06-09T14:19:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=fbcb22c1850c8371dffc2cf9dbda0fe83031df10'/>
<id>urn:sha1:fbcb22c1850c8371dffc2cf9dbda0fe83031df10</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T1237: Failover route add policy for targets checking</title>
<updated>2023-04-21T15:34:19+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-04-21T15:34:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=4ab192c7c9d47180560e5d97de23dd1627c8ce11'/>
<id>urn:sha1:4ab192c7c9d47180560e5d97de23dd1627c8ce11</id>
<content type='text'>
Add policy (any-available|all-available) for target checking for failover route

set protocols failover route 192.0.2.55/32 next-hop 192.168.122.1 check policy 'any-available'
set protocols failover route 192.0.2.55/32 next-hop 192.168.122.1 check target '192.168.122.1'
set protocols failover route 192.0.2.55/32 next-hop 192.168.122.1 check target '192.168.122.11'

It depends if we need that all targets must be alive on just one target.
</content>
</entry>
<entry>
<title>T1237: Failover route add checks for multiple targets</title>
<updated>2023-04-07T11:07:11+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-04-06T12:24:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1a402dd93974840e1039972276e8dbf1cf8694fe'/>
<id>urn:sha1:1a402dd93974840e1039972276e8dbf1cf8694fe</id>
<content type='text'>
There is only one target for checking ICMP/ARP
Extend it for checking multiple targets

set protocols failover route 192.0.2.55/32 next-hop 192.168.122.1 check target '203.0.113.1'
set protocols failover route 192.0.2.55/32 next-hop 192.168.122.1 check target '203.0.113.11'

The route will be installed only if all targets are 'alive'
</content>
</entry>
</feed>
