diff options
author | Martin Klozik <martinx.klozik@intel.com> | 2016-09-20 12:27:13 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-09-20 12:27:13 +0000 |
commit | 6dfabefd6cac3cd4b8fd29abf5a5b6ab9e6ae956 (patch) | |
tree | 1372bb6fa418c1844d0e9b2650648aa9b2ad07b1 /src/ovs/dpctl.py | |
parent | a325eb33fbe408243209b19f2d9cc288b2e57548 (diff) | |
parent | 9b1af783ec53050129239102355e1a5c3ceb1d97 (diff) |
Merge "paths: Support binary packages"
Diffstat (limited to 'src/ovs/dpctl.py')
-rw-r--r-- | src/ovs/dpctl.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ovs/dpctl.py b/src/ovs/dpctl.py index 8ecac6dc..44a4ec9b 100644 --- a/src/ovs/dpctl.py +++ b/src/ovs/dpctl.py @@ -23,9 +23,6 @@ import string from tools import tasks from conf import settings -_OVS_DPCTL_BIN = os.path.join(settings.getValue('OVS_DIR'), 'utilities', - 'ovs-dpctl') - _OVS_LOCAL_DATAPATH = 'ovs-system' class DPCtl(object): @@ -51,7 +48,7 @@ class DPCtl(object): :return: None """ - cmd = ['sudo', _OVS_DPCTL_BIN, + cmd = ['sudo', settings.getValue('TOOLS')['ovs-dpctl'], '--timeout', str(self.timeout)] + args return tasks.run_task( |