<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/interface-definitions/system-ip.xml.in, 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>system-ip: T5449: add TCP MSS probing options</title>
<updated>2023-08-17T15:30:00+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2023-08-08T19:28:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=6e1333d1e71651e9822ef74d989b928df313ea6e'/>
<id>urn:sha1:6e1333d1e71651e9822ef74d989b928df313ea6e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5150: initial implementation of new Kernel/Zebra route-map support</title>
<updated>2023-04-13T07:01:31+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-04-08T20:09:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=3f4de1390d6459cdd17dd1b6f22b1a3aec002671'/>
<id>urn:sha1:3f4de1390d6459cdd17dd1b6f22b1a3aec002671</id>
<content type='text'>
It is possible to install a route-map which filters the routes between routing
daemons and the OS kernel (zebra)

As of now this can be done by e.g.
* set protocols ospf route-map foo
* set protocols ospfv3 route-map foo
* set protocols bgp route-map foo

Which in turn will install the following lines into FRR
* ip protocol ospf route-map foo
* ipv6 protocol ospf6 route-map foo
* ip protocol bgp route-map foo

The current state of the VyOS CLI is incomplete as there is no way to:
* Install a filter for BGP IPv6 routes
* Install a filter for static routes
* Install a filter for connected routes

Thus the CLI should be redesigned to close match what FRR does for both the
default and any other VRF

* set system ip protocol ospf route-map foo
* set system ipv6 protocol ospfv3 route-map foo
* set system ip protocol bgp route-map foo
* set system ipv6 protocol bgp route-map foo

The configuration can be migrated accordingly. This commit does not come with
the migrator, it will be comitted later.
</content>
</entry>
<entry>
<title>ip: T4517: drop forwarding from CLI "system ip disable-directed-broadcast-forwarding"</title>
<updated>2022-07-09T09:40:41+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-07-09T09:40:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=2fcbd6315077d0a9d8c5d261e768282485d31ce6'/>
<id>urn:sha1:2fcbd6315077d0a9d8c5d261e768282485d31ce6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ip: T4517: add option to enable directed broadcast forwarding</title>
<updated>2022-07-09T09:38:29+00:00</updated>
<author>
<name>Yuxiang Zhu</name>
<email>vfreex@gmail.com</email>
</author>
<published>2022-07-09T09:38:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=07a4920b17c3741b50ffcb596d4433b54f7e529e'/>
<id>urn:sha1:07a4920b17c3741b50ffcb596d4433b54f7e529e</id>
<content type='text'>
Directed broadcast is described in rfc1812#section-5.3.5.2 and rfc2644.

By default Linux kernel doesn't forward directed broadcast
packets unless both of `/proc/sys/net/ipv4/conf/all/bc_forwarding`
and `/proc/sys/net/ipv4/conf/$iface/bc_forwarding` are set to 1.</content>
</entry>
<entry>
<title>xml: T4319: use common building block for table-size CLI option</title>
<updated>2022-03-25T17:53:50+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-03-25T17:53:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=eaf4b60c9e7fa094d17b87b29bebaf81182ee7a1'/>
<id>urn:sha1:eaf4b60c9e7fa094d17b87b29bebaf81182ee7a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T4319: "system ip(v6)" must run before any interface operation</title>
<updated>2022-03-25T17:53:12+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-03-25T17:53:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=87ccafd06b897b63f847e6b47cf72b951b0ed223'/>
<id>urn:sha1:87ccafd06b897b63f847e6b47cf72b951b0ed223</id>
<content type='text'>
</content>
</entry>
<entry>
<title>scripts: T4269: node.def generator should automatically add default values</title>
<updated>2022-02-24T21:47:12+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-02-24T21:47:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=a68c9238111c6caee78bb28f8054b8f0cfa0e374'/>
<id>urn:sha1:a68c9238111c6caee78bb28f8054b8f0cfa0e374</id>
<content type='text'>
Since introducing the XML &lt;defaultValue&gt; node it was common, but redundant,
practice to also add a help string indicating which value would be used as
default if the node is unset.

This makes no sense b/c it's duplicated code/value/characters and prone to
error. The node.def scripts should be extended to automatically render the
appropriate default value into the CLI help string.

For e.g. SSH the current PoC renders:

$ cat templates-cfg/service/ssh/port/node.def
  multi:
  type: txt
  help: Port for SSH service (default: 22)
  val_help: u32:1-65535; Numeric IP port
  ...

Not all subsystems are already migrated to get_config_dict() and make use of
the defaults() call - those subsystems need to be migrated, first before the new
default is added to the CLI help.
</content>
</entry>
<entry>
<title>xml: T3488: when using regex one must use ^ and $ when checking string literals</title>
<updated>2021-04-20T19:01:59+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-04-20T19:01:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=85d0ae7b434a3ae9f3bd50ad7fee1fcd23b26a26'/>
<id>urn:sha1:85d0ae7b434a3ae9f3bd50ad7fee1fcd23b26a26</id>
<content type='text'>
</content>
</entry>
<entry>
<title>system: T3119: migrate "system ip" to get_config_dict() incl. smoketest</title>
<updated>2020-12-07T17:20:29+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-12-07T17:20:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=345db48254e2ba94680510d08e85c08d5a6dae37'/>
<id>urn:sha1:345db48254e2ba94680510d08e85c08d5a6dae37</id>
<content type='text'>
</content>
</entry>
</feed>
