core-extra/daemon
schrc3b6 722fbde7d0 Fix templating error in radvd.conf
When configuring radvd service an undefined object error is thrown.
The data function in RadvdService returns a dict with ifaces. The radvd
template however, expects a dict with a values key.

I changed the key in the template because "ifaces" is way more descriptive
than "values".

Original Error that is fixed:
Traceback (most recent call last):
  File "/opt/core/venv/lib/python3.9/site-packages/core/configservice/base.py", line 471, in render_template
    return self._render(template, data)
  File "/opt/core/venv/lib/python3.9/site-packages/core/configservice/base.py", line 439, in _render
    return template.render_unicode(
  File "/opt/core/venv/lib/python3.9/site-packages/mako/template.py", line 444, in render_unicode
    return runtime._render(
  File "/opt/core/venv/lib/python3.9/site-packages/mako/runtime.py", line 874, in _render
    _render_context(
  File "/opt/core/venv/lib/python3.9/site-packages/mako/runtime.py", line 916, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "/opt/core/venv/lib/python3.9/site-packages/mako/runtime.py", line 943, in _exec_template
    callable_(context, *args, **kwargs)
  File "/opt/core/venv/lib/python3.9/site-packages/core/configservices/utilservices/templates/etc/radvd/radvd.conf", line 2, in render_body
    % for ifname, prefixes in values:
TypeError: 'Undefined' object is not iterable
2023-07-28 16:03:49 +02:00
..
core Fix templating error in radvd.conf 2023-07-28 16:03:49 +02:00
doc daemon: removing python tlv related code and tests related to it 2022-03-08 14:18:47 -08:00
proto daemon: added initial podman node support 2023-06-13 17:00:53 -07:00
tests daemon: formatting changes related to updating the python black formatter 2023-02-03 15:53:44 -08:00
.pre-commit-config.yaml moved python black configuration to pyproject.toml and fixed bad exclude 2020-07-14 13:33:40 -07:00
Makefile.am install: updates to support building deb/rpm packages that contain python wheels and install core from a single file, updates to core to install scripts by way of python directly 2022-07-27 16:00:10 -07:00
poetry.lock install: update pyyaml to 6.0.1 2023-07-25 10:53:08 -07:00
pyproject.toml install: update pyyaml to 6.0.1 2023-07-25 10:53:08 -07:00
setup.cfg moved isort config from setup.cfg to pyproject.toml 2020-07-14 13:24:16 -07:00