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

127 commits

Author SHA1 Message Date
350112db1c node: call init functions for node_tyles 2018-09-25 19:18:46 +02:00
Sonja Kolen
6cc4f6b8ea node: fixed unused variable to build with disabled hooks 2018-08-22 16:41:26 +02:00
df3b02b55f fix smaller merge errors 2018-08-20 18:57:54 +02:00
52492d47d1 Merge branch 'develop' of git.rwth-aachen.de:acs/public/villas/VILLASnode into develop 2018-08-20 18:40:46 +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
f693b2ffe3 fixup hook init 2018-08-17 12:52:31 +02:00
c7a01a1da6 hook: fix initialization 2018-08-17 12:40:03 +02:00
99ee9a08b7 hooks: simplifying hooks system by consolidating read, write, and processing into a single process callback 2018-08-17 11:15:51 +02:00
77850451b4 hooks: add new builtin "fix" hook which adds missing fields to samples 2018-08-17 10:51:33 +02:00
Dennis Potter
d742364637 Added STATE_PENDING_CONNECT 2018-08-13 14:50:49 +02:00
c2679fa1a4 fixup villas-pipe infiniband 2018-08-13 00:00:10 +02:00
9bbb1874ca refactor: print node and path names uniformly 2018-08-13 00:00:10 +02:00
a8bda29430 node, hook: remove parse_cli() functions 2018-08-13 00:00:10 +02:00
7c939ba1e5 sample: remove source field 2018-08-12 23:59:15 +02:00
32de7761fe refactor:
- DEFAULT_SAMPLELEN -> DEFAULT_SAMPLE_LENGTH
- DEFAULT_QUEUELEN -> DEFAULT_QUEUE_LENGTH
2018-08-12 23:59:15 +02:00
Dennis Potter
6b93b8839e Changed debug flag in node.c from LOG_NODES to LOG_NODE
Fixes #184.
2018-07-24 10:42:35 +02:00
Dennis Potter
84f85e137d Added STATE_CONNECTED as valid state for node_read() & node_write() 2018-07-19 14:55:07 +02:00
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