test_l3_unicast_traffic_gen: Add comment explaining why we remove any existing br0 at the beginning of the test

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

View File

@@ -152,7 +152,7 @@ class L3VariableTimeLongevity(Realm):
def pre_cleanup(self): def pre_cleanup(self):
self.cx_profile.cleanup_prefix() self.cx_profile.cleanup_prefix()
self.rm_port('br0', check_exists=True, debug_=False) 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, [])
for sta in station_list: for sta in station_list:
self.rm_port(sta, check_exists=True, debug_=False) self.rm_port(sta, check_exists=True, debug_=False)