1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-23 00:00:01 +01:00
VILLASnode/doc/Usage.md

56 lines
2 KiB
Markdown
Raw Normal View History

2015-08-09 23:58:03 +02:00
# Usage {#usage}
2017-04-09 16:18:03 +02:00
# `villas signal`
2017-03-13 00:03:36 -03:00
2017-04-09 16:18:03 +02:00
# `villas pipe`
# `villas hook`
2017-03-13 00:03:36 -03:00
2017-04-09 16:18:03 +02:00
## `villas node`
2017-03-13 00:03:36 -03:00
2017-04-09 16:18:03 +02:00
The core of VILLASnode is the `villas-node` daemon.
The folling usage information is provided when called like `villas-node --help`;
2017-03-13 00:03:36 -03:00
2017-04-09 16:18:03 +02:00
```
Usage: villas-node [CONFIG]
CONFIG is the path to an optional configuration file
if omitted, VILLASnode will start without a configuration
and wait for provisioning over the web interface.
Supported node types:
- file : support for file log / replay node type
- cbuilder : RTDS CBuilder model
- socket : BSD network sockets
- fpga : VILLASfpga PCIe card (libxil)
- ngsi : OMA Next Generation Services Interface 10 (libcurl, libjansson)
- websocket : Send and receive samples of a WebSocket connection (libwebsockets)
Supported hooks:
- restart : Call restart hooks for current path
- print : Print the message to stdout
- decimate : Downsamping by integer factor
- fix_ts : Update timestamps of sample if not set
- skip_first : Skip the first samples
- drop : Drop messages with reordered sequence numbers
- convert : Convert message from / to floating-point / integer
- shift : Shift the origin timestamp of samples
- ts : Update timestamp of message with current time
- stats : Collect statistics for the current path
- stats_send : Send path statistics to another node
Supported API commands:
- nodes : retrieve list of all known nodes
- config : retrieve current VILLASnode configuration
- reload : restart VILLASnode with new configuration
VILLASnode v0.7-0.2-646-g59756e7-dirty-debug (built on Mar 12 2017 21:37:40)
copyright 2014-2016, Institute for Automation of Complex Power Systems, EONERC
Steffen Vogel <StVogel@eonerc.rwth-aachen.de>
```
The server requires root privileges for:
2015-12-11 19:20:50 +01:00
- Enable the realtime FIFO scheduler
- Increase the task priority
- Configure the network emulator (netem)
2017-04-09 16:18:03 +02:00
- Change the SMP affinity of threads and network interrupts