test_l3_unicast_traffic_gen: Add comment clearly stating what pre_cleanup does

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2022-01-10 19:46:55 -08:00
committed by shivam
parent 6933884f70
commit f53050bb3d

View File

@@ -150,7 +150,7 @@ class L3VariableTimeLongevity(Realm):
url = "cli-json/set_port" url = "cli-json/set_port"
self.json_post(url, data) self.json_post(url, data)
def pre_cleanup(self): def pre_cleanup(self): # Remove all existing ports which are created by this script
self.cx_profile.cleanup_prefix() self.cx_profile.cleanup_prefix()
self.rm_port('br0', check_exists=True, debug_=False) # Ensure that br0 which is created by this script does not exist self.rm_port('br0', check_exists=True, debug_=False) # Ensure that br0 which is created by this script does not exist
station_list = sum(self.station_lists, []) station_list = sum(self.station_lists, [])