WIP: typo

This commit is contained in:
Quentin De Coninck 2020-07-02 16:41:08 +02:00
parent 176a73260b
commit b43a9a9bd6

View File

@ -141,7 +141,7 @@ class MultiInterfaceConfig(TopoConfig):
def get_router_ip_to_server_switch(self, switch_index):
return "{}{}.2".format(self.param.get(TopoParameter.RIGHT_SUBNET), switch_index)
def get_server_ip(self, interface_index):
def get_server_ip(self, interface_index=0):
return "{}{}.1".format(self.param.get(TopoParameter.RIGHT_SUBNET), interface_index)
def get_server_subnet(self, interface_index):