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 /vswitches/ovs_dpdk_vhost.py | |
parent | a325eb33fbe408243209b19f2d9cc288b2e57548 (diff) | |
parent | 9b1af783ec53050129239102355e1a5c3ceb1d97 (diff) |
Merge "paths: Support binary packages"
Diffstat (limited to 'vswitches/ovs_dpdk_vhost.py')
-rw-r--r-- | vswitches/ovs_dpdk_vhost.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vswitches/ovs_dpdk_vhost.py b/vswitches/ovs_dpdk_vhost.py index c0764c87..327a697d 100644 --- a/vswitches/ovs_dpdk_vhost.py +++ b/vswitches/ovs_dpdk_vhost.py @@ -84,7 +84,6 @@ class OvsDpdkVhost(IVSwitchOvs): super(OvsDpdkVhost, self).stop() dpdk.cleanup() - dpdk.remove_vhost_modules() def add_switch(self, switch_name, params=None): """See IVswitch for general description @@ -147,7 +146,7 @@ class OvsDpdkVhost(IVSwitchOvs): :returns: True if legacy --dpdk option is supported, otherwise it returns False """ - ovs_vswitchd_bin = os.path.join(settings.getValue('OVS_DIR'), 'vswitchd', 'ovs-vswitchd') + ovs_vswitchd_bin = settings.getValue('TOOLS')['ovs-vswitchd'] try: subprocess.check_output(ovs_vswitchd_bin + r' --help | grep "\-\-dpdk"', shell=True) return True |