From 93b179fe8814ee15765ece6bcceb48f5648e7314 Mon Sep 17 00:00:00 2001
From: Steffen Vogel <post@steffenvogel.de>
Date: Mon, 11 Nov 2019 20:30:10 +0100
Subject: [PATCH] remove unused nodes from demo.conf

---
 etc/villas/node/demo.conf | 169 +-------------------------------------
 1 file changed, 3 insertions(+), 166 deletions(-)

diff --git a/etc/villas/node/demo.conf b/etc/villas/node/demo.conf
index c67ff8e..146a98f 100644
--- a/etc/villas/node/demo.conf
+++ b/etc/villas/node/demo.conf
@@ -42,54 +42,11 @@ nodes = {
 		values = 5
 		rate = 20
 	}
+	
 	ws_sig = {
 		type = "websocket"
 	}
-	dpsim1 = {
-		type = "mqtt"
-		format = "villas.binary"
-
-		username = "villas"
-		password = "s3c0sim4!"
-		host = "broker"
-
-		out = {
-			publish = "villas-dpsim1"
-		}
-		in = {
-			subscribe = "dpsim1-villas"
-		}
-	}
-	dpsim2 = {
-		type = "mqtt"
-		format = "json"
-
-		username = "villas"
-		password = "s3c0sim4!"
-		host = "broker"
-
-		out = {
-			publish = "villas-dpsim2"
-		}
-		in = {
-			subscribe = "dpsim2-villas"
-		}
-	}
-	opal = {
-		type = "mqtt"
-		format = "villas.binary"
 
-		username = "villas"
-		password = "s3c0sim4!"
-		host = "broker"
-
-		out = {
-			publish = "villas-opal"
-		}
-		in = {
-			subscribe = "opal-villas"
-		}
-	}
 	lo = {
 		type = "mqtt"
 		format = "villas.human"
@@ -105,87 +62,11 @@ nodes = {
 			subscribe = "lo"
 		}
 	}
-	ws_dpsim1 = {
-		type = "websocket"
 
-		in = {
-			hooks = (
-				{ type = "stats" }
-			)
-		}
-	}
-	ws_dpsim2 = {
-		type = "websocket"
-
-		in = {
-			hooks = (
-				{ type = "stats" }
-			)
-		}
-	}
-	ws_opal = {
-		type = "websocket"
-
-		in = {
-			hooks = (
-				{ type = "stats" }
-			)
-		}
-	}
 	ws_lo = {
 		type = "websocket"
-		
-		in = {
-			hooks = (
-				{ type = "stats" }
-			)
-		}
-	}
-	ws_playback = {
-		type = "websocket"
-	}
-	playback = {
-		type = "file"
-		uri = "/data/m2_sim_results_merged.csv"
-
-		in = {
-			eof = "rewind"
-		}
-	}
-	ws_rtds = {
-		type = "websocket"
-	}
-	rtds = {
-		type = "socket"
-		format = "gtnet"
-
-		in = {
-			address = "*:12000"
-		}
-		out = {
-			address = "134.130.169.99:12000"
-		}
-	}
-	ws_elsa = {
-		type = "websocket"
-
-		in = {
-			hooks = (
-				{ type = "stats" }
-			)
-		}
-	}
-	elsa = {
-		type = "socket"
-		format = "gtnet"
-		
-		in = {
-			address = "*:12001"
-		}
-		out = {
-			address = "137.226.133.240:12002"
-		}
 	}
+	
 	sogno_estimator = {
 		type = "mqtt"
 		format = "json"
@@ -196,29 +77,17 @@ nodes = {
 
 		in = {
 			subscribe = "sogno-estimator"
-			hooks = (
-				{ type = "stats" }
-			)
 		}
 	}
+
 	ws_sogno_estimator = {
 		type = "websocket"
-
-		in = {
-			hooks = (
-				{ type = "stats" }
-			)
-		}
 	}
 };
 
 ############       List of paths       ############
 
 paths = (
-	{
-		in = "playback"
-		out = "ws_playback"
-	},
 	{
 		in = "sig"
 		out = "ws_sig"
@@ -231,38 +100,6 @@ paths = (
 		in = "lo"
 		out = "ws_lo"
 	},
-	{
-		in = "dpsim1"
-		out = "ws_dpsim1"
-		reverse = true
-		hooks = ( { type = "print" } )
-	},
-	{
-		in = "dpsim2"
-		out = "ws_dpsim2"
-		reverse = true
-	},
-	{
-		in = "opal"
-		out = "ws_opal"
-		reverse = true
-	},
-	{
-		in = "rtds"
-		out = "ws_rtds"
-	},
-	{
-		out = "rtds"
-		in = "ws_rtds"
-	},
-	{
-		in = "elsa"
-		out = "ws_elsa"
-	},
-	{
-		out = "elsa"
-		in = "ws_elsa"
-	},
 	{
 		in = "sogno_estimator"
 		out = "ws_sogno_estimator"
-- 
GitLab