Commit 7dd09607 authored by cedgar's avatar cedgar
Browse files

patch for the interface name mangling...

parent 14d0290c
......@@ -82,6 +82,8 @@ class AppRunner(object):
print("Starting P4 switch {}.\n".format(switch_name))
args = [self.switch_bin]
for intf_name, port_num in self.topo.get_interfaces_to_port(switch_name).items():
if 'cpu' in intf_name:
intf_name = "switch-cpu"
args.extend(["-i", str(port_num)+"@"+intf_name])
shared_base_path = HOSTS_SHARED_PATH
Supports Markdown
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