diff --git a/etc/websocket-loopback.conf b/etc/websocket-loopback.conf new file mode 100644 index 000000000..ee08d513d --- /dev/null +++ b/etc/websocket-loopback.conf @@ -0,0 +1,37 @@ +# 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 +# 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", + } +}; \ No newline at end of file