"vscode:/vscode.git/clone" did not exist on "823da3187f25593275f437ec86624b42c8395fbc"
Commit a78b6f0f authored by Jialin Li's avatar Jialin Li Committed by Jonas Kaufmann
Browse files

pyexps/qemu_udp_single: add basic bmv2 switch

parent e15769f9
......@@ -34,7 +34,7 @@ from simbricks.orchestration.simulator_utils import create_basic_hosts
kinds_of_host = ['qemu']
kinds_of_nic = ['cv', 'cb', 'ib']
kinds_of_net = ['wire', 'switch', 'dumbbell', 'bridge', 'tofino']
kinds_of_net = ['wire', 'switch', 'dumbbell', 'bridge', 'tofino', 'bmv2']
kinds_of_app = ['UDPs']
rate = '200m'
......@@ -53,6 +53,8 @@ for n in kinds_of_net:
NetClass = sim.NS3BridgeNet
elif n == 'tofino':
NetClass = sim.TofinoNet
elif n == 'bmv2':
NetClass = sim.BMV2Net
else:
raise ValueError(f'unknown network type {n}')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment