mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
added missing example configurations to other node types
This commit is contained in:
parent
19fbd94e6f
commit
24435040e1
3 changed files with 38 additions and 2 deletions
|
@ -20,5 +20,13 @@ Every `gtfpga` node support the following special settings:
|
|||
|
||||
### Example
|
||||
|
||||
@todo Add excerpt from example.conf
|
||||
gtfpga_node = {
|
||||
type = "gtfpga",
|
||||
|
||||
### The following settings are specific to the gtfpga node-type!! ###
|
||||
|
||||
slot = "01:00.0", # The PCIe slot location (see first column in 'lspci' output)
|
||||
id = "1ab8:4005", # The PCIe vendor:device ID (see third column in 'lspci -n' output)
|
||||
|
||||
rate = 1
|
||||
}
|
||||
|
|
|
@ -15,6 +15,18 @@ Every `opal` node supports the following special settings:
|
|||
|
||||
#### `reply` *(boolean)*
|
||||
|
||||
### Example
|
||||
|
||||
opal_node = { # The server can be started as an Asynchronous process
|
||||
type = "opal", # from within an OPAL-RT model.
|
||||
|
||||
### The following settings are specific to the opal node-type!! ###
|
||||
|
||||
send_id = 1, # It's possible to have multiple send / recv Icons per model
|
||||
recv_id = 1, # Specify the ID here.
|
||||
reply = true
|
||||
}
|
||||
|
||||
## Arguments for OPAL-RT block
|
||||
|
||||
RT-LAB already provides a block to establish simple TCP/IP communication: ???
|
||||
|
|
|
@ -27,7 +27,23 @@ Every `socket` node supports the following special settings:
|
|||
|
||||
### Example
|
||||
|
||||
@todo Add excerpt from example.conf
|
||||
udp_node = { # The dictionary is indexed by the name of the node.
|
||||
type = "socket", # Type can be one of: socket, opal, file, gtfpga, ngsi
|
||||
# Start the server without arguments for a list of supported node types.
|
||||
|
||||
### The following settings are specific to the socket node-type!! ###
|
||||
|
||||
layer = "udp" # Layer can be one of:
|
||||
# udp Send / recv UDP packets
|
||||
# ip Send / recv IP packets
|
||||
# eth Send / recv raw Ethernet frames (IEEE802.3)
|
||||
|
||||
|
||||
local = "127.0.0.1:12001", # This node only received messages on this IP:Port pair
|
||||
remote = "127.0.0.1:12000" # This node sents outgoing messages to this IP:Port pair
|
||||
|
||||
combine = 30 # Receive and sent 30 samples per message (multiplexing).
|
||||
}
|
||||
|
||||
## Packet Format
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue