2018-06-05 09:08:07 +02:00
|
|
|
/** Example configuration file for VILLASnode.
|
|
|
|
*
|
|
|
|
* 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>
|
2020-01-20 17:17:00 +01:00
|
|
|
* @copyright 2014-2020, Institute for Automation of Complex Power Systems, EONERC
|
2018-06-05 09:08:07 +02:00
|
|
|
* @license GNU General Public License (version 3)
|
|
|
|
*
|
|
|
|
* VILLASnode
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*********************************************************************************/
|
|
|
|
|
|
|
|
nodes = {
|
2020-10-20 22:40:16 +02:00
|
|
|
sig = {
|
|
|
|
type = "signal",
|
2018-06-05 09:08:07 +02:00
|
|
|
|
2020-10-20 22:40:16 +02:00
|
|
|
signal = "sine"
|
2018-06-05 09:08:07 +02:00
|
|
|
}
|
2019-04-06 10:51:29 +02:00
|
|
|
|
2020-10-20 22:40:16 +02:00
|
|
|
relay = {
|
2019-04-06 10:51:29 +02:00
|
|
|
type = "websocket",
|
|
|
|
|
|
|
|
destinations = [
|
2020-10-20 22:40:16 +02:00
|
|
|
"https://villas.k8s.eonerc.rwth-aachen.de/ws/relay/node_1"
|
2019-04-06 10:51:29 +02:00
|
|
|
]
|
|
|
|
}
|
2019-03-26 07:47:45 +01:00
|
|
|
}
|
2020-10-20 22:40:16 +02:00
|
|
|
|
|
|
|
paths = (
|
|
|
|
{
|
|
|
|
in = "sig"
|
|
|
|
out = "relay"
|
|
|
|
}
|
|
|
|
)
|