Added layer3 cleanup logic which will run after test

Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
This commit is contained in:
shivamcandela
2021-12-17 07:16:37 +05:30
parent a72233f504
commit 7d9c9fadaf

View File

@@ -271,6 +271,8 @@ class TTLSTest(Realm):
self.collect_endp_stats(self.l3_cx_obj_udp.cx_profile.created_cx, traffic_type="UDP") self.collect_endp_stats(self.l3_cx_obj_udp.cx_profile.created_cx, traffic_type="UDP")
def cleanup(self, sta_list): def cleanup(self, sta_list):
self.l3_cx_obj_udp.cx_profile.cleanup_prefix()
self.l3_cx_obj_tcp.cx_profile.cleanup_prefix()
self.station_profile.cleanup(sta_list) self.station_profile.cleanup(sta_list)
if self.vap: if self.vap:
self.vap_profile.cleanup(1) self.vap_profile.cleanup(1)