From ff926a339bf763693e234db0e95c863a9fadd77b Mon Sep 17 00:00:00 2001 From: Quentin De Coninck Date: Mon, 22 Jun 2020 17:02:46 +0200 Subject: [PATCH] use OVSBridge as switch --- src/mpMininetBuilder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mpMininetBuilder.py b/src/mpMininetBuilder.py index f0a9c2f..8eecf2c 100644 --- a/src/mpMininetBuilder.py +++ b/src/mpMininetBuilder.py @@ -1,6 +1,7 @@ from mininet.topo import Topo from mininet.net import Mininet from mininet.link import TCLink +from mininet.node import OVSBridge from mininet.cli import CLI from subprocess import Popen, PIPE @@ -20,7 +21,7 @@ class MpMininetBuilder(Topo): return stdout def startNetwork(self): - self.net = Mininet(topo=self,link=TCLink) + self.net = Mininet(topo=self,link=TCLink,switch=OVSBridge) self.net.start() def getCLI(self):