<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/conf_mode/interfaces-dummy.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>netns: T5241: simplify network namespace handling</title>
<updated>2023-09-05T17:36:07+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-09-03T13:20:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=6c32e17a75199f9acf9e2c33b3480fc27257622d'/>
<id>urn:sha1:6c32e17a75199f9acf9e2c33b3480fc27257622d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5241: Support netns for veth and dummy interfaces</title>
<updated>2023-06-03T00:32:36+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-05-30T09:04:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e9c9d1a1e4f1bf876892b6e58f7288d36180889f'/>
<id>urn:sha1:e9c9d1a1e4f1bf876892b6e58f7288d36180889f</id>
<content type='text'>
Add netns configuration for dummy and virtual-ethernet interfaces
Change Interface class to get/set data to netns
</content>
</entry>
<entry>
<title>vyos.configdict: T4391: enable get_interface_dict() ti be used with ConfigTreeQuery()</title>
<updated>2022-04-25T18:30:26+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-04-25T18:30:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=85d6c8f7c62f7a52fbae5d0eaddd1f8803bd8014'/>
<id>urn:sha1:85d6c8f7c62f7a52fbae5d0eaddd1f8803bd8014</id>
<content type='text'>
When VyOS is booting and an interface is brought up (PPPoE) which requires a
user callback script that is executed asynchronously when the interface is up
we can not use Config(). The problem is, Config() is not available when
the system starts and the initial commit is still processed.

We need to move to ConfigTreeQuery() which was build for this exact same
purpose. TO reduce side effects and also dependencies on the entire
vyos.configdict library the set_level()/get_level() calls got eliminated
from within the library. All calls to functions like:

* get_removed_vlans()
* is_node_changed()
* leaf_node_changed()
* is_mirror_intf()
* ...

Now require that the full config path to the node is passed.
</content>
</entry>
<entry>
<title>qos: T4284: support mirror and redirect on all interface types</title>
<updated>2022-04-07T07:44:35+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-03-23T09:07:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=37c6d9fae5172b0342f94212e6483b3aa8fcd673'/>
<id>urn:sha1:37c6d9fae5172b0342f94212e6483b3aa8fcd673</id>
<content type='text'>
</content>
</entry>
<entry>
<title>qos: T4284: initial XML interface definitions for rewrite</title>
<updated>2022-03-21T20:41:41+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-03-21T20:41:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=3584691b35f35e40a1bfc22c34da031141fd0dfa'/>
<id>urn:sha1:3584691b35f35e40a1bfc22c34da031141fd0dfa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dummy: T2241: minor code cleanup</title>
<updated>2021-05-28T17:11:19+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-05-28T17:11:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1f7db44a17b02a591d5ff9f64ee0717c697b8a5d'/>
<id>urn:sha1:1f7db44a17b02a591d5ff9f64ee0717c697b8a5d</id>
<content type='text'>
No need to call .keys() on a dict when searching for a key. Also drop the
unused "import os" call.
</content>
</entry>
<entry>
<title>configd: T2582: add scripts to include list for daemon</title>
<updated>2020-08-31T14:57:00+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2020-08-28T20:50:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=ad69fb36201ee0930b76d80f0869284e26846991'/>
<id>urn:sha1:ad69fb36201ee0930b76d80f0869284e26846991</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ifconfig: T2653: make ifname an optional argument to get_interface_dict()</title>
<updated>2020-07-25T15:30:12+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-07-24T22:39:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e70a304e36fc6456e16fea81ace4a0a5fd8bd1df'/>
<id>urn:sha1:e70a304e36fc6456e16fea81ace4a0a5fd8bd1df</id>
<content type='text'>
Further reduce the boiler-plate code to determine interface tag node or not.
It can be passed into get_interface_dict() if explicitly required - else it
is taken from the environment.
</content>
</entry>
<entry>
<title>interfaces: ifconfig: T2653: migrate to get_interface_dict() API</title>
<updated>2020-07-25T13:36:07+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-07-20T19:45:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c9ba8952ad7c373d633516933ddb97e178e339c8'/>
<id>urn:sha1:c9ba8952ad7c373d633516933ddb97e178e339c8</id>
<content type='text'>
After switching from raw parsing of the interface options to get_config_dict()
this utilizes another utility function which wraps get_config_dict() and adds
other common and reused parameters (like deleted or bridge member).

Overall this drops redundant code (again) and makes the rest more maintainable
as we only utilize a single function.
</content>
</entry>
</feed>
