From 43602c4a03758f4ab5d3bad57c8d6d7e322666ef Mon Sep 17 00:00:00 2001 From: sivakondri-CT Date: Mon, 20 Jul 2026 12:19:17 +0000 Subject: [PATCH] lf_interop_teams.py : Run Teams android automation as lanforge User VERFIED CLI : python3 lf_interop_teams.py --mgr 192.168.207.75 --upstream_port 1.1.eth1 --duration 5 --audio --video Signed-off-by: sivakondri-CT --- .../teams_automation/lf_interop_teams.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/py-scripts/real_application_tests/teams_automation/lf_interop_teams.py b/py-scripts/real_application_tests/teams_automation/lf_interop_teams.py index bb7419d6d..fb29e766e 100644 --- a/py-scripts/real_application_tests/teams_automation/lf_interop_teams.py +++ b/py-scripts/real_application_tests/teams_automation/lf_interop_teams.py @@ -494,24 +494,28 @@ def create_participants(self): logger.debug(self.generic_endps_profile.created_cx) if self.enable_mobile_stats: cmd = ( + f"su - lanforge -c " + f"\"cd /home/lanforge && " f"python3 /home/lanforge/lanforge-scripts/py-scripts/real_application_tests/teams_automation/teams_android.py " f"--devices {self.serial_list[i]} " f"--meet_link '{self.meet_link}' " f"--participant_name '{self.real_sta_hostname[i]}' " f"--upstream_port {self.lanforge_ip} " f"--duration {self.duration} " - "--audio " - "--video " + f"--audio " + f"--video\"" ) else: cmd = ( + f"su - lanforge -c " + f"\"cd /home/lanforge && " f"python3 /home/lanforge/lanforge-scripts/py-scripts/real_application_tests/teams_automation/teams_android_app.py " f"--device {self.serial_list[i]} " f"--meet_link '{self.meet_link}' " f"--participant_name '{self.real_sta_hostname[i]}' " f"--upstream_port {self.lanforge_ip} " - "--audio " - "--video " + f"--audio " + f"--video\"" ) self.generic_endps_profile.set_cmd( self.generic_endps_profile.created_endp[i], cmd