core-extra/daemon/core/configservices/utilservices/templates
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
..
etc Fix templating error in radvd.conf 2023-07-28 16:03:49 +02:00
var/www daemon: update config service files to use paths for retrieving templates and generating files in the same consistent way 2022-02-03 14:28:56 -08:00
defaultmroute.sh added several nrl services updated to config service format 2020-01-22 22:10:30 -08:00
defaultroute.sh improve default route service to detect connected routers and use the addresses of the first one found 2020-04-02 15:12:07 -07:00
ipforward.sh docs: adjustments for tutorial 1 to working order 2023-06-05 13:07:59 -07:00
pcap.sh services: fixed pcap service not properly backgrounding command to avoid blocking 2023-07-15 10:27:41 -07:00
startatd.sh added several nrl services updated to config service format 2020-01-22 22:10:30 -08:00
startdhcpclient.sh added several nrl services updated to config service format 2020-01-22 22:10:30 -08:00
startsshd.sh added several nrl services updated to config service format 2020-01-22 22:10:30 -08:00
staticroute.sh added several nrl services updated to config service format 2020-01-22 22:10:30 -08:00
vsftpd.conf added several nrl services updated to config service format 2020-01-22 22:10:30 -08:00