<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/helpers, branch sagitta</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=sagitta</id>
<link rel='self' href='https://git.amelek.net/marekm72/vyos-1x.git/atom?h=sagitta'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/'/>
<updated>2024-05-04T18:07:06+00:00</updated>
<entry>
<title>T6287: Config-sync add the ability to configure API port</title>
<updated>2024-05-04T18:07:06+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2024-05-01T06:48:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=57a29624bb8f544588f7d4a70b975610bb65b90c'/>
<id>urn:sha1:57a29624bb8f544588f7d4a70b975610bb65b90c</id>
<content type='text'>
Add the ability to configure the API port if the API on the secondary
server works on a non-default port.
The primary node will connect to configured port for config-sync

```
set service config-sync secondary address '192.0.2.11'
set service config-sync secondary port '8443'
```

(cherry picked from commit a7c3f202ffea7859463f204cccf526f7517321f6)
</content>
</entry>
<entry>
<title>config-sync: T6185: combine data for sections/configs in one command</title>
<updated>2024-05-03T18:32:07+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-03-28T19:34:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=bd8993540c6c1fc089943052aac51c9c318ffe6f'/>
<id>urn:sha1:bd8993540c6c1fc089943052aac51c9c318ffe6f</id>
<content type='text'>
Package path/section data in single command containing a tree (dict) of
section paths and the accompanying config data. This drops the call to
get_config_dict and the need for a list of commands in request.

(cherry picked from commit 30a530839cdbd934ea62369e385dc33fa50ab6de)
</content>
</entry>
<entry>
<title>xml: T6146: add utils and helper to provide priority data</title>
<updated>2024-05-03T18:27:20+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-03-20T15:54:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=b83b9c4492f8af8228363d2dad2e748d621e4da7'/>
<id>urn:sha1:b83b9c4492f8af8228363d2dad2e748d621e4da7</id>
<content type='text'>
(cherry picked from commit e915900bfec8d24276afb73599c94ab93f3c24ee)
</content>
</entry>
<entry>
<title>T6217: Conntrack-sync change the actual name of the script</title>
<updated>2024-04-23T15:55:22+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2024-04-23T12:17:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=580f49d82053a4137e53fe823cdd50a124cf781f'/>
<id>urn:sha1:580f49d82053a4137e53fe823cdd50a124cf781f</id>
<content type='text'>
The actual name of the script is `vyos-vrrp-conntracksync.sh`

(cherry picked from commit 7efe245f59bbea9f12d0c7c5a8975380efc6f2d5)
</content>
</entry>
<entry>
<title>T5722: Failover route add option onlink</title>
<updated>2024-04-16T15:10:13+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2024-04-15T15:17:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=6cace2df99c700dfaafe0d414257e4c3a9061771'/>
<id>urn:sha1:6cace2df99c700dfaafe0d414257e4c3a9061771</id>
<content type='text'>
onlink pretend that the nexthop is directly attached to this link,
even if it does not match any interface prefix.

Useful when gateway not in the same interface network

set interfaces ethernet eth0 vif 10 address '10.20.30.1/32'
set protocols static route 10.20.30.0/32 interface eth0.10
set protocols failover route 192.0.2.11/32 next-hop 10.20.30.0 onlink

```
vyos@r4# sudo ip route add 192.0.2.111/32 via 10.20.30.0 dev eth0.10 metric 1 proto failover
Error: Nexthop has invalid gateway.
[edit]
vyos@r4#
[edit]
vyos@r4# sudo ip route add 192.0.2.111/32 via 10.20.30.0 dev eth0.10 onlink metric 1 proto failover
[edit]
vyos@r4#
```

(cherry picked from commit bb832acb97881d747a57da2728eab3ad138b8129)
</content>
</entry>
<entry>
<title>T6199: remove unused Python imports from migration scripts</title>
<updated>2024-04-06T08:58:33+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/marekm72/vyos-1x.git/commit/?id=289c5ea60c8087b30952df22cdfe210ed0a5808c'/>
<id>urn:sha1:289c5ea60c8087b30952df22cdfe210ed0a5808c</id>
<content type='text'>
(cherry picked from commit 489e6fababa60d9c0fbfdb421305cbe563432499)

# Conflicts:
#	src/migration-scripts/dhcp-server/9-to-10
#	src/migration-scripts/dhcpv6-server/3-to-4
</content>
</entry>
<entry>
<title>T6199: drop unused Python imports</title>
<updated>2024-04-03T19:02:47+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-04-02T22:15:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=3ea68d648581a20797b9e1b4438299a057a1820d'/>
<id>urn:sha1:3ea68d648581a20797b9e1b4438299a057a1820d</id>
<content type='text'>
found using "git ls-files *.py | xargs pylint | grep W0611"

(cherry picked from commit 274b2da242acd1f1f64ff1dee471e34295137c5f)
</content>
</entry>
<entry>
<title>firewall: T970: always use full nft command name (e.g. --file over -f)</title>
<updated>2024-04-02T16:33:04+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-04-01T19:51:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=9ff1172aedc2d98c1050851ebea248f056cc2a1d'/>
<id>urn:sha1:9ff1172aedc2d98c1050851ebea248f056cc2a1d</id>
<content type='text'>
(cherry picked from commit f1c51884fb62d3917e92af51d4219e291c7a8e74)
</content>
</entry>
<entry>
<title>config-sync: T6145: batch section requests for commit by priority</title>
<updated>2024-03-25T00:06:50+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-03-22T20:06:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=036aa1fe8f2037725c082b8fc2597ffc52539d16'/>
<id>urn:sha1:036aa1fe8f2037725c082b8fc2597ffc52539d16</id>
<content type='text'>
(cherry picked from commit 50e9364575481335520f50dac834c74ef02ccfab)
</content>
</entry>
<entry>
<title>T6121: Extend service config-sync to new sections</title>
<updated>2024-03-18T10:22:28+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2024-03-14T13:32:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=84314fc310eb0b414c4060a6daeba1765af0cfa8'/>
<id>urn:sha1:84314fc310eb0b414c4060a6daeba1765af0cfa8</id>
<content type='text'>
Extend `service config-sync` with new sections:
 - LeafNodes: pki, policy, vpn, vrf (syncs the whole sections)
 - Nodes: interfaces, protocols, service (syncs subsections)

In this cae the Node allows to uses the next level section
i.e subsection

For example any of the subsection of the node `interfaces`:
  - set service config-sync section interfaces pseudo-ethernet
  - set service config-sync section interfaces virtual-ethernet

Example of the config:
```
set service config-sync mode 'load'
set service config-sync secondary address '192.0.2.1'
set service config-sync secondary key 'xxx'
set service config-sync section firewall
set service config-sync section interfaces pseudo-ethernet
set service config-sync section interfaces virtual-ethernet
set service config-sync section nat
set service config-sync section nat66
set service config-sync section protocols static
set service config-sync section pki
set service config-sync section vrf
```

(cherry picked from commit 25b611f504521181f85cb4460bfdfd702c377b5e)
</content>
</entry>
</feed>
