<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/conf_mode/policy-local-route.py, branch feature/T9082-codeql-cpp</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=feature%2FT9082-codeql-cpp</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=feature%2FT9082-codeql-cpp'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2023-12-31T22:49:48+00:00</updated>
<entry>
<title>T5474: establish common file name pattern for XML conf mode commands</title>
<updated>2023-12-31T22:49:48+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-12-30T22:25:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=4ef110fd2c501b718344c72d495ad7e16d2bd465'/>
<id>urn:sha1:4ef110fd2c501b718344c72d495ad7e16d2bd465</id>
<content type='text'>
We will use _ as CLI level divider. The XML definition filename and also
the Python helper should match the CLI node.

Example:
set interfaces ethernet -&gt; interfaces_ethernet.xml.in
set interfaces bond -&gt; interfaces_bond.xml.in
set service dhcp-server -&gt; service_dhcp-server-xml.in
</content>
</entry>
<entry>
<title>T5165: Implement policy local-route source and destination port</title>
<updated>2023-10-06T09:18:35+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-10-06T09:18:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=ff43733074675b94ce4ead83fe63870b6cf953c5'/>
<id>urn:sha1:ff43733074675b94ce4ead83fe63870b6cf953c5</id>
<content type='text'>
Add `policy local-route` source and destination port

set policy local-route rule 23 destination port '222'
set policy local-route rule 23 protocol 'tcp'
set policy local-route rule 23 set table '123'
set policy local-route rule 23 source port '8888'

% ip rule show prio 23
23:	from all ipproto tcp sport 8888 dport 222 lookup 123
</content>
</entry>
<entry>
<title>T5165: Migrate policy local-route rule x destination to address</title>
<updated>2023-09-29T15:56:40+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-09-29T15:56:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=9f7a5f79200782f7849cab72f55a39dedf45f214'/>
<id>urn:sha1:9f7a5f79200782f7849cab72f55a39dedf45f214</id>
<content type='text'>
Migrate policy local-route &lt;destination|source&gt; to node address

replace 'policy local-route{v6} rule &lt;tag&gt; destination|source &lt;x.x.x.x&gt;'
     =&gt; 'policy local-route{v6} rule &lt;tag&gt; destination|source address &lt;x.x.x.x&gt;'
</content>
</entry>
<entry>
<title>T5165: Add option protocol for policy local-route</title>
<updated>2023-09-27T16:19:30+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-09-27T14:05:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=96b8b38a3c17aa08fa964eef9141cf89f1c1d442'/>
<id>urn:sha1:96b8b38a3c17aa08fa964eef9141cf89f1c1d442</id>
<content type='text'>
Add option `protocol` for policy local-route

set policy local-route rule 100 destination '192.0.2.12'
set policy local-route rule 100 protocol 'tcp'
set policy local-route rule 100 set table '100'
</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: T4151: Delete unexpected print added in commit c501ae0f</title>
<updated>2022-02-04T08:45:18+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2022-02-04T08:45:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=5444eeda0fab496da5bef7b233c443ba79b100ee'/>
<id>urn:sha1:5444eeda0fab496da5bef7b233c443ba79b100ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>policy: T4219: add local-route(6) incoming-interface</title>
<updated>2022-01-30T17:05:58+00:00</updated>
<author>
<name>Henning Surmeier</name>
<email>me@hensur.de</email>
</author>
<published>2022-01-28T22:55:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c6c562eca6ff469f603697f7f1d9319b2a5504a3'/>
<id>urn:sha1:c6c562eca6ff469f603697f7f1d9319b2a5504a3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>policy: T4151: remove all previous rules on edit</title>
<updated>2022-01-28T16:28:32+00:00</updated>
<author>
<name>Henning Surmeier</name>
<email>me@hensur.de</email>
</author>
<published>2022-01-28T16:28:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c501ae0fdc5de3c24c998891f78c8bb05ffb35c7'/>
<id>urn:sha1:c501ae0fdc5de3c24c998891f78c8bb05ffb35c7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>policy: T4151: Bugfix policy ipv6-local-route</title>
<updated>2022-01-21T12:27:18+00:00</updated>
<author>
<name>Henning Surmeier</name>
<email>me@hensur.de</email>
</author>
<published>2022-01-21T12:27:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=2e4bceee568d4f132d0667a3ca51d05154f375d5'/>
<id>urn:sha1:2e4bceee568d4f132d0667a3ca51d05154f375d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>policy: T4151: Add policy ipv6-local-route</title>
<updated>2022-01-13T23:34:40+00:00</updated>
<author>
<name>Henning Surmeier</name>
<email>me@hensur.de</email>
</author>
<published>2022-01-08T11:44:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=0d4079ca3a3de889d521ed66218bd0015daf042d'/>
<id>urn:sha1:0d4079ca3a3de889d521ed66218bd0015daf042d</id>
<content type='text'>
Adds support for `ip -6 rule` policy based routing.
Also, extends the existing ipv4 implemenation with a
`destination` key, which is translated as
`ip rule add to x.x.x.x/x` rules.

https://phabricator.vyos.net/T4151
</content>
</entry>
</feed>
