1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
Commit graph

73 commits

Author SHA1 Message Date
KeVteL
320e586fe7 Bugfix node.cpp
logic error

throws error if json_t *json is a json object
should throw an error if that *json weren't a valid json_object

Signed-off-by: KeVteL <61628757+KeVteL@users.noreply.github.com>
Signed-off-by: KeVteL <k-telaar@t-online.de>
Signed-off-by: Kevin Vu te Laar <vu.te@rwth-aachen.de>
2025-01-27 14:26:00 +01:00
Niklas Eiling
f25e1dd689 log: fix undefined intitialization order of static objects. fixes #799.
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-08-05 14:57:13 +02:00
Niklas Eiling
bda163e99b node: remove brackets on ternary operator
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-06-06 09:29:29 +02:00
Niklas Eiling
d992d2a923 node: avoid segfaults when signals are nullptr
This can be an issue if we use a node without SuperNode.

Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-06-06 09:29:29 +02:00
2529c7b2d7 Remove superfluous includes
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-04-10 18:56:28 +02:00
Steffen Vogel
f9ed272456 node: Fix null-pointer dereference for internal loopback nodes
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-03-12 23:20:09 +01:00
dc436073a2 Use spaces for indention of C++ comments
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 23:18:47 +01:00
Niklas Eiling
81ff679b41 node: add configPath member
we need the path of the config file in the nodes in case we want to
parse a separate sub-config with relative path names. This is required
for the fpga node type to parse the ips config file from Fpga::parse.

Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-27 13:40:12 +01:00
Niklas Eiling
f09e6e909b fix possible segfault due to non-functional range check with unsigned int
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-08 11:19:51 +01:00
Steffen Vogel
02a2aa4f94 Apply clang-format changes
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-08 11:37:42 +02:00
Steffen Vogel
0735eb0f89 Make project REUSE compliant
And various other cleanups and harmonizations

Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-07 11:16:04 +02:00
Steffen Vogel
352c5996db Fix buffer overflow in UUID handling
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-30 13:26:26 +02:00
Steffen Vogel
82ea02884d webrtc: Show provide status about the RTCPeerConnection via the REST API
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-30 11:53:29 +02:00
Steffen Vogel
7749a3a922 No not pass super-node UUID to Node::parse() any longer
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-30 10:51:01 +02:00
Manuel Pitz
1a01012e7c make compatible to fmt version 9.0.3
Signed-off-by: Manuel Pitz <manuel.pitz@eonerc.rwth-aachen.de>
2023-01-11 12:11:57 +01:00
7eec1bb753 update Steffens mail address
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-12-16 23:44:07 +01:00
b94746effb relicense VILLASnode to Apache 2.0 2022-07-04 18:23:57 +02:00
11a25f6fb7 update mail address 2022-03-15 09:29:20 -04:00
17ac92aa21 update copyright year 2022-03-15 09:28:57 -04:00
fa398a2cf7 go: finish Go node-type 2022-03-14 15:32:20 -04:00
a856f1801f node: minor cleanups 2022-03-07 08:37:14 -05:00
066febf06f node: allign getNetemFDs() to getPollFDs() 2022-03-07 08:37:10 -05:00
b98f455752 node: align Node::getPollFDs() with Node::getNetemFDs() 2022-03-07 08:08:29 -05:00
b402048082 add support for plugin sub-registries 2022-03-04 03:47:46 -05:00
d74db0a833 remove unused variable 2022-01-11 09:19:54 -05:00
784e970bfe port large parts of VILLASnode to C++ and fix tests alongside 2022-01-11 09:19:53 -05:00
f8f8405b05 state: use new C++ function stateToString() 2021-10-04 21:30:53 +02:00
c7d59e6011 use new cpp code-style in VILLAScommon 2021-09-19 19:26:03 +02:00
5e62b3a35f node: show full details of node when starting 2021-07-20 14:53:40 +00:00
32e016ebcb log: use spdlog custom formatters for basic VILLASnode types (closes #308) 2021-07-07 09:10:23 +00:00
9ae9ce4dae hook: add hook_list_check() 2021-07-07 10:41:54 +02:00
Manuel Pitz
599197a66f fix calculation of maximum number of signals in nodes/paths 2021-07-01 22:26:44 +02:00
9d7a6ab10f print signal count both before and after hooks 2021-06-24 10:35:41 +00:00
2d1e8d17ce use new NodeList and PathList in SuperNode 2021-06-21 16:12:47 -04:00
731909c3a8 ported io/format code to C++ 2021-06-17 08:26:46 -04:00
4f370ee1b2 drop legacy logger 2021-03-17 14:58:45 +00:00
42133b2882 miscelaneous fixes 2021-02-22 23:16:53 +01:00
Manuel Pitz
735a758d83 fix handling of path output signals 2021-02-15 15:14:00 +01:00
7708980e2d derive auto-generated uuid for nodes, paths and relay-sessions from instance uuid 2020-10-16 11:08:40 +02:00
1bd4d8b2d4 node/path: generate UUIDs using new util funcs 2020-10-16 09:25:23 +02:00
335440d8ad node: ensure unique UUID for simple websocket nodes 2020-10-15 12:53:00 +02:00
e3ce379c36 if: rewrote libnl / network if code to C++ and fixed if affinity (closes #233) 2020-09-13 11:11:46 +02:00
c7c513a5f6 ci: fix all remaining cppcheck warnings and errors 2020-09-11 15:15:36 +02:00
458cfe151c node: do not re-check node-type in node_parse() 2020-09-10 17:41:30 +02:00
9b5b7b6947 node: add struct vnode::{sources,destinations} 2020-09-10 17:41:30 +02:00
13b7b6cc2f node: make struct vnode::enabled a boolean 2020-09-10 17:41:29 +02:00
b467169d3c node: refactore constant for node name regex 2020-09-10 17:40:38 +02:00
f892e5e29f node: fix vecotrize feature (closes #274) 2020-09-10 17:40:38 +02:00
d8e2d6a2f9 node: simplify vectorize logic in node_{read,write}() 2020-09-10 17:40:37 +02:00
3c13f67930 refactor: struct node -> struct vnode 2020-09-10 17:40:36 +02:00