mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-04 04:38:02 +00:00 
			
		
		
		
	layer3 profile fixes
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
This commit is contained in:
		@@ -252,6 +252,7 @@ class L3CXProfile(LFCliBase):
 | 
				
			|||||||
                self.fail("FAIL: Not all stations increased traffic")
 | 
					                self.fail("FAIL: Not all stations increased traffic")
 | 
				
			||||||
                self.exit_fail()
 | 
					                self.exit_fail()
 | 
				
			||||||
            try:
 | 
					            try:
 | 
				
			||||||
 | 
					                self.refresh_cx()
 | 
				
			||||||
                cx_data = self.json_get("/cx/all")
 | 
					                cx_data = self.json_get("/cx/all")
 | 
				
			||||||
                cx_data.pop("handler")
 | 
					                cx_data.pop("handler")
 | 
				
			||||||
                cx_data.pop("uri")
 | 
					                cx_data.pop("uri")
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -128,6 +128,7 @@ class IPV4VariableTime(Realm):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    def pre_cleanup(self):
 | 
					    def pre_cleanup(self):
 | 
				
			||||||
        self.cx_profile.cleanup_prefix()
 | 
					        self.cx_profile.cleanup_prefix()
 | 
				
			||||||
 | 
					        if self.create_sta:
 | 
				
			||||||
            for sta in self.sta_list:
 | 
					            for sta in self.sta_list:
 | 
				
			||||||
                self.rm_port(sta, check_exists=True)
 | 
					                self.rm_port(sta, check_exists=True)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -385,7 +386,6 @@ python3 ./test_ipv4_variable_time.py
 | 
				
			|||||||
                                   traffic_type=args.traffic_type,
 | 
					                                   traffic_type=args.traffic_type,
 | 
				
			||||||
                                   _debug_on=args.debug)
 | 
					                                   _debug_on=args.debug)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if create_sta:
 | 
					 | 
				
			||||||
    ip_var_test.pre_cleanup()
 | 
					    ip_var_test.pre_cleanup()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ip_var_test.build()
 | 
					    ip_var_test.build()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user