aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve McIntyre <steve.mcintyre@linaro.org>2014-12-23 13:45:08 +0000
committerSteve McIntyre <steve.mcintyre@linaro.org>2014-12-23 13:45:08 +0000
commit88b79df3e07b3c2c4895f523202e421f40df3459 (patch)
treeb81bbc3e64e55d994bb5210fbe2f6bf589ab5aa9
parent519158ef4cc064ecb79ccfb3b197cc67438c4eea (diff)
Call the new probe_switches() method
Change-Id: I4af94a8cb7ffb056789f6c8fcdfb98a68576029d
-rw-r--r--util.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.py b/util.py
index a938732..3b354cd 100644
--- a/util.py
+++ b/util.py
@@ -102,6 +102,8 @@ class VlanUtil:
ret['version'] = state.version
elif command == 'daemon.statistics':
ret['uptime'] = time.time() - state.starttime
+ elif command == 'daemon.probe_switches':
+ ret = self.probe_switches(state)
else:
raise InputError("Unknown daemon_query command \"%s\"" % command)