| 
					
				 | 
			
			
				@@ -95,12 +95,13 @@ if __name__ == '__main__': 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ecs_client = utils.connect_client(access_key_id=gateway_config.ecs_client_params['access_key_id'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                       access_key_secret=gateway_config.ecs_client_params['access_key_secret'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                       region_id=gateway_config.ecs_client_params['region_id']) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    print(f"ecs_client = {ecs_client}") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     # 初始化 ALB 客户端 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     alb_client = utils.connect_alb_client(gateway_config.alb_client_params['access_key_id'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                           gateway_config.alb_client_params['access_key_secret'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                           endpoint=gateway_config.alb_client_params['endpoint'] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                           ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    print(f"alb_client = {alb_client}") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     success_count = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     threads = [] 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -110,6 +111,7 @@ if __name__ == '__main__': 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     # 获取 ALB 下服务器组的实例 ID 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     res = utils.list_server_group_servers(alb_client=alb_client, server_group_id=gateway_config.server_group_id_list[0]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    print(f"res = {res}") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     total += len(res) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     InstanceIDs.extend(res) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     print(InstanceIDs) 
			 |