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

109 commits

Author SHA1 Message Date
e243dce812 node: fix invalid assertion in node_type() 2018-07-16 20:26:23 +02:00
688b0849bf move node_type() implementation to source file 2018-07-16 14:42:23 +02:00
77f3033007 log: remove indention feature complete for better compatability with new C++ logger 2018-07-16 14:42:11 +02:00
5edea6a09b use more assertions to check node state machine 2018-07-16 11:00:15 +02:00
81a2fde6a1 use new node_type() function 2018-07-16 11:00:15 +02:00
Dennis Potter
51c26c0bb1 Merge branch 'node-read-write-interface' into develop 2018-07-11 23:03:59 +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
Sonja Kolen
a2d33154d0 Merge branch 'develop' of git.rwth-aachen.de:acs/public/villas/VILLASnode into develop 2018-07-09 12:59:24 +02:00
Sonja Kolen
eb2941ea95 node: pass return value of vt->destroy 2018-07-09 12:55:36 +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
Dennis Potter
1bdd0a9e34 node_stop can be called if node is STARTED or CONNECTED 2018-07-07 15:24:48 +02:00
4d09482fdb Merge branch 'infiniband' into develop
# Conflicts:
#	Makefile
#	Makefile.config
#	Makefile.help
#	lib/Makefile.villas-ext.inc
#	lib/Makefile.villas.inc
#	lib/memory.c
#	lib/nodes/Makefile.inc
2018-07-04 16:50:36 +02:00
92e4b61e2e add assertion to check that the node-type has been started before starting the node 2018-07-04 16:38:06 +02:00
bb70be0b2c memory: refactored memory subsystem 2018-07-02 15:57:56 +02:00
93750a2bcd Merge branch 'develop' into infiniband-memory 2018-07-02 13:09:24 +02:00
b9f463ebee node: extend struct node_type with a new function pointer for checking node configuration 2018-07-02 10:59:45 +02:00
Dennis Potter
c70dbe2263 Resolved memory_ib related compile and link errors 2018-06-30 18:20:30 +02:00
9ecdb54832 node: add new function node_memtype() to get node specific memory allocators 2018-06-29 17:32:07 +02:00
98a4e52b47 node: do not create config section in/out if not existant 2018-06-15 14:36:00 +02:00
c8ba97d94e node: disable directions by default, enable them if config section in/out is available 2018-06-15 14:33:22 +02:00
f0414a3e9a improve parsing of node_direction 2018-06-12 20:45:03 +02:00
6a7821467a node: inherit certain configuration settings for directions 2018-05-26 01:10:33 +02:00
a535ec5abc node: separated node configuratio for send / receive side 2018-05-24 09:04:41 +02:00
5bc1831cc4 node: improve logging 2018-05-23 02:25:27 +02:00
a520e00a12 generalize: *_type_lookup() as wrappers around plugin_lookup() 2018-05-13 13:52:02 +02:00
4f1aab1da8 rename setting 'no_builtin' to 'builtin' to avoid double negation 2018-04-19 15:43:57 +02:00
d5cc633f0f node: fix assert because of uninitialized list 2018-03-26 14:33:20 +02:00
5d7999b3f5 added new signal metadata class 2018-03-21 16:59:35 +01:00
f4b222d322 fix compiler error 2018-02-17 11:18:26 +01:00
088194eb29 Merge tag 'v0.6.0' into develop 2018-02-17 09:39:45 +01:00
e5afb8ec48 fix several build system related issues 2018-02-06 23:29:54 +01:00
c69d307bc9 improve Makefiles:
- moved all build-time options to Makefile.config
- build VILLASnode without hook support
- build VILLASnode without web & API support
- build VILLASnode without IO format support
- build VILLASnode without external plugins
2018-02-04 16:45:32 +01:00
0017d1bcb1 refactor: change include prefix 2018-02-04 16:40:52 +01:00
759fb0072e node: add new option to skip loading of default hooks 2017-12-20 20:50:24 +01:00
702dc34052 c++: add proper casts from void * 2017-10-20 11:54:00 +02:00
1b37013802 fix bug which makes paths with multiple destination nodes unusable 2017-09-18 22:56:40 +02:00
5e620942ce adding new field "flags" to struct sample 2017-09-16 15:04:59 +02:00
6d495c1a35 add new bitmask to samples to indicate which fields are valid 2017-09-04 14:28:55 +02:00
375287cd52 stats: refactor stats_send hook into a new node-type 2017-09-03 10:54:11 +02:00
526be78ca5 hook: from now on both paths and nodes can have hooks! 2017-09-02 14:27:58 +02:00
415cd0de09 refactor: whitespace changes only 2017-09-02 14:20:38 +02:00
e7da1e0a0e properly initialise default value of node samplelen 2017-08-31 09:43:50 +02:00
382161b00b mapping: move parser from node.c to mapping.c 2017-08-31 09:43:49 +02:00
e7666be1ef move 'samplelen' setting from per path to per node configuration 2017-08-31 09:31:19 +02:00
b39a02732c mapping: properly initialize mapping_entry::offset and mapping_entry:length 2017-08-30 23:52:48 +02:00
f9324000fa add new functions to retrieve file descriptors from nodes, io formats and tasks 2017-08-30 00:22:58 +02:00
a5cd67af79 add new samplelen field to node 2017-08-28 14:36:16 +02:00
7cedb0edcd mapping: replace struct mapping with a struct list 2017-08-28 14:35:50 +02:00
10faca42d8 fix initialization of _name members 2017-08-27 18:01:12 +02:00