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

92 commits

Author SHA1 Message Date
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
baddec2228 fix a lot of small bugs 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
6411fc5ca7 warn about unused return values for *_{init,destroy}() functions 2020-09-10 17:41:29 +02:00
b467169d3c node: refactore constant for node name regex 2020-09-10 17:40:38 +02:00
1e73500c75 path: use internal loopback nodes to allow nodes to be used as sources by multiple paths 2020-09-10 17:40:37 +02:00
3c13f67930 refactor: struct node -> struct vnode 2020-09-10 17:40:36 +02:00
b552fbe47f node: use regex to check node name 2020-08-25 20:24:46 +02:00
2f29e30c33 add {node,path,hook_list}_to_json() 2020-08-25 20:24:18 +02:00
6f72bc832c api: expose output signals via API 2020-07-06 14:03:43 +02:00
2ed51e7e79 use new villas/common header 2020-06-08 03:39:44 +02:00
18ebd41249 node_type: fix refactoring mistake 2020-01-21 14:31:40 +01:00
e53661a62c update copyright year to 2020 2020-01-20 17:17:00 +01:00
6761ee21cc node: parse UUID from config or generate one based on config hash 2019-10-30 02:40:43 +01:00
995e4b5ec9 memory: use default value for memory type 2019-10-26 13:34:03 +02:00
f71643813f fix several minor bugs detected by valgrind 2019-06-26 20:18:44 +02:00
ef17ec19a2 refactor enums to class enums 2019-06-23 16:13:23 +02:00
c842914bc5 stats: port to C++ 2019-06-23 13:35:42 +02:00
8f974511fe remove extern "C" 2019-04-23 13:03:58 +02:00
3bab0c9c06 node, path: add getters for signals 2019-03-08 15:21:01 +01:00
7e5b4ac5ce refactor: add {node, path}_is_{enabled, reversed}() 2019-02-24 11:10:44 +01:00
e65ffc78dd node: add enabled setting 2019-02-24 11:08:15 +01:00
0acce9e375 node: separate node_direction 2019-02-24 11:07:07 +01:00
7798f09a35 inline *_type() functions 2019-02-24 11:06:24 +01:00
f851aacf3c refactor: rename signal_list_{init,destroy}() and node_list_parse() 2019-02-24 09:10:18 +01:00
78bcb67245 refactor: _init2() -> _prepare() 2019-02-24 09:06:48 +01:00
fac3feecda update comments 2019-02-17 22:25:56 +01:00
d0e52ad633 netem: set fwmark only on linux 2019-02-15 10:24:18 +01:00
4660f97834 netem: refactor mark -> fwmark 2019-02-15 10:24:09 +01:00
b0d497eee4 node: check for validity of node name 2019-02-12 17:54:08 +01:00
1740df596b separated in/out signal descriptors 2019-02-06 13:14:38 +01:00
4533e0ab12 netem: fix defines and includes 2019-01-21 22:14:41 +01:00
df42a2880c fix compiler errors about non-trivial designated initializers with GCC 7 2019-01-21 17:11:11 +01:00
8190227776 netem: move intialization of Netem support into node instead of socket class 2019-01-21 15:50:18 +01:00
d3ff9f2d41 node: allow nodes to have multiple filedescriptors 2019-01-21 15:47:34 +01:00
8f7c8ae71e update copyright year to 2019 2019-01-13 00:42:39 +01:00
d18d786801 refactor: list_* -> vlist_* 2019-01-07 10:28:55 +01:00
a088c116f0 node: added support for pause/resume and restart node instances 2018-11-23 21:00:18 +02:00
d35971c26c refactor: update copyright years 2018-08-20 18:40:03 +02:00
5707ee9d58 new signal declaration code 2018-08-20 18:31:27 +02:00
c7a01a1da6 hook: fix initialization 2018-08-17 12:40:03 +02:00
a8bda29430 node, hook: remove parse_cli() functions 2018-08-13 00:00:10 +02:00
b533cee9ad refactor: fix whitespaces 2018-08-13 00:00:09 +02:00
688b0849bf move node_type() implementation to source file 2018-07-16 14:42:23 +02:00
9116fda00b add node_type() function to get pointer to node_type of a node instance 2018-07-16 11:00:15 +02:00
Dennis Potter
72e627b327 Fixes #166, all node interfaces are modified
The functions now look like this

int node_read(struct node *n, struct sample *smps[], unsigned cnt, unsigned *release);
int node_write(struct node *n, struct sample *smps[], unsigned cnt, unsigned *release);

This commit enables nodes to control how many samples will
be released by the framework through *release
2018-07-11 18:14:29 +02:00
Dennis Potter
6150a36411 Changed all node_write() functions 2018-07-07 17:48:07 +02:00
Dennis Potter
4663f55e4b Changed all node_read() functions to support a *cnt instead of cnt 2018-07-07 17:07:45 +02:00