small beautification of sring topology

This commit is contained in:
Quentin De Coninck 2020-07-03 15:48:03 +02:00
parent 014ce441c4
commit 7bd87ba105

View File

@ -64,8 +64,8 @@ class MultiInterfaceTopo(Topo):
for i in range(0, m):
if i == m // 2:
if m % 2 == 0:
s = s + "c r--sw---bl---sw--s\n"
s = s + " \-sw---bl---sw-/\n"
s = s + "c r s\n"
s = s + " \-sw---bl---sw-/ \-sw---bl---sw-/\n"
else:
s = s + "c--sw---bl---sw--r--sw---bl---sw--s\n"
else: