File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 11import time
2- from typing import Any
2+ from typing import Any , Optional
33
44from netmiko .no_config import NoConfig
55from netmiko .base_connection import BaseConnection
@@ -20,3 +20,24 @@ def session_preparation(self) -> None:
2020 # Clear the read buffer
2121 time .sleep (0.3 * self .global_delay_factor )
2222 self .clear_buffer ()
23+
24+ def disable_paging (
25+ self ,
26+ command : str = "pager off" ,
27+ delay_factor : Optional [float ] = None ,
28+ cmd_verify : bool = True ,
29+ pattern : Optional [str ] = None ,
30+ ) -> str :
31+ """Disable paging on Pluribus devices.
32+
33+ :param command: Command to disable pagination of output
34+ :param delay_factor: Deprecated in Netmiko 4.x. Will be eliminated in Netmiko 5.
35+ :param cmd_verify: Verify command echo before proceeding
36+ :param pattern: Pattern to terminate reading of channel
37+ """
38+ return super ().disable_paging (
39+ command = command ,
40+ delay_factor = delay_factor ,
41+ cmd_verify = cmd_verify ,
42+ pattern = pattern ,
43+ )
You can’t perform that action at this time.
0 commit comments