summaryrefslogtreecommitdiffstats
path: root/vswitches/ovs_vanilla.py
diff options
context:
space:
mode:
Diffstat (limited to 'vswitches/ovs_vanilla.py')
-rw-r--r--vswitches/ovs_vanilla.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/vswitches/ovs_vanilla.py b/vswitches/ovs_vanilla.py
index 04058d97..c6617404 100644
--- a/vswitches/ovs_vanilla.py
+++ b/vswitches/ovs_vanilla.py
@@ -18,7 +18,7 @@
import logging
from conf import settings
from vswitches.vswitch import IVSwitch
-from src.ovs import VSwitchd, OFBridge
+from src.ovs import VSwitchd, OFBridge, DPCtl
from tools.module_manager import ModuleManager
from tools import tasks
@@ -74,6 +74,9 @@ class OvsVanilla(IVSwitch):
self._vport_id = 0
self._vswitchd.kill()
+ dpctl = DPCtl()
+ dpctl.del_dp()
+
self._module_manager.remove_modules()