From de986f44e5972427a297d21ce2db6dd3a3e25142 Mon Sep 17 00:00:00 2001 From: dasTor Date: Wed, 28 Aug 2024 18:49:54 +0200 Subject: [PATCH] add split-task to possible vdom configs (#3464) --- netmiko/fortinet/fortinet_ssh.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/netmiko/fortinet/fortinet_ssh.py b/netmiko/fortinet/fortinet_ssh.py index 73764a27d..f01779178 100644 --- a/netmiko/fortinet/fortinet_ssh.py +++ b/netmiko/fortinet/fortinet_ssh.py @@ -74,7 +74,9 @@ def _vdoms_enabled(self) -> bool: check_command, expect_string=self.prompt_pattern ) return bool( - re.search(r"Virtual domain configuration: (multiple|enable)", output) + re.search( + r"Virtual domain configuration: (multiple|enable|split-task)", output + ) ) def _config_global(self) -> str: