From d027cc2f28dc18769444ea3ab8eeab1dc34b689c Mon Sep 17 00:00:00 2001
From: Nigel Kukard <nkukard@lbsd.net>
Date: Sun, 30 Jun 2013 16:58:24 +0000
Subject: [PATCH] Revamped the config file a bit

---
 opentrafficshaper.conf | 49 +++++++++++++++++++++++++++++++++++++++---
 1 file changed, 46 insertions(+), 3 deletions(-)

diff --git a/opentrafficshaper.conf b/opentrafficshaper.conf
index 3ce7b69..3d1c915 100644
--- a/opentrafficshaper.conf
+++ b/opentrafficshaper.conf
@@ -1,10 +1,53 @@
 [system]
+# Log level:
+# 0 - Errors only
+# 1 - Warnings and errors
+# 2 - Notices, warnings, errors
+# 3 - Info, notices, warnings, errors
+# 4 - Debugging 
+#log_level=2
 
+
+#
+# Plugins
+#
 [plugins]
+# Names of plugins to load, one per line
 load=radius
 load=webserver
 load=tc
 
-[dictionary]
-load=dicts/dictionary
-load=dicts/dictionary.allworldit
+#
+# General shaping settings
+#
+[shaping]
+# Group 0 is by default the "Default" group
+group=0:Default
+
+# Traffic classes
+# ID's and short description of traffic classes to Setup. Traffic is 
+# priortized as the lowest number getting the highest priority
+class=1:High Priority
+class=2:Platinum
+class=3:Gold
+class=4:Silver
+class=5:Bronze
+class=6:Best Effort
+
+
+#
+# Radius plugin
+#
+[plugin.radius]
+# Dictionaries we need to load for radius functionality
+dictionary=dicts/dictionary
+dictionary=dicts/dictionary.allworldit
+
+
+#
+# TC Plugin
+#
+[plugin.tc]
+rxiface=eth0
+txiface=eth1
+
-- 
GitLab