From 9f53c1858d7b2a17b41327622763ef050a559c5b Mon Sep 17 00:00:00 2001 From: Oscar Pachano Date: Tue, 12 Nov 2024 18:32:10 -0800 Subject: [PATCH] Updates self.write_channel and _test_channel_read got Palo Alto Log Collector compatibility. --- netmiko/paloalto/paloalto_panos.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netmiko/paloalto/paloalto_panos.py b/netmiko/paloalto/paloalto_panos.py index acbb08746..3bc544be1 100644 --- a/netmiko/paloalto/paloalto_panos.py +++ b/netmiko/paloalto/paloalto_panos.py @@ -78,8 +78,8 @@ def session_preparation(self) -> None: self.set_base_prompt() # PA devices can be really slow--try to make sure we are caught up - self.write_channel("show admins\n") - self._test_channel_read(pattern=r"Client") + self.write_channel("show system info\n") + self._test_channel_read(pattern=r"operational-mode") self._test_channel_read(pattern=r"[>#]") def find_prompt(