<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/services/vyos-configd, branch pr-template</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=pr-template</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=pr-template'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2024-12-18T21:40:05+00:00</updated>
<entry>
<title>frrender: T6746: move get_frrender_dict from vyos.configdict to this module</title>
<updated>2024-12-18T21:40:05+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-12-18T18:25:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=77628e49379066e07b4046a00007187263e7206b'/>
<id>urn:sha1:77628e49379066e07b4046a00007187263e7206b</id>
<content type='text'>
Keep all FRRender stuff in one place.
</content>
</entry>
<entry>
<title>vyos-configd: T6746: render resulting FRR configuration only once</title>
<updated>2024-12-18T18:17:33+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-12-18T18:17:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=75de2fa91c7d727eef9d38d045e0e04fba218695'/>
<id>urn:sha1:75de2fa91c7d727eef9d38d045e0e04fba218695</id>
<content type='text'>
Previously the FRR configuration was rendered via Jinja2 on every call to
get_frrendet_dict() - but it was used/applied only once.

We save the CPU cycles and render the FRR configuration only once prior to
applying it in FRR.
</content>
</entry>
<entry>
<title>configd: T6746: handle FRR config reload as last step in commit</title>
<updated>2024-12-16T21:24:50+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-12-11T19:14:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=55683a8406e17408021437cb35b57c48bd8b2ab1'/>
<id>urn:sha1:55683a8406e17408021437cb35b57c48bd8b2ab1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>frr: T6746: integrate FRRender class into vyos-configd</title>
<updated>2024-12-16T21:24:50+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-12-08T15:33:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=779f311e7fe81e3c85de28f13e4e12e33b255483'/>
<id>urn:sha1:779f311e7fe81e3c85de28f13e4e12e33b255483</id>
<content type='text'>
When running under vyos-configd only a single apply() is done as last step in
the commit algorithm. FRRender class address is provided via an attribute from
vyos-configd process.
</content>
</entry>
<entry>
<title>configd: T6899: use multipart message instead of extra exchange</title>
<updated>2024-11-19T12:46:09+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-11-18T21:37:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=f38a402f158dad178165e330f292393278705281'/>
<id>urn:sha1:f38a402f158dad178165e330f292393278705281</id>
<content type='text'>
</content>
</entry>
<entry>
<title>configd: T6608: report uncaught config script exceptions as commit error</title>
<updated>2024-09-22T14:19:57+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-09-21T01:46:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=5034db86b8c43846475e9876116e55a189fe7d06'/>
<id>urn:sha1:5034db86b8c43846475e9876116e55a189fe7d06</id>
<content type='text'>
In the case of config mode script exceptions other than ConfigError,
vyos-configd would previously trigger the shim to re-run the script in
the CLI context. The use of config dependencies require this case to
return a commit error. A traceback is returned as output, consistent
with running without vyos-configd support.
</content>
</entry>
<entry>
<title>http-api: T6326: return full warning/error output through api</title>
<updated>2024-09-20T16:35:30+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-09-19T17:27:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=8e902ffa7019d2e2c0849af6fd26461ca4abba16'/>
<id>urn:sha1:8e902ffa7019d2e2c0849af6fd26461ca4abba16</id>
<content type='text'>
Configuration error output is not returned in full to the http-api when
running under vyos-configd, due to an early implementation 'workaround'
of vyos-configd writing directly to the session tty. This is corrected
to return all ambient stdout (notably vyos.base.Warning) and error
messages directly to the originating caller, which may be from a session
tty or a ConfigSession instance. As the http-api runs in the latter
case, the full output is returned.
</content>
</entry>
<entry>
<title>configd: T6671: track scripts proposed and scripts called</title>
<updated>2024-08-25T22:20:54+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-08-22T15:44:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d4b6bed84e5ac4214f2eae0e6ee7c1f4e0852222'/>
<id>urn:sha1:d4b6bed84e5ac4214f2eae0e6ee7c1f4e0852222</id>
<content type='text'>
</content>
</entry>
<entry>
<title>configd: T6633: inject missing env vars for configfs utility</title>
<updated>2024-08-12T20:20:15+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-07-30T13:27:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=a9024f302fd9657a0e6ef274cfc1dedccaf9d1a3'/>
<id>urn:sha1:a9024f302fd9657a0e6ef274cfc1dedccaf9d1a3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>configd: T6640: enforce in_session returns False under configd</title>
<updated>2024-08-07T13:28:56+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-08-07T01:21:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=6543f444c42ff45e8115366256643186bf1dd567'/>
<id>urn:sha1:6543f444c42ff45e8115366256643186bf1dd567</id>
<content type='text'>
The CStore in_session check is a false positive outside of a config
session if a specific environment variable is set with an existing
referent in unionfs. To allow extensions when running under configd and
avoid confusion, enforce in_session returns False.
</content>
</entry>
</feed>
