b573644133
Remove obsolete SuperNode::getConfigUri()
...
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-27 19:19:27 +01:00
Niklas Eiling
49523a5076
fpga: remove std::filesystem and properly retrieve searchPath from
...
configPath
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-27 13:40:12 +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
Steffen Vogel
226ccecd19
Remove usage of std::filesystem
...
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-26 17:10:57 +01:00
Steffen Vogel
c1410ef8a8
Fix formatting using clang-format
...
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-14 10:09:52 +01:00
Steffen Vogel
9b3a33f31b
Remove unused C++20 include which breaks build on C++17 compilers
...
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-13 16:23:02 +01:00
Niklas Eiling
18aa0c8862
rework fpga node type
...
The various changes in fpga require a rewrite of the fpga node type.
To allow relative paths for the fpga config file, Config and SuperNode
had to be modified so they store the path of the main config file.
The syntax of the fpga node type configuration has changed - the example
config in etc has been modified accordingly.
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-08 11:19:51 +01:00
Philipp Jungkamp
b1e9407f83
packaging-nix: Update inputs
...
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-09-26 17:59:39 +02:00
Philipp Jungkamp
33cd6165df
Fix fmt 10.0.0 related formatting errors.
...
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-09-26 17:59:39 +02:00
Philipp Jungkamp
b70704f2d4
format-json: Include flags in serialization.
...
Include the SampleFlags::NEW_FRAME and NEW_SIMULATION flags in the
JSON serialization of samples.
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-09-19 19:07:22 +02:00
Philipp Jungkamp
043ff81eb5
Fix SampleFlags HAS_ALL and NEW_FRAME
...
SampleFlags::HAS_ALL was not including the NEW_* style flags.
The NEW_SIMULATION flag is now independent from the NEW_FRAME flag,
since the dependency made checking that flag unnecessarily difficult.
Checking a composite flag like this
if ((smp->flags & SampleFlags::NEW_SIMULATION) == SampleFlags::NEW_SIMULATION);
is more verbose than checking a simple flag like
if (smp->flags & SampleFlags::NEW_SIMULATION);
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-09-19 19:07:22 +02:00
Philipp Jungkamp
79077c9bb9
Add NEW_FRAME to SampleFlags
...
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-09-19 19:07:22 +02:00
Philipp Jungkamp
97b769a80d
Replace SampleFlags IS_FIRST/IS_LAST with NEW_SIMULATION
...
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-09-19 19:07:22 +02:00
Steffen Vogel
926ae841a8
Fix broken include due to auto-formatting
...
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-08 11:37:42 +02: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
82975ddaaa
Fixup whitespaces
...
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-07 11:16:04 +02:00
Steffen Vogel
45b6f602dc
Fix file header of queue.hpp
...
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-07 11:16:04 +02:00
Steffen Vogel
626e77557a
Apply suggestions from Philipps code review
...
Co-authored-by: Philipp Jungkamp <56401138+PJungkamp@users.noreply.github.com>
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-07 11:16:04 +02:00
bbb3cfe240
Remove more Doxygen-style comments
...
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-09-07 11:16:04 +02:00
68654f95f2
Add periods after file headers and fix email addresses
...
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-09-07 11:16:04 +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
78727be952
Use C++ style comments
...
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-07 11:16:04 +02:00
Steffen Vogel
4b433e20fd
Fix include order
...
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-08-30 13:32:55 +02:00
Steffen Vogel
932ee22472
modbus: Expose socket descriptor to netem emulation
...
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-08-30 13:32:55 +02:00
Philipp Jungkamp
5aacd5f49e
node-modbus: Add initial modbus support
...
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-08-23 16:29:53 +02:00
Philipp Jungkamp
82272fc7e6
api: web: Do proper shutdown if startup was interrupted
...
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-08-23 16:29:53 +02:00
Niklas Eiling
554515fe30
fix fpga node type to work with current fpga master
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-07-25 18:16:51 +02:00
Manuel Pitz
7b39c92b91
dumper: fix style for cppcheck
...
Signed-off-by: Manuel Pitz <manuel.pitz@eonerc.rwth-aachen.de>
2023-07-06 20:01:11 +02:00
Manuel Pitz
70d00ba774
dumper: add function for naming the socket
...
Signed-off-by: Manuel Pitz <manuel.pitz@eonerc.rwth-aachen.de>
2023-07-06 11:53:58 +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
7c32617ead
Remove unused includes
...
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-30 12:59:02 +02:00
Steffen Vogel
50b02df5fd
webrtc: Remove unused overload
...
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-30 11:53:29 +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
Philipp Jungkamp
f73efabd18
Adapt fpga node to changed uuid passing
...
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-30 11:30:05 +02:00
Steffen Vogel
cf5ef3927c
Remove more left-overs from Go node-type
...
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-30 10:55:48 +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
Steffen Vogel
d57a5d3306
Refactor parameter name for parse() from cfg to json
...
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-30 10:48:43 +02:00
Steffen Vogel
f409e05c35
Refactor naming of json_t variables
...
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-29 08:15:49 +02:00
Steffen Vogel
31eabd7b9d
webrtc: Refactor {to,from}JSON() to {to,from}Json()
...
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-29 08:15:05 +02:00
Steffen Vogel
294af6aaca
webrtc: Send signaling list
...
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-29 07:56:43 +02:00
Steffen Vogel
20dc83bee4
webrtc: Add peer option
...
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-29 07:56:43 +02:00
Steffen Vogel
94636e8b09
webrtc: Renamed signaling connection to peer
...
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-29 05:48:02 +00:00
Philipp Jungkamp
6985d92f6f
node-amqp: Handle moved include dir of rabbitmq-c
...
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-21 15:36:10 +02:00
Philipp Jungkamp
9d28079d24
node-redis: Work around breaking change in redis-plus-plus
...
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-21 11:48:04 +02:00
Steffen Vogel
43bab87be6
webrtc: Support signaling messages spread over multiple WebSocket fragments
...
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-20 17:38:46 +00:00
Philipp Jungkamp
ebeea91bc8
node-webrtc: remove dead code and comments
...
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-19 13:56:37 +02:00
Philipp Jungkamp
d94d668d34
node-webrtc: style fixes + authorship notes
...
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-19 12:12:33 +02:00
Philipp Jungkamp
ca85117674
node-webrtc: don't inherit from std::variant
...
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-19 10:46:28 +02:00
Philipp Jungkamp
43a5292fc1
node-webrtc: fix CI warnings
...
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-19 10:46:28 +02:00
Philipp Jungkamp
6760272a4b
node-webrtc: initial working transmission
...
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-16 16:27:54 +02:00