diff options
author | Steve McIntyre <steve.mcintyre@linaro.org> | 2015-07-14 15:26:05 +0100 |
---|---|---|
committer | Steve McIntyre <steve.mcintyre@linaro.org> | 2015-07-14 15:26:05 +0100 |
commit | 0f38f0efdfa148dde056c3042a0eac45d273e86a (patch) | |
tree | 98ebd5c8637cedb3f8f68a35c9a71f6bc1aa9cfe /util.py | |
parent | c9e72e8eb84537e799b9d48676ce1b64e69e8f75 (diff) |
Pass through the switch debug setting when starting up a switch driver
Change-Id: Ie6ed4574ca8cb534feb3943905ac4e446d5dc999
Diffstat (limited to 'util.py')
-rw-r--r-- | util.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ class VlanUtil: logging.debug("Driver: %s", driver) module = __import__("drivers.%s" % driver, fromlist=[driver]) class_ = getattr(module, driver) - return class_(switch_name) + return class_(switch_name, debug = config.switches[switch_name].debug) def probe_switches(self, state): config = state.config |