Change-Id: Id58c428594b115a5e343a7b2c701f2ddddb89f81
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
for server in compute.computeUnits.values():
if port_pair.ingress.name in server.port_names or port_pair.ingress.id in server.port_names:
server_ingress = server
- elif port_pair.egress.name in server.port_names or port_pair.egress.id in server.port_names:
+ if port_pair.egress.name in server.port_names or port_pair.egress.id in server.port_names:
server_egress = server
# TODO: Not sure, if this should throw an error