Commit graph

3304 commits

Author SHA1 Message Date
bharnden
8da068159f
Merge pull request #805 from schrc3b6/develop
Fix templating error in radvd.conf
2023-08-01 08:43:50 -07:00
Blake Harnden
e3715e188c daemon: adjusted cmd utilities to support running different sets of commands for each node 2023-07-31 11:08:05 -07:00
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
Blake Harnden
2cb8ec2fb2 install: updates to centos dockerfiles 2023-07-25 16:00:59 -07:00
Blake Harnden
544ad9b638 install: updated dockerfile for repo based ubuntu install 2023-07-25 11:12:24 -07:00
Blake Harnden
648f5425b5 install: update pyyaml to 6.0.1 2023-07-25 10:53:08 -07:00
Blake Harnden
359f6940e1 install: fixed issue with dual pyyaml reqs 2023-07-25 10:40:30 -07:00
Blake Harnden
2547c61a7c install: update pyyaml to 5.4.1 2023-07-25 10:35:47 -07:00
Blake Harnden
f8f3f8169c docs: adjustment to install for docker 2023-07-25 10:17:53 -07:00
Blake Harnden
12c07e0175 services: fixed pcap service not properly backgrounding command to avoid blocking 2023-07-15 10:27:41 -07:00
Blake Harnden
d63aa03343 build: updated grpcio dependency versions to fix grpcio vulnerabilities 2023-07-07 08:57:45 -07:00
Blake Harnden
db89fbf066 updated and fixed formatting with proper version of python black 2023-06-13 21:49:50 -07:00
Blake Harnden
a80796ac72 daemon: added initial podman node support 2023-06-13 17:00:53 -07:00
Blake Harnden
c76bc2ee8a daemon: updates for docker nodes to read and use the environ file for the launched process for all nsenter commands 2023-06-12 16:30:02 -07:00
Blake Harnden
e60b0f0de1 daemon: fixed issue bringing back addresses with no broadcast on rj45 nodes 2023-06-12 10:00:38 -07:00
Blake Harnden
e0e4b05b7f gui/grpc: updated GetConfigServiceDefaults to require a session and node id, this will allow retrieving data with the context of the associated node 2023-06-08 20:40:49 -07:00
Blake Harnden
41e473eefc docs: updated gui docs to include notes on running commands within nodes and using xhost for gui applications 2023-06-08 15:42:50 -07:00
Blake Harnden
12d7a1ff2a gui: fixed issue allowing duplicate named hook scripts 2023-06-08 14:59:40 -07:00
Blake Harnden
cbc35b74f8 docs: updated formatting on tutorial files 2023-06-08 14:43:02 -07:00
Blake Harnden
81230edac3 daemon: updated utils.cmd to use returncode instead of wait(), removed redundant default encoding value for calls to decode/encode 2023-06-08 14:34:24 -07:00
Blake Harnden
94f070e0ff cleanup: fixed issue cleaning up device names with @ in them 2023-06-08 11:36:09 -07:00
Blake Harnden
d04f8d69d2 docs: adding tutorial 2 and 3 2023-06-07 17:48:49 -07:00
Blake Harnden
0339073868 docs: added tutorial 5 2023-06-06 15:06:41 -07:00
Blake Harnden
9d88eba1f5 docs: added tutorials overview and tutorial 6 2023-06-06 09:40:44 -07:00
Blake Harnden
0b1a44e9b2 docs: cleanup tutorial scripts 2023-06-05 14:22:08 -07:00
Blake Harnden
2176fcc5a3 docs: adding tutorial 7 2023-06-05 13:57:06 -07:00
Blake Harnden
c554983436 docs: adding tutorial 4 2023-06-05 13:27:34 -07:00
Blake Harnden
75a92f3a38 docs: adjustments for tutorial 1 to working order 2023-06-05 13:07:59 -07:00
Blake J. Harnden
580916f2f0 docs: adding tutorial 1 images 2023-06-05 11:26:14 -07:00
Blake J. Harnden
a5727e3355 docs: adding tutorial 1 2023-06-05 11:11:00 -07:00
Blake Harnden
01585b6ec5 docs: fixed example emane model code to properly load platform config 2023-05-01 08:40:48 -07:00
Blake Harnden
d2008b1e5a docs: improved navigation, fixed type for warning in emane/gpsd 2023-04-20 12:01:39 -07:00
Blake Harnden
374ddb677c github: fixed branch name 2023-04-18 12:21:36 -07:00
Blake Harnden
8281382bd6 github: adding workflow for generating documentation on push to master 2023-04-18 12:21:13 -07:00
bharnden
946d161c11
Merge pull request #787 from coreemu/enhancement/documentation
Enhancement/documentation
2023-04-18 12:12:57 -07:00
Blake Harnden
fac8cfae08 daemon: fixed issue with session data collect transition not properly stopping config services 2023-04-15 00:25:41 -07:00
Blake Harnden
4a02d4bed9 gui: improve type hinting for ShowVar.state() 2023-04-13 21:48:39 -07:00
Blake Harnden
18ac8d5620 daemon: updated formatting for frr changes 2023-04-13 21:25:49 -07:00
Blake Harnden
d9f2ca8491 Merge branch 'gsomlo-gls-frr-sbin-fedora' into develop 2023-04-13 21:21:12 -07:00
Blake Harnden
49049befc8 Merge branch 'gls-frr-sbin-fedora' of https://github.com/gsomlo/core into gsomlo-gls-frr-sbin-fedora 2023-04-13 21:20:35 -07:00
bharnden
32bcd0a345
Merge pull request #774 from laerling/develop
Fix pcap service: Missing parameter
2023-04-13 21:09:34 -07:00
Blake Harnden
899800b925 daemon/gui: coverted remaining usages of old string formatting to f strings 2023-04-13 16:43:09 -07:00
Blake Harnden
4dba1bbe32 gui: updated usage of .format to f strings and small code cleanup for colorpicker 2023-04-13 16:30:35 -07:00
Blake Harnden
e7351b594d gui: updated core.gui to not use deprecated type hinting 2023-04-13 15:53:16 -07:00
Blake Harnden
69f05a6712 daemon: updated top level core modules from using deprecated type hinting 2023-04-13 15:48:02 -07:00
Blake Harnden
921bfdf527 daemon: updated core.services to avoid using deprecated type hinting, also updated string formatting to f strings 2023-04-13 15:39:40 -07:00
Blake Harnden
7f58224f43 daemon: updated core.nodes to avoid using deprecated type hinting 2023-04-13 13:32:23 -07:00
Blake Harnden
f9505b3173 daemon: updated core.scripts and core.xml to avoid using deprecated type hinting 2023-04-13 13:27:22 -07:00
Blake Harnden
7ea950f8ec daemon: updated core.location and core.plugins to avoid using deprecated type hinting 2023-04-13 12:29:16 -07:00
Blake Harnden
8abf2561bf daemon: updated core.emulator to avoid using deprecated type hinting 2023-04-13 12:23:44 -07:00