mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-16 00:00:02 +01:00
37 lines
No EOL
1 KiB
Text
37 lines
No EOL
1 KiB
Text
# Example configuration file for VILLASnode
|
|
#
|
|
# This example includes all valid configuration options for the server.
|
|
# Please note, that using all options at the same time does not really
|
|
# makes sense. The purpose of this example is to serve as a reference.
|
|
#
|
|
# The syntax of this file is similar to JSON.
|
|
# A detailed description of the format can be found here:
|
|
# http://www.hyperrealm.com/libconfig/libconfig_manual.html#Configuration-Files
|
|
#
|
|
# Author: Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
|
|
# Copyright: 2016, Institute for Automation of Complex Power Systems, EONERC
|
|
##
|
|
|
|
|
|
name = "villas-acs" # The name of this VILLASnode. Might by used by node-types
|
|
# to identify themselves (default is the hostname).
|
|
|
|
|
|
log = {
|
|
level = 16;
|
|
facilities = "all"
|
|
};
|
|
|
|
http = {
|
|
htdocs = "/villas/web/", # Root directory of internal webserver
|
|
port = 80 # Port for HTTP connections
|
|
}
|
|
|
|
############ Dictionary of nodes ############
|
|
|
|
nodes = {
|
|
ws1 = {
|
|
type = "websocket",
|
|
description = "Loopback node 1",
|
|
}
|
|
}; |